body:has(.camp-login) {
  min-width: 0;
}

.camp-login {
  --login-blue: #1447e6;
  --login-blue-hover: #0f3bc4;
  --login-ink: #0f172a;
  --login-muted: #526077;
  --login-rule: #dde4f0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(380px, 1fr);
  grid-template-rows: 74px 1fr;
  isolation: isolate;
  min-height: 100vh;
  min-height: max(740px, 100dvh);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 420px at 78% 12%, rgb(20 71 230 / .06), transparent 70%), #f3f6fb;
  color: var(--login-ink);
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.camp-login-track {
  position: absolute;
  z-index: -1;
  inset: 76px 38% 0 0;
  background-image: url("/ui-assets/690d54ed0773aa47c3f25460300f19f2a56e78ac/login-track-matte.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 90%;
  mask-image: linear-gradient(to bottom, transparent 10%, #000 32%), linear-gradient(to right, #000 82%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}

.camp-login-quote {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  width: min(calc(100% - 64px), 650px);
  margin: clamp(28px, 5vh, 56px) auto 0;
}

.camp-login-quote img {
  display: block;
  width: 100%;
  height: auto;
}

.camp-login-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  min-height: 76px;
  margin-inline: max(32px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-right));
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--login-rule);
}

.camp-login-brand {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #182235;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  white-space: nowrap;
}

.camp-login-brand strong {
  color: var(--login-blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.camp-login-panel {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  width: min(408px, calc(100% - 48px));
  margin: 0;
  padding: 36px 34px 34px;
  border: 1px solid rgb(217 226 240 / .92);
  border-radius: 16px;
  background: rgb(255 255 255 / .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 6px rgb(15 28 56 / .04), 0 22px 48px -22px rgb(15 28 56 / .16);
  animation: camp-login-enter 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.camp-login-title {
  margin: 0 0 24px;
  color: var(--login-ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.camp-login-feishu,
.camp-login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--login-blue);
  border-radius: 9px;
  background: linear-gradient(180deg, #1d51f0 0%, var(--login-blue) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  box-shadow: 0 1px 2px rgb(15 52 190 / .22), 0 6px 16px -4px rgb(20 71 230 / .32);
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.camp-login-feishu svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.camp-login-feishu:active:not(:disabled),
.camp-login-submit:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: none;
}

.camp-login-field {
  display: grid;
  gap: 8px;
}

.camp-login-field label {
  color: #353b44;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.camp-login-field input {
  width: 100%;
  min-height: 46px;
  padding: 9px 13px;
  border: 1px solid #cfd9e7;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--login-ink);
  font-size: 15px;
  line-height: 24px;
  caret-color: var(--login-blue);
  box-shadow: inset 0 1px 2px rgb(15 28 56 / .03);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.camp-login-field input:hover:not(:disabled) {
  border-color: #aebfd8;
}

.camp-login-field input::placeholder {
  color: #8492a6;
}

.camp-login-field input:focus-visible {
  border-color: var(--login-blue);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgb(20 71 230 / .14);
}

.camp-login-submit {
  margin-top: 2px;
}

[data-login-home][hidden],
[data-login-verification][hidden],
.camp-login-feedback[hidden] {display: none;}

.camp-login-feedback {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 9px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.55;
}

.camp-login-back,
.camp-login-resend {
  padding: 0;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #52657f;
  font: inherit;
  font-size: 13px;
  text-align: left;
  box-shadow: none;
}
.camp-login-back {margin: 14px 0 0;}
.camp-login-resend {margin-top: 12px; color: #2465ae;}
.camp-login-resend:disabled {color: #7f8999; cursor: default;}
.camp-login-verification-note {
  margin: -10px 0 28px;
  color: #647084;
  font-size: 14px;
  line-height: 1.8;
}
.camp-login-code-input {letter-spacing: 4px; font-variant-numeric: tabular-nums;}
.camp-login-code-input::placeholder {letter-spacing: normal;}
[data-code-form] .camp-login-submit {margin-top: 24px;}
.camp-login :is(button, a):focus-visible {outline: 2px solid var(--login-blue); outline-offset: 3px;}

@keyframes camp-login-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) {
  .camp-login-feishu:hover:not(:disabled),
  .camp-login-submit:hover:not(:disabled) {
    border-color: var(--login-blue-hover);
    background: var(--login-blue-hover);
  }


}

@media (max-width: 820px) {
  .camp-login {
    display: block;
    min-height: 100svh;
    overflow-y: auto;
  }

  .camp-login-track {
    display: none;
  }

  .camp-login-quote {
    width: min(calc(100% - 48px), 360px);
    margin: 28px auto 0;
  }

  .camp-login-header {
    min-height: 64px;
    margin-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
  }

  .camp-login-brand {
    gap: 6px;
    font-size: 22px;
  }

  .camp-login-brand strong {
    font-size: 23px;
  }

  .camp-login-panel {
    position: relative;
    top: auto;
    left: auto;
    width: min(100% - 32px, 420px);
    max-height: none;
    margin: 22px auto max(36px, env(safe-area-inset-bottom));
    padding: 28px 22px 26px;
    overflow: visible;
    transform: none;
  }

  .camp-login-title {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .camp-login-mark-top {
    top: 100px;
    left: 14px;
  }

  .camp-login-mark-bottom {
    display: none;
  }

  @keyframes camp-login-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 370px) {
  .camp-login-header {
    margin-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  }

  .camp-login-panel {
    width: calc(100% - 36px);
  }
}

@media (max-height: 650px) and (min-width: 821px) {
  .camp-login-panel {
    padding-block: 28px;
  }

  .camp-login-title {
    margin-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .camp-login-panel {
    animation: none;
  }

  .camp-login :is(button, input) {
    transition: none;
  }
}

@media (max-width: 820px) {
  .camp-login-field input {font-size: 16px;}
}

.camp-login [hidden] { display: none !important; }
.camp-login form { display: grid; gap: 16px; }
.camp-login [data-claim-status] { margin-top: 18px; }
.camp-login-panel { max-height: 100svh; overflow-y: auto; }

.camp-login-switch {
  margin: 4px 0 0;
  color: var(--login-muted);
  font-size: 13.5px;
  text-align: center;
}

.camp-login-code-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #cfd9e7;
  border-radius: 9px;
  background: #fff;
  color: #274487;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(15 28 56 / .04);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}
.camp-login-code-switch:hover:not(:disabled) {
  border-color: #b4c6e4;
  background: #f4f7fd;
  color: var(--login-blue);
}
.camp-login-code-switch:active:not(:disabled) {
  transform: translateY(1px);
}
[data-code-form] small { color: #52657f; line-height: 1.6; }

.camp-login-switch a {
  color: var(--login-blue);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
}

.camp-login-switch a:hover {
  text-decoration: underline;
}

.camp-register {
  --register-width: min(448px, calc(100% - 48px));
  --register-rule: #cfd9e7;
  grid-template-columns: minmax(0, 1.24fr) minmax(460px, 1fr);
  grid-template-rows: 74px 1fr;
}

.camp-register-dossier {
  --register-width: min(620px, calc(100% - 48px));
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  grid-template-rows: 74px 1fr;
}

.camp-register-dossier .camp-login-track {
  inset: 74px 48% 0 0;
}

.camp-register .camp-login-panel {
  width: var(--register-width);
  max-height: calc(100dvh - 104px);
  align-self: center;
  justify-self: center;
  padding: 34px 36px 32px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.camp-register-dossier .camp-login-panel {
  padding: 22px 32px 24px;
  max-height: calc(100dvh - 96px);
}

.camp-register .camp-login-title {
  margin: 0 0 18px;
  color: var(--login-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.camp-register-dossier .camp-login-title {
  margin-bottom: 12px;
  font-size: 22px;
}

.camp-register [data-roster-invitation] {
  margin: -4px 0 18px;
  padding: 10px 14px;
  border: 1px solid #d7e3fc;
  border-radius: 10px;
  background: #eff4ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.camp-register-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 22px;
  padding: 4px;
  border: 1px solid #e2e8f3;
  border-radius: 10px;
  background: #f4f7fc;
  list-style: none;
}

.camp-register-dossier .camp-register-steps {
  margin-bottom: 14px;
}

.camp-register-steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.camp-register-steps li > span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dfe6f2;
  color: #5b6b82;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.camp-register-steps [aria-current] {
  background: #ffffff;
  color: var(--login-ink);
  box-shadow: 0 1px 3px rgb(15 28 56 / .08), 0 0 0 1px rgb(20 71 230 / .1);
}

.camp-register-steps [aria-current] > span {
  background: var(--login-blue);
  color: #ffffff;
}

.camp-register-steps [data-complete] {
  color: #147a56;
}

.camp-register-steps [data-complete] > span {
  background: #dcf5ea;
  color: #147a56;
}

.camp-register form {
  gap: 16px;
}

.camp-register-dossier form {
  gap: 12px;
}

.camp-register .camp-login-field {
  min-width: 0;
  gap: 5px;
}

.camp-register .camp-login-field label,
.camp-register-recruitment legend {
  color: #273449;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.camp-register-hint {
  margin-top: 1px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.camp-register-password,
.camp-register-hours {
  position: relative;
}

.camp-register-password input {
  padding-inline-end: 46px;
}

.camp-register-password button {
  position: absolute;
  inset: 5px 5px 5px auto;
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.camp-register-password button svg {
  width: 18px;
  height: 18px;
}

.camp-register-password button:hover {
  background: rgb(15 23 42 / .05);
  color: #1e293b;
}

.camp-register-password button[aria-pressed="true"] {
  color: var(--login-blue);
}

.camp-password-slash {
  display: none;
}

[aria-pressed="true"] > svg .camp-password-slash {
  display: block;
}

.camp-register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  min-width: 0;
}

.camp-register-span,
.camp-register-background {
  grid-column: 1 / -1;
}

.camp-register fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.camp-register-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.camp-register .camp-login-field :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--register-rule);
  border-radius: 9px;
  background: #ffffff;
  color: var(--login-ink);
  font: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  caret-color: var(--login-blue);
  box-shadow: inset 0 1px 2px rgb(15 28 56 / .03);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.camp-register .camp-login-field :is(input, select, textarea):hover:not(:disabled) {
  border-color: #aebfd8;
}

.camp-register .camp-login-field :is(input, select, textarea):focus-visible {
  border-color: var(--login-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgb(20 71 230 / .14);
}

.camp-register .camp-login-field :is([aria-invalid="true"], :user-invalid) {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgb(220 38 38 / .1);
}

.camp-register-dossier .camp-login-field :is(input, select) {
  min-height: 40px;
  padding: 7px 12px;
  font-size: 14px;
}

.camp-register .camp-login-field select {
  appearance: none;
  padding-inline-end: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 15px 15px;
  cursor: pointer;
}

.camp-register .camp-login-field textarea {
  display: block;
  min-height: 58px;
  padding: 8px 12px;
  font-size: 14px;
  resize: vertical;
}

.camp-register-recruitment legend {
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.4;
}

.camp-register-recruitment > div {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  min-height: 40px;
  padding: 3px;
  border: 1px solid var(--register-rule);
  border-radius: 9px;
  background: #f4f7fc;
}

.camp-register-recruitment label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  color: #475569;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.camp-register-recruitment label:has(input:checked) {
  background: #ffffff;
  color: var(--login-blue);
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(15 28 56 / .08);
}

.camp-register-recruitment input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--login-blue);
}

.camp-register-hours input {
  padding-inline-end: 74px;
  appearance: textfield;
}

.camp-register-hours input::-webkit-inner-spin-button,
.camp-register-hours input::-webkit-outer-spin-button {
  appearance: none;
}

.camp-register-hours span {
  position: absolute;
  inset: 50% 12px auto auto;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}

.camp-register-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 12px;
  margin-top: 4px;
}

.camp-register-actions .camp-login-submit {
  margin: 0;
}

.camp-register-previous {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #cfd9e7;
  border-radius: 9px;
  background: #ffffff;
  color: #334155;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(15 28 56 / .04);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

@media (hover: hover) {
  .camp-register-previous:hover:not(:disabled) {
    border-color: #b4c6e4;
    background: #f4f7fd;
    color: var(--login-blue);
  }
}

@media (max-width: 1080px) and (min-width: 821px) {
  .camp-register {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1.08fr);
  }
  .camp-register-dossier {
    grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1.28fr);
  }
  .camp-register-dossier .camp-login-track {
    inset-inline-end: 54%;
  }
}

@media (max-width: 820px) {
  .camp-register {
    --register-width: min(100% - 32px, 500px);
  }
  .camp-register .camp-login-quote {
    width: min(100% - 48px, 310px);
    margin: 16px auto 0;
  }
  .camp-register-dossier .camp-login-quote {
    display: none;
  }
  .camp-register .camp-login-panel,
  .camp-register-dossier .camp-login-panel {
    width: var(--register-width);
    max-height: none;
    margin: 18px auto max(36px, env(safe-area-inset-bottom));
    padding: 26px 20px 24px;
    overflow: visible;
  }
  .camp-register .camp-login-title {
    margin-bottom: 16px;
    font-size: 22px;
  }
  .camp-register-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .camp-register .camp-login-field :is(input, select, textarea) {
    min-height: 44px;
    font-size: 16px;
  }
  .camp-register-recruitment > div {
    min-height: 44px;
  }
  .camp-register-recruitment label {
    min-height: 36px;
  }
}
