/* 类乌齐登录页：对齐设计稿 登录.jpg — 顶栏品牌条 + 风景底图 + 右金饰登录卡
   切图：denglu_bg/top/bottum 为 4K；logo/tex/denglu_bg2/装饰约为 2×。
   显示尺寸按 1920 CSS 像素基准；2560/3840 断点放大布局，高清图提供余量。 */

body.lwq-login-page,
body.lwq-login-page #info {
  background-color: #0a2748;
  background-image: url("../img/lwq/denglu_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 100vh;
}

body.lwq-login-page #info {
  display: flex;
  flex-direction: column;
}

body.lwq-login-page {
  /* 设计令牌（1920 基准显示尺寸） */
  --lwq-zuo2-w: 161px;
  --lwq-content-max: 1280px;
  --lwq-card-w: 400px;
  --lwq-hero-max: 765px;
  --lwq-header-h: 110px;
  --lwq-footer-h: 100px;
  --lwq-logo-h: 76px;
  --lwq-logo-max-w: 521px;
  --lwq-knot-w: 49px;
  --lwq-knot-h: 50px;
  --lwq-header-pad-x: 80px;
  --lwq-knot-right: 24px;
  --lwq-fs-footer: 12px;
  --lwq-fs-lang: 14px;
  --lwq-fs-tab: 15px;
  --lwq-fs-label: 13px;
  --lwq-fs-input: 14px;
  --lwq-fs-btn: 16px;
  --lwq-fs-error: 12px;
  --lwq-fs-panel-title: 22px;
  --lwq-fs-panel-name: 16px;
  --lwq-fs-panel-desc: 13px;
  --lwq-input-h: 40px;
  --lwq-btn-h: 44px;
  --lwq-captcha-w: 108px;
  --lwq-card-pad-t: 32px;
  --lwq-card-pad-x: 36px;
  --lwq-card-pad-b: 26px;
  --lwq-main-min-h: 620px;
  --lwq-panel-min-h: 360px;
  --lwq-police-icon: 14px;
  --lwq-jigsaw-w: 280px;
  --lwq-jigsaw-h: 140px;
  --lwq-main-gap: 64px;
  --lwq-avatar: 64px;
}

/* —— 顶栏：top.png（3840×240）+ logo.png（1042×152）+ 右 you1（105×106）——
   logo 左缘与底栏左侧 zuo2 右缘对齐；显示高度仍按 1920 基准 */
body.lwq-login-page #info .header_box {
  position: relative;
  width: 100%;
  height: clamp(88px, calc(100vw * 110 / 1920), var(--lwq-header-h));
  min-height: 88px;
  aspect-ratio: auto;
  background-color: #00346e;
  background-image: url("../img/lwq/top.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  box-shadow: none;
  border: none;
  flex-shrink: 0;
  overflow: visible;
  display: flex;
  /* 底金线约占条高 10%，在蓝底区域内垂直居中，避免整条几何居中显得偏上 */
  align-items: center;
  padding-bottom: calc(var(--lwq-header-h) * 0.1);
  box-sizing: border-box;
}

body.lwq-login-page #info .header_box::before,
body.lwq-login-page #info .header_box::after {
  display: none;
}

body.lwq-login-page #info .header_box .title_box {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  /* 左内边距 = 左下角 zuo2 宽度，logo 与其右缘对齐 */
  padding: 0 clamp(56px, calc(100vw * 80 / 1920), var(--lwq-header-pad-x)) 0 var(--lwq-zuo2-w);
  box-sizing: border-box;
  font-size: 0;
  line-height: 0;
  color: #fff;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

body.lwq-login-page #info .header_box .title_box .nav_left,
body.lwq-login-page #info .header_box .title_box .nav_brand {
  height: auto;
  max-height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

body.lwq-login-page #info .header_box .title_box .nav_brand__title {
  display: none;
}

body.lwq-login-page #info .header_box .title_box .nav_brand img {
  display: block;
  height: clamp(56px, calc(100vw * 76 / 1920), var(--lwq-logo-h));
  width: auto;
  max-width: min(var(--lwq-logo-max-w), 72vw);
  max-height: 82%;
  border-radius: 0;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
  border: none;
  background: transparent;
  align-self: center;
  /* logo.png 黑底 + 白字：screen 融入深蓝条图 */
  mix-blend-mode: screen;
}

body.lwq-login-page #info .header_box .nav_right {
  display: none;
}

body.lwq-login-page #info .header_box .nav_right .lang_switch {
  display: none;
}

/* 顶栏右侧吉祥结 you1：切图已透明，勿用 screen（会把金饰洗没） */
body.lwq-login-page #info .header_box > .header_knot {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute;
  right: clamp(12px, calc(100vw * 21 / 1920), var(--lwq-knot-right));
  /* 与 Logo 一样按蓝底区域居中（扣除底金线约 10%） */
  top: 45%;
  transform: translateY(-50%);
  width: clamp(36px, calc(100vw * 49 / 1920), var(--lwq-knot-w));
  height: clamp(36px, calc(100vw * 50 / 1920), var(--lwq-knot-h));
  z-index: 5;
  pointer-events: none;
  object-fit: contain;
  mix-blend-mode: normal;
}

body.lwq-login-page #info .header_box .title_box .nav_ornament {
  display: none;
}

body.lwq-login-page #info .content_box {
  width: min(var(--lwq-content-max), calc(100% - 48px));
  margin: 0 auto;
  margin-top: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}

body.lwq-login-page .lwq-login {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
}

/* —— 底栏：bottum.png（3840×200）+ 左 zuo2（311×183）/ 右 you2（639×186）——
   显示宽高仍按 1920 基准；装饰底金线贴切图底边对齐 —— */
body.lwq-login-page #info .footer_box {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  flex-shrink: 0;
  margin-top: auto;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* 固定为 bottum 比例高度，避免 padding 把条带拉高导致金线错位 */
  height: clamp(72px, calc(100vw * 100 / 1920), var(--lwq-footer-h));
  min-height: 0;
  background-color: #00346d;
  background-image: url("../img/lwq/bottum.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  border: none;
  padding: 0 max(24px, calc(100vw * 320 / 1920)) 0 max(20px, calc(100vw * 170 / 1920));
  color: #e8eef5;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

body.lwq-login-page #info .footer_box::before,
body.lwq-login-page #info .footer_box::after {
  display: none;
}

body.lwq-login-page #info .footer_box .footer_ornament {
  position: absolute;
  top: auto;
  /* 装饰底金线贴切图底；bottum 底线距底约 10% → 整体上移约 8% 对齐 */
  bottom: 8%;
  height: 89%;
  width: auto;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: normal;
  transform: none;
}

body.lwq-login-page #info .footer_box .footer_ornament--left {
  left: 0;
  width: var(--lwq-zuo2-w);
  height: 89%;
  object-fit: fill;
}

body.lwq-login-page #info .footer_box .footer_ornament--right {
  right: 0;
  top: 50%;
  bottom: auto;
  height: 86%;
  width: auto;
  max-height: 86%;
  object-fit: contain;
  object-position: right center;
  /* 在底栏蓝底区域内垂直居中（不再贴底金线导致整体偏上） */
  transform: translateY(-50%);
}

body.lwq-login-page #info .footer_box .footercontent_box {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  z-index: 2;
}

body.lwq-login-page #info .footer_box .footercontent_box::before {
  display: none;
}

body.lwq-login-page #info .footer_box .footer_legal_line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  gap: 0;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--lwq-fs-footer);
  line-height: 1.55;
  width: 100%;
}

body.lwq-login-page #info .footer_box .footer_legal_line__build,
body.lwq-login-page #info .footer_box .footer_legal_line__support,
body.lwq-login-page #info .footer_box .footer_legal_line__copy,
body.lwq-login-page #info .footer_box .footer_legal_line__icp {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--lwq-fs-footer);
}

body.lwq-login-page #info .footer_box .footer_legal_line__gap {
  display: inline-block;
  width: 2.5em;
  flex: 0 0 2.5em;
}

body.lwq-login-page #info .footer_box .footer_legal_line__gap--sm {
  width: 0.75em;
  flex-basis: 0.75em;
}

body.lwq-login-page #info .footer_box .footer_police_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: var(--lwq-fs-footer);
}

body.lwq-login-page #info .footer_box .footer_police_link:hover {
  color: #fff;
  text-decoration: underline;
}

body.lwq-login-page #info .footer_box .footer_police_icon {
  width: var(--lwq-police-icon);
  height: var(--lwq-police-icon);
  object-fit: contain;
  flex-shrink: 0;
}

.lwq-login {
  width: 100%;
}

.lwq-login__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, var(--lwq-main-gap));
  width: 100%;
  min-height: clamp(480px, 58vh, var(--lwq-main-min-h));
  padding: 20px 0 28px;
  box-sizing: border-box;
}

/* 中间品牌文案：tex.png（1530×484，黑底白字，screen 融入风景） */
.lwq-login__hero {
  flex: 1 1 52%;
  min-width: 0;
  max-width: min(var(--lwq-hero-max), 52%);
  display: flex;
  align-items: center;
}

.lwq-login__hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: var(--lwq-hero-max);
  object-fit: contain;
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}

.lwq-login__card-wrap {
  flex: 0 0 auto;
  width: min(var(--lwq-card-w), 100%);
  margin-right: clamp(0px, 2vw, 24px);
}

/* —— 登录卡：denglu_bg2（800×880）金饰边框（切图四角透明，勿铺底色/圆角） —— */
.lwq-login__card {
  position: relative;
  background-color: transparent;
  background-image: url("../img/lwq/denglu_bg2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border-radius: 0;
  padding: var(--lwq-card-pad-t) var(--lwq-card-pad-x) var(--lwq-card-pad-b);
  box-shadow: 0 14px 42px rgba(0, 20, 50, 0.32);
  border: none;
  overflow: visible;
  min-height: 0;
  box-sizing: border-box;
}

.lwq-login__lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.lwq-login__lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: var(--lwq-fs-lang);
  color: #6b7785;
  padding: 2px 4px;
}

.lwq-login__lang-btn.is-active {
  color: #00338d;
  font-weight: 700;
}

.lwq-login__lang-sep {
  color: #c5cdd4;
}

.lwq-login__tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.lwq-login__tabs .tab {
  border: none;
  background: transparent;
  color: #6b7785;
  font-size: var(--lwq-fs-tab);
  padding: 4px 2px 8px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.lwq-login__tabs .tab.active {
  color: #00338d;
  font-weight: 700;
  border-bottom-color: #00338d;
}

.lwq-login__form {
  position: relative;
  z-index: 1;
}

.lwq-field {
  margin-bottom: 12px;
}

.lwq-field__label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--lwq-fs-label);
  color: #334155;
  font-weight: 600;
}

.lwq-field__input {
  width: 100%;
  height: var(--lwq-input-h);
  box-sizing: border-box;
  border: 1px solid #c5d0dc;
  border-radius: 2px;
  padding: 0 12px;
  font-size: var(--lwq-fs-input);
  color: #1f2937;
  outline: none;
  background: #fff;
}

.lwq-field__input:focus {
  border-color: #00338d;
  box-shadow: 0 0 0 2px rgba(0, 51, 141, 0.12);
}

.lwq-field__input.is-invalid,
.lwq-field__input.error {
  border-color: #ff3b5c;
  box-shadow: 0 0 0 2px rgba(255, 59, 92, 0.12);
}

.lwq-field__error {
  display: block;
  margin: 4px 0 0;
  padding: 0;
  color: #ff3b5c;
  font-size: var(--lwq-fs-error);
  line-height: 1.4;
  font-weight: 400;
}

.lwq-field__error[hidden],
.lwq-field__error:empty {
  display: none;
}

.lwq-field__captcha {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lwq-field__captcha .lwq-field__input {
  flex: 1 1 auto;
  min-width: 0;
}

.lwq-field__captcha-img {
  flex: 0 0 auto;
  width: var(--lwq-captcha-w);
  height: var(--lwq-input-h);
  border: 1px solid #c5d0dc;
  border-radius: 2px;
  cursor: pointer;
  object-fit: cover;
  background: #f3f6f9;
}

/* 服务端汇总错误（字段级错误见 .lwq-field__error） */
.lwq-login__form .failed.lwq-form-summary {
  margin: 4px 0 12px;
  padding: 0;
  color: #ff3b5c;
  font-size: var(--lwq-fs-error);
  line-height: 1.55;
  background: transparent;
  border: none;
  min-height: 0;
}

.lwq-login__form .failed.lwq-form-summary.isShow {
  display: none;
}

.lwq-login__form .failed.lwq-form-summary ul,
.lwq-login__form .failed.lwq-form-summary .validation-summary-errors > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lwq-login__form .failed.lwq-form-summary li,
.lwq-login__form .failed.lwq-form-summary label,
.lwq-login__form .failed.lwq-form-summary .remindtext_box {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #ff3b5c;
  font-size: var(--lwq-fs-error);
  line-height: 1.55;
}

.lwq-login__form .failed.lwq-form-summary li::before,
.lwq-login__form .failed.lwq-form-summary li::marker {
  content: none;
  display: none;
}

.lwq-login__form .login_action_block {
  /* 去掉「返回首页」后保留底部占位，登录按钮相对金框位置不变 */
  padding-bottom: 28px;
}

.lwq-login__form .sbtmainbox {
  margin-top: 4px;
}

.lwq-login__submit {
  width: 100%;
  height: var(--lwq-btn-h);
  border: none;
  border-radius: 2px;
  background: #00338d;
  color: #fff;
  font-size: var(--lwq-fs-btn);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.12em;
}

.lwq-login__submit:hover {
  background: #002a75;
}

.lwq-login__submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

.lwq-login__submit .subSvg_box {
  display: none;
  width: 22px;
  height: 22px;
}

.lwq-login__form .getverify {
  flex: 0 0 auto;
  height: var(--lwq-input-h);
  padding: 0 10px;
  border: 1px solid #00338d;
  background: #fff;
  color: #00338d;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  font-size: var(--lwq-fs-label);
}

.lwq-login__form .verifyTime {
  display: none;
  margin: 0;
  font-size: var(--lwq-fs-error);
  color: #64748b;
  white-space: nowrap;
}

.lwq-login__form .verify_load {
  display: none;
  width: 22px;
  height: 22px;
}

/* —— 登录成功 / 选租户 / 登出等共用右侧信息卡 —— */
.lwq-login__card--panel {
  min-height: var(--lwq-panel-min-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lwq-panel {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 8px 4px 12px;
  box-sizing: border-box;
}

.lwq-panel__avatar {
  width: var(--lwq-avatar);
  height: var(--lwq-avatar);
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #00338d, #0a5bb8);
  color: #fff;
  font-size: calc(var(--lwq-avatar) * 0.4);
  font-weight: 700;
  line-height: var(--lwq-avatar);
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(0, 51, 141, 0.28);
}

.lwq-panel__title {
  margin: 0 0 10px;
  font-size: var(--lwq-fs-panel-title);
  font-weight: 700;
  color: #00338d;
  line-height: 1.35;
}

.lwq-panel__name {
  margin: 0 0 6px;
  font-size: var(--lwq-fs-panel-name);
  font-weight: 600;
  color: #1f2d3d;
  word-break: break-all;
}

.lwq-panel__project,
.lwq-panel__desc {
  margin: 0 0 18px;
  font-size: var(--lwq-fs-panel-desc);
  color: #64748b;
  line-height: 1.55;
}

.lwq-panel__project-name {
  margin: 0 0 8px;
  font-size: var(--lwq-fs-panel-name);
  font-weight: 700;
  color: #00338d;
  line-height: 1.4;
}

.lwq-panel__hint {
  margin: 0 0 14px;
  font-size: var(--lwq-fs-panel-desc);
  color: #64748b;
  line-height: 1.5;
}

.lwq-panel__link {
  display: inline-block;
  margin-top: 4px;
  font-size: var(--lwq-fs-panel-desc);
  color: #00338d;
  text-decoration: none;
}

.lwq-panel__link:hover {
  text-decoration: underline;
  color: #002a75;
}

.lwq-panel__extra {
  margin-top: 14px;
  text-align: center;
}

.lwq-panel--grant {
  text-align: left;
}

.lwq-panel--grant .lwq-panel__project-name,
.lwq-panel--grant .lwq-panel__hint {
  text-align: center;
}

.lwq-panel--grant .lwq-login__form {
  margin-top: 0;
}

.lwq-panel--grant .login_action_block {
  padding-bottom: 8px;
}

/* 选租户列表（新皮肤蓝色系） */
.lwq-panel--grant .tenant_select_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  max-height: 240px;
  overflow-y: auto;
}

.lwq-panel--grant .tenant_select_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lwq-panel--grant .tenant_select_item:hover {
  border-color: #7aa2d6;
  background: rgba(240, 246, 255, 0.95);
}

.lwq-panel--grant .tenant_select_item.is_active {
  border-color: #00338d;
  box-shadow: 0 0 0 3px rgba(0, 51, 141, 0.12);
  background: #f3f7fd;
}

.lwq-panel--grant .tenant_select_item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lwq-panel--grant .tenant_select_name {
  flex: 1;
  min-width: 0;
  font-size: var(--lwq-fs-input);
  font-weight: 600;
  color: #1f2d3d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lwq-panel--grant .tenant_select_check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #00338d;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 120ms ease, transform 120ms ease;
}

.lwq-panel--grant .tenant_select_item.is_active .tenant_select_check {
  opacity: 1;
  transform: scale(1);
}

.lwq-panel--grant .tenant_select_check svg {
  display: block;
}

/* 2K / 宽屏：约 1.2× */
@media (min-width: 2560px) {
  body.lwq-login-page {
    --lwq-zuo2-w: 193px;
    --lwq-content-max: 1680px;
    --lwq-card-w: 480px;
    --lwq-hero-max: 920px;
    --lwq-header-h: 132px;
    --lwq-footer-h: 120px;
    --lwq-logo-h: 92px;
    --lwq-logo-max-w: 625px;
    --lwq-knot-w: 59px;
    --lwq-knot-h: 60px;
    --lwq-header-pad-x: 96px;
    --lwq-knot-right: 28px;
    --lwq-fs-footer: 14px;
    --lwq-fs-lang: 16px;
    --lwq-fs-tab: 17px;
    --lwq-fs-label: 15px;
    --lwq-fs-input: 16px;
    --lwq-fs-btn: 18px;
    --lwq-fs-error: 14px;
    --lwq-fs-panel-title: 26px;
    --lwq-fs-panel-name: 18px;
    --lwq-fs-panel-desc: 15px;
    --lwq-input-h: 48px;
    --lwq-btn-h: 52px;
    --lwq-captcha-w: 130px;
    --lwq-card-pad-t: 38px;
    --lwq-card-pad-x: 42px;
    --lwq-card-pad-b: 30px;
    --lwq-main-min-h: 720px;
    --lwq-panel-min-h: 420px;
    --lwq-police-icon: 16px;
    --lwq-jigsaw-w: 336px;
    --lwq-jigsaw-h: 168px;
    --lwq-main-gap: 76px;
    --lwq-avatar: 76px;
  }

  body.lwq-login-page #info .header_box {
    min-height: 110px;
  }

  .lwq-panel--grant .tenant_select_list {
    max-height: 288px;
  }
}

/* 4K @100%：约 1.5×（2× 切图仍够清晰） */
@media (min-width: 3840px) {
  body.lwq-login-page {
    --lwq-zuo2-w: 242px;
    --lwq-content-max: 2100px;
    --lwq-card-w: 580px;
    --lwq-hero-max: 1148px;
    --lwq-header-h: 165px;
    --lwq-footer-h: 150px;
    --lwq-logo-h: 114px;
    --lwq-logo-max-w: 780px;
    --lwq-knot-w: 74px;
    --lwq-knot-h: 75px;
    --lwq-header-pad-x: 120px;
    --lwq-knot-right: 36px;
    --lwq-fs-footer: 16px;
    --lwq-fs-lang: 18px;
    --lwq-fs-tab: 20px;
    --lwq-fs-label: 16px;
    --lwq-fs-input: 18px;
    --lwq-fs-btn: 20px;
    --lwq-fs-error: 15px;
    --lwq-fs-panel-title: 30px;
    --lwq-fs-panel-name: 20px;
    --lwq-fs-panel-desc: 16px;
    --lwq-input-h: 56px;
    --lwq-btn-h: 60px;
    --lwq-captcha-w: 152px;
    --lwq-card-pad-t: 44px;
    --lwq-card-pad-x: 48px;
    --lwq-card-pad-b: 36px;
    --lwq-main-min-h: 860px;
    --lwq-panel-min-h: 500px;
    --lwq-police-icon: 20px;
    --lwq-jigsaw-w: 420px;
    --lwq-jigsaw-h: 210px;
    --lwq-main-gap: 96px;
    --lwq-avatar: 90px;
  }

  body.lwq-login-page #info .header_box {
    min-height: 132px;
  }

  .lwq-panel--grant .tenant_select_list {
    max-height: 360px;
  }

  .lwq-panel--grant .tenant_select_item {
    padding: 14px 16px;
  }

  .lwq-panel--grant .tenant_select_check {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 960px) {
  body.lwq-login-page #info .header_box {
    height: 80px;
    min-height: 80px;
  }

  body.lwq-login-page {
    --lwq-zuo2-w: 48px;
    --lwq-card-w: 400px;
    --lwq-hero-max: 765px;
    --lwq-jigsaw-w: 280px;
    --lwq-jigsaw-h: 140px;
  }

  body.lwq-login-page #info .header_box .title_box {
    width: 100%;
    margin: 0;
    padding: 0 48px 0 var(--lwq-zuo2-w);
  }

  body.lwq-login-page #info .header_box > .header_knot {
    display: block !important;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  body.lwq-login-page #info .header_box .title_box .nav_brand img {
    height: 52px;
    max-width: 75vw;
  }

  .lwq-login__main {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding-top: 12px;
  }

  .lwq-login__hero {
    max-width: none;
    justify-content: center;
  }

  .lwq-login__hero-img {
    max-width: min(var(--lwq-hero-max), 92%);
  }

  .lwq-login__card-wrap {
    width: min(var(--lwq-card-w), 100%);
    margin: 0 auto;
  }

  body.lwq-login-page #info .footer_box {
    padding: 10px 24px;
    min-height: 64px;
  }

  body.lwq-login-page #info .footer_box .footer_ornament {
    display: none;
  }

  body.lwq-login-page #info .footer_box .footer_legal_line__gap {
    width: 1em;
    flex-basis: 1em;
  }
}
