/* Account forms and management use the site's chosen theme and readable controls. */
/* R13: the email-login form is nested; space its actual children, not only direct dialog labels. */
html[data-theme] body .account-flow-dialog:has(>[data-login-form])>.eyebrow{display:none!important}
html[data-theme] body .account-flow-dialog>[data-login-form] input::placeholder{color:var(--unified-muted,#747b73)!important;opacity:1!important}
html[data-theme] body .account-flow-dialog>[data-login-form]>.auth-support-row>.text-action{color:var(--unified-muted,#626b61)!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form]) .wechat-auth-mark{background:var(--unified-text,#202824)!important;color:var(--unified-panel,#fff)!important;display:grid!important;place-items:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:50%!important;font-size:13px!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form]){padding:30px!important;gap:20px!important;width:min(420px,calc(100vw - 32px))!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form])>h2{margin:0 34px 2px 0!important;font-size:24px!important;line-height:1.35!important;letter-spacing:-.4px!important}
html[data-theme] body .account-flow-dialog>[data-login-form]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;margin:0!important}
html[data-theme] body .account-flow-dialog>[data-login-form]>label{display:grid!important;gap:8px!important;margin:0!important;font-size:13px!important;font-weight:600!important;line-height:1.5!important}
html[data-theme] body .account-flow-dialog>[data-login-form]>label>input{height:46px!important;min-height:46px!important;padding:11px 13px!important;line-height:22px!important}
html[data-theme] body .account-flow-dialog>[data-login-form]>.auth-support-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:-6px 0 0!important}
html[data-theme] body .account-flow-dialog>[data-login-form]>.auth-support-row>.text-action{padding:2px 0!important;min-height:28px!important;font-size:12px!important;font-weight:400!important;line-height:20px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme] body .account-flow-dialog>[data-login-form]>.primary-btn{width:100%!important;min-height:44px!important;margin:0!important;padding:11px 16px!important;border-radius:9px!important;background:var(--unified-text,#202824)!important;color:var(--unified-panel,#fff)!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important}
html[data-theme] body .account-flow-dialog>[data-login-form]>.auth-message{margin:-8px 0 0!important;min-height:18px!important;text-align:center!important;font-size:12px!important;line-height:18px!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form])>.auth-divider{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;color:var(--unified-muted,#747b73)!important;font-size:11px!important;line-height:16px!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form])>.auth-divider::before,html[data-theme] body .account-flow-dialog:has(>[data-login-form])>.auth-divider::after{content:''!important;height:1px!important;flex:1!important;background:var(--unified-line,#dfe3da)!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form])>.wechat-auth-entry{margin:0!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form]) .wechat-auth-button{width:100%!important;min-height:58px!important;padding:12px 16px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;border:1px solid var(--unified-line,#dfe3da)!important;border-radius:10px!important;background:var(--unified-soft,#f2f3ed)!important;box-shadow:none!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form]) .wechat-auth-button>span:last-child{display:grid!important;gap:3px!important;text-align:left!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form]) .wechat-auth-button strong{font-size:14px!important;line-height:20px!important;font-weight:600!important}
html[data-theme] body .account-flow-dialog:has(>[data-login-form]) .wechat-auth-button small{font-size:11px!important;line-height:16px!important;color:var(--unified-muted,#747b73)!important}
@media(max-width:480px){html[data-theme] body .account-flow-dialog:has(>[data-login-form]){padding:24px!important;gap:18px!important}html[data-theme] body .account-flow-dialog:has(>[data-login-form])>h2{font-size:22px!important}}
html[data-theme] body .account-profile-editor-dialog,html[data-theme] body .login-dialog.account-flow-dialog{background:var(--unified-panel,#fff)!important;color:var(--unified-text,#202824)!important;border:1px solid var(--unified-line,#dfe3da)!important;border-radius:16px!important;box-shadow:0 24px 80px #0003!important;background-image:none!important}
html[data-theme] body .account-profile-editor-dialog{width:min(640px,calc(100vw - 32px))!important;max-height:calc(100dvh - 40px)!important;display:flex!important;flex-direction:column!important;padding:0!important;overflow:hidden!important}
html[data-theme] body .profile-editor-header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:18px 24px!important;border-bottom:1px solid var(--unified-line)!important;flex-shrink:0!important}
html[data-theme] body .profile-editor-header h2{margin:0!important;font-size:20px!important;color:inherit!important}
html[data-theme] body .profile-editor-header button,html[data-theme] body .account-flow-dialog>.detail-close{position:static!important;width:32px!important;height:32px!important;padding:0!important;border:0!important;border-radius:50%!important;background:var(--unified-soft,#f2f3ed)!important;color:inherit!important;font-size:22px!important;line-height:1!important}
html[data-theme] body .account-profile-form-scroll{padding:20px 24px!important;overflow-y:auto!important;display:grid!important;gap:18px!important;min-height:0!important;scrollbar-width:thin!important}
html[data-theme] body .profile-media-editor{display:grid!important;grid-template-columns:minmax(0,1fr) 120px!important;gap:20px!important;align-items:center!important}
html[data-theme] body .profile-cover-upload{position:relative;min-height:112px;border:1px solid var(--unified-line);border-radius:10px;background:var(--unified-soft);overflow:hidden;display:flex;gap:8px;align-items:flex-end;padding:12px;box-sizing:border-box}
html[data-theme] body .profile-cover-upload>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.profile-cover-upload>[hidden]{display:none!important}
html[data-theme] body .profile-cover-upload>label,html[data-theme] body .profile-cover-upload>button{z-index:1;background:var(--unified-panel)!important;color:var(--unified-text)!important;border:1px solid var(--unified-line);border-radius:6px;padding:6px 10px;font-size:12px;cursor:pointer}
html[data-theme] body .profile-cover-upload>span{position:absolute;top:16px;left:16px;color:var(--unified-muted)}
html[data-theme] body .account-editor-avatar-stack{position:static!important;display:grid!important;justify-items:center!important;gap:10px!important;padding:0!important;margin:0!important;transform:none!important}
html[data-theme] body .account-editor-avatar-preview{display:grid!important;place-items:center!important;width:64px!important;height:64px!important;border-radius:50%!important;overflow:hidden!important;border:1px solid var(--unified-line)!important;background:var(--unified-soft)!important}
html[data-theme] body .account-editor-avatar-preview img{width:100%!important;height:100%!important;object-fit:cover!important}
html[data-theme] body .profile-avatar-change{background:var(--unified-soft)!important;color:var(--unified-text)!important;border:1px solid var(--unified-line)!important;border-radius:6px!important;padding:6px 10px!important;font-size:12px!important;cursor:pointer!important}
html[data-theme] body .account-profile-editor-dialog :is(label,span,small,summary,h2,p),html[data-theme] body .account-flow-dialog :is(label,span,small,h2,p,a){color:inherit!important}
html[data-theme] body .profile-field{display:grid!important;gap:8px!important;margin:0!important;font-size:13px!important}
html[data-theme] body .profile-field small{font-size:11px!important;color:var(--unified-muted)!important;text-align:right!important;line-height:1.5!important}
html[data-theme] body :is(.account-profile-editor-dialog,.account-flow-dialog) :is(input:not([type=checkbox]):not([type=file]):not([type=hidden]),textarea){box-sizing:border-box!important;width:100%!important;border:1px solid var(--unified-line,#dfe3da)!important;background:var(--unified-panel,#fff)!important;color:var(--unified-text,#202824)!important;border-radius:8px!important;padding:11px 12px!important;font:inherit!important;font-size:14px!important;line-height:1.6!important;min-height:44px!important;box-shadow:none!important}
html[data-theme] body :is(.account-profile-editor-dialog,.account-flow-dialog) :is(input,textarea):focus-visible{outline:2px solid var(--unified-accent,#7a844a)!important;outline-offset:2px!important}
html[data-theme] body .profile-social-fields{display:grid!important;gap:12px!important;margin:0!important}.profile-social-fields>summary{cursor:pointer;font-size:13px;line-height:1.6}
html[data-theme] body .profile-social-fields>label{display:grid!important;gap:6px!important;font-size:12px!important}
html[data-theme] body .account-profile-editor-actions{position:static!important;display:flex!important;justify-content:flex-end!important;gap:10px!important;padding:14px 24px!important;border-top:1px solid var(--unified-line)!important;background:var(--unified-panel)!important;flex-shrink:0!important}
html[data-theme] body .account-profile-editor-actions button{width:auto!important;min-width:80px!important;padding:9px 16px!important;min-height:38px!important;border-radius:8px!important;margin:0!important}
html[data-theme] body .profile-editor-message{margin:0!important;color:var(--unified-muted)!important;font-size:12px!important;line-height:1.6!important;min-height:0!important}
html[data-theme] body .account-flow-dialog{position:relative!important;padding:26px!important;width:min(420px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;display:grid!important;gap:16px!important;box-sizing:border-box!important}
html[data-theme] body .account-flow-dialog>.detail-close{position:absolute!important;right:16px!important;top:16px!important}
html[data-theme] body .account-flow-dialog h2{margin:0 32px 4px 0!important;font-size:23px!important;line-height:1.4!important}
html[data-theme] body .account-flow-dialog>label{display:grid!important;gap:8px!important;font-size:13px!important;line-height:1.5!important}
html[data-theme] body .account-flow-dialog>label>small{position:absolute;right:28px;font-size:11px;color:var(--unified-muted)!important}
html[data-theme] body .account-flow-dialog .legal-acceptance-checks{padding:0!important;border:0!important;margin:0!important;min-width:0!important;background:transparent!important}
html[data-theme] body .account-flow-dialog .legal-acceptance-checks label{display:flex!important;align-items:flex-start!important;gap:8px!important;padding:0!important;font-size:12px!important;line-height:1.7!important}
html[data-theme] body .account-flow-dialog input[type=checkbox]{width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px!important;margin:3px 0 0!important;accent-color:#727b45}
html[data-theme] body .account-flow-dialog .legal-acceptance-checks a{text-decoration:underline!important;text-underline-offset:3px!important}
html[data-theme] body .account-flow-dialog>.primary-btn{width:100%!important;min-height:42px!important;border-radius:8px!important;font-size:14px!important;padding:10px!important}
html[data-theme] body .account-flow-dialog .auth-message{font-size:12px!important;line-height:1.6!important;color:var(--unified-muted)!important;margin:0!important}
html[data-theme] body .account-flow-dialog .account-flow-back{border:0!important;background:transparent!important;color:var(--unified-text)!important;padding:4px!important;font-size:13px!important;box-shadow:none!important}
html[data-theme] body.production-engine #view-root .ant-pro-tool-rail .pro-more:before{inset:auto!important;left:3px!important;top:8px!important;width:3px!important;height:3px!important;border:0!important;border-radius:50%!important;background:currentColor!important;box-shadow:5px 0 currentColor,10px 0 currentColor!important}.pro-more:after{display:none!important}
html[data-theme] body.production-engine #view-root .management-workspace{color:var(--unified-text)!important;font-size:13px!important}html[data-theme] body.production-engine #view-root .mgmt-head{display:flex!important;align-items:center!important;gap:16px!important;margin-bottom:20px!important}html[data-theme] body.production-engine #view-root .mgmt-head h1{font-size:24px!important;margin:0 auto 0 0!important}html[data-theme] body.production-engine #view-root .mgmt-head a{color:inherit!important;text-decoration:none!important}html[data-theme] body.production-engine #view-root .mgmt-layout{display:grid!important;grid-template-columns:196px minmax(0,1fr)!important;gap:24px!important}html[data-theme] body.production-engine #view-root .mgmt-layout>nav{display:flex!important;flex-direction:column!important;gap:3px!important;align-self:start!important;position:sticky!important;top:12px!important}html[data-theme] body.production-engine #view-root .management-workspace button{background:var(--unified-soft)!important;color:var(--unified-text)!important;border:1px solid var(--unified-line)!important;border-radius:7px!important;padding:8px 12px!important;cursor:pointer!important;font:inherit!important}html[data-theme] body.production-engine #view-root .management-workspace button:disabled{opacity:.45!important;cursor:default!important}html[data-theme] body.production-engine #view-root .mgmt-layout>nav button{border:0!important;background:transparent!important;text-align:left!important;padding:11px 14px!important}html[data-theme] body.production-engine #view-root .mgmt-layout>nav button[aria-current=page]{background:var(--unified-text)!important;color:var(--unified-panel)!important}html[data-theme] body.production-engine #view-root .mgmt-layout main{min-width:0!important}html[data-theme] body.production-engine #view-root .mgmt-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:14px!important}html[data-theme] body.production-engine #view-root .mgmt-toolbar>div{display:flex!important;gap:10px!important;align-items:center!important}html[data-theme] body.production-engine #view-root .mgmt-toolbar h2{font-size:18px!important;margin:0!important}html[data-theme] body.production-engine #view-root .mgmt-toolbar span{font-size:12px!important;color:var(--unified-muted)!important}html[data-theme] body.production-engine #view-root .mgmt-toolbar form{display:flex!important;gap:8px!important;flex-wrap:wrap!important}html[data-theme] body.production-engine #view-root .management-workspace :is(input,select,textarea){box-sizing:border-box!important;border:1px solid var(--unified-line)!important;border-radius:7px!important;background:var(--unified-panel)!important;color:var(--unified-text)!important;padding:9px 11px!important;font:inherit!important;min-width:0!important}html[data-theme] body.production-engine #view-root .mgmt-actions{display:flex!important;gap:10px!important;margin:0 0 12px!important}html[data-theme] body.production-engine #view-root .mgmt-actions:empty{display:none!important}html[data-theme] body.production-engine #view-root .mgmt-actions a{color:inherit!important;padding:8px!important}html[data-theme] body.production-engine #view-root .mgmt-message{font-size:12px!important;line-height:1.6!important;margin:8px 0!important}html[data-theme] body.production-engine #view-root .mgmt-message:empty{display:none!important}html[data-theme] body.production-engine #view-root .mgmt-records{overflow-x:auto!important;border:1px solid var(--unified-line)!important;border-radius:10px!important}html[data-theme] body.production-engine #view-root .mgmt-records table{width:100%!important;border-collapse:collapse!important;text-align:left!important}html[data-theme] body.production-engine #view-root .mgmt-records :is(th,td){border-bottom:1px solid var(--unified-line)!important;padding:12px 14px!important;font-size:12px!important;line-height:1.5!important;max-width:260px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}html[data-theme] body.production-engine #view-root .mgmt-records th{font-weight:500!important;color:var(--unified-muted)!important;background:var(--unified-soft)!important}html[data-theme] body.production-engine #view-root .mgmt-records tr:last-child td{border-bottom:0!important}html[data-theme] body.production-engine #view-root .mgmt-records td button{padding:5px 9px!important;background:transparent!important}html[data-theme] body.production-engine #view-root .mgmt-user{display:flex!important;align-items:center!important;gap:8px!important}html[data-theme] body.production-engine #view-root .mgmt-user img{width:26px!important;height:26px!important;object-fit:cover!important;border-radius:50%!important}html[data-theme] body.production-engine #view-root .mgmt-pager{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;padding:14px 0!important}html[data-theme] body.production-engine #view-root .mgmt-pager span{margin-right:auto!important;color:var(--unified-muted)!important;font-size:12px!important}html[data-theme] body.production-engine #view-root .mgmt-unlock{display:grid!important;gap:16px!important;max-width:380px!important;margin:60px auto!important;padding:24px!important;border:1px solid var(--unified-line)!important;border-radius:12px!important;background:var(--unified-panel)!important}html[data-theme] body.production-engine #view-root .mgmt-unlock label{display:grid!important;gap:9px!important}html[data-theme] body.production-engine #view-root .mgmt-unlock p{margin:0!important;color:var(--unified-muted)!important}html[data-theme] body.production-engine #view-root .mgmt-modal{position:fixed!important;inset:0!important;z-index:1000!important;background:#0007!important;display:flex!important;justify-content:flex-end!important}html[data-theme] body.production-engine #view-root .mgmt-modal>section{width:min(520px,100vw)!important;height:100%!important;background:var(--unified-panel)!important;color:var(--unified-text)!important;padding:24px!important;box-sizing:border-box!important;overflow:auto!important}html[data-theme] body.production-engine #view-root .mgmt-modal header{display:flex!important;gap:12px!important;align-items:center!important;margin-bottom:20px!important}html[data-theme] body.production-engine #view-root .mgmt-modal h2{font-size:18px!important;margin:0!important;flex:1!important;overflow-wrap:anywhere!important}html[data-theme] body.production-engine #view-root .mgmt-modal form{display:grid!important;gap:16px!important}html[data-theme] body.production-engine #view-root .mgmt-modal form>label{display:grid!important;gap:8px!important}html[data-theme] body.production-engine #view-root .mgmt-modal footer{display:flex!important;justify-content:flex-end!important;gap:8px!important;position:sticky!important;bottom:-24px!important;padding:16px 0!important;background:var(--unified-panel)!important}html[data-theme] body.production-engine #view-root .mgmt-modal dl{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:12px!important;font-size:12px!important}html[data-theme] body.production-engine #view-root .mgmt-modal dd{margin:0!important;overflow-wrap:anywhere!important}html[data-theme] body.production-engine #view-root .mgmt-modal dt{color:var(--unified-muted)!important}html[data-theme] body.production-engine #view-root .mgmt-denied{max-width:420px!important;margin:60px auto!important}html[data-theme] body.production-engine #view-root .mgmt-denied a{color:inherit!important}
@media(max-width:760px){html[data-theme] body .account-profile-editor-dialog{max-height:calc(100dvh - 20px)!important;width:calc(100vw - 20px)!important}html[data-theme] body .account-profile-form-scroll{padding:16px!important}html[data-theme] body .profile-media-editor{grid-template-columns:minmax(0,1fr) 90px!important;gap:12px!important}html[data-theme] body.production-engine #view-root .mgmt-layout{grid-template-columns:1fr!important;gap:14px!important}html[data-theme] body.production-engine #view-root .mgmt-layout>nav{position:static!important;flex-direction:row!important;flex-wrap:wrap!important;gap:4px!important}html[data-theme] body.production-engine #view-root .mgmt-layout>nav button{padding:7px 10px!important;font-size:12px!important}html[data-theme] body.production-engine #view-root .mgmt-toolbar{align-items:flex-start!important;flex-direction:column!important}html[data-theme] body.production-engine #view-root .mgmt-toolbar form{width:100%!important}html[data-theme] body.production-engine #view-root .mgmt-toolbar input{width:min(220px,100%)!important}html[data-theme] body.production-engine #view-root .mgmt-unlock{margin:28px auto!important}html[data-theme] body.production-engine #view-root .mgmt-head h1{font-size:22px!important}html[data-theme] body.production-engine #view-root .mgmt-modal>section{padding:18px!important}}

html[data-theme] body.production-engine #view-root .management-workspace{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;min-height:0!important;box-shadow:none!important}
html[data-theme] body.production-engine #view-root .mgmt-layout>main{padding:0!important;margin:0!important;max-width:none!important;width:100%!important;background:transparent!important;border:0!important}

/* Management keeps its own panel spacing inside the shared site frame. */
html[data-theme] body.production-engine #view-root .management-workspace{box-sizing:border-box!important;background:var(--unified-panel)!important;border:1px solid var(--unified-line)!important;border-radius:16px!important;padding:24px!important;overflow:hidden!important}
html[data-theme] body.production-engine #view-root .mgmt-head{padding:0 0 18px!important;margin:0 0 20px!important;border-bottom:1px solid var(--unified-line)!important;min-height:40px!important;flex-wrap:wrap!important}
html[data-theme] body.production-engine #view-root .mgmt-head h1{font-size:23px!important;line-height:1.4!important;letter-spacing:-.3px!important}
html[data-theme] body.production-engine #view-root .mgmt-unlock{box-sizing:border-box!important;width:min(380px,100%)!important;max-width:100%!important;margin:28px auto 36px!important;border-radius:14px!important;padding:24px!important;background:var(--unified-panel)!important}
html[data-theme] body.production-engine #view-root .mgmt-unlock label{font-size:13px!important;line-height:1.6!important}
html[data-theme] body.production-engine #view-root .mgmt-unlock input{width:100%!important;min-height:44px!important;padding:11px 13px!important;border-radius:9px!important}
html[data-theme] body.production-engine #view-root .mgmt-unlock button{min-height:42px!important;border-radius:9px!important}
/* Registration remains inside the viewport; the official frame has one deliberate size. */
html[data-theme] body .login-overlay.wechat-register-overlay{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px 16px!important;box-sizing:border-box!important;overflow-y:auto!important}
html[data-theme] body .login-dialog.account-flow-dialog.wechat-registration-dialog{width:min(440px,calc(100vw - 32px))!important;padding:24px!important;max-height:calc(100dvh - 48px)!important;min-height:0!important;text-align:center!important;gap:12px!important;margin:auto!important}
html[data-theme] body .wechat-registration-dialog h2{margin:2px 28px 0!important;font-size:24px!important;line-height:1.35!important}
html[data-theme] body .wechat-registration-dialog .registration-intro{font-size:14px!important;line-height:1.5!important;margin:0!important;color:var(--unified-muted)!important}
html[data-theme] body .wechat-registration-dialog .wechat-qr-panel{padding:8px!important;margin:0!important;max-width:100%!important;border-radius:12px!important;background:var(--unified-soft)!important;border:0!important;box-sizing:border-box!important}
html[data-theme] body .wechat-registration-dialog .wechat-qr-frame{display:block!important;margin:0 auto!important;background:#fff!important;border-radius:8px!important;width:100%!important;max-width:320px!important;height:300px!important;min-height:0!important;overflow:hidden!important}
html[data-theme] body .wechat-registration-dialog .wechat-qr-frame iframe{display:block!important;margin:0 auto!important;width:300px!important;height:300px!important;max-width:100%!important;border:0!important;position:static!important;top:auto!important;left:auto!important;transform:none!important}
html[data-theme] body .wechat-registration-dialog .wechat-qr-status{font-size:13px!important;line-height:1.5!important;margin:6px 0 0!important;min-height:20px!important;color:var(--unified-muted)!important}
html[data-theme] body .wechat-registration-dialog .wechat-qr-panel.error .wechat-qr-frame{display:none!important}
html[data-theme] body .wechat-registration-dialog .registration-channel-field{display:grid!important;gap:6px!important;text-align:left!important;font-size:13px!important;line-height:1.4!important;margin:0!important}
html[data-theme] body .registration-channel-field>span{display:flex!important;justify-content:space-between!important;align-items:center!important}
html[data-theme] body .registration-channel-field small{position:static!important;font-size:12px!important;color:var(--unified-muted)!important}
html[data-theme] body .wechat-registration-dialog .registration-alternatives{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important}
html[data-theme] body .wechat-registration-dialog .account-flow-back{font-size:13px!important;padding:2px 0!important;margin:0!important;min-height:28px!important;white-space:nowrap!important}
html[data-theme] body .registration-legal{font-size:11px!important;line-height:1.7!important;color:var(--unified-muted)!important}
html[data-theme] body .registration-legal a{text-decoration:underline!important;text-underline-offset:3px!important}
@media(max-width:480px){html[data-theme] body .login-dialog.account-flow-dialog.wechat-registration-dialog{padding:20px 16px!important}html[data-theme] body .wechat-registration-dialog h2{font-size:22px!important}html[data-theme] body .wechat-registration-dialog .wechat-qr-frame,html[data-theme] body .wechat-registration-dialog .wechat-qr-frame iframe{height:292px!important}}
html[data-theme] body.production-engine #view-root .training-emblem-surface{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;flex:0 0 42px!important;padding:5px!important;border-radius:10px!important;border:1px solid var(--unified-line)!important;background:#fff!important}
html[data-theme] body.production-engine #view-root .training-emblem-surface.is-dark{background:#193c58!important;border-color:#193c58!important}
html[data-theme] body.production-engine #view-root .training-emblem-surface .training-row-emblem{width:100%!important;height:100%!important;object-fit:contain!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;filter:none!important}
@media(max-width:760px){html[data-theme] body.production-engine #view-root .management-workspace{padding:16px!important;border-radius:12px!important}html[data-theme] body.production-engine #view-root .mgmt-head{gap:12px!important}html[data-theme] body.production-engine #view-root .mgmt-head h1{font-size:21px!important}html[data-theme] body.production-engine #view-root .mgmt-unlock{margin:20px auto!important;padding:18px!important}}

html[data-theme] body .wechat-registration-dialog .wechat-qr-frame.ant-mobile-login-fallback{display:flex!important;flex-direction:column!important;gap:12px!important;height:auto!important;min-height:0!important}
html[data-theme] body.production-engine #view-root .mgmt-account-summary{border:1px solid var(--unified-line)!important;border-radius:12px!important;padding:20px!important;margin-bottom:20px!important;background:var(--unified-panel)!important}
html[data-theme] body.production-engine #view-root .mgmt-account-identity{display:flex!important;align-items:center!important;gap:12px!important}.mgmt-account-identity>img{width:48px!important;height:48px!important;border-radius:50%!important;object-fit:cover!important}.mgmt-account-identity>div{display:grid!important;gap:3px!important;min-width:0!important}.mgmt-account-identity h2{margin:0!important;font-size:18px!important}.mgmt-account-identity>button{margin-left:auto!important}.mgmt-account-identity small{color:var(--unified-muted)!important}
html[data-theme] body.production-engine #view-root .mgmt-account-metrics{display:flex!important;flex-wrap:wrap!important;gap:12px 24px!important;padding:16px 0!important;line-height:1.6!important}.mgmt-account-metrics strong{font-size:18px!important;margin-left:5px!important}.mgmt-account-buttons{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;margin-bottom:16px!important}.mgmt-account-buttons a{padding:8px!important;color:inherit!important;text-decoration:none!important}.mgmt-account-summary nav{display:flex!important;flex-wrap:wrap!important;gap:5px!important;border-top:1px solid var(--unified-line)!important;padding-top:14px!important}.mgmt-account-summary nav [aria-current=page]{background:var(--unified-text)!important;color:var(--unified-panel)!important}
html[data-theme] body.production-engine #view-root .mgmt-selected-user{display:grid!important;gap:6px!important;padding:14px!important;background:var(--unified-soft)!important;border-radius:10px!important;overflow-wrap:anywhere!important}.mgmt-account-results,.mgmt-process-nodes{display:grid!important;gap:8px!important}.mgmt-account-results button,.mgmt-process-nodes button{display:grid!important;text-align:left!important;gap:5px!important;padding:12px!important;line-height:1.5!important}.mgmt-account-results span,.mgmt-process-nodes span{white-space:pre-wrap!important;overflow-wrap:anywhere!important;font-size:12px!important}.mgmt-channel-rule{font-size:12px!important;color:var(--unified-muted)!important;line-height:1.6!important}.mgmt-modal small{font-size:12px!important;line-height:1.5!important;color:var(--unified-muted)!important}.mgmt-modal label>button{margin-top:6px!important}.mgmt-modal [readonly]{background:var(--unified-soft)!important}.mgmt-records td:last-child{white-space:nowrap!important}.mgmt-records td:last-child button+button{margin-left:6px!important}
@media(max-width:760px){html[data-theme] body.production-engine #view-root .mgmt-account-summary{padding:14px!important}.mgmt-account-identity{flex-wrap:wrap!important}.mgmt-account-identity>button{margin-left:0!important}.mgmt-account-identity span{overflow-wrap:anywhere!important}.mgmt-account-metrics{gap:10px!important}.mgmt-modal>section{width:min(100%,620px)!important}.mgmt-account-summary nav button{padding:7px 9px!important}}

/* Compact WeChat entry shared by standalone login and protected dialogs. */
html[data-theme] body [data-compact-wechat-login].cinema-login-dialog{box-sizing:border-box!important;display:block!important;width:min(400px,calc(100vw - 32px))!important;min-width:0!important;min-height:0!important;height:auto!important;margin:auto!important;padding:0!important;border-radius:20px!important;overflow:visible!important}
html[data-theme] body [data-compact-wechat-login]>.cinema-login-showcase{display:none!important}
html[data-theme] body [data-compact-wechat-login]>.cinema-login-panel{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;width:100%!important;min-height:0!important;height:auto!important;padding:28px 28px 22px!important;text-align:center!important}
html[data-theme] body [data-compact-wechat-login] .protected-wechat-brand{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;margin:0!important;padding:0!important;min-height:0!important}
html[data-theme] body [data-compact-wechat-login] .protected-wechat-brand>img{width:38px!important;height:38px!important;object-fit:contain!important}
html[data-theme] body [data-compact-wechat-login] .protected-wechat-brand span{display:grid!important;gap:2px!important;text-align:left!important}
html[data-theme] body [data-compact-wechat-login] .protected-wechat-brand strong{font-size:15px!important;line-height:20px!important}
html[data-theme] body [data-compact-wechat-login] .protected-wechat-brand small{font-size:10px!important;line-height:14px!important;letter-spacing:1.2px!important}
html[data-theme] body [data-compact-wechat-login] h2{font-size:22px!important;line-height:30px!important;margin:0!important;padding:0!important}
html[data-theme] body [data-compact-wechat-login] .protected-wechat-qr-panel{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-height:0!important;height:auto!important;padding:12px!important;margin:0!important;border:0!important;border-radius:12px!important;background:transparent!important}
html[data-theme] body [data-compact-wechat-login] .wechat-qr-frame{display:flex!important;align-items:center!important;justify-content:center!important;width:248px!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:white!important;border:0!important;border-radius:8px!important;overflow:visible!important}
html[data-theme] body [data-compact-wechat-login] .wechat-qr-frame>img{display:block!important;width:248px!important;height:auto!important;max-width:100%!important;aspect-ratio:1!important;margin:0!important}
html[data-theme] body [data-compact-wechat-login] .wechat-qr-status{font-size:13px!important;line-height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;color:var(--unified-muted)!important}
html[data-theme] body [data-compact-wechat-login] .protected-login-alternative{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;width:auto!important;padding:6px 14px!important;margin:0!important;font-size:13px!important;line-height:20px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme] body [data-compact-wechat-login] .protected-login-legal{display:block!important;max-width:100%!important;font-size:11px!important;line-height:18px!important;margin:0!important;padding:0!important;color:var(--unified-muted)!important}
html[data-theme] body [data-compact-wechat-login]>.detail-close{top:12px!important;right:12px!important;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border-radius:50%!important;z-index:2!important}
html[data-theme] body .login-index-page.cinema-login-page{box-sizing:border-box!important;display:grid!important;place-items:center!important;min-height:calc(100dvh - 96px)!important;height:auto!important;padding:16px!important;margin:0!important}
html[data-theme] body .login-overlay:has(>[data-compact-wechat-login]){box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;overflow:auto!important}
@media(max-height:760px){html[data-theme] body [data-compact-wechat-login]>.cinema-login-panel{gap:10px!important;padding:20px 24px 18px!important}html[data-theme] body [data-compact-wechat-login] .wechat-qr-frame{width:224px!important}html[data-theme] body [data-compact-wechat-login] .wechat-qr-frame>img{width:224px!important}html[data-theme] body [data-compact-wechat-login] .protected-wechat-qr-panel{padding:6px!important}html[data-theme] body .login-index-page.cinema-login-page{min-height:0!important;padding:12px!important}}
@media(max-height:600px){html[data-theme] body [data-compact-wechat-login]>.cinema-login-panel{gap:8px!important;padding:16px 20px!important}html[data-theme] body [data-compact-wechat-login] .wechat-qr-frame,html[data-theme] body [data-compact-wechat-login] .wechat-qr-frame>img{width:184px!important}html[data-theme] body [data-compact-wechat-login] .protected-wechat-brand{display:none!important}}
html[data-theme] body.login-index-mode .app-shell{min-height:0!important}
html[data-theme] body.clean-ui.production-engine.login-index-mode .app-shell main.main{box-sizing:border-box!important;min-height:0!important;padding:12px 0!important}
html[data-theme] body.login-index-mode #view-root{min-height:0!important}
html[data-theme] body.clean-ui.production-engine.login-index-mode .main>.browse-quality{display:none!important}
html[data-theme] body.login-index-mode #view-root>.login-index-page.cinema-login-page{min-height:calc(100dvh - 116px)!important}
@media(max-height:760px){html[data-theme] body.login-index-mode #view-root>.login-index-page.cinema-login-page{min-height:0!important}}

html[data-theme] body.clean-ui.production-engine.login-index-mode #view-root>.login-index-page.cinema-login-page{min-height:calc(100dvh - 110px)!important;background:transparent!important}
html[data-theme] body [data-compact-wechat-login]>.detail-close{display:grid!important;place-items:center!important;text-decoration:none!important;line-height:1!important}
@media(max-height:760px){html[data-theme] body.clean-ui.production-engine.login-index-mode #view-root>.login-index-page.cinema-login-page{min-height:0!important}}

html[data-theme] body [data-compact-wechat-login].cinema-login-dialog{width:min(400px,100%)!important;max-width:100%!important}
@media(max-width:760px){html[data-theme] body.clean-ui.production-engine.login-index-mode #view-root>.login-index-page.cinema-login-page{min-height:0!important;padding:12px 0!important}}

html[data-theme] body [data-compact-wechat-login] .compact-login-options{width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:13px!important;line-height:20px!important}
html[data-theme] body [data-compact-wechat-login] .compact-login-options>summary{box-sizing:border-box!important;display:list-item!important;list-style-position:inside!important;cursor:pointer!important;min-height:36px!important;padding:8px!important;margin:0!important;color:var(--unified-text)!important;font-size:13px!important;line-height:20px!important}
html[data-theme] body [data-compact-wechat-login] .compact-login-options>div{display:flex!important;justify-content:center!important;gap:20px!important;padding:4px 0!important}
html[data-theme] body [data-compact-wechat-login] .compact-login-options>div>button{width:auto!important;margin:0!important;padding:6px!important;min-height:32px!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:13px!important;line-height:20px!important}
