Pārlūkot izejas kodu

feat(web): 改造移动端登录布局并移除快捷填充账号

sy 1 dienu atpakaļ
vecāks
revīzija
f298b6d9fc

+ 6 - 3
klt-bos-web/src/pages/AccountActivationPage.tsx

@@ -24,7 +24,7 @@ import {
   ShieldCheck,
   UserRound,
 } from "lucide-react";
-import { Link } from "react-router";
+import { Link, useLocation } from "react-router";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
 import {
@@ -57,6 +57,9 @@ const inputClass =
   "h-12 w-full rounded-xl border-input bg-card pl-11 pr-4 text-sm outline-none transition-colors placeholder:text-muted-foreground hover:border-border-hover focus:border-ring focus:ring-2 focus:ring-ring/15 aria-invalid:border-destructive aria-invalid:focus:ring-destructive/15";
 
 export function AccountActivationPage() {
+  const { state } = useLocation();
+  const loginPath = state?.mobileLogin === true ? "/m/login" : "/login";
+  const loginState = state?.mobileLogin === true ? { from: state.from } : undefined;
   const [step, setStep] = useState<Step>("identify");
   const [loginName, setLoginName] = useState("");
   const [code, setCode] = useState("");
@@ -221,7 +224,7 @@ export function AccountActivationPage() {
                 </div>
                 <Link
                   className="group inline-flex h-12 w-full items-center justify-center gap-2 rounded-xl bg-primary px-5 text-sm font-semibold text-primary-foreground shadow-[var(--shadow-card)] transition-colors hover:bg-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
-                  to="/login"
+                  to={loginPath} state={loginState}
                 >
                   前往登录
                   <ArrowUpRight
@@ -439,7 +442,7 @@ export function AccountActivationPage() {
               <ShieldCheck aria-hidden="true" className="mt-0.5 shrink-0 text-icon" size={14} />
               <p>
                 激活码过期或遗失?请联系开通你账号的运营商重新发放。
-                <Link className="ml-1 font-medium text-primary underline-offset-4 hover:underline" to="/login">返回登录</Link>
+                <Link className="ml-1 font-medium text-primary underline-offset-4 hover:underline" to={loginPath} state={loginState}>返回登录</Link>
               </p>
             </div>
           </div>

+ 58 - 21
klt-bos-web/src/pages/IllustratedLoginPage.tsx

@@ -1,5 +1,5 @@
-import { useCallback, useEffect, useRef, useState, useSyncExternalStore, type FormEvent } from "react";
-import { ArrowUpRight, Eye, EyeOff, Image as ImageIcon, Layers3, LoaderCircle, LockKeyhole, ShieldCheck, UserRound, X } from "lucide-react";
+import { useCallback, useEffect, useRef, useState, useSyncExternalStore, type FormEvent, type KeyboardEvent } from "react";
+import { ArrowUpRight, ChevronRight, Eye, EyeOff, Image as ImageIcon, Layers3, LoaderCircle, LockKeyhole, RotateCw, ShieldCheck, UserRound, X } from "lucide-react";
 import { Link, useLocation, useNavigate } from "react-router";
 import { Button } from "../components/ui/button";
 import { Input } from "../components/ui/input";
@@ -132,6 +132,13 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
   const passwordRef = useRef<HTMLInputElement>(null);
   const captchaRef = useRef<HTMLInputElement>(null);
 
+  function focusNext(event: KeyboardEvent<HTMLInputElement>, next: HTMLInputElement | null) {
+    if (mobile && event.key === "Enter" && !event.nativeEvent.isComposing && next) {
+      event.preventDefault();
+      next.focus();
+    }
+  }
+
   const refreshToken = useCallback(async () => {
     try {
       setCaptchaImage(await createCaptcha());
@@ -217,7 +224,7 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
 
   return (
     <main className={`illustrated-login${mobile ? " illustrated-login--mobile" : ""}`}>
-      <section className="illustrated-login__brand" aria-labelledby="illustrated-brand-title">
+      <section className={mobile ? "field-login__hero" : "illustrated-login__brand"} aria-labelledby="illustrated-brand-title">
         <div className="illustrated-login__identity">
           <span className="illustrated-login__logo"><Layers3 size={23} strokeWidth={1.6} aria-hidden="true" /></span>
           <div><p>运营支撑系统</p><span>OPERATIONS SUPPORT</span></div>
@@ -231,9 +238,17 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
             <div className="illustrated-login__keywords"><span>账户管理</span><i aria-hidden="true" /><span>运维执行</span><i aria-hidden="true" /><span>计费与对账</span></div>
           </div>
         )}
-        {mobile && <h1 id="illustrated-brand-title" className="sr-only">运维现场登录</h1>}
+        {mobile && (
+          <>
+            <div className="field-login__intro">
+              <h1 id="illustrated-brand-title">运维现场登录</h1>
+              <p>查看待办工单,回填现场记录。</p>
+            </div>
+            <img className="field-login__scene" src="/images/operations-login-diorama-service.webp" width="1536" height="1024" alt="" />
+          </>
+        )}
       </section>
-      <section className="illustrated-login__access" aria-labelledby="illustrated-login-title">
+      <section className="illustrated-login__access" aria-labelledby={mobile ? "illustrated-brand-title" : "illustrated-login-title"}>
         {!mobile && (
           <>
             <svg className="illustrated-login__ambient illustrated-login__ambient--top" viewBox="0 0 390 320" fill="none" aria-hidden="true" focusable="false">
@@ -254,22 +269,22 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
             </svg>
           </>
         )}
-        <div className="relative isolate w-full max-w-[460px]">
-          <div className="absolute -left-4 -top-4 -z-10 hidden h-24 w-24 rounded-[30px] border border-primary-border/35 bg-primary-soft/70 lg:block" />
-          <div className="rounded-[24px] border border-border/80 bg-card p-6 shadow-[var(--shadow-panel)] sm:p-8 lg:p-9">
-            <div className="mb-8">
+        <div className={mobile ? "field-login__panel" : "relative isolate w-full max-w-[460px]"}>
+          {!mobile && <div className="absolute -left-4 -top-4 -z-10 hidden h-24 w-24 rounded-[30px] border border-primary-border/35 bg-primary-soft/70 lg:block" />}
+          <div className={mobile ? undefined : "rounded-[24px] border border-border/80 bg-card p-6 shadow-[var(--shadow-panel)] sm:p-8 lg:p-9"}>
+            {!mobile && <div className="mb-8">
               <div>
                 <p className="font-mono text-xs font-semibold tracking-[0.16em] text-primary">
-                  {mobile ? "FIELD ACCESS" : "ACCOUNT ACCESS"}
+                  ACCOUNT ACCESS
                 </p>
                 <h2 id="illustrated-login-title" className="mt-3 font-serif text-[1.75rem] font-medium tracking-tight sm:text-[2.25rem]">
-                  {mobile ? "运维现场" : "运营工作台"}
+                  运营工作台
                 </h2>
                 <p className="mt-2 text-sm leading-6 text-muted-foreground text-pretty">
-                  {mobile ? "登录后继续处理待办工单与现场回填。" : "按权限查看订阅、跟进工单和查阅账单。"}
+                  按权限查看订阅、跟进工单和查阅账单。
                 </p>
               </div>
-            </div>
+            </div>}
 
             {sessionNotice && (
               <div className="mb-5 flex items-start justify-between gap-3 rounded-lg border border-amber-300 bg-amber-50 px-3.5 py-3 text-sm leading-5 text-amber-900" role="status">
@@ -278,7 +293,7 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
               </div>
             )}
 
-            <form className="space-y-5" noValidate onSubmit={handleSubmit}>
+            <form className={mobile ? "field-login__form" : "space-y-5"} noValidate onSubmit={handleSubmit}>
               <div>
                 <label className="field-label mb-2 block text-sm" htmlFor="illustrated-account">
                   账号
@@ -292,6 +307,11 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
                   />
                   <Input
                     autoComplete="username"
+                    autoCapitalize="none"
+                    autoCorrect="off"
+                    spellCheck={false}
+                    enterKeyHint={mobile ? "next" : undefined}
+                    onKeyDown={(event) => focusNext(event, passwordRef.current)}
                     ref={accountRef}
                     required
                     className="h-12 w-full rounded-xl border-input bg-card pl-11 pr-4 text-sm outline-none transition-colors placeholder:text-muted-foreground hover:border-border-hover focus:border-ring focus:ring-2 focus:ring-ring/15 aria-invalid:border-destructive aria-invalid:focus:ring-destructive/15"
@@ -333,6 +353,11 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
                   />
                   <Input
                     autoComplete="current-password"
+                    autoCapitalize="none"
+                    autoCorrect="off"
+                    spellCheck={false}
+                    enterKeyHint={mobile ? "next" : undefined}
+                    onKeyDown={(event) => focusNext(event, captchaRef.current)}
                     ref={passwordRef}
                     required
                     className="h-12 w-full rounded-xl border-input bg-card pl-11 pr-12 text-sm outline-none transition-colors placeholder:text-muted-foreground hover:border-border-hover focus:border-ring focus:ring-2 focus:ring-ring/15 aria-invalid:border-destructive aria-invalid:focus:ring-destructive/15"
@@ -385,6 +410,9 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
                   <ImageIcon className="illustrated-login__captcha-icon" size={17} strokeWidth={1.7} aria-hidden="true" />
                   <Input
                     autoComplete="off"
+                    autoCapitalize="none"
+                    autoCorrect="off"
+                    enterKeyHint={mobile ? "go" : undefined}
                     ref={captchaRef}
                     required
                     className="illustrated-login__captcha-input text-sm placeholder:text-muted-foreground md:placeholder:text-[13px]"
@@ -418,6 +446,7 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
                     ) : (
                       <span className="text-xs text-muted-foreground">点击获取</span>
                     )}
+                    {mobile && <RotateCw size={15} aria-hidden="true" />}
                   </button>
                 </div>
                 {errors.captcha && (
@@ -451,17 +480,17 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
                 ) : (
                   <>
                     登录
-                    <ArrowUpRight
+                    {!mobile && <ArrowUpRight
                       aria-hidden="true"
                       className="transition-transform duration-200 group-hover:translate-x-0.5 group-hover:-translate-y-0.5"
                       size={16}
-                    />
+                    />}
                   </>
                 )}
               </Button>
             </form>
 
-            <div className="mt-6 border-t border-border pt-4">
+            {!mobile && <div className="mt-6 border-t border-border pt-4">
               <p className="text-xs text-muted-foreground">
                 本机联调账号(点击填登录名,口令仍需手输)
               </p>
@@ -480,18 +509,26 @@ export function IllustratedLoginPage({ variant = "desktop" }: { variant?: LoginV
                   </button>
                 ))}
               </div>
-            </div>
+            </div>}
 
-            <div className="mt-4 flex items-start gap-2 border-t border-border pt-4 text-[13px] leading-5 text-muted-foreground">
+            {mobile ? (
+              <div className="field-login__activation">
+                <Link to="/activate" state={{ mobileLogin: true, from: redirectTo }}>
+                  首次激活账号 <ChevronRight size={16} aria-hidden="true" />
+                </Link>
+              </div>
+            ) : <div className="mt-4 flex items-start gap-2 border-t border-border pt-4 text-[13px] leading-5 text-muted-foreground">
               <span aria-hidden="true" className="grid h-5 shrink-0 place-items-center text-icon">
                 <ShieldCheck size={14} />
               </span>
               <p className="flex-1">如无法登录,请联系系统管理员。</p>
               <Link className="shrink-0 font-medium text-primary underline-offset-4 hover:underline" to="/activate">首次激活账号</Link>
-            </div>
+            </div>}
           </div>
         </div>
-        <footer className="illustrated-login__footer"><span>© 2026 运营支撑系统</span></footer>
+        {mobile ? (
+          <footer className="field-login__support"><ShieldCheck size={15} aria-hidden="true" />如无法登录,请联系系统管理员。</footer>
+        ) : <footer className="illustrated-login__footer"><span>© 2026 运营支撑系统</span></footer>}
       </section>
     </main>
   );

+ 113 - 0
klt-bos-web/src/pages/__tests__/illustrated-login.test.tsx

@@ -0,0 +1,113 @@
+import { cleanup, fireEvent, render, screen } from "@testing-library/react";
+import { MemoryRouter, Route, Routes, useLocation } from "react-router";
+import { afterEach, beforeEach, expect, it, vi } from "vitest";
+import { SessionProvider } from "../../auth/session";
+import { authContext } from "../../lib/api/bos";
+import { setToken } from "../../lib/api/http";
+import { createCaptcha, loginWithPassword, verifyChallenge } from "../../lib/api/platform";
+import { AccountActivationPage } from "../AccountActivationPage";
+import { IllustratedLoginPage } from "../IllustratedLoginPage";
+
+vi.mock("../../lib/api/platform", () => ({
+  createCaptcha: vi.fn(),
+  ctxMissing: () => false,
+  verifyChallenge: vi.fn(),
+  loginWithPassword: vi.fn(),
+  consumeBootstrap: vi.fn(),
+}));
+vi.mock("../../lib/api/bos", async (load) => ({
+  ...await load<typeof import("../../lib/api/bos")>(),
+  authContext: vi.fn(),
+}));
+
+beforeEach(() => {
+  vi.mocked(createCaptcha).mockResolvedValue({ captcha_id: "test-captcha", image_base64: "dGVzdA==" });
+});
+
+afterEach(() => {
+  cleanup();
+  setToken(null);
+  vi.resetAllMocks();
+});
+
+function Destination() {
+  const { pathname, search } = useLocation();
+  return <p>{pathname}{search}</p>;
+}
+
+async function renderLogin(pathname: string, from?: string) {
+  render(<MemoryRouter initialEntries={[{ pathname, state: { from } }]}>
+    <SessionProvider>
+      <Routes>
+        <Route path="/login" element={<IllustratedLoginPage />} />
+        <Route path="/m/login" element={<IllustratedLoginPage variant="mobile" />} />
+        <Route path="/activate" element={<AccountActivationPage />} />
+        <Route path="*" element={<Destination />} />
+      </Routes>
+    </SessionProvider>
+  </MemoryRouter>);
+  await screen.findByRole("img", { name: "图形验证码" });
+}
+
+it("移动登录移除联调说明和快捷账号,空表单指出必填项并聚焦账号", async () => {
+  await renderLogin("/m/login");
+
+  expect(screen.queryByText(/本机联调账号/)).toBeNull();
+  expect(screen.queryAllByRole("button", {
+    name: /总运营|运营主账号|运营子账号|运维团队长|运维人员|客户主账号|客户分账号|合伙人|运营商/,
+  })).toHaveLength(0);
+
+  fireEvent.click(screen.getByRole("button", { name: "登录" }));
+  for (const label of ["账号", "密码", "验证码"]) {
+    const field = screen.getByLabelText(label, { exact: true });
+    expect(field.getAttribute("aria-invalid")).toBe("true");
+    expect(screen.getByText(`请输入${label}`).id).toBe(field.getAttribute("aria-describedby"));
+  }
+  expect(document.activeElement).toBe(screen.getByLabelText("账号", { exact: true }));
+  expect(verifyChallenge).not.toHaveBeenCalled();
+});
+
+it("桌面登录保留联调账号,点击运维人员只填入登录名", async () => {
+  await renderLogin("/login");
+  fireEvent.click(screen.getByRole("button", { name: "运维人员" }));
+  expect(screen.getByLabelText<HTMLInputElement>("账号", { exact: true }).value).toBe("bos_ops");
+  expect(screen.getByLabelText<HTMLInputElement>("密码", { exact: true }).value).toBe("");
+  expect(verifyChallenge).not.toHaveBeenCalled();
+});
+
+it.each([
+  ["/m/work-orders/WO-7/backfill?step=2", "/m/work-orders/WO-7/backfill?step=2"],
+  ["/bos/customer", "/m/work-orders/mine"],
+])("移动登录完成后将来源 %s 定位到 %s", async (from, expected) => {
+  vi.mocked(verifyChallenge).mockResolvedValue("test-challenge");
+  vi.mocked(loginWithPassword).mockResolvedValue({ access_token: "test-token" });
+  vi.mocked(authContext).mockResolvedValue({
+    user_id: "test-user", username: "field-user", role_code: "ops", subject_type: "ops_team",
+    subject_id: "test-team", entry_only: false, scope_mode: "teams", display_name: "测试用户",
+    subject_name: "测试团队", mobile_hint: null, acct_status: "normal", must_change_password: false,
+    scope: { kind: "teams", region_node_ids: [], customer_ids: [], team_ids: ["test-team"] }, permissions: [],
+  });
+  await renderLogin("/m/login", from);
+
+  fireEvent.change(screen.getByLabelText("账号", { exact: true }), { target: { value: " field-user " } });
+  fireEvent.change(screen.getByLabelText("密码", { exact: true }), { target: { value: "test-password" } });
+  fireEvent.change(screen.getByLabelText("验证码", { exact: true }), { target: { value: " A7b9 " } });
+  fireEvent.click(screen.getByRole("button", { name: "登录" }));
+
+  expect(await screen.findByText(expected)).toBeTruthy();
+  expect(verifyChallenge).toHaveBeenCalledWith({
+    username: "field-user", captchaId: "test-captcha", code: "A7b9", scope: "end_user",
+  });
+  expect(loginWithPassword).toHaveBeenCalledWith({
+    username: "field-user", password: "test-password", challengeToken: "test-challenge", scope: "end_user",
+  });
+});
+
+it("移动登录进入首次激活后可返回移动登录入口", async () => {
+  await renderLogin("/m/login");
+  fireEvent.click(screen.getByRole("link", { name: "首次激活账号" }));
+  const back = await screen.findByRole("link", { name: "返回登录" });
+  expect(back.getAttribute("href")).toBe("/m/login");
+  fireEvent.click(back);
+  expect(await screen.findByRole("button", { name: "登录" })).toBeTruthy();
+});

+ 80 - 13
klt-bos-web/src/styles/login-illustrated.css

@@ -95,21 +95,88 @@
   .illustrated-login__footer { position: static; width: 100%; max-width: 460px; margin-top: 40px; }
 }
 
-/* 运维现场 `/m/login`:单栏表单,登录后仍落 `/m/*`。 */
+/* 现场登录使用独立的单栏布局,键盘展开时仍可滚动整页。 */
 .illustrated-login--mobile {
-  grid-template-columns: minmax(0, 1fr);
+  --login-gutter: clamp(20px, 6vw, 36px);
+  display: flex;
+  flex-direction: column;
+  width: min(100%, 520px);
+  min-height: 100svh;
+  margin-inline: auto;
   background: var(--card);
 }
-.illustrated-login--mobile .illustrated-login__brand {
-  padding: 20px 24px 8px;
-  background: linear-gradient(to bottom, var(--primary-soft) 0%, var(--card) 100%);
+.field-login__hero {
+  position: relative;
+  isolation: isolate;
+  overflow: hidden;
+  padding: calc(22px + env(safe-area-inset-top)) max(var(--login-gutter), env(safe-area-inset-right)) 28px max(var(--login-gutter), env(safe-area-inset-left));
+  background: var(--primary-soft);
+  border-bottom: 1px solid var(--primary-border);
 }
-.illustrated-login--mobile .illustrated-login__brand::after { display: none; }
-.illustrated-login--mobile .illustrated-login__access { padding: 16px 24px 28px; justify-content: flex-start; }
-.illustrated-login--mobile .illustrated-login__footer {
-  position: static;
-  width: 100%;
-  max-width: 460px;
-  margin-top: 24px;
-  text-align: center;
+.field-login__hero .illustrated-login__identity { gap: 9px; }
+.field-login__hero .illustrated-login__logo { width: 34px; height: 34px; border-radius: 10px; }
+.field-login__hero .illustrated-login__logo svg { width: 20px; }
+.field-login__hero .illustrated-login__identity p { font-size: .875rem; letter-spacing: .04em; }
+.field-login__hero .illustrated-login__identity div > span { margin-top: 1px; font: 500 .625rem/1.3 var(--font-mono); letter-spacing: .1em; }
+.field-login__intro { position: relative; width: 59%; margin-top: clamp(24px, 4svh, 42px); }
+.field-login__intro h1 { margin: 0; font-size: clamp(1.65rem, 7vw, 2rem); line-height: 1.22; font-weight: 600; letter-spacing: -.035em; }
+.field-login__intro p { margin: 8px 0 0; color: var(--text-secondary); font-size: .875rem; line-height: 1.5; text-wrap: pretty; }
+.field-login__scene {
+  position: absolute;
+  z-index: -1;
+  inset: auto -3% 0 auto;
+  width: 48%;
+  height: 75%;
+  object-fit: cover;
+  object-position: 58% center;
+  mask-image: linear-gradient(to right, transparent, #000 24%), linear-gradient(to bottom, transparent, #000 22%);
+  mask-composite: intersect;
+  pointer-events: none;
+}
+.illustrated-login--mobile .illustrated-login__access {
+  flex: 1;
+  justify-content: flex-start;
+  align-items: stretch;
+  padding: clamp(24px, 4svh, 36px) max(var(--login-gutter), env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(var(--login-gutter), env(safe-area-inset-left));
+}
+.field-login__panel { width: 100%; min-width: 0; }
+.field-login__form { display: grid; gap: 18px; }
+.field-login__form .field-label { margin-bottom: 7px; font-size: .875rem; line-height: 1.4; }
+.field-login__form input,
+.field-login__form .illustrated-login__captcha-row { height: 50px; border-radius: 10px; }
+.field-login__form input,
+.field-login__form .illustrated-login__captcha-input,
+.field-login__form input::placeholder { font-size: max(16px, 1rem); }
+.field-login__form input::placeholder { color: var(--muted-foreground); }
+.field-login__form .illustrated-login__captcha-input { height: 100%; border-radius: 0; }
+.field-login__form button[aria-pressed] { width: 44px; height: 44px; right: 3px; }
+.field-login__form .illustrated-login__captcha-image {
+  display: flex;
+  flex: 0 0 clamp(108px, 34%, 146px);
+  justify-content: center;
+  align-items: center;
+  gap: 4px;
+  padding-inline: 6px;
+  border-inline-start: 1px solid var(--border);
+  background: var(--surface-subtle);
+  color: var(--primary-soft-foreground);
+  cursor: pointer;
+}
+.field-login__form .illustrated-login__captcha-image img { flex: 1; min-width: 0; width: auto; height: auto; max-height: 42px; }
+.field-login__form .illustrated-login__captcha-image svg { flex: none; }
+.field-login__form button[type="submit"] { min-height: 50px; margin-top: 4px; border-radius: 10px; font-size: 1rem; box-shadow: none; }
+.field-login__form button[type="submit"]:active { background: var(--primary-hover); }
+.field-login__form :is(input, button) { scroll-margin-block: 16px; }
+.field-login__panel [role="status"] { align-items: center; padding-block: 2px; padding-inline-end: 2px; }
+.field-login__panel [role="status"] button { display: grid; place-items: center; width: 44px; height: 44px; }
+.field-login__activation { display: flex; justify-content: center; margin-top: 8px; }
+.field-login__activation a { display: inline-flex; min-height: 44px; align-items: center; gap: 3px; padding-inline: 12px; color: var(--primary-soft-foreground); font-size: .875rem; font-weight: 500; }
+.field-login__support { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; color: var(--muted-foreground); font-size: .8125rem; line-height: 1.5; }
+.field-login__activation a:focus-visible,
+.field-login__form .illustrated-login__captcha-image:focus-visible { outline: 2px solid var(--ring); outline-offset: -3px; }
+@media (max-height: 600px) {
+  .field-login__hero { padding-block: calc(14px + env(safe-area-inset-top)) 16px; }
+  .field-login__intro { margin-top: 12px; }
+  .illustrated-login--mobile .illustrated-login__access { padding-top: 18px; }
+  .field-login__form { gap: 13px; }
 }