:root {
  --nova-auth-blue: #0968e9;
  --nova-auth-blue-deep: #0648b2;
  --nova-auth-blue-ink: #073a75;
  --nova-auth-frame: #91bffb;
  --nova-auth-line: #b8d1f4;
  --nova-auth-muted: #6884a5;
  --nova-auth-danger: #d91462;
  --nova-auth-success: #087d69;
  --nova-auth-radius: 10px;
  --nova-auth-gap: clamp(24px, 6.25vw, 120px);
  --nova-auth-label-size: 13px;
  --nova-auth-input-size: 16px;
  --nova-auth-helper-size: 11px;
}

.local-login-frame-host {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--nova-auth-gap);
  overflow-x: hidden;
  color: #10395f;
  background: var(--nova-auth-frame);
  font-family: "Noto Sans SC Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

.local-login-frame-host * { box-sizing: border-box; }

.local-login-page {
  min-height: calc(100vh - 2 * var(--nova-auth-gap));
  min-height: calc(100dvh - 2 * var(--nova-auth-gap));
  display: grid;
  grid-template-columns: minmax(0, 56.5%) minmax(480px, 43.5%);
  overflow: hidden;
  border-radius: var(--nova-auth-radius);
  background: #fff;
}

.local-login-brand {
  position: relative;
  min-height: inherit;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 13% 42%, rgba(25, 144, 255, .96) 0 18%, transparent 18.2%),
    radial-gradient(circle at 80% 15%, rgba(30, 133, 255, .7) 0 19%, transparent 19.2%),
    linear-gradient(145deg, #064dbd 0%, #0764df 52%, #0b84ff 100%);
}

.local-login-brand::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: -6%;
  right: -128px;
  width: 230px;
  height: 112%;
  border-radius: 48% 0 0 52% / 54% 0 0 46%;
  background: #fff;
  transform: rotate(-4deg);
}

.local-login-brand-orb { position: absolute; z-index: -1; border-radius: 50%; background: rgba(0, 55, 156, .28); }
.local-login-brand-orb.is-one { width: 520px; height: 520px; left: 13%; top: 16%; }
.local-login-brand-orb.is-two { width: 380px; height: 380px; bottom: -17%; left: 43%; transform: translateX(-50%); background: rgba(7, 63, 164, .22); }

.local-login-brand-lockup {
  position: absolute;
  z-index: 2;
  top: clamp(24px, 3.2vh, 34px);
  left: clamp(34px, 4vw, 64px);
  width: 180px;
}

.local-login-brand-lockup-main { display: flex; align-items: flex-start; }
.local-login-wordmark { width: 87px; display: grid; flex: 0 0 auto; font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: .8; }
.local-login-wordmark strong { color: inherit; font: inherit; }
.local-login-wordmark strong:nth-child(2) { letter-spacing: -.055em; }
.local-login-brand-star { width: 78px; height: 81px; flex: 0 0 auto; margin: -4.5px 0 0 -15px; overflow: visible; }
.local-login-brand-star svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.2; }
.local-login-brand-star .is-core { fill: #fff; stroke: none; }
.local-login-brand-version { display: grid; gap: 2px; margin-top: 8px; font: 400 10.8px/12.6px "Noto Sans SC Variable", "Noto Sans SC", sans-serif; white-space: nowrap; }
.local-login-brand-version strong { width: max-content; padding: 1.8px 6.3px; border: 1px solid rgba(255,255,255,.78); border-radius: 4px; background: rgba(8,31,84,.42); font: 700 9.9px/12.6px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .045em; }

.local-login-thesis { position: absolute; z-index: 1; top: 25%; left: 43%; transform: translateX(-50%) rotate(-4deg); white-space: nowrap; text-align: center; font-weight: 950; letter-spacing: -.08em; text-shadow: 0 4px 0 #d7eaff, 0 12px 0 #0648b2, 0 20px 28px rgba(0,42,130,.42); }
.local-login-thesis p { margin: 0; font-size: clamp(66px, 6.6vw, 112px); line-height: .98; }
.local-login-thesis p + p { margin-top: 8px; font-size: clamp(70px, 7vw, 118px); line-height: 1; }
.local-login-brand-spark { position: absolute; z-index: 2; display: block; fill: #fff; pointer-events: none; }
.local-login-brand-spark.is-large { right: 25%; bottom: 29%; width: 66px; height: 66px; }
.local-login-brand-spark.is-small { top: 47%; left: 5%; width: 44px; height: 44px; }

/* Auth brand tide: compositor-only decoration behind stationary logo, type and form. */
.local-login-brand.local-login-tide { background: linear-gradient(145deg, #064dbd 0%, #0764df 52%, #0b84ff 100%); }
.local-login-tide-orb { position: absolute; z-index: -1; display: block; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.local-login-tide-orb.is-0 { width: 40%; left: -9%; top: 21%; background: rgba(25,144,255,.96); }
.local-login-tide-orb.is-1 { width: 44%; left: 60%; top: -10%; background: rgba(30,133,255,.7); }
.local-login-tide-orb.is-2 { width: 50%; left: 13%; top: 16%; background: rgba(0,55,156,.28); }
.local-login-tide-orb.is-3 { width: 36%; left: 27%; top: 78%; background: rgba(7,63,164,.22); }
.local-login-tide .local-login-brand-spark.is-small { left: 6%; top: 48%; width: 4.4%; height: auto; }
.local-login-tide .local-login-brand-spark.is-large { left: 70%; top: 59%; right: auto; bottom: auto; width: 6.6%; height: auto; }
.local-login-tide .local-login-thesis { z-index: 3; }
.local-login-tide .local-login-brand-lockup,
.local-login-tide .local-login-principles { z-index: 4; }
.local-login-tide-toggle { position: absolute; z-index: 6; top: 28px; right: 86px; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.44); border-radius: 7px; background: rgba(6,54,138,.36); color: #fff; font: 500 11px/1.2 "Noto Sans SC Variable", "Noto Sans SC", sans-serif; cursor: pointer; }
.local-login-tide-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.local-login-tide-toggle:hover:not(:disabled) { background: rgba(6,54,138,.65); }
.local-login-tide-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.local-login-tide-toggle:disabled { opacity: .65; cursor: default; }

.local-login-principles { position: absolute; z-index: 3; right: 14%; bottom: 8.5%; left: 7%; }
.local-login-principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-block: 1px solid rgba(184,216,255,.42); }
.local-login-principle { min-width: 0; padding: 17px 20px 18px; }
.local-login-principle + .local-login-principle { border-left: 1px solid rgba(184,216,255,.34); }
.local-login-principle > span { display: block; margin-bottom: 6px; color: #9dcfff; font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.local-login-principle strong { display: block; font-size: 15px; font-weight: 760; line-height: 1.35; }
.local-login-principle p { margin: 5px 0 0; color: rgba(236,246,255,.76); font-size: 12px; font-weight: 420; line-height: 1.55; }
.local-login-brand-status { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; color: rgba(236,246,255,.78); font-size: 12px; }
.local-login-brand-status strong { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.local-login-brand-status i { width: 9px; height: 9px; border-radius: 50%; background: #49d8bc; }
.local-login-brand-status p { margin: 0; text-align: right; }

.local-login-stage {
  position: relative;
  min-width: 0;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: clamp(72px, 9vh, 96px) clamp(40px, 5vw, 88px) 34px clamp(64px, 6.2vw, 108px);
  overflow: hidden;
  background: radial-gradient(circle at 78% 22%, rgba(226,240,255,.6), transparent 23%), #fff;
}

.local-login-watermark { position: absolute; top: 60px; right: 42px; width: 190px; color: #e9f3ff; }
.local-login-watermark svg { width: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.2; }
.local-login-watermark .is-core { fill: currentColor; stroke: none; }
.local-login-stage-status { position: absolute; top: 28px; right: 34px; display: inline-flex; align-items: center; gap: 7px; color: #5f7fa2; font-size: 12px; font-weight: 500; }
.local-login-stage-status i { width: 7px; height: 7px; border-radius: 50%; background: #23b79b; }
.local-login-page.is-offline .local-login-stage-status i,
.local-login-page.is-forbidden .local-login-stage-status i { background: var(--nova-auth-danger); }

/* Keep the title in the same flow as every auth-state form: font loading,
 * validation copy and short viewports must grow the page, not overlap it. */
.local-login-statement { position: relative; z-index: 1; display: flex; flex: 0 0 auto; flex-direction: column; width: min(100%,520px); margin: 0; color: #0752bd; font-size: clamp(35px,3.1vw,52px); font-weight: 900; line-height: .98; letter-spacing: -.07em; transform: rotate(-2deg); text-shadow: 0 4px 0 #dbeaff; }
.local-login-statement strong { color: var(--nova-auth-blue); font: inherit; }

.local-login-panel { position: relative; z-index: 2; flex: 0 0 auto; width: min(100%,520px); margin-top: 0; }
.local-login-panel-head { margin-bottom: 28px; }
.local-login-state { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 5px 10px; border-radius: 999px; color: #315b86; background: #edf5ff; font-size: 11px; font-weight: 700; }
.local-login-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--nova-auth-blue); }
.local-login-state.is-password { color: #735800; background: #fff3c0; }
.local-login-state.is-password i { background: #d89b00; }
.local-login-state.is-offline,
.local-login-state.is-forbidden { color: #8f1c48; background: #ffe8f1; }
.local-login-state.is-offline i,
.local-login-state.is-forbidden i { background: var(--nova-auth-danger); }
.local-login-panel-head h1 { margin: 14px 0 0; color: var(--nova-auth-blue-ink); font-size: clamp(32px,2.7vw,44px); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.local-login-panel-head p { margin: 10px 0 0; color: var(--nova-auth-muted); font-size: 16px; font-weight: 400; line-height: 1.55; }

.local-login-form { display: grid; gap: 18px; }
.local-login-field { display: grid; gap: 8px; min-width: 0; }
.local-login-field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--nova-auth-blue-ink); font-size: var(--nova-auth-label-size); font-weight: 700; line-height: 1.35; }
.local-login-field-label strong { color: inherit; font: inherit; }
.local-login-field-label small { color: var(--nova-auth-muted); font-size: var(--nova-auth-helper-size); font-weight: 450; }
.local-login-field > input,
.local-login-password-control input { width: 100%; height: 58px; padding: 0 18px; border: 1px solid var(--nova-auth-line); border-radius: 12px; outline: 0; color: #123c65; background: rgba(244,249,255,.82); font-size: var(--nova-auth-input-size); font-weight: 450; transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease; }
.local-login-field input::placeholder { color: #8ba8c8; font-size: var(--nova-auth-input-size); }
.local-login-field input:hover { border-color: #88b5ee; background: #f8fbff; }
.local-login-field input:focus-visible { border-color: var(--nova-auth-blue); background: #fff; box-shadow: 0 0 0 3px rgba(9,104,233,.14); }
.local-login-field input[aria-invalid="true"] { border-color: var(--nova-auth-danger); box-shadow: 0 0 0 3px rgba(217,20,98,.1); }
.local-login-password-control { position: relative; display: block; min-width: 0; }
.local-login-password-control input { padding-right: 62px; }
.local-login-password-control button { position: absolute; inset-block: 0; right: 5px; width: 48px; height: 48px; display: grid; place-items: center; margin-block: auto; padding: 0; border: 0; border-radius: 8px; color: #1558a6; background: transparent; cursor: pointer; }
.local-login-password-control button:hover { background: #eaf4ff; }
.local-login-password-control svg { grid-area: 1/1; width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.local-login-password-control .is-open { display: none; }
.local-login-password-control button[aria-pressed="true"] .is-closed { display: none; }
.local-login-password-control button[aria-pressed="true"] .is-open { display: block; }

.local-login-captcha-row { display: grid; grid-template-columns: minmax(0,1fr) 188px; align-items: end; gap: 12px; }
.local-login-captcha-row .local-login-field { min-width: 0; }
.local-login-captcha-challenge { display: grid; gap: 8px; min-width: 0; }
.local-login-captcha-challenge > span { color: var(--nova-auth-blue-ink); font-size: var(--nova-auth-label-size); font-weight: 700; line-height: 1.35; }
.local-login-captcha-button { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 0 10px 0 12px; overflow: hidden; border: 1px solid #9ebfeb; border-radius: 12px; color: #0648b2; background: repeating-linear-gradient(90deg,#eef6ff 0 13px,#f8fbff 13px 26px); cursor: pointer; }
.local-login-captcha-button img { min-width: 0; width: 142px; height: 49px; object-fit: cover; }
.local-login-captcha-button svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.local-login-captcha-hint { min-height: 17px; margin: -10px 0 0; color: #7893b1; font-size: var(--nova-auth-helper-size); font-weight: 400; line-height: 1.5; }

.local-login-password-rules { display: flex; flex-wrap: wrap; gap: 8px; }
.local-login-password-rules span { padding: 5px 9px; border-radius: 999px; color: #536a7d; background: #eef4fb; font-size: var(--nova-auth-helper-size); font-weight: 650; }
.local-login-password-rules span.is-met { color: var(--nova-auth-success); background: #e2f7f1; }
.local-login-caps,
.local-login-message,
.local-login-offline,
.local-login-connection { padding: 11px 13px; border: 1px solid #b9d3ef; border-radius: 10px; color: #315b86; background: #f1f7ff; font-size: 12px; line-height: 1.55; }
.local-login-message,
.local-login-offline { border-color: #f1a8c4; color: #901e4b; background: #fff0f5; }
.local-login-offline { display: grid; gap: 5px; margin-bottom: 18px; }
.local-login-offline strong { font-size: 14px; }
.local-login-offline p { margin: 0; }
.local-login-connection { display: grid; gap: 7px; }
.local-login-connection > span { display: flex; gap: 6px; }
.local-login-connection i { width: 8px; height: 8px; border-radius: 50%; background: #23b79b; animation: local-auth-pulse 1.2s infinite ease-in-out; }
.local-login-connection i:nth-child(2) { animation-delay: 120ms; }
.local-login-connection i:nth-child(3) { animation-delay: 240ms; }

.local-login-submit { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 18px; border: 0; border-radius: 12px; color: #fff; background: var(--nova-auth-blue); font-size: 17px; font-weight: 700; cursor: pointer; transition: background-color 140ms ease, transform 120ms ease; }
.local-login-submit:hover:not(:disabled) { background: #075bcf; }
.local-login-submit:active:not(:disabled) { transform: translateY(1px); background: #064aa9; }
.local-login-submit:disabled { opacity: .58; cursor: wait; }
.local-login-submit b { font-size: 22px; line-height: 1; }
.local-login-panel-foot { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid #c9d9ec; color: #466b95; font-size: 12px; }
.local-login-panel-foot strong { text-align: right; }
.local-login-password-control button:focus-visible,
.local-login-captcha-button:focus-visible,
.local-login-submit:focus-visible { outline: 3px solid rgba(9,104,233,.3); outline-offset: 3px; }

/* Critical first-frame copy of the shared UI4 boot surface. It is loaded before
 * React so session discovery never exposes the login form to an authenticated user. */
.shared-workbench-boot-ui4 { position: fixed; z-index: 1400; inset: 0; display: grid; place-items: center; box-sizing: border-box; padding: 24px; overflow: hidden; overscroll-behavior: contain; touch-action: none; background: rgba(232,241,250,.42); color: #173149; font-family: "Noto Sans SC Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
.shared-workbench-boot-ui4 * { box-sizing: border-box; }
.shared-workbench-boot-ui4-dialog { position: relative; display: grid; grid-template-columns: 34% minmax(0,1fr); width: min(620px,calc(100vw - 48px)); min-height: 176px; overflow: hidden; border: 0; border-radius: 10px; outline: 0; background: #fff; box-shadow: 0 18px 44px rgba(8,31,84,.2),0 4px 12px rgba(8,31,84,.12); animation: shared-workbench-boot-ui4-arrive 220ms cubic-bezier(.2,.8,.2,1) both; }
.shared-workbench-boot-ui4-brand { position: relative; z-index: 0; display: grid; place-items: center; padding: 24px; overflow: hidden; isolation: isolate; color: #fff; background: #2e72e8; }
.shared-workbench-boot-ui4-brand::after { content: ""; position: absolute; z-index: 1; inset-block: -22%; right: -34px; width: 68px; border-radius: 50%; background: #fff; }
.shared-workbench-boot-ui4-orb { position: absolute; z-index: 0; display: block; border-radius: 50%; pointer-events: none; }
.shared-workbench-boot-ui4-orb.is-one { top: -76px; left: -24px; width: 142px; height: 142px; background: rgba(101,174,255,.38); }
.shared-workbench-boot-ui4-orb.is-two { bottom: -112px; left: 34px; width: 180px; height: 180px; background: rgba(10,68,171,.42); }
.shared-workbench-boot-ui4-orb.is-three { top: 46px; right: -42px; width: 112px; height: 112px; background: rgba(31,123,239,.48); }
.shared-workbench-boot-ui4-lockup { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: center; }
.shared-workbench-boot-ui4-wordmark { width: 58px; display: grid; flex: 0 0 auto; color: inherit; font-size: 20px; font-weight: 800; line-height: .8; font-synthesis: none; letter-spacing: -.035em; text-align: left; }
.shared-workbench-boot-ui4-wordmark strong { display: block; margin: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; }
.shared-workbench-boot-ui4-wordmark strong:nth-child(2) { letter-spacing: -.055em; }
.shared-workbench-boot-ui4-lockup > svg { width: 52px; height: 54px; flex: 0 0 auto; margin-top: -3px; margin-left: -10px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.2; }
.shared-workbench-boot-ui4-lockup > svg .is-core { fill: currentColor; stroke: none; }
.shared-workbench-boot-ui4-content { position: relative; display: grid; align-content: center; gap: 7px; min-width: 0; padding: 28px 34px 26px 42px; background: #fff; }
.shared-workbench-boot-ui4-status { display: flex; align-items: center; gap: 6px; color: #58728a; font-size: 11px; font-weight: 550; line-height: 1.25; }
.shared-workbench-boot-ui4-status i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #2e72e8; box-shadow: 0 0 0 4px rgba(46,114,232,.1); }
.shared-workbench-boot-ui4-content h2 { margin: 2px 0 0; color: #1a45ae; font-size: clamp(19px,1.65vw,23px); font-weight: 760; line-height: 1.2; letter-spacing: -.02em; }
.shared-workbench-boot-ui4-content p { margin: 0; color: #526a7d; font-size: 12px; font-weight: 450; line-height: 1.45; }
.shared-workbench-boot-ui4-retry { width: max-content; max-width: 100%; min-height: 44px; margin-top: 8px; padding: 8px 18px; border: 0; border-radius: 7px; color: #fff; background: #1a45ae; font: 650 12px/1.45 "Noto Sans SC Variable", "Noto Sans SC", sans-serif; cursor: pointer; }
.shared-workbench-boot-ui4-retry:hover { background: #153b98; }
.shared-workbench-boot-ui4-retry:active { background: #102f7c; }
.shared-workbench-boot-ui4-retry:focus-visible { outline: 3px solid rgba(46,114,232,.35); outline-offset: 3px; }
.shared-workbench-boot-ui4-progress { position: relative; width: min(240px,100%); height: 4px; margin-top: 10px; overflow: hidden; border-radius: 2px; background: #e2ebf4; }
.shared-workbench-boot-ui4-progress i { position: absolute; inset-block: 0; left: 0; width: 42%; border-radius: inherit; background: #2e72e8; animation: shared-workbench-boot-ui4-progress 1.35s cubic-bezier(.65,0,.35,1) infinite; }

@keyframes local-auth-pulse { 0%,100% { opacity: .35; transform: scale(.75); } 50% { opacity: 1; transform: scale(1); } }
@keyframes shared-workbench-boot-ui4-arrive { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes shared-workbench-boot-ui4-progress { from { transform: translateX(-104%); } to { transform: translateX(238%); } }

@media (max-width: 520px) {
  .shared-workbench-boot-ui4 { padding: 16px; }
  .shared-workbench-boot-ui4-dialog { grid-template-columns: 116px minmax(0,1fr); width: min(440px,calc(100vw - 32px)); min-height: 152px; }
  .shared-workbench-boot-ui4-brand { padding: 20px 12px; }
  .shared-workbench-boot-ui4-brand::after { right: -24px; width: 48px; }
  .shared-workbench-boot-ui4-orb.is-one { top: -54px; left: -32px; width: 100px; height: 100px; }
  .shared-workbench-boot-ui4-orb.is-two { bottom: -78px; left: 18px; width: 126px; height: 126px; }
  .shared-workbench-boot-ui4-orb.is-three { top: 48px; right: -42px; width: 88px; height: 88px; }
  .shared-workbench-boot-ui4-wordmark { width: 44px; font-size: 15px; }
  .shared-workbench-boot-ui4-lockup > svg { width: 39px; height: 40.5px; margin-top: -2.25px; margin-left: -7.5px; }
  .shared-workbench-boot-ui4-content { gap: 5px; padding: 22px 18px 20px 28px; }
  .shared-workbench-boot-ui4-content h2 { font-size: 17px; }
  .shared-workbench-boot-ui4-progress { margin-top: 7px; }
}

@media (max-width: 1180px) {
  :root { --nova-auth-gap: 48px; }
  .local-login-page { grid-template-columns: minmax(0,48%) minmax(0,52%); }
  .local-login-brand::after { right: -150px; }
  .local-login-thesis p,
  .local-login-thesis p + p { font-size: clamp(54px,7vw,82px); }
  .local-login-principles { right: 12%; left: 6%; }
  .local-login-stage { padding-inline: 68px 42px; }
}

@media (max-width: 900px) {
  :root { --nova-auth-gap: 28px; }
  .local-login-principles-grid { grid-template-columns: 1fr; }
  .local-login-principle { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 3px 10px; padding: 9px 0; }
  .local-login-principle + .local-login-principle { border-top: 1px solid rgba(184,216,255,.28); border-left: 0; }
  .local-login-principle > span { grid-row: 1 / span 2; margin: 2px 0 0; }
  .local-login-principle p { margin-top: 0; }
}

@media (max-width: 767px) {
  :root { --nova-auth-gap: 16px; }
  .local-login-frame-host { padding: var(--nova-auth-gap); }
  .local-login-page { display: block; }
  .local-login-brand { min-height: 610px; }
  .local-login-brand::after { top: auto; right: -5%; bottom: -92px; width: 110%; height: 130px; border-radius: 50% 50% 0 0 / 74% 74% 0 0; transform: none; }
  .local-login-brand-lockup { top: 24px; left: 24px; transform: scale(.8); transform-origin: top left; }
  .local-login-thesis { top: 31%; left: 50%; }
  .local-login-thesis p,
  .local-login-thesis p + p { font-size: clamp(45px,14vw,62px); }
  .local-login-brand-spark { display: none; }
  .local-login-tide .local-login-brand-spark { display: block; }
  .local-login-tide .local-login-brand-spark.is-small { top: 41%; width: 6%; }
  .local-login-tide .local-login-brand-spark.is-large { top: 44%; width: 8%; }
  .local-login-tide-orb.is-0 { width: 80%; left: -35%; }
  .local-login-tide-orb.is-1 { width: 75%; }
  .local-login-tide-orb.is-2 { width: 95%; left: 3%; }
  .local-login-tide-orb.is-3 { width: 70%; }
  .local-login-tide-toggle { top: 24px; right: 22px; }
  .local-login-principles { right: 24px; bottom: 62px; left: 24px; }
  .local-login-brand-status { align-items: flex-start; flex-direction: column; gap: 4px; padding-top: 11px; }
  .local-login-brand-status p { padding-left: 18px; text-align: left; }
  .local-login-stage { min-height: 720px; align-items: flex-start; justify-content: flex-start; padding: 76px 24px 44px; overflow: visible; }
  .local-login-watermark { top: 28px; right: 16px; width: 116px; }
  .local-login-stage-status { top: 20px; right: 20px; }
  .local-login-statement { width: 100%; font-size: clamp(31px,10vw,42px); transform: rotate(-1deg); }
  .local-login-panel { width: 100%; margin-top: 0; }
  .local-login-panel-head h1 { font-size: 32px; }
  .local-login-panel-head p { font-size: 14px; }
  .local-login-captcha-row { grid-template-columns: minmax(0,1fr) 154px; }
  .local-login-captcha-button img { width: 108px; }
  .local-login-panel-foot { display: grid; gap: 5px; }
  .local-login-panel-foot strong { text-align: left; }
}

@media (max-width: 420px) {
  .local-login-brand { min-height: 640px; }
  .local-login-captcha-row { grid-template-columns: 1fr; }
  .local-login-captcha-button { justify-content: center; }
  .local-login-captcha-button img { width: 168px; }
}

@media (prefers-reduced-motion: reduce) {
  .local-login-frame-host *, .local-login-frame-host *::before, .local-login-frame-host *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .shared-workbench-boot-ui4-dialog { animation: none; }
  .shared-workbench-boot-ui4-progress i { width: 58%; animation: none; transform: none; }
}
