.mfa-v134-panel {
  position: relative;
  overflow: hidden;
}

.mfa-v134-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #a78bfa, #2563eb);
}

.mfa-v134-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid #475569;
  border-radius: 999px;
  padding: 5px 11px;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.mfa-v134-pill.good { border-color: rgba(52, 211, 153, .45); background: rgba(6, 95, 70, .34); color: #a7f3d0; }
.mfa-v134-pill.warn { border-color: rgba(251, 191, 36, .5); background: rgba(120, 53, 15, .3); color: #fde68a; }

.mfa-v134-requirement {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 14px 0;
  border: 1px solid #334155;
  border-radius: 15px;
  background: #0b1220;
  padding: 12px;
}

.mfa-v134-requirement > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #1e293b;
  color: #c4b5fd;
  font-weight: 950;
}

.mfa-v134-requirement b,
.mfa-v134-requirement small { display: block; }
.mfa-v134-requirement b { color: #f8fafc; font-size: 13px; }
.mfa-v134-requirement small { margin-top: 3px; color: #94a3b8; font-size: 11px; line-height: 1.45; }
.mfa-v134-requirement.required { border-color: rgba(167, 139, 250, .45); background: rgba(76, 29, 149, .18); }

.mfa-v134-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr)) auto auto;
  gap: 9px;
  align-items: stretch;
}

.mfa-v134-summary article,
.mfa-v134-summary button {
  min-height: 58px;
  border: 1px solid #334155;
  border-radius: 14px;
  background: #070a12;
  padding: 10px 13px;
}

.mfa-v134-summary article small,
.mfa-v134-summary article b { display: block; }
.mfa-v134-summary article small { color: #94a3b8; font-size: 10px; font-weight: 850; }
.mfa-v134-summary article b { margin-top: 3px; color: #fff; font-size: 18px; }
.mfa-v134-summary button { border: 0; background: #2563eb; color: #fff; font-size: 12px; font-weight: 950; }
.mfa-v134-summary button.secondary { background: #7c3aed; }
.mfa-v134-summary button:disabled { cursor: wait; opacity: .6; }

.mfa-v134-factors { display: grid; gap: 8px; margin-top: 12px; }
.mfa-v134-factor {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #334155;
  border-radius: 14px;
  background: #0b1220;
  padding: 10px;
}

.mfa-v134-factor > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #1e293b;
  color: #fbbf24;
  font-weight: 950;
}

.mfa-v134-factor.verified > span { background: #064e3b; color: #6ee7b7; }
.mfa-v134-factor b,
.mfa-v134-factor small { display: block; }
.mfa-v134-factor b { overflow: hidden; color: #f8fafc; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.mfa-v134-factor small { margin-top: 2px; color: #94a3b8; font-size: 10px; }
.mfa-v134-factor button { min-height: 36px; border: 0; border-radius: 10px; background: #7f1d1d; color: #fee2e2; padding: 0 12px; font-size: 10px; font-weight: 950; }
.mfa-v134-empty { margin: 0; border: 1px dashed #334155; border-radius: 14px; padding: 18px; color: #94a3b8; text-align: center; font-size: 12px; }

.mfa-v134-enrollment {
  margin-top: 14px;
  border: 1px solid rgba(96, 165, 250, .45);
  border-radius: 18px;
  background: #071426;
  padding: 15px;
}

.mfa-v134-enrollment > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mfa-v134-enrollment > header small { color: #60a5fa; font-size: 9px; font-weight: 950; letter-spacing: .12em; }
.mfa-v134-enrollment > header h3 { margin: 2px 0 0; color: #f8fafc; font-size: 17px; }
.mfa-v134-enrollment > header button { width: 36px; height: 36px; border: 0; border-radius: 11px; background: #1e293b; color: #fff; font-size: 22px; }
.mfa-v134-enrollment-grid { display: grid; grid-template-columns: 180px 1fr; gap: 14px; margin-top: 13px; }
.mfa-v134-qr { min-height: 170px; border-radius: 15px; background: #fff; padding: 10px; display: grid; place-items: center; color: #334155; text-align: center; font-size: 10px; }
.mfa-v134-qr img { width: 150px; height: 150px; object-fit: contain; }
.mfa-v134-secret { align-self: center; min-width: 0; }
.mfa-v134-secret small { display: block; color: #94a3b8; font-size: 10px; font-weight: 900; }
.mfa-v134-secret code { display: block; overflow-wrap: anywhere; margin: 7px 0; border: 1px solid #334155; border-radius: 11px; background: #020617; padding: 12px; color: #bfdbfe; font-size: 14px; letter-spacing: .12em; }
.mfa-v134-secret button { min-height: 38px; border: 0; border-radius: 10px; background: #1d4ed8; color: #fff; padding: 0 12px; font-size: 11px; font-weight: 950; }
.mfa-v134-secret p { margin: 8px 0 0; color: #94a3b8; font-size: 10px; line-height: 1.45; }
.mfa-v134-verify { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 12px; }
.mfa-v134-verify label span { display: block; margin: 0 0 5px 3px; color: #93c5fd; font-size: 9px; font-weight: 950; }
.mfa-v134-verify input { width: 100%; height: 48px; border: 1px solid #475569; border-radius: 12px; background: #020617; color: #fff; padding: 0 13px; font: 900 20px/1 ui-monospace, monospace; letter-spacing: .25em; text-align: center; outline: 0; }
.mfa-v134-verify input:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, .16); }
.mfa-v134-verify button { height: 48px; border: 0; border-radius: 12px; background: #22c55e; color: #052e16; padding: 0 17px; font-size: 12px; font-weight: 950; }
.mfa-v134-message { min-height: 0; margin: 8px 0 0; color: #fca5a5; font-size: 11px; font-weight: 850; }
.mfa-v134-message:empty { display: none; }
.mfa-v134-message.success { color: #86efac; }

.mfa-v134-panel > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; border-top: 1px solid #273449; padding-top: 12px; }
.mfa-v134-panel > footer p { max-width: 650px; margin: 0; color: #64748b; font-size: 10px; line-height: 1.5; }
.mfa-v134-panel > footer button { flex: 0 0 auto; min-height: 38px; border: 1px solid #475569; border-radius: 11px; background: transparent; color: #cbd5e1; padding: 0 12px; font-size: 10px; font-weight: 900; }

.mfa-v134-overlay { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; background: rgba(2, 6, 23, .86); padding: 18px; backdrop-filter: blur(12px); }
.mfa-v134-dialog { position: relative; width: min(430px, 96vw); border: 1px solid rgba(167, 139, 250, .35); border-radius: 26px; background: linear-gradient(145deg, #111827, #0b1220); box-shadow: 0 32px 90px rgba(0, 0, 0, .65); color: #fff; padding: 28px; text-align: center; }
.mfa-v134-dialog-close { position: absolute; top: 12px; right: 12px; width: 37px; height: 37px; border: 0; border-radius: 12px; background: #1e293b; color: #fff; font-size: 23px; }
.mfa-v134-dialog-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 22px; background: linear-gradient(145deg, #7c3aed, #2563eb); font-size: 26px; font-weight: 950; }
.mfa-v134-dialog-icon.warning { background: linear-gradient(145deg, #d97706, #b45309); }
.mfa-v134-dialog > small { color: #c4b5fd; font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.mfa-v134-dialog h2 { margin: 4px 0 8px; font-size: 25px; font-weight: 950; }
.mfa-v134-dialog > p { margin: 0 auto 16px; color: #cbd5e1; font-size: 12px; line-height: 1.55; }
.mfa-v134-dialog label { display: grid; gap: 6px; text-align: left; }
.mfa-v134-dialog label span { color: #cbd5e1; font-size: 10px; font-weight: 900; }
.mfa-v134-dialog input { width: 100%; height: 58px; border: 1px solid #475569; border-radius: 15px; background: #020617; color: #fff; font: 950 26px/1 ui-monospace, monospace; letter-spacing: .34em; text-align: center; outline: 0; }
.mfa-v134-dialog input:focus { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(167, 139, 250, .16); }
.mfa-v134-dialog-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; margin-top: 13px; }
.mfa-v134-dialog-actions button { min-height: 48px; border: 0; border-radius: 13px; background: #22c55e; color: #052e16; padding: 8px 12px; font-size: 11px; font-weight: 950; }
.mfa-v134-dialog-actions button.secondary { background: #1e293b; color: #e2e8f0; }
.mfa-v134-signout { margin-top: 12px; border: 0; background: transparent; color: #94a3b8; font-size: 10px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }

html[data-valenzo-theme="light"] .mfa-v134-panel { background: #fff; border-color: #cbd5e1; color: #0f172a; }
html[data-valenzo-theme="light"] .mfa-v134-panel .settings-title h2,
html[data-valenzo-theme="light"] .mfa-v134-factor b,
html[data-valenzo-theme="light"] .mfa-v134-summary article b { color: #0f172a; }
html[data-valenzo-theme="light"] .mfa-v134-requirement,
html[data-valenzo-theme="light"] .mfa-v134-factor,
html[data-valenzo-theme="light"] .mfa-v134-summary article { background: #f8fafc; border-color: #cbd5e1; }
html[data-valenzo-theme="light"] .mfa-v134-requirement b { color: #0f172a; }
html[data-valenzo-theme="light"] .mfa-v134-requirement small,
html[data-valenzo-theme="light"] .mfa-v134-factor small,
html[data-valenzo-theme="light"] .mfa-v134-summary article small { color: #475569; }
html[data-valenzo-theme="light"] .mfa-v134-empty { border-color: #cbd5e1; color: #475569; }
html[data-valenzo-theme="light"] .mfa-v134-panel > footer p { color: #475569; }
html[data-valenzo-theme="light"] .mfa-v134-panel > footer button { border-color: #94a3b8; color: #334155; }

@media (max-width: 760px) {
  .mfa-v134-summary { grid-template-columns: 1fr 1fr; }
  .mfa-v134-summary button { width: 100%; }
  .mfa-v134-enrollment-grid { grid-template-columns: 1fr; }
  .mfa-v134-qr { width: 180px; margin: 0 auto; }
  .mfa-v134-panel > footer { align-items: stretch; flex-direction: column; }
}

@media (max-width: 480px) {
  .mfa-v134-panel { padding: 16px; }
  .mfa-v134-summary { grid-template-columns: 1fr; }
  .mfa-v134-factor { grid-template-columns: 34px minmax(0, 1fr); }
  .mfa-v134-factor button { grid-column: 1 / -1; width: 100%; }
  .mfa-v134-verify { grid-template-columns: 1fr; }
  .mfa-v134-dialog { padding: 25px 18px 20px; }
  .mfa-v134-dialog-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mfa-v134-panel *, .mfa-v134-overlay * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
