/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/login/login.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
/* The door.
 *
 * Everything here is borrowed from the editor on purpose — the same ground, the same chrome, the same
 * accent — so the login is plainly the front of THIS application and not a generic gate bolted on.
 * Two things are its own:
 *
 *   1. the ground is the VIEWER's transparency checker, at the viewer's own 26px pitch. Anyone who
 *      works with cut-out artwork reads that grid as "no background here" before reading a word of it.
 *   2. the wordmark is printed as two plates, and they are OUT OF REGISTER — the white underbase
 *      showing past the colour. That is the exact defect this product exists to prevent (a white halo
 *      from head misregistration, which the choke compensates), and it resolves when the door opens.
 *
 * That is the one flourish. Everything around it is deliberately quiet: no gradient, no glow, no icon.
 */

.door {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: #0f0f12 repeating-conic-gradient(#17171c 0 25%, #131317 0 50%) 0/26px 26px;
}

/* A plate laid on the checker, not a box floating in space: same fill and rule as the editor's chrome,
   with the shadow doing the lifting. 12px radius matches the editor's largest. */
.door-plate {
  width: 100%; max-width: 380px;
  background: #141418; border: 1px solid #26262c; border-radius: 12px;
  padding: 30px 30px 24px;
  box-shadow: 0 24px 60px #0009;
}

/* --- the signature ------------------------------------------------------------------------------
   Two copies of the same word. The white one is the underbase, sitting behind and offset; the colour
   one is the artwork. --reg is the misregistration, and it is the only thing that animates. */
.mark {
  position: relative;
  --reg: 2.5px;
  font-size: clamp(30px, 8.5vw, 40px);
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1;
  /* letter-spacing adds a trailing space after the last glyph; pull it back so the word optically
     starts and ends on the plate's padding rather than sitting 5px short on the right. */
  margin-right: -.14em;
}
.mark span { display: block; }
.mark .ink { color: #e7e7ea; position: relative; }
.mark .white {
  position: absolute; inset: 0;
  color: #f4f4f8;
  /* Offset SIDEWAYS and slightly UP, not down-right. A down-right copy reads as a drop shadow — which
     is what the first render looked like — while a press that is out of register shifts its plates
     laterally. The vertical component is kept small and negative so the white sits where a mis-fed
     sheet would put it, above the ink rather than under it. */
  transform: translate(var(--reg), calc(var(--reg) * -0.4));
}
.mark .ink, .mark .white { transition: transform .5s cubic-bezier(.2, .9, .25, 1); }
.door[data-registered="true"] .mark { --reg: 0px; }

/* The state of the plates, in the utility face the editor uses for its readouts. It is a caption on
   the logotype above it, so it says what you are looking at — not a fabricated measurement. */
.regline {
  margin-top: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px; letter-spacing: .09em; text-transform: uppercase;
  color: #6f6f79;
}
.regline b { color: #8a8a93; font-weight: 400; }
.door[data-registered="true"] .regline b { color: #6ee7a0; }

.tagline {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid #26262c;
  font-size: 13px; color: #8a8a93; line-height: 1.45;
}

/* --- the form ----------------------------------------------------------------------------------- */
.field { margin-top: 16px; }
.field label {
  display: block; margin-bottom: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: #8a8a93;
}
.field input {
  width: 100%; height: 38px; padding: 0 11px;
  background: #1e1e25; border: 1px solid #33333c; border-radius: 8px;
  color: #e7e7ea; font: inherit; outline: none;
}
.field input::placeholder { color: #55555f; }
.field input:focus { border-color: #2b6cff; }
.field .hint { margin-top: 6px; font-size: 11px; color: #6f6f79; line-height: 1.4; }

.enter {
  width: 100%; height: 40px; margin-top: 20px;
  background: #2b6cff; border: 0; border-radius: 8px;
  color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.enter:hover:not(:disabled) { background: #4680ff; }
.enter:disabled { opacity: .55; cursor: default; }
.door button:focus-visible { outline: 2px solid #6f9bff; outline-offset: 2px; }
/* Inputs say "focused" with their border alone. Adding the outline too drew two blue rings around one
   box, and the autofocused field then shouted before anything had been typed. */
.field input:focus-visible { outline: none; }

/* A refusal is a line of text where the answer went wrong, not a banner across the top. It uses the
   editor's own bad-value red, the one the status bar uses for a density that will not print. */
.refusal { margin-top: 12px; font-size: 12px; color: #ff8a8a; }
.refusal:empty { display: none; }   /* an empty line must not hold a gap open on every load */

.footline {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid #26262c;
  display: flex; justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px; letter-spacing: .06em; color: #55555f;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* The plates snap once, on the way in. Someone who has asked not to be moved simply gets them already
   in register — the logotype still reads, it just never was out of it. */
@media (prefers-reduced-motion: reduce) {
  .mark { --reg: 0px; }
  .mark .ink, .mark .white { transition: none; }
}

