.zh-wechat-login { width: 100%; min-width: 0; color: inherit; }
.zh-wechat-frame { position: relative; width: 300px; max-width: 100%; height: 400px; margin: 8px auto 16px; overflow: hidden; border-radius: 12px; background: #fff; color: #17243d; }
.zh-wechat-frame iframe { display: block; width: 300px; height: 400px; border: 0; background: #fff; transform-origin: top left; }
.zh-wechat-loading, .zh-wechat-error { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; padding: 28px; text-align: center; line-height: 1.8; background: #fff; font-size: 13px; }
.zh-wechat-error { color: #9d3346; }
.zh-wechat-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.8; cursor: pointer; }
.zh-wechat-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 0 0; accent-color: #0667ff; }
.zh-wechat-consent a { color: #2765ce; text-decoration: underline; text-underline-offset: 3px; }
.zh-wechat-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; font-size: 12px; }
.zh-wechat-tools button { border: 0; padding: 6px 0 6px 12px; color: #2765ce; background: transparent; font: inherit; cursor: pointer; }
.zh-wechat-tools button:disabled { opacity: .5; cursor: wait; }
.zh-wechat-login :focus-visible { outline: 2px solid #2783ff; outline-offset: 3px; }
.zh-wechat-note { font-size: 12px; line-height: 1.8; }
.zh-wechat-authorize { width: 100%; padding: 13px; border: 0; border-radius: 8px; color: #fff; background: #0667ff; font: inherit; cursor: pointer; }
.zh-wechat-authorize:disabled { opacity: .5; cursor: default; }
.v3-account-dialog .zh-wechat-login { max-width: 350px; margin: auto; }
.v3-account-dialog .zp-auth-panel { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 16px; width: 100%; min-height: 0; padding: 0; border: 0; background: transparent; overflow: visible; }
.v3-account-dialog .zp-auth-panel::before { display: none; }
.v3-account-dialog .zp-auth-panel > .zp-text { align-self: center; text-align: center; font-size: 13px; }
.v3-account-dialog .zh-wechat-tools button { min-height: 36px; padding: 6px 0 6px 12px; border: 0; background: transparent; font-size: 12px; }
.v3-account-dialog .zh-wechat-frame .zh-wechat-loading { margin: 0; color: #17243d; }
.v3-account-dialog .zh-wechat-frame .zh-wechat-error { margin: 0; color: #9d3346; }
.v3-account-dialog .zh-wechat-consent a, .v3-account-dialog .zh-wechat-tools button { color: #7dc9ff; }
.crystal-auth:has(.zh-wechat-login) .crystal-auth-layout { grid-template-columns: minmax(0, 1fr) 390px; }
.crystal-auth:has(.zh-wechat-login) .crystal-auth-panel { max-width: 390px; }
@media (max-width: 780px) { .crystal-auth:has(.zh-wechat-login) .crystal-auth-layout { grid-template-columns: minmax(0, 1fr); } }

/* Task surfaces keep clear controls and restrained depth, separate from the cockpit. */
.v3-navigation-deck { box-shadow: 0 12px 28px #000b1e38, inset 0 1px 0 #c0e8ff30; }
.v3-navigation-deck .v3-primary button.is-active { text-shadow: none; }
.v3-navigation-deck .v3-primary button.is-active svg { filter: none; }
.v3-navigation-deck .v3-primary button.is-active::after { box-shadow: none; }
.v3-navigation-deck .v3-brand span { font-size: 12px; letter-spacing: .03em; }
.v3-navigation-deck .v3-account-trigger { min-height: 44px; font-size: 13px; }
.v3-shell :is(button,a,select,input):focus-visible { outline: 2px solid #a1cfff; outline-offset: 3px; }
.v3-account-dialog { scrollbar-width: thin; scrollbar-color: #526e8c #0a1b2f; }
.zh-wechat-login { font-size: 14px; }
.zh-wechat-login .zh-wechat-tools button { min-height: 44px; padding-inline: 12px; font-size: 13px; }
.zh-wechat-login .zh-wechat-consent { min-height: 44px; align-items: flex-start; font-size: 13px; }
.zh-wechat-login .zh-wechat-loading,
.zh-wechat-login .zh-wechat-error { font-size: 14px; line-height: 1.85; }
.crystal-auth { scrollbar-color: #9aadcb #edf5fc; caret-color: #285bb1; }
.crystal-auth ::selection { color: #142d59; background: #c6ddff; }
.crystal-auth .crystal-auth-card { background: #ffffffc9; border: 0; box-shadow: 0 18px 48px #31578518; }
.crystal-auth .crystal-auth-intro h1 { letter-spacing: -.025em; white-space: normal; }
.crystal-auth .crystal-auth-intro p { font-size: 15px; line-height: 1.9; max-width: 36em; }
.crystal-auth .crystal-auth-art { width: 520px; max-width: 100%; margin: 12px 0; }
.crystal-auth :is(.crystal-auth-help,.crystal-auth-back,.crystal-auth-card-footer) { font-size: 13px; min-height: 44px; }
.crystal-auth .crystal-auth-card .crystal-auth-admin-entry { min-height: 44px; font-size: 13px; margin-block: 8px 0; }
.crystal-auth .crystal-auth-alternatives .ant-btn { min-height: 44px; font-size: 13px; }
.crystal-auth .crystal-auth-card input.ant-input { font-size: 16px; }
.crystal-auth .crystal-auth-card input.ant-input::placeholder { color: #59718e; }
.crystal-auth .crystal-auth-bottom { font-size: 12px; letter-spacing: 0; }
@media (max-width: 600px) {
  .v3-navigation-deck .v3-account-trigger { padding-inline: 10px; font-size: 12px; }
  .crystal-auth .crystal-auth-intro p { font-size: 14px; }
}
