/* «Ворс» — the sign-in page of the post studio (the palette of editor.css). */
/* Geologica v5, self-hosted (06.12.2026): the same faces as design/v11/01-vors/src/fonts/geologica.css (weights
   400-800, the latin and cyrillic subsets, their unicode-ranges, font-display: block), served by the sign-in service from
   /auth/static. The two woff2 files here must equal src/fonts' byte for byte. No request leaves the site (CSP font-src
   'self'). */
/* cyrillic */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/auth/static/geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/auth/static/geologica-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(/auth/static/geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(/auth/static/geologica-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url(/auth/static/geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url(/auth/static/geologica-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/auth/static/geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/auth/static/geologica-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url(/auth/static/geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url(/auth/static/geologica-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #0B0B0C; --panel: #111113; --line: #1E1F23; --line2: #2A2C31; --text: #E6E7EA; --dim: #9EA2AA; --faint: #6E727A;
  --blue: #3D60FF; --blue2: #2450FF; --bad: #FF6B5E; --ok: #57D38C;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: Geologica, system-ui, sans-serif; }
body { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px 16px; }
button, input { font: inherit; color: inherit; }
.card { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 26px; }
.brand img { width: 28px; height: 28px; }
.brand span { color: var(--dim); font-weight: 500; }
h1 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.lead { margin: 0 0 22px; color: var(--dim); line-height: 1.45; font-size: 15px; }
label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 7px; }
input { width: 100%; padding: 13px 14px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg); outline: none; font-size: 17px; }
input:focus { border-color: var(--blue); }
#code { font-size: 26px; letter-spacing: 0.32em; text-align: center; font-variant-numeric: tabular-nums; padding: 12px 10px; }
#code::placeholder { letter-spacing: 0.32em; color: #3A3D44; }
button { cursor: pointer; }
button.primary { display: block; width: 100%; margin-top: 16px; padding: 13px 18px; border-radius: 11px; border: 1px solid var(--blue2);
  background: var(--blue2); color: #fff; font-weight: 600; font-size: 16px; }
button.primary:hover:not(:disabled) { background: #3559FF; border-color: #3559FF; }
button:disabled { opacity: 0.5; cursor: default; }
.links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
/* step 2: the account exactly as typed (a typo shows), with the way back */
.for { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; color: var(--dim); font-size: 15px; line-height: 1.45; }
.for span { min-width: 0; overflow-wrap: anywhere; }
.for b { color: var(--text); font-weight: 600; }
.for button.link { flex: none; white-space: nowrap; }
button.link { background: none; border: 0; padding: 4px 0; color: var(--blue); font-size: 14px; font-weight: 500; }
button.link:hover:not(:disabled) { color: #7D94FF; }
button.link:disabled { color: var(--faint); opacity: 1; }
.step { display: none; }
.step.on { display: block; }
#msg { min-height: 22px; margin-top: 16px; font-size: 14.5px; line-height: 1.45; }
#msg.bad { color: var(--bad); }
#msg.ok { color: var(--ok); }
.foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; line-height: 1.45; }
.nojs { text-align: center; color: var(--bad); }
@media (max-width: 480px) {
  body { align-items: flex-start; padding-top: 40px; }
  .card { padding: 24px 20px 20px; border-radius: 16px; }
  h1 { font-size: 24px; }
}
