:root {
  --yh-blue: #155eef;
  --yh-blue-hover: #0b4acb;
  --yh-navy: #0a2452;
  --yh-text: #10233f;
  --yh-muted: #526174;
  --yh-border: #d7dfea;
  --yh-surface: #ffffff;
  --yh-bg: #f4f7fb;
}

html,
body.task-login {
  min-height: 100%;
  background: var(--yh-bg) !important;
  color: var(--yh-text);
}

body.task-login {
  margin: 0;
  overflow: hidden;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.task-login #layout {
  display: block !important;
  min-height: 100vh;
  margin: 0 !important;
  background: var(--yh-bg);
}

.task-login #layout-content.yh-login-page {
  display: grid !important;
  grid-template-columns: minmax(470px, 46%) minmax(0, 54%);
  grid-template-rows: 92px minmax(0, 1fr);
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--yh-surface) !important;
  box-shadow: none !important;
  overflow: hidden;
}

.yh-brandbar {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  height: 92px;
  padding: 12px clamp(28px, 4vw, 64px);
  border-bottom: 1px solid #e2e7ef;
  background: rgba(255, 255, 255, .98);
}

.yh-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px 14px 14px 4px;
  background: var(--yh-blue);
  color: #fff;
  font: 800 27px/1 Georgia, serif;
  box-shadow: 0 10px 24px rgba(21, 94, 239, .22);
}

.yh-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: var(--yh-navy);
}

.yh-brand-copy strong {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: .02em;
}

.yh-brand-copy small {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.yh-login-panel {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 42px clamp(42px, 6vw, 88px);
  background: var(--yh-surface);
}

.yh-login-inner {
  width: min(100%, 448px);
  margin: 0 auto;
}

.yh-login-copy {
  margin: 0 0 30px;
}

.yh-kicker {
  margin: 0 0 10px !important;
  color: var(--yh-blue) !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .16em;
}

.yh-login-copy h2 {
  margin: 0;
  color: var(--yh-navy);
  font-size: clamp(30px, 2.4vw, 38px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.yh-login-copy p:not(.yh-kicker) {
  max-width: 37em;
  margin: 13px 0 0;
  color: var(--yh-muted);
  font-size: 16px;
  line-height: 1.65;
}

.task-login #login-form {
  display: block;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  text-align: left;
}

.task-login #login-form table,
.task-login #login-form tbody,
.task-login #login-form tr,
.task-login #login-form td {
  display: block;
  width: 100%;
}

.task-login #login-form table {
  margin: 0;
  border: 0;
  border-spacing: 0;
}

.task-login #login-form tr {
  margin: 0 0 18px;
}

.task-login #login-form td.title {
  height: auto;
  padding: 0 0 8px !important;
  color: #26364b;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
}

.task-login #login-form td.input {
  position: relative;
  height: 56px;
  padding: 0 !important;
  border: 1px solid var(--yh-border);
  border-radius: 8px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.task-login #login-form td.input:hover,
.yh-password-field:hover {
  border-color: #9aa9bc;
}

.task-login #login-form td.input:focus-within,
.yh-password-field:focus-within {
  border-color: var(--yh-blue);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, .16);
}

.task-login #login-form .form-control {
  width: 100%;
  height: 54px;
  padding: 0 50px 0 50px;
  border: 0 !important;
  border-radius: 7px;
  background: transparent;
  color: #17263d;
  font-size: 16px;
  line-height: 54px;
  box-shadow: none !important;
}

.task-login #login-form .form-control::placeholder {
  color: #7c8796;
  opacity: 1;
}

.task-login #login-form .input-group-prepend {
  position: absolute;
  z-index: 2;
  top: 1px;
  left: 1px;
  display: flex;
  width: 46px;
  height: 52px;
  margin: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.task-login #login-form .input-group-text.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #475569;
}

.yh-password-field {
  position: absolute;
  inset: -1px;
  display: flex;
  border: 1px solid var(--yh-border);
  border-radius: 8px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.yh-password-toggle {
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 6px;
  min-width: 48px;
  height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #3e4d60;
  font: 650 13px/1 sans-serif;
  cursor: pointer;
}

.yh-password-toggle:hover {
  background: #eef4ff;
  color: var(--yh-blue-hover);
}

.yh-password-toggle:focus-visible,
.task-login #rcmloginsubmit:focus-visible {
  outline: 3px solid rgba(21, 94, 239, .35);
  outline-offset: 2px;
}

.task-login #login-form p.formbuttons {
  margin: 24px 0 0;
}

.task-login #rcmloginsubmit {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--yh-blue);
  border-radius: 8px;
  background: var(--yh-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .02em;
  box-shadow: 0 12px 28px rgba(21, 94, 239, .22);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.task-login #rcmloginsubmit:hover {
  border-color: var(--yh-blue-hover);
  background: var(--yh-blue-hover);
  box-shadow: 0 14px 30px rgba(11, 74, 203, .26);
}

.task-login #login-footer {
  margin: 20px 0 0;
  color: #657286;
  font-size: 13px;
  text-align: center;
}

.yh-confidence {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 56px clamp(50px, 7vw, 104px);
  background: linear-gradient(145deg, #071d43 0%, #0b2e67 55%, #155eef 145%);
  color: #fff;
}

.yh-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(130deg, transparent 5%, #000 55%, #000 100%);
}

.yh-confidence::after {
  content: "";
  position: absolute;
  right: -16vw;
  bottom: -28vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255, 255, 255, .035), 0 0 0 144px rgba(255, 255, 255, .025);
}

.yh-confidence-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.yh-confidence-label {
  margin: 0 0 20px;
  color: #9fc4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
}

.yh-confidence h2 {
  max-width: 9em;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.yh-confidence p:not(.yh-confidence-label) {
  max-width: 34em;
  margin: 24px 0 0;
  color: #d8e6fb;
  font-size: 17px;
  line-height: 1.75;
}

.yh-confidence ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.yh-confidence li {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 820px) {
  body.task-login {
    overflow: auto;
  }

  .task-login #layout-content.yh-login-page {
    grid-template-columns: 1fr;
    grid-template-rows: 78px minmax(610px, auto) auto;
    min-height: 100svh;
    overflow: visible;
  }

  .yh-brandbar {
    grid-column: 1;
    height: 78px;
    padding: 10px 22px;
  }

  .yh-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px 12px 12px 4px;
    font-size: 24px;
  }

  .yh-brand-copy strong {
    font-size: 18px;
  }

  .yh-login-panel {
    align-items: flex-start;
    padding: 54px 24px 48px;
  }

  .yh-login-copy {
    margin-bottom: 26px;
  }

  .yh-login-copy h2 {
    font-size: 32px;
  }

  .yh-confidence {
    min-height: 220px;
    padding: 38px 24px 42px;
  }

  .yh-confidence h2 {
    font-size: 30px;
  }

  .yh-confidence p:not(.yh-confidence-label) {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
  }

  .yh-confidence ul {
    margin-top: 22px;
  }
}

@media (max-width: 420px) {
  .task-login #layout-content.yh-login-page {
    grid-template-rows: 74px minmax(570px, auto) auto;
  }

  .yh-brandbar {
    height: 74px;
    padding-inline: 18px;
  }

  .yh-login-panel {
    padding: 40px 18px 38px;
  }

  .yh-login-copy p:not(.yh-kicker) {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

