/* ==========================================================================
   Вход · «Мастерская / чертёж» (4.6.1). Подключается только в registration/login.html.
   Чертёж — Orbita Expedition 170" AWD в максимальной комплектации (_orbita_blueprint.html).
   Анимация: один раз в день полная прорисовка (~3,4 с), дальше — короткое проявление (html.bp-quick, ставит login.js).
   Только transform / opacity (+ stroke-dashoffset на ~20 path один раз). prefers-reduced-motion — всё статично.
   ========================================================================== */
.login-page {
  --lp-green: #365348; --lp-ink: #EDE9DE; --lp-sand: #C9A367; --lp-orange: #EB5C1F;
  --lp-orange-strong: #C94910; --lp-orange-hover: #B5410D;
  --lp-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --lp-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --lp-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --lp-ease: cubic-bezier(.2, .7, .2, 1);
  background: #22362F; font-family: var(--lp-sans);
}
.login-page main { padding: 0; max-width: none; margin: 0; animation: none; }
.login-page main > .messages { position: absolute; z-index: 5; top: 12px; left: 50%; transform: translateX(-50%); }

.login-scene {
  --bp-line: #D4B882; --bp-dim: rgba(228, 211, 176, .72); --bp-hidden: rgba(212, 184, 130, .36);
  --bp-phantom: rgba(236, 222, 190, .78); --bp-text: #E4D3B0;
  --sw-body: 1.7; --sw: 1.15; --sw-thin: .8;
  --draw-ease: cubic-bezier(.65, .05, .36, 1);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: grid; align-content: center;
  grid-template-columns: minmax(0, calc((100vh - 345px) * 1.3555)) minmax(340px, 400px);
  grid-template-columns: minmax(0, calc((100svh - 345px) * 1.3555)) minmax(340px, 400px);
  grid-template-areas: "head card" "draw card" "foot stamp";
  justify-content: center;
  gap: 6px clamp(40px, 6vw, 120px);
  padding: clamp(26px, 4vh, 44px) clamp(28px, 4.5vw, 80px);
  color: var(--lp-ink);
  background: radial-gradient(120% 95% at 32% 42%, #3A594D 0%, #365348 34%, #2B4239 68%, #1F302A 100%);
}
/* ночью и вечером лист чуть темнее — сцена живёт по времени мастерской */
.login-scene.is-night { background: radial-gradient(120% 95% at 32% 42%, #2F4A40 0%, #2B4239 36%, #213530 70%, #172520 100%); }
.login-scene.is-evening { background: radial-gradient(120% 95% at 32% 42%, #3A554A 0%, #334D43 36%, #283D35 70%, #1C2C26 100%); }

/* ватман: мелкая и крупная сетка, гаснет к краям */
.login-scene::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,163,103,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(201,163,103,.13) 1px, transparent 1px),
    linear-gradient(rgba(201,163,103,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(201,163,103,.055) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 38% 45%, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 85% 80% at 38% 45%, #000 35%, transparent 100%);
  animation: bp-fade 1.2s ease-out backwards;
}
.bp-sheet { position: absolute; inset: 18px; z-index: -1; pointer-events: none; border: 1px solid rgba(201,163,103,.28); outline: 1px solid rgba(201,163,103,.12); outline-offset: -8px; animation: bp-fade 1s .1s ease-out backwards; }
.bp-zones { position: absolute; left: 0; right: 0; top: -15px; display: flex; justify-content: space-around; font: 500 10px/1 var(--lp-mono); letter-spacing: .1em; color: rgba(228,211,176,.4); }
.bp-zones.v { top: 0; bottom: 0; left: -13px; right: auto; flex-direction: column; justify-content: space-around; }

/* ---- приветствие ---- */
.bp-head { grid-area: head; min-width: 0; animation: bp-rise .8s var(--lp-ease) .05s backwards; }
.bp-eyebrow { display: flex; align-items: center; gap: 10px; font: 500 11px/1.3 var(--lp-mono); letter-spacing: .2em; text-transform: uppercase; color: #E2CA9A; }
.bp-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lp-orange); flex: none; }
.bp-greet { margin: 10px 0 0; font: 600 clamp(24px, 2.5vw, 38px)/1.15 var(--lp-display); letter-spacing: -.02em; color: #F3EFE6; }
.bp-greet em {
  font: italic 500 1.08em/1 'Playfair Display', Georgia, serif; letter-spacing: 0;
  background: linear-gradient(100deg, #EB5C1F, #C9A367 55%, #EB5C1F); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: bp-shimmer 7s ease-in-out 2 alternate;              /* twice, then still — no endless repaint */
}
.bp-phrase { margin: 8px 0 0; max-width: 62ch; font-size: 14.5px; line-height: 1.6; color: rgba(237,233,222,.74); }

/* ---- чертёж ---- */
.bp-draw { grid-area: draw; min-width: 0; margin-top: 6px; }
.bp-sub { margin: 0 0 4px; font: 500 10.5px/1.4 var(--lp-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(224,210,178,.8); animation: bp-fade 1s .3s backwards; }
.bp-drawing { position: relative; width: 100%; max-width: 900px; max-width: min(100%, calc((100vh - 345px) * 1.3555)); max-width: min(100%, calc((100svh - 345px) * 1.3555)); aspect-ratio: 816 / 602; container-type: inline-size; }
@supports not (aspect-ratio: 1) { .bp-drawing { height: 0; padding-top: 73.8%; } }
.bp-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bp-svg .s { fill: none; stroke: var(--bp-line); stroke-width: var(--sw); stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s ease, opacity .35s ease; }
.bp-svg .s-body { stroke-width: var(--sw-body); }
.bp-svg .s-thin { stroke-width: var(--sw-thin); }
.bp-svg .s-dim { stroke: var(--bp-dim); stroke-width: var(--sw-thin); }
.bp-svg .s-tick { stroke: var(--bp-text); stroke-width: var(--sw); }
.bp-svg .s-leader { stroke: var(--bp-text); stroke-width: var(--sw-thin); }
.bp-svg .s-center { stroke: var(--bp-hidden); stroke-width: var(--sw-thin); stroke-dasharray: 14 4 2 4; }
.bp-svg .s-hidden { stroke: var(--bp-hidden); stroke-width: var(--sw-thin); stroke-dasharray: 5 4; }
.bp-svg .s-phantom { stroke: var(--bp-phantom); stroke-width: var(--sw); stroke-dasharray: 16 4 3 4 3 4; }
.bp-svg .glass { fill: rgba(212,184,130,.1); stroke: none; }
.bp-svg .panel-fill { fill: rgba(235,92,31,.4); transition: fill .35s ease; }
.bp-svg .route { fill: none; stroke: var(--lp-orange); stroke-width: 1.2; stroke-linecap: round; opacity: .8; }
.bp-svg .bolt { fill: none; stroke: var(--lp-orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bp-svg .pdot { fill: var(--lp-orange); }
.bp-svg .dim-t { fill: var(--bp-text); font: 500 12px var(--lp-mono); letter-spacing: .05em; }
.bp-svg .dim-t.sm { font-size: 10.5px; fill: rgba(228,211,176,.8); }
/* подсветка узла (тур и наведение): класс .on ставит login.js */
.bp-svg [data-node].on .s, .bp-svg .s[data-node].on { stroke: var(--lp-orange); }
.bp-svg .s-hidden[data-node].on, .bp-svg [data-node].on .s-hidden { stroke-dasharray: none; stroke-width: 1.1; }
.bp-svg .panel-fill.on { fill: rgba(235,92,31,.75); }

/* выноски — HTML поверх SVG (дешёвая анимация, чёткий текст); позиции в % от viewBox */
.bp-co {
  position: absolute; width: clamp(16px, 2.9cqw, 26px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; transform: translate(-50%, -50%);
  font: 500 clamp(8px, 1.35cqw, 12px)/1 var(--lp-mono); color: #EDE9DE;
  background: #2E473E; box-shadow: 0 0 0 1.2px var(--bp-line); cursor: default;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
  animation: bp-pop .5s cubic-bezier(.3,1.6,.5,1) var(--d) backwards;
}
.bp-co::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--lp-orange); opacity: 0; }
.bp-co.on { background: var(--lp-orange); box-shadow: 0 0 0 1.2px var(--lp-orange); color: #fff; }
.bp-co.on::after { animation: bp-ring 1.2s ease-out; }
/* подпись активного узла (создаёт login.js из пункта спецификации) */
.bp-tag {
  position: absolute; z-index: 2; transform: translate(10px, -50%); pointer-events: none;
  padding: 4px 9px; border-radius: 6px; white-space: nowrap;
  font: 500 11.5px/1.2 var(--lp-sans); color: #1A1E1C; background: #F4EFE3; box-shadow: 0 6px 18px -8px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .25s ease, transform .25s var(--lp-ease);
}
.bp-tag[data-side=left] { transform: translate(calc(-100% - 10px), -50%); }
.bp-tag[data-side=above] { transform: translate(-50%, calc(-100% - 10px)); }
.bp-tag[data-side=below] { transform: translate(-50%, 10px); }
.bp-tag.show { opacity: 1; }

.bp-pen { opacity: 0; offset-rotate: 0deg; animation: bp-pen 1.3s var(--draw-ease) .2s both; }
@supports not (offset-path: path("M0 0")) { .bp-pen { display: none; } }

/* ---- спецификация и штамп ---- */
.bp-foot { grid-area: foot; min-width: 0; align-self: end; margin-top: 4px; }
.bp-spec-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0 0 9px; font: 500 10.5px/1 var(--lp-mono); letter-spacing: .16em; text-transform: uppercase; color: #E2CA9A; }
.bp-spec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 7px 26px; font-size: 12.5px; color: #E9E2D2; }
.bp-spec li { display: flex; align-items: center; gap: 8px; white-space: normal; cursor: default; animation: bp-rise .5s var(--lp-ease) backwards; animation-delay: calc(3s + var(--i, 0) * .04s); transition: color .25s ease; }
.bp-spec b { flex: none; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font: 500 10px/1 var(--lp-mono); color: #F3EFE6; box-shadow: 0 0 0 1px var(--bp-line); transition: background-color .25s ease, box-shadow .25s ease; }
.bp-spec li.on { color: #fff; }
.bp-spec li.on b { background: var(--lp-orange); box-shadow: 0 0 0 1px var(--lp-orange); }
.bp-legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 9.5px; letter-spacing: .06em; text-transform: none; color: rgba(228,211,176,.72); }
.bp-legend i { display: inline-block; width: 24px; height: 0; border-top: 1.5px dashed var(--bp-phantom); }
.bp-legend .lg-hd { margin-left: 10px; border-top-color: rgba(212,184,130,.6); border-top-style: dotted; }

.bp-stamp { grid-area: stamp; align-self: end; justify-self: center; width: 100%; max-width: 400px; display: grid; grid-template-columns: auto 1fr auto; border: 1px solid rgba(212,184,130,.55); font-size: 12px; color: #EDE9DE; animation: bp-fade 1s ease-out 3s backwards; }
.bp-stamp > div { padding: 6px 12px; border-right: 1px solid rgba(212,184,130,.32); border-bottom: 1px solid rgba(212,184,130,.32); white-space: nowrap; }
.bp-stamp > div:nth-child(3), .bp-stamp > div:nth-child(5) { border-right: 0; }
.bp-stamp > div:nth-child(1), .bp-stamp > div:nth-child(4), .bp-stamp > div:nth-child(5) { border-bottom: 0; }
.bp-stamp span { display: block; margin-bottom: 2px; font: 500 9.5px/1.2 var(--lp-mono); letter-spacing: .14em; text-transform: uppercase; color: #D6C49C; }
.bp-stamp .st-brand { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.bp-stamp .st-brand i { font-style: normal; font-weight: 400; letter-spacing: .08em; color: #E0D2B2; font-size: 11px; text-transform: none; }
.bp-stamp .mono { font: 500 12px var(--lp-mono); }

/* ---- карточка входа ---- */
.login-side { grid-area: card; align-self: center; position: relative; z-index: 1; width: 100%; max-width: 400px; justify-self: center; }
.login-page .login-box {
  position: relative; max-width: none; margin: 0; padding: 28px 30px 20px; color: #1A1E1C;
  background: #FBFAF6; border: 1px solid rgba(255,255,255,.6); border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 32px 64px -24px rgba(8,18,14,.6), 0 12px 28px -14px rgba(8,18,14,.45);
  animation: lg-card .8s var(--lp-ease) .1s backwards;
}
.login-page .login-box::before { content: ""; position: absolute; left: 30px; top: -1px; width: 56px; height: 3px; border-radius: 0 0 3px 3px; background: var(--lp-orange); }
/* метки обреза по углам — как на листе */
.login-page .login-box::after {
  --m: rgba(228,211,176,.7);
  content: ""; position: absolute; inset: -12px; pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) left top / 14px 1px no-repeat, linear-gradient(var(--m), var(--m)) left top / 1px 14px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 14px 1px no-repeat, linear-gradient(var(--m), var(--m)) right top / 1px 14px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 14px 1px no-repeat, linear-gradient(var(--m), var(--m)) left bottom / 1px 14px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 14px 1px no-repeat, linear-gradient(var(--m), var(--m)) right bottom / 1px 14px no-repeat;
}
.lg-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.lg-logo { display: block; height: 40px; width: auto; }
.lg-sys { padding: 3px 7px; border-radius: 5px; font: 500 10.5px/1 var(--lp-mono); letter-spacing: .14em; color: #4A443D; box-shadow: inset 0 0 0 1px #D6CEBF; }
.lg-lang { margin: 0 0 0 auto; display: flex; padding: 2px; border: 1px solid #E6E0D4; border-radius: 999px; }
.lg-lang button { font: 600 11px/1 var(--lp-sans); padding: 5px 9px; border: 0; border-radius: 999px; background: none; color: #6B6258; cursor: pointer; transition: color .15s, background-color .15s; }
.lg-lang button:hover { color: #1A1E1C; }
.lg-lang button.active { background: var(--lp-green); color: #fff; }
.lg-lang button:focus-visible { outline: 2px solid var(--lp-orange); outline-offset: 1px; }
.login-page .login-box h1 { margin: 0 0 6px; font: 600 23px/1.2 var(--lp-display); letter-spacing: -.02em; color: #1A1E1C; }
.lg-lead { margin: 0 0 20px; font-size: 13.5px; line-height: 1.5; color: #6B6258; }
.login-page .login-box .field { margin-bottom: 14px; }
.login-page .login-box label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: #4A443D; }
.login-page .login-box input[type=text], .login-page .login-box input[type=password] {
  width: 100%; height: 46px; padding: 10px 14px 10px 42px; font: 500 16px var(--lp-sans); color: #1A1E1C;
  border: 1px solid #D6CEBF; border-radius: 10px; background-color: #fff;
  background-repeat: no-repeat; background-position: 13px 50%; background-size: 18px 18px;
  transition: border-color .15s, box-shadow .15s;
}
.login-page .login-box input::placeholder { color: #857B70; }
.login-page .login-box input:hover { border-color: #C4BAA8; }
.login-page .login-box input:focus { outline: 2px solid transparent; border-color: var(--lp-orange); box-shadow: 0 0 0 4px rgba(235,92,31,.16); }
.login-page .login-box input[name=username] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A8F82' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M4.5 20c1.2-3.6 4-5.4 7.5-5.4s6.3 1.8 7.5 5.4'/%3E%3C/svg%3E"); }
.login-page .login-box input[name=password] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A8F82' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.2'/%3E%3Cpath d='M8.2 10.5V8a3.8 3.8 0 0 1 7.6 0v2.5'/%3E%3C/svg%3E"); padding-right: 46px; }
.pw-wrap { position: relative; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: #8A8075; cursor: pointer; transition: color .15s, background-color .15s; }
.pw-eye:hover { color: #1A1E1C; background: #F3F0E8; }
.pw-eye:focus-visible { outline: 2px solid var(--lp-orange); outline-offset: 0; }
.pw-eye[hidden] { display: none; }                               /* shown by login.js only */
.pw-eye .eye-off, .pw-eye[aria-pressed=true] .eye-open { display: none; }
.pw-eye[aria-pressed=true] .eye-off { display: inline; }
.caps-warn { margin: 6px 0 0; font: 500 12px var(--lp-mono); color: #8A5D0B; }
/* «Запомнить меня» — тумблер поверх обычного checkbox (без JS работает так же) */
.login-page .login-box label.remember { display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 18px; font-size: 13.5px; font-weight: 500; color: #3F3A34; cursor: pointer; user-select: none; }
.remember input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.remember .sw { position: relative; flex: none; width: 36px; height: 20px; border-radius: 999px; background: #D8D0C3; transition: background-color .2s; }
.remember .sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .2s var(--lp-ease); }
.remember input:checked + .sw { background: var(--lp-orange-strong); }
.remember input:checked + .sw::after { transform: translateX(16px); }
.remember input:focus-visible + .sw { outline: 2px solid var(--lp-orange); outline-offset: 2px; }
.login-page .login-box .lg-submit {
  position: relative; overflow: hidden; width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px var(--lp-sans); color: #fff; border-radius: 10px; border: 1px solid var(--lp-orange-strong); background: var(--lp-orange-strong); cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(150,52,10,.3), 0 8px 18px -8px rgba(235,92,31,.65);
  transition: background-color .15s, transform .15s, box-shadow .2s;
}
.login-page .login-box .lg-submit:hover { background: var(--lp-orange-hover); border-color: var(--lp-orange-hover); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 28px -10px rgba(235,92,31,.7); }
.login-page .login-box .lg-submit:active { transform: translateY(1px); }
.login-page .login-box .lg-submit:focus-visible { outline: 2px solid var(--lp-orange); outline-offset: 2px; }
.lg-submit svg { transition: transform .25s var(--lp-ease); }
.lg-submit:hover svg { transform: translateX(4px); }
.lg-submit::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transform: translateX(-130%) skewX(-12deg); transition: transform .7s var(--lp-ease); }
.lg-submit:hover::after { transform: translateX(330%) skewX(-12deg); }
/* ошибка — над полями, выезжает; форма один раз вздрагивает */
.login-page .login-error { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 11px 13px; border-radius: 10px; font-size: 13px; line-height: 1.4; font-weight: 500; color: #A8262F; background: #FBE4E4; border: 1px solid rgba(168,38,47,.22); animation: lg-err .35s var(--lp-ease) .5s backwards; }
.login-page .login-error svg { flex: none; margin-top: 1px; }
.login-box.has-error .lg-form { animation: lg-shake .45s ease .55s; }
.login-box.has-error input[type=text], .login-box.has-error input[type=password] { border-color: rgba(168,38,47,.45); }
.lg-foot { display: flex; align-items: center; gap: 7px; margin-top: 18px; padding-top: 13px; border-top: 1px dashed #D6CEBF; font-size: 12px; color: #6B6258; }

/* ---- анимации ---- */
.draw { stroke-dasharray: 1 1.05; stroke-dashoffset: 0; animation: bp-draw var(--dur, 1s) var(--draw-ease) var(--d, 0s) backwards; }
.fade { animation: bp-fade var(--dur, .8s) ease-out var(--d, 0s) backwards; }
@keyframes bp-draw { from { stroke-dashoffset: 1.02; } }
@keyframes bp-fade { from { opacity: 0; } }
@keyframes bp-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes bp-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.3); } }
@keyframes bp-pen { 0% { offset-distance: 0%; opacity: 0; } 5% { opacity: 1; } 94% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes bp-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.3); } }
@keyframes bp-shimmer { to { background-position: 100% 0; } }
@keyframes lg-card { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes lg-err { from { opacity: 0; transform: translateY(-6px); } }
@keyframes lg-shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* повторный вход за день: без прорисовки, только короткое проявление */
.bp-quick .login-scene .draw, .bp-quick .login-scene .fade { animation: bp-fade .45s ease-out .05s backwards; }
.bp-quick .bp-co { animation-duration: .35s; animation-delay: .15s; }
.bp-quick .bp-spec li { animation-delay: .1s; }
.bp-quick .bp-stamp { animation-delay: .1s; }
.bp-quick .bp-pen { display: none; }

/* ---- адаптив ---- */
@media (max-width: 1280px) { .bp-spec { grid-template-columns: repeat(2, max-content); } }
@media (max-width: 960px) {
  .login-scene { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "draw"; align-content: start; justify-items: center; gap: 22px; padding: 36px 24px 40px; }
  .bp-head, .bp-draw { width: 100%; max-width: 620px; }
  .bp-foot, .bp-stamp { display: none; }
  .bp-drawing { max-width: 100%; }
  .bp-tag { display: none; }
}
@media (max-width: 600px) {
  .login-scene { --sw-body: 2.6; --sw: 1.9; --sw-thin: 1.3; gap: 16px; padding: 22px 14px 28px; }
  .bp-sheet { inset: 6px; outline: 0; }
  .bp-zones, .bp-sub, .bp-svg .dim-t, .bp-svg .ld, .bp-co, .bp-phrase { display: none; }
  .bp-eyebrow { font-size: 10px; letter-spacing: .14em; }
  .bp-greet { font-size: 25px; margin-top: 8px; }
  .login-page .login-box { padding: 22px 18px 16px; border-radius: 16px; }
  .login-page .login-box::before { left: 18px; }
  .login-page .login-box::after { display: none; }
  .login-page .login-box h1 { font-size: 20px; }
  .lg-brand { margin-bottom: 16px; }
  .lg-logo { height: 34px; }
  .lg-lead { margin-bottom: 16px; }
}
/* без движения: всё сразу в конечном виде */
@media (prefers-reduced-motion: reduce) {
  .login-page *, .login-page *::before, .login-page *::after { animation: none !important; transition: none !important; }
  .bp-pen { display: none; }
}
