@font-face {
  font-family: StudioSilver;
  src: url('/static/assets/silver/studio-cn.woff2') format('woff2');
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: StudioSilver, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: #2f383d;
  background: #edf0f0;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.login-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 32px 28px;
  background: radial-gradient(ellipse at 12% 6%, #ffffffec, transparent 55%), linear-gradient(120deg, #eef1f1, #e2e6e8);
}
.login-shell {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  width: min(1080px, 100%);
  min-height: 648px;
  overflow: hidden;
  border: 1px solid #ffffff;
  border-radius: 28px;
  background: #f9fafa;
  box-shadow: 0 28px 75px -35px #26363e42, 0 4px 14px #35434c08;
}
.login-studio {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 38px 42px 30px;
  background: radial-gradient(ellipse at 63% 47%, #f9fbfb 0%, #e6e9eb 51%, #dce1e3 100%);
  border-right: 1px solid #e0e5e6;
  isolation: isolate;
}
.studio-brand { display: flex; align-items: center; gap: 12px; }
.studio-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid #fff;
  border-radius: 13px;
  background: linear-gradient(130deg, #fff, #d6dcdf);
  box-shadow: inset 0 1px 1px #fff, 2px 5px 10px #34414816;
}
.studio-mark svg { width: 28px; height: 28px; stroke-width: 2.6; }
.studio-brand strong { display: block; font-size: 12px; font-weight: 650; letter-spacing: 2.2px; line-height: 1.5; }
.studio-brand small { display: block; margin-top: 3px; color: #657278; font-size: 11px; letter-spacing: 1.6px; line-height: 1.5; }
.studio-intro { margin-top: 42px; position: relative; z-index: 1; }
.studio-kicker { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #677279; letter-spacing: 1.3px; line-height: 1.7; }
.studio-kicker > span { width: 18px; height: 1px; background: #b7694f; }
.studio-intro h2 { margin-top: 14px; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.5; letter-spacing: -.6px; font-weight: 600; }
.studio-object { position: relative; height: 285px; margin: -4px -20px 8px; flex: 1; min-height: 240px; }
.studio-object img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; }
.studio-object-halo { position: absolute; inset: 12% 8% 4%; border-radius: 50%; background: radial-gradient(ellipse, #ffffffc2, transparent 67%); }
.studio-capabilities { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #9ca8af40; color: #5c6970; font-size: 12px; line-height: 1.7; }
.studio-capabilities span + span { padding-left: 26px; border-left: 1px solid #9ca8af55; }
.login-panel { display: grid; align-items: center; min-width: 0; padding: 60px 52px; background: linear-gradient(145deg, #ffffff, #f5f7f7); }
.login-panel-inner { width: 100%; max-width: 352px; margin-inline: auto; }
.login-eyebrow { color: #738087; font-size: 12px; letter-spacing: 1px; line-height: 1.7; }
.login-heading h1 { font-size: 32px; font-weight: 600; letter-spacing: -.8px; line-height: 1.4; margin-top: 12px; }
#login-intro { margin-top: 10px; color: #657178; font-size: 13px; line-height: 1.8; }
#login-form { margin-top: 32px; }
.login-field + .login-field { margin-top: 22px; }
.login-field label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 9px; font-size: 13px; font-weight: 550; line-height: 1.7; }
.label-note { font-size: 12px; font-weight: 400; color: #6c777d; }
.login-field input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #d3dade;
  border-radius: 11px;
  outline: 0;
  background: #fcfdfd;
  color: #263238;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: inset 0 1px 3px #34414804;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.login-field input::placeholder { color: #7c878d; opacity: 1; }
.login-field input:hover { border-color: #acb7bd; }
.login-field input:focus { border-color: #677d87; background: #fff; box-shadow: 0 0 0 3px #7c939b22; }
.login-field input:autofill { box-shadow: inset 0 0 0 100px #f2f5f6; }
.password-field { position: relative; }
.password-field input { padding-right: 52px; }
.password-toggle { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; color: #738087; background: transparent; }
.password-toggle:hover { color: #2d393f; background: #e9eeef; }
.password-toggle svg { width: 19px; height: 19px; }
.password-toggle .eye-closed, .password-toggle[aria-pressed=true] .eye-open { display: none; }
.password-toggle[aria-pressed=true] .eye-closed { display: block; }
.field-note { font-size: 12px; color: #94543c; margin-top: 8px; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 52px; margin-top: 30px; padding: 0 20px; border: 1px solid #414c51; border-radius: 11px; color: #fff; font-size: 14px; font-weight: 550; background: linear-gradient(120deg, #505b60, #2f373b); box-shadow: inset 0 1px 0 #ffffff26, 0 5px 12px #2b3d4518; transition: box-shadow .18s, transform .18s, filter .18s; }
.login-submit:hover:not(:disabled) { filter: brightness(1.12); box-shadow: inset 0 1px 0 #ffffff26, 0 7px 16px #2b3d4529; transform: translateY(-1px); }
.login-submit:active:not(:disabled) { transform: translateY(0); }
.login-submit:disabled { cursor: wait; opacity: .75; }
.submit-arrow { width: 18px; height: 18px; }
.submit-spinner { display: none; width: 17px; height: 17px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: login-spin .8s linear infinite; }
.login-submit[aria-busy=true] .submit-arrow { display: none; }
.login-submit[aria-busy=true] .submit-spinner { display: block; }
.login-message { min-height: 44px; padding-top: 12px; color: #a04630; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.login-message[data-kind=info] { color: #546b60; }
.login-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; color: #748188; font-size: 11px; line-height: 1.8; }
.login-footnote svg { width: 14px; height: 14px; }
.page-signature { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: #6f7c84; font-size: 10px; letter-spacing: 1.1px; line-height: 1.8; }
.page-signature span { color: #9aa4a9; }
button:focus-visible { outline: 3px solid #80979f; outline-offset: 3px; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) and (min-width: 701px) {
  .login-page { padding-inline: 22px; }
  .login-shell { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .login-studio { padding: 30px 28px; }
  .login-panel { padding: 44px 30px; }
  .studio-intro h2 { font-size: 28px; }
  .studio-capabilities { gap: 8px; font-size: 11px; }
  .studio-capabilities span + span { padding-left: 12px; }
}
@media (max-width: 700px) {
  .login-page { padding: 24px 18px; }
  .login-shell { max-width: 440px; min-height: 0; display: block; border-radius: 23px; }
  .login-studio { padding: 24px 28px; border-right: 0; border-bottom: 1px solid #e0e5e6; }
  .studio-brand strong { font-size: 11px; }
  .studio-intro, .studio-object, .studio-capabilities { display: none; }
  .login-panel { padding: 32px 28px 30px; }
  .login-heading h1 { font-size: 29px; margin-top: 9px; }
  .login-eyebrow { font-size: 11px; }
  #login-intro { font-size: 12px; }
  #login-form { margin-top: 28px; }
  .login-field input { font-size: 16px; }
  .login-footnote { margin-top: 14px; }
  .page-signature { margin-top: 20px; font-size: 9px; }
}
@media (max-width: 359px) {
  .login-page { padding-inline: 12px; }
  .login-panel, .login-studio { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .login-submit:hover:not(:disabled) { transform: none; }
}
