/* ============================================
   MASTER 智序 · 登录页 Enterprise 版样式
   提取自 claude.ai/design「Login Enterprise」原型 (2026-07-20)
   字体走本地 assets/fonts/fonts.css(原型 Google Fonts 已剥离)
   ============================================ */
/* ============================================
   玛斯特·智序 — Flat Login (welcome → login)
   扁平化 · 无阴影 · 无模糊 · 全端自适应
   ============================================ */

:root {
  --brand:        #1F3A5F;
  --brand-deep:   #16304F;
  --brand-mid:    #2D5277;
  --accent:       #2D9D8F;
  --accent-deep:  #1D9E75;
  --accent-soft:  #E1F5F2;

  --warn:         #E8A23D;
  --danger:       #D64545;
  --danger-soft:  #FBEAEA;

  --bg:           #F0F4F8;
  --card:         #FFFFFF;
  --text:         #1F3A5F;
  --text-dim:     #5F6B7A;
  --text-mute:    #98A2B0;
  --text-faint:   #C3CCD6;
  --line:         #E0E6ED;
  --input-bg:     #F7F9FC;

  /* dark-context tokens (splash / overlays) */
  --d-text-dim:   rgba(255,255,255,0.7);
  --d-text-mute:  rgba(255,255,255,0.45);
  --d-line:       rgba(255,255,255,0.16);

  --font-sans:    Inter, -apple-system, BlinkMacSystemFont, "PingFang SC",
                  "Microsoft YaHei UI", "Noto Sans SC", Helvetica, Arial, sans-serif;
  --font-serif:   "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { min-height: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: #EAEFF5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ============================================
   SPLASH — full-screen flat navy welcome
   ============================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--brand);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.splash.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-mark {
  width: 88px;
  height: 88px;
  background: #FFFFFF;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splash-pop 0.6s cubic-bezier(0.16,1,0.3,1);
}
@keyframes splash-pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.splash-brand {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(26px, 5vw, 34px);
  letter-spacing: 0.04em;
  animation: splash-rise 0.6s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}
.splash-brand .dot { color: var(--accent); margin: 0 6px; }
.splash-sub {
  margin-top: 10px;
  font-size: clamp(12px, 2.6vw, 14px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  animation: splash-rise 0.6s 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
.splash-slogan {
  margin-top: 48px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.25;
  letter-spacing: 0.06em;
  animation: splash-rise 0.6s 0.45s cubic-bezier(0.16,1,0.3,1) both;
}
.splash-rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 28px;
  animation: splash-rise 0.6s 0.55s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes splash-rise {
  0% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* progress bar (3s) */
.splash-progress {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: min(240px, 60vw);
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.splash-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  animation: splash-load 3s linear forwards;
}
@keyframes splash-load {
  to { width: 100%; }
}
.splash-skip {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--d-line);
  border-radius: 999px;
  color: var(--d-text-mute);
  font-size: 12px;
  font-family: inherit;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 7px 16px;
  transition: all 0.18s;
}
.splash-skip:hover { color: #FFFFFF; border-color: rgba(255,255,255,0.4); }
.splash-ver {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--d-text-mute);
}

@media (prefers-reduced-motion: reduce) {
  .splash-mark, .splash-brand, .splash-sub, .splash-slogan, .splash-rule { animation: none; }
}

/* ============================================
   PAGE SHELL
   ============================================ */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  gap: 16px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--brand);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { display: block; }
.brand-text .line1 {
  display: flex;
  align-items: baseline;
}
.brand-text .cn {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.brand-text .dot {
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  margin: 0 3px;
}
.brand-text .sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.22em;
  margin-top: 2px;
}
.topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-dim);
}
.topbar-status { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.topbar-version {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
}

/* language picker (flat) */
.lang-picker { position: relative; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  line-height: 1;
}
.lang-trigger:hover { border-color: var(--accent); color: var(--text); }
.lang-glyph { font-size: 12px; }
.lang-chev { font-size: 9px; opacity: 0.6; transition: transform 0.2s; }
.lang-picker.open .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 100;
}
.lang-picker.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 13px;
}
.lang-item:hover { background: var(--input-bg); }
.lang-item.active { background: var(--accent-soft); }
.lang-item.active::after {
  content: '✓';
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
}
.lang-flag { width: 22px; text-align: center; }
.lang-name { color: var(--text); font-weight: 500; }
.lang-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-mute);
  margin-left: auto;
  padding-left: 10px;
  letter-spacing: 0.06em;
}
.lang-item.active .lang-sub { display: none; }

/* ============================================
   MAIN — centered card
   ============================================ */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 48px;
}
.card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid #DCE4EC;
  border-radius: 16px;
  padding: 38px 38px 30px;
  animation: card-in 0.45s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.card-eyebrow .right { color: var(--text-faint); }
.card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* states */
.state { display: none; }
.state.active { display: block; animation: fade 0.3s ease; }
@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* fields */
.fields {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: var(--input-bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.input-wrap:focus-within {
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input-wrap.error {
  border-color: var(--danger);
  background: var(--danger-soft);
  animation: shake 0.4s;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.input-wrap .lead { opacity: 0.5; font-size: 14px; user-select: none; }
.input-wrap input, .input-wrap select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  min-width: 0;
}
.input-wrap input::placeholder { color: var(--text-faint); }
.input-wrap input[type="password"] { letter-spacing: 0.16em; }
.input-wrap .trail { cursor: pointer; opacity: 0.5; font-size: 14px; }
.input-wrap .trail:hover { opacity: 0.9; }

/* captcha */
.captcha-row { display: flex; gap: 8px; }
.captcha-row .input-wrap { flex: 1; }
.captcha-block {
  width: 96px;
  height: 44px;
  border: 1.5px solid var(--line);
  background: var(--input-bg);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  cursor: pointer;
  font-style: italic;
  user-select: none;
  flex-shrink: 0;
}
.captcha-block:hover { border-color: var(--accent); background: var(--accent-soft); }
.captcha-block:active { transform: scale(0.97); }

/* row */
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
  font-size: 12.5px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
}
.check input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}
.link {
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
.link:hover { text-decoration: underline; }
.link-muted { color: var(--text-mute); text-decoration: none; cursor: pointer; }
.link-muted:hover { color: var(--text); }
a { color: var(--accent-deep); }
a:hover { color: var(--accent); }

/* buttons — flat */
.btn {
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  transition: all 0.15s;
}
.btn:hover { border-color: var(--text-mute); background: var(--input-bg); }
.btn:active { transform: scale(0.985); }
.btn.primary {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.btn.primary:hover { background: var(--brand-mid); border-color: var(--brand-mid); }
.btn.large { width: 100%; padding: 13px 16px; font-size: 15px; margin-top: 16px; }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn:not(.primary).loading::after {
  border-color: rgba(31,58,95,0.2);
  border-top-color: var(--brand);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* divider */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-mute);
  letter-spacing: 0.2em;
}

/* SSO */
.sso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: inherit;
  transition: all 0.15s;
  position: relative;
}
.sso-btn:hover { border-color: var(--accent); color: var(--text); }
.sso-btn .icon {
  width: 18px; height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sso-btn.loading { pointer-events: none; opacity: 0.7; }
.sso-btn.loading .icon, .sso-btn.loading span { visibility: hidden; }
.sso-btn.loading::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid rgba(31,58,95,0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.card-foot {
  text-align: center;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text-mute);
}

/* ============================================
   REGISTER / FORGOT
   ============================================ */
.reg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.reg-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  margin: 0;
}

.steps {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 20px;
}
.step { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--input-bg);
  color: var(--text-mute);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  transition: all 0.3s;
  flex-shrink: 0;
}
.step.active .step-num,
.step.done .step-num {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.step.done .step-num::before { content: '✓'; }
.step.done .step-num span { display: none; }
.step-text {
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
}
.step.active .step-text { color: var(--text); font-weight: 600; }
.step.done .step-text { color: var(--accent-deep); }
.step-line { flex: 1; min-width: 8px; height: 1.5px; background: var(--line); transition: background 0.3s; }
.step-line.done { background: var(--accent); }
.steps[data-count="4"] .step:not(.active) .step-text { display: none; }

.req { color: var(--danger); margin-left: 2px; }

.step-hint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
}
.step-hint-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
  flex-shrink: 0;
}
.step-hint-text {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.step-hint-text strong { color: var(--text); font-weight: 600; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.grid-2 > * { min-width: 0; }

/* pw strength */
.pw-strength {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pw-bar {
  flex: 1;
  min-width: 0;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.pw-fill { height: 100%; width: 0%; background: var(--danger); transition: width 0.3s, background 0.3s; }
.pw-fill.weak   { width: 33%; background: var(--danger); }
.pw-fill.medium { width: 66%; background: var(--warn); }
.pw-fill.strong { width: 100%; background: var(--accent); }
.pw-text {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-mute);
  white-space: nowrap;
}
.pw-text.weak   { color: var(--danger); }
.pw-text.medium { color: var(--warn); }
.pw-text.strong { color: var(--accent-deep); }

/* OTP */
.otp-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  margin-bottom: 20px;
}
.otp-info .icon { font-size: 22px; }
.otp-info .t { font-size: 11.5px; color: var(--text-dim); margin-bottom: 2px; }
.otp-info .phone {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
}
.otp-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}
.otp-cell {
  height: 48px;
  border: 1.5px solid var(--line);
  background: var(--input-bg);
  border-radius: var(--r-md);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  outline: none;
  min-width: 0;
  transition: all 0.15s;
}
.otp-cell:focus { border-color: var(--accent); background: var(--card); }
.otp-cell.filled { border-color: var(--accent); background: var(--accent-soft); }
.otp-cell.error { border-color: var(--danger); background: var(--danger-soft); animation: shake 0.4s; }
.otp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-mute);
}

/* success */
.success-wrap { text-align: center; padding: 8px 0; }
.success-circle {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  font-size: 28px;
  animation: pop 0.6s cubic-bezier(0.16,1,0.3,1);
}
@keyframes pop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.success-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.success-desc { font-size: 12.5px; color: var(--text-dim); margin-bottom: 18px; }
.next-box {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 15px;
  text-align: left;
}
.next-title {
  font-size: 10px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.next-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ============================================
   OVERLAYS
   ============================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,58,95,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 20px;
}
.overlay.show { display: flex; opacity: 1; }

.greeting-card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 28px;
  width: 100%;
  max-width: 460px;
  transform: scale(0.96);
  transition: transform 0.3s;
}
.overlay.show .greeting-card { transform: scale(1); }
.greet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ai-avatar {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.greet-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.greet-sub { font-size: 11.5px; color: var(--text-mute); margin-top: 2px; }
.greet-body { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin-bottom: 14px; }
.greet-summary {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.summary-row { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 12.5px; }
.summary-row .n {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-deep);
  min-width: 32px;
}
.summary-row .n.warn { color: var(--warn); }
.summary-row .n.danger { color: var(--danger); }
.summary-row .t { color: var(--text-dim); flex: 1; }
.greet-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* SSO modal (flat) */
.sso-modal-card {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.3s;
}
.overlay.show .sso-modal-card { transform: scale(1); }
.sso-modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #07C160;
  color: #FFFFFF;
}
.sso-modal-provider { display: flex; align-items: center; gap: 12px; }
.sso-modal-providerIcon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sso-modal-providerName { font-size: 14.5px; font-weight: 600; }
.sso-modal-providerSub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}
.sso-modal-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}
.sso-modal-body { padding: 20px; }
.sso-modal-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 18px;
}
.sso-modal-appLogo {
  width: 36px; height: 36px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sso-modal-appName { font-size: 13px; font-weight: 600; color: var(--text); }
.sso-modal-appScope { font-size: 11.5px; color: var(--text-mute); margin-top: 2px; }
.sso-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.sso-qr {
  position: relative;
  width: 160px; height: 160px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
}
.sso-qr svg { display: block; }
.sso-qr-mask {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.96);
  border-radius: var(--r-md);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sso-qr-mask.show { display: flex; animation: fade 0.3s; }
.sso-qr-mask-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.sso-qr-mask-text { font-size: 12.5px; font-weight: 600; color: var(--text); }
.sso-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.sso-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.8s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.sso-status.scanned .sso-status-dot { background: var(--warn); }
.sso-status.success .sso-status-dot { background: var(--accent); animation: none; }
.sso-modal-foot { display: flex; gap: 8px; margin-bottom: 12px; }
.sso-modal-disclaimer {
  font-size: 10.5px;
  color: var(--text-mute);
  text-align: center;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* register transition (flat navy) */
.rt-overlay {
  position: fixed;
  inset: 0;
  background: var(--brand);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  opacity: 0;
  transition: opacity 0.4s;
  padding: 24px;
}
.rt-overlay.show { display: flex; opacity: 1; }
.rt-content { text-align: center; color: #FFFFFF; animation: fade 0.5s; }
.rt-logo {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  background: #FFFFFF;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rt-spinner {
  width: 34px; height: 34px;
  margin: 0 auto 18px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.rt-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 28px;
  min-height: 26px;
}
.rt-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 300px;
  margin: 0 auto;
}
.rt-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: var(--d-text-mute);
  text-align: left;
  transition: all 0.4s;
}
.rt-step.active { background: rgba(45,157,143,0.3); color: #FFFFFF; }
.rt-step.done { background: rgba(45,157,143,0.15); color: var(--d-text-dim); }
.rt-step.done .rt-icon::before { content: '✓'; color: var(--accent); font-weight: 700; }
.rt-step.done .rt-icon span { display: none; }
.rt-icon { width: 18px; text-align: center; font-size: 13px; }

/* ============================================
   TOAST
   ============================================ */
.toast-stack {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  align-items: center;
  width: min(420px, calc(100vw - 32px));
}
.toast {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 10px 14px 10px 12px;
  min-width: 240px;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  pointer-events: auto;
  transform: translateY(-16px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left-color: var(--accent); }
.toast.error   { border-left-color: var(--danger); }
.toast.warn    { border-left-color: var(--warn); }
.toast.info    { border-left-color: var(--brand-mid); }
.toast-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}
.toast.success .toast-icon { background: var(--accent); }
.toast.error .toast-icon   { background: var(--danger); }
.toast.warn .toast-icon    { background: var(--warn); }
.toast.info .toast-icon    { background: var(--brand-mid); }
.toast-msg { flex: 1; line-height: 1.4; }

/* ============================================
   MODE SWITCHER + DEMO TOGGLE
   ============================================ */
.mode-switcher {
  position: fixed;
  bottom: 14px;
  right: 14px;
  z-index: 1000;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 5px;
  display: none;
  gap: 4px;
  align-items: center;
}
.mode-switcher.visible { display: flex; }
.mode-label { font-size: 10.5px; color: var(--text-mute); padding: 0 6px 0 4px; font-weight: 500; white-space: nowrap; }
.mode-btn {
  padding: 5px 9px;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 11.5px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.mode-btn.active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.mode-btn:hover:not(.active) { background: var(--input-bg); color: var(--text); }
.demo-toggle {
  position: fixed;
  bottom: 56px;
  right: 14px;
  z-index: 1000;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-toggle:hover { color: var(--text); }

/* ============================================
   DEPLOYMENT VISIBILITY
   ============================================ */
.saas-only, .private-only, .offline-only { display: none; }
body[data-deploy="saas"] .saas-only { display: revert; }
body[data-deploy="saas"] .saas-only-grid { display: grid; }
body[data-deploy="saas"] .saas-only-flex { display: flex; }
body[data-deploy="private-online"] .private-only,
body[data-deploy="private-online"] .private-only-flex { display: flex; }
body[data-deploy="private-online"] .saas-only-grid { display: grid; }
body[data-deploy="private-online"] .saas-only-flex { display: flex; }
body[data-deploy="private-offline"] .offline-only,
body[data-deploy="private-offline"] .offline-only-flex { display: flex; }
body[data-deploy="private-offline"] .online-feature { display: none !important; }

/* footer */
.global-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
}
.global-footer a { color: inherit; text-decoration: none; }
.global-footer a:hover { color: var(--text-mute); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 560px) {
  .topbar { padding: 16px 20px; }
  .topbar-status { display: none; }
  .topbar-version { display: none; }
  .main { padding: 8px 16px 32px; align-items: flex-start; }
  .card {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 12px 4px 24px;
    max-width: 100%;
  }
  .input-wrap { background: var(--card); }
  .otp-cell { background: var(--card); }
  .captcha-block { background: var(--card); }
  .card-title { font-size: 24px; }
  .mode-switcher { bottom: 10px; right: 10px; left: 10px; justify-content: center; }
  .mode-label { display: none; }
  .demo-toggle { bottom: 52px; }
  .global-footer { padding-bottom: 60px; }
}

@media (min-width: 561px) and (max-width: 900px) {
  .card { max-width: 480px; padding: 40px 44px 32px; }
}
/* 企业版登录 — 在 flat-login.css 基础上叠加左右分栏与企业级组件 */
/* ============ 首屏结构 ============ */
.ent-shell{min-height:100vh;display:grid;grid-template-rows:1fr auto}
.ent-main{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:48px;max-width:1180px;width:100%;margin:0 auto;padding:48px 40px 24px}
/* 左侧: 品牌 + AI 价值预览 */
.ent-left{display:flex;flex-direction:column;gap:0;max-width:520px}
.ent-brand{display:flex;align-items:center;gap:14px;margin-bottom:40px}
.ent-brand .mark{width:48px;height:48px;background:#FFFFFF;border:1.5px solid var(--line,#E0E6ED);border-radius:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ent-brand>div:last-child{min-width:max-content}
.ent-brand .wordmark{font-weight:800;font-size:19px;letter-spacing:0.14em;color:var(--text,#1a1a1a);white-space:nowrap}
.ent-brand .wordmark .cn2{font-weight:700;letter-spacing:0.1em}
.card-eyebrow span,.check span{white-space:nowrap}
.ent-brand .sub{font-size:11.5px;color:var(--text-mute,#8a8a8a);letter-spacing:0.3em;margin-top:3px;white-space:nowrap}
.ent-slogan{font-family:var(--font-serif);font-weight:700;font-size:clamp(34px,3.6vw,46px);line-height:1.2;letter-spacing:-0.02em;color:var(--text,#1a1a1a);margin:0 0 14px}
.ent-slogan .em{color:var(--accent-deep,#1D8578)}
.ent-lede{font-size:14px;color:var(--text-dim,#5c5c5c);line-height:1.7;margin-bottom:32px;max-width:400px}
/* AI 价值预览卡 */
.ent-value{border:1px solid var(--line,#E5E1D8);border-radius:14px;background:var(--card,#fff);overflow:hidden;box-shadow:0 1px 3px rgba(31,58,95,0.05)}
.ent-value-head{display:flex;align-items:center;gap:10px;padding:13px 18px;border-bottom:1px solid var(--line,#E5E1D8)}
.ent-value-head .ai{width:26px;height:26px;border-radius:8px;background:var(--accent-soft,rgba(45,157,143,0.14));color:var(--accent-deep,#1D8578);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ent-value-head .t{font-size:12.5px;font-weight:600;color:var(--text,#1a1a1a)}
.ent-value-head .live{margin-left:auto;font-size:10px;color:var(--accent-deep,#1D8578);display:flex;align-items:center;gap:5px}
.ent-value-head .live::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent,#2D9D8F);animation:blink 2.4s infinite}
.ent-value-rows{padding:8px 18px 12px}
.ent-value-row{display:flex;align-items:baseline;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line,#E5E1D8);font-size:13px;color:var(--text-dim,#5c5c5c)}
.ent-value-row:last-child{border-bottom:none}
.ent-value-row .n{font-family:var(--font-serif);font-size:22px;font-weight:700;color:var(--text,#1a1a1a);min-width:44px;letter-spacing:-0.02em}
.ent-value-row .n.g{color:var(--accent-deep,#1D8578)}
.ent-value-row .n.w{color:var(--warn,#C77E1D)}
/* 右侧卡片列 */
.ent-right{display:flex;justify-content:center}
.ent-right .card{width:100%;max-width:430px}
/* ============ 底部栏: 环境 · 隐私 · 帮助 ============ */
.ent-footer{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:18px 24px 22px;font-size:12px;color:var(--text-mute,#8a8a8a)}
.ent-footer .sep{opacity:0.4}
.ent-footer a{color:var(--text-mute,#8a8a8a);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:0 4px}
.ent-footer a:hover{color:var(--text,#1a1a1a)}
/* 环境徽标 (自动识别,产品化) */
.env-badge{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 10px;border-radius:8px;cursor:pointer;user-select:none}
.env-badge:hover{background:var(--hover,rgba(0,0,0,0.04))}
.env-badge .dot{width:6px;height:6px;border-radius:50%;background:var(--accent,#2D9D8F)}
.env-badge .chev{font-size:9px;opacity:0.6}
.env-menu{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);min-width:240px;background:var(--card,#fff);border:1px solid var(--line,#E5E1D8);border-radius:12px;box-shadow:0 16px 48px rgba(31,58,95,0.14);padding:6px;display:none;z-index:600}
.env-menu.show{display:block}
.env-menu .h{font-size:10.5px;color:var(--text-mute,#8a8a8a);padding:8px 10px 6px;letter-spacing:0.04em}
.env-item{display:flex;align-items:flex-start;gap:9px;padding:9px 10px;border-radius:8px;cursor:pointer;min-height:44px}
.env-item:hover{background:var(--hover,rgba(0,0,0,0.04))}
.env-item.active{background:var(--accent-soft,rgba(45,157,143,0.12))}
.env-item .t{font-size:12.5px;font-weight:600;color:var(--text,#1a1a1a)}
.env-item .s{font-size:11px;color:var(--text-mute,#8a8a8a);margin-top:1px}
.env-item .tick{margin-left:auto;color:var(--accent-deep,#1D8578);font-weight:700}
/* ============ 安全状态横幅 ============ */
.sec-banner{display:none;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:10px;font-size:12.5px;line-height:1.55;margin-bottom:16px}
.sec-banner.show{display:flex}
.sec-banner .ic{flex-shrink:0;width:18px;height:18px;border-radius:50%;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-top:1px}
.sec-banner.error{background:var(--danger-soft,rgba(200,60,60,0.1));color:var(--danger,#C03D3D)}
.sec-banner.error .ic{background:var(--danger,#C03D3D)}
.sec-banner.warn{background:var(--warn-soft,rgba(199,126,29,0.12));color:var(--warn,#9A6512)}
.sec-banner.warn .ic{background:var(--warn,#C77E1D)}
.sec-banner.info{background:var(--accent-soft,rgba(45,157,143,0.12));color:var(--accent-deep,#1D8578)}
.sec-banner.info .ic{background:var(--accent,#2D9D8F)}
.sec-banner .body{flex:1}
.sec-banner .body strong{font-weight:700}
.sec-banner .act{font-weight:600;text-decoration:underline;cursor:pointer;margin-left:4px}
/* 登录失败次数 */
.attempts-hint{font-size:11.5px;color:var(--warn,#9A6512);margin-top:6px;display:none}
.attempts-hint.show{display:block}
/* ============ 企业级 SSO ============ */
.sso-domain{display:flex;gap:8px;margin-bottom:10px}
.sso-domain .input-wrap{flex:1}
.sso-domain .btn{flex-shrink:0;min-height:44px}
.sso-domain-result{display:none;align-items:center;gap:9px;padding:10px 12px;border-radius:9px;background:var(--accent-soft,rgba(45,157,143,0.1));font-size:12px;color:var(--accent-deep,#1D8578);margin-bottom:10px}
.sso-domain-result.show{display:flex}
.sso-grid.ent{grid-template-columns:repeat(3,1fr)}
.sso-more{display:flex;justify-content:center;gap:16px;margin-top:10px;font-size:11.5px}
.sso-more a{color:var(--text-mute,#8a8a8a);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.sso-more a:hover{color:var(--accent-deep,#1D8578);text-decoration:underline}
/* ============ 双轨注册选择 ============ */
.reg-paths{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.reg-path{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1.5px solid var(--line,#E5E1D8);border-radius:12px;cursor:pointer;transition:all 0.15s;background:var(--card,#fff)}
.reg-path:hover{border-color:var(--accent,#2D9D8F);box-shadow:0 2px 12px rgba(45,157,143,0.1)}
.reg-path .ic{width:38px;height:38px;border-radius:10px;background:var(--accent-soft,rgba(45,157,143,0.12));color:var(--accent-deep,#1D8578);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.reg-path .t{font-size:14px;font-weight:700;color:var(--text,#1a1a1a)}
.reg-path .s{font-size:12px;color:var(--text-dim,#5c5c5c);margin-top:3px;line-height:1.5}
.reg-path .arrow{margin-left:auto;color:var(--text-faint,#b5b5b5);align-self:center}
.reg-path:hover .arrow{color:var(--accent-deep,#1D8578)}
/* MFA */
.mfa-hint{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:10px;background:var(--accent-soft,rgba(45,157,143,0.1));font-size:12.5px;color:var(--text-dim,#5c5c5c);margin-bottom:18px}
/* 触控目标 ≥44px */
.btn,.input-wrap,.otp-cell,.sso-btn{min-height:44px}
.trail{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;font-size:14px;opacity:0.55;padding:0}
.trail:hover{opacity:0.95}
/* ============ 响应式 ============ */
/* SSO 渐进展开 */
.sso-collapse{width:100%;margin-top:0;padding:8px;border:none;background:none;color:var(--text-dim,#5c5c5c);font-size:12.5px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;font-family:inherit;border-radius:8px;min-height:44px}
.sso-collapse:hover{background:var(--hover,rgba(0,0,0,0.04));color:var(--text,#1a1a1a)}
.sso-collapse .chev{font-size:9px;transition:transform 0.2s}
.sso-collapse[aria-expanded="true"] .chev{transform:rotate(180deg)}
#entSso:not([hidden]){animation:fade 0.25s ease}
/* 环境徽标只读 (非演示模式) */
.env-badge.readonly{cursor:default}
.env-badge.readonly:hover{background:none}
.env-badge.readonly .chev{display:none}
/* ============ 主题切换 ============ */
.theme-toggle{position:fixed;top:18px;right:20px;z-index:800;width:42px;height:42px;border-radius:50%;border:1.5px solid var(--line,#E0E6ED);background:var(--card,#fff);color:var(--text-dim,#5c5c5c);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.15s}
.theme-toggle:hover{color:var(--text,#1a1a1a);border-color:var(--text-mute,#8a8a8a)}
.theme-toggle .sun{display:none}
html[data-theme="dark"] .theme-toggle .moon{display:none}
html[data-theme="dark"] .theme-toggle .sun{display:block}
/* ============ 暗色主题 ============ */
html[data-theme="dark"]{--bg:#0E1621;--card:#151F2C;--input-bg:#1B2735;--line:#2A3648;--text:#E8EEF6;--text-dim:#A9B6C6;--text-mute:#718094;--text-faint:#485A70;--brand:#2D5C8F;--brand-mid:#3A6FA6;--brand-deep:#16304F;--accent-soft:rgba(45,157,143,0.18);--danger-soft:rgba(214,69,69,0.16);--hover:rgba(255,255,255,0.06);color-scheme:dark}
html[data-theme="dark"] body{background:var(--bg);color:var(--text)}
html[data-theme="dark"] .card{border-color:var(--line)}
html[data-theme="dark"] .ent-brand .mark{border-color:transparent}
html[data-theme="dark"] .ent-value{box-shadow:none}
html[data-theme="dark"] .env-menu{box-shadow:0 16px 48px rgba(0,0,0,0.55)}
html[data-theme="dark"] .overlay{background:rgba(0,0,0,0.6)}
html[data-theme="dark"] .input-wrap:focus-within{background:var(--input-bg)}
html[data-theme="dark"] .reg-path:hover{box-shadow:none}
html[data-theme="dark"] .sec-banner.warn{color:#E8A23D}
/* ============ 响应式 ============ */
@media (max-width:960px){
  .ent-main{grid-template-columns:1fr;gap:20px;padding:20px 20px 12px;align-items:start}
  .ent-left{max-width:none}
  .ent-brand{margin-bottom:14px}
  .ent-slogan{font-size:24px;display:inline}
  .ent-slogan br{display:none}
  .ent-lede{margin-bottom:0;font-size:12.5px;max-width:none}
  .ent-value{display:none}
  .ent-right{order:2}
  .ent-right .card{max-width:none}
  .ent-footer{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:380px){
  .ent-main{padding:16px 14px 8px}
  .ent-slogan{font-size:20px}
  .ent-lede{font-size:12px}
  .card-title{font-size:20px}
  .card-eyebrow span,.check span{white-space:normal}
  .ent-brand .wordmark{font-size:16px;letter-spacing:0.1em}
  .ent-brand .mark{width:40px;height:40px}
  .ent-footer{font-size:10.5px;gap:3px;padding:10px 8px 16px}
  .theme-toggle{top:12px;right:12px;width:38px;height:38px}
}

/* 线性图标 */
.lead svg,.trail svg,.next-item .ic svg,.mfa-ic svg{display:block}
.trail .i-eye-off{display:none}
.trail[aria-pressed="true"] .i-eye{display:none}
.trail[aria-pressed="true"] .i-eye-off{display:block}
.mfa-ic{color:var(--accent-deep,#1D8578);flex-shrink:0}
.next-item .ic{color:var(--accent-deep,#1D8578);display:inline-flex}
