html, body { margin: 0; padding: 0; background: #f6f5f0; }
#amisId.amis-scope { position: relative; isolation: isolate; height: auto; min-height: 100svh; overflow: visible; background: transparent; }
#amisId::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: #f6f5f0 url("/assets/brand/fashion-background.webp") center / cover no-repeat;
}
.brand-auth-page.cxd-Page {
  --Page-main-bg: transparent;
  --Panel-bg: transparent;
  --Panel-footer-bg: transparent;
  --Panel-borderColor: transparent;
  --primary: #244b40;
  --primary-onHover: #193c32;
  --primary-onActive: #193c32;
  height: auto;
  min-height: 100svh;
  color: #263d34;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.brand-auth-page .cxd-Page-content, .brand-auth-page .cxd-Page-main { height: auto; }
.brand-auth-page .cxd-Page-body { padding: 0; }
.brand-auth-page, .brand-auth-page * { box-sizing: border-box; }
.brand-auth-page .cxd-Wrapper.brand-auth-shell {
  width: min(100%, 456px);
  margin: 0 auto;
  padding: clamp(48px, 10vh, 100px) 28px 40px;
  animation: brand-enter .35s ease-out;
}
.brand-auth-header { text-align: center; margin-bottom: 36px; }
.brand-auth-mark { width: 80px; height: 80px; object-fit: contain; margin-bottom: 18px; }
.brand-auth-header h1 { margin: 0; font-size: clamp(26px, 5.6vw, 32px); line-height: 1.35; font-weight: 650; letter-spacing: .02em; }
.brand-auth-header p { margin: 12px 0 0; color: #78847b; font-size: 14px; line-height: 1.7; }
.brand-auth-panel.cxd-Panel { border: 0; box-shadow: none; background: transparent; margin: 0; }
.brand-auth-panel .cxd-Panel-body { padding: 0; }
.brand-auth-page .brand-auth-panel .cxd-Form-item { display: block; padding: 0; margin-bottom: 22px; }
.brand-auth-page .brand-auth-panel .cxd-Form-item::after { display: none; }
.brand-auth-page .brand-auth-panel .cxd-Form-item .cxd-Form-label {
  display: block; max-width: 100%; padding: 0; margin-bottom: 9px;
  color: #364a40; font-size: 13px; font-weight: 550;
}
.brand-auth-page .brand-auth-panel .cxd-Form-item .cxd-Form-label > span { line-height: 1.5; }
.brand-auth-page .brand-auth-panel .cxd-Form-item .cxd-Form-item-controlBox { width: 100%; max-width: 100%; }
.brand-auth-page .brand-auth-panel .cxd-Form-item .cxd-Form-control > .cxd-TextControl-input {
  min-height: 48px; padding: 10px 14px; background: #fff;
  border: 1px solid #dfe3db; border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.brand-auth-page .brand-auth-panel .cxd-Form-item .cxd-Form-control > .cxd-TextControl-input:focus-within { border-color: #244b40; box-shadow: 0 0 0 3px #244b4012; }
.brand-auth-panel input { font-size: 15px; }
.brand-auth-actions { padding: 10px 0 0 !important; border: 0 !important; background: transparent !important; }
.brand-auth-primary.cxd-Button {
  display: block; width: 100%; min-height: 48px; margin: 0 !important;
  color: #fff; background: #244b40; border: 1px solid #244b40;
  border-radius: 8px; font-size: 15px; font-weight: 550;
  transition: background .15s, transform .15s;
}
.brand-auth-primary.cxd-Button:hover { color: #fff; background: #193c32; border-color: #193c32; transform: translateY(-1px); }
.brand-auth-secondary { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e1e5dc; text-align: center; color: #7c857e; font-size: 13px; }
.brand-auth-secondary a { display: inline-block; margin-left: 8px; padding: 5px 2px; color: #244b40; font-weight: 550; text-decoration: none; }
.brand-auth-secondary a:hover { text-decoration: underline; }
.brand-auth-secondary a:focus-visible { outline: 2px solid #244b40; outline-offset: 4px; border-radius: 2px; }
.brand-auth-footer { margin-top: 34px; color: #92998f; text-align: center; font-size: 11px; letter-spacing: .08em; }
@keyframes brand-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  #amisId::before { background-position: left center; opacity: .16; }
  .brand-auth-page .cxd-Wrapper.brand-auth-shell { padding: 40px 24px 28px; }
  .brand-auth-header { margin-bottom: 30px; }
  .brand-auth-mark { width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-auth-shell { animation: none; }
  .brand-auth-page * { transition: none !important; }
}
