/*
 * Client two-step verification: code step (login pop-up and stand-alone page), Account security
 * page, welcome-page invitation and the header button. Everything is under .bl2fa* so it can't
 * clash with Bootstrap 3 or boxlegal-style*.css. Colours follow the Box Legal site.
 */
.bl2fa, .bl2fa-acc, .bl2fa-invite, .bl2fa-page {
  --b2-blue: #0261b1;
  --b2-sky: #3c8fca;
  --b2-sky-hover: #3382ba;
  --b2-sky-soft: #eef5fb;
  --b2-ring: rgba(60, 143, 202, .24);
  --b2-ink: #1f2d38;
  --b2-ink-2: #253b4b;
  --b2-text: #3c3c3c;
  --b2-muted: #63717a;
  --b2-label: #526775;
  --b2-line: #dce3e8;
  --b2-line-2: #cdd6dd;
  --b2-green: #2f9e58;
  --b2-green-ink: #1e7a45;
  --b2-green-soft: #e9f6ee;
  --b2-amber: #a8660b;
  --b2-amber-soft: #fff6e6;
  --b2-amber-line: #f0d3a1;
  --b2-red: #c9302c;
  --b2-red-soft: #fdf1f1;
  --b2-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--b2-text);
  -webkit-font-smoothing: antialiased;
}
.bl2fa *, .bl2fa-acc *, .bl2fa-invite *, .bl2fa-page * { box-sizing: border-box; }
.bl2fa svg, .bl2fa-acc svg, .bl2fa-invite svg, .bl2fa-navbtn svg {
  width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em;
}

/* ================= Code step ================= */
.bl2fa { max-width: 420px; margin: 0 auto; padding: 2px 4px 4px; }
.bl2fa-progress { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 18px; }
.bl2fa-progress span { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--b2-muted); }
.bl2fa-progress span::before { content: ""; height: 3px; border-radius: 3px; background: var(--b2-sky); }
.bl2fa-progress .is-done { color: var(--b2-green-ink); }
.bl2fa-progress .is-now { color: var(--b2-ink); font-weight: 700; }
.bl2fa-head { text-align: center; }
.bl2fa-icon {
  position: relative; width: 64px; height: 64px; margin: 2px auto 14px; border-radius: 50%;
  background: var(--b2-sky-soft); color: var(--b2-blue); display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.bl2fa-icon::after {
  content: ""; position: absolute; top: -7px; right: -7px; bottom: -7px; left: -7px; border-radius: 50%;
  border: 2px solid rgba(60, 143, 202, .28); animation: bl2faPing 2.2s ease-out infinite;
}
@keyframes bl2faPing { 0% { transform: scale(.9); opacity: 1; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
.bl2fa .bl2fa-title { margin: 0 0 6px; font-size: 21px; font-weight: 700; color: var(--b2-ink); letter-spacing: -.01em; line-height: 1.25; }
.bl2fa .bl2fa-text { margin: 0 auto; font-size: 14.5px; line-height: 1.5; color: var(--b2-text); max-width: 340px; }
.bl2fa-text b { color: var(--b2-ink); white-space: nowrap; }
.bl2fa-notice {
  display: flex; gap: 8px; align-items: flex-start; text-align: left; margin: 12px 0 0; padding: 9px 12px; border-radius: 4px;
  background: var(--b2-amber-soft); border: 1px solid var(--b2-amber-line); color: #6d4708; font-size: 13px; line-height: 1.45;
}
.bl2fa-notice svg { margin-top: 2px; color: var(--b2-amber); }

.bl2fa-otp { display: flex; justify-content: center; gap: 8px; margin: 20px 0 6px; }
.bl2fa-otp input {
  width: 50px; height: 58px; border: 1.5px solid #c9d3db; border-radius: 8px; background: #fff; text-align: center;
  font: 600 25px/1 var(--b2-mono); color: var(--b2-ink); outline: 0; padding: 0; margin: 0; box-shadow: none;
  transition: border-color .15s, box-shadow .15s, background .2s;
}
.bl2fa-otp input:focus { border-color: var(--b2-sky); box-shadow: 0 0 0 3px var(--b2-ring); }
.bl2fa-otp input.is-filled { border-color: #8db8da; background: #f7fbfe; }
.bl2fa-otp-gap { width: 8px; }
.bl2fa-otp.is-error { animation: bl2faShake .4s; }
.bl2fa-otp.is-error input { border-color: #e08b88; background: var(--b2-red-soft); color: var(--b2-red); }
.bl2fa-otp.is-ok input { border-color: var(--b2-green); background: var(--b2-green-soft); color: var(--b2-green-ink); }
@keyframes bl2faShake { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.bl2fa-msg { min-height: 20px; text-align: center; font-size: 13.5px; color: var(--b2-muted); margin: 0 0 14px; line-height: 1.45; }
.bl2fa-msg.is-err { color: var(--b2-red); font-weight: 700; }
.bl2fa-msg.is-ok { color: var(--b2-green-ink); font-weight: 700; }

.bl2fa-check {
  position: relative; display: flex !important; align-items: flex-start; gap: 9px; margin: 0 0 16px !important;
  font-size: 14px !important; font-weight: 400 !important; color: var(--b2-text); cursor: pointer; user-select: none; max-width: none !important;
}
.bl2fa-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.bl2fa-box {
  flex: none; width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid #b6c1ca; border-radius: 4px; background: #fff;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; transition: all .15s;
}
.bl2fa-box svg { opacity: 0; transform: scale(.6); transition: all .15s; stroke-width: 3; }
.bl2fa-check input:checked + .bl2fa-box { background: var(--b2-sky); border-color: var(--b2-sky); }
.bl2fa-check input:checked + .bl2fa-box svg { opacity: 1; transform: none; }
.bl2fa-check input:focus + .bl2fa-box { box-shadow: 0 0 0 3px var(--b2-ring); }
.bl2fa-check small { display: block; color: var(--b2-muted); font-size: 12.5px; margin-top: 2px; }

.bl2fa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 4px;
  padding: 10px 18px; font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; white-space: nowrap;
  font-family: inherit; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.bl2fa-btn:focus { outline: 0; box-shadow: 0 0 0 3px var(--b2-ring); }
.bl2fa-btn-primary { background: var(--b2-sky); color: #fff; }
.bl2fa-btn-primary:hover { background: var(--b2-sky-hover); color: #fff; }
.bl2fa-btn-primary[disabled] { background: #a9c9e2; cursor: not-allowed; }
.bl2fa-btn-block { width: 100%; padding: 13px 22px; font-size: 16px; }
.bl2fa-btn-ghost { background: #fff; border-color: var(--b2-line-2); color: var(--b2-ink-2); }
.bl2fa-btn-ghost:hover { border-color: #aebbc6; background: #f7f9fa; color: var(--b2-ink-2); }
.bl2fa-btn-danger-ghost { background: #fff; border-color: #e7b9b7; color: var(--b2-red); }
.bl2fa-btn-danger-ghost:hover { background: var(--b2-red-soft); color: var(--b2-red); }
.bl2fa-btn-danger { background: var(--b2-red); color: #fff; }
.bl2fa-btn-danger:hover { background: #b02a26; color: #fff; }
.bl2fa-btn-sm { padding: 6px 12px; font-size: 13px; }
.bl2fa-btn-ghost[disabled], .bl2fa-btn-danger-ghost[disabled] { opacity: .5; cursor: not-allowed; }
.bl2fa-spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: bl2faSpin .7s linear infinite; }
@keyframes bl2faSpin { to { transform: rotate(360deg); } }
.bl2fa-link {
  color: #126491; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0;
  padding: 0; font-size: inherit; font-family: inherit; cursor: pointer;
}
.bl2fa-link:hover { color: #0b4565; }
.bl2fa-link[disabled] { color: var(--b2-muted); text-decoration: none; cursor: default; font-weight: 400; }
.bl2fa-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; margin-top: 14px; }
.bl2fa-help {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eceff2;
  font-size: 12.5px; color: var(--b2-muted); line-height: 1.5;
}
.bl2fa-help svg { margin-top: 2px; color: #9aa6b0; font-size: 15px; }
.bl2fa-help .bl2fa-link { font-weight: 400; }
.bl2fa-done { text-align: center; padding: 14px 0 6px; }
.bl2fa-done .bl2fa-btn { margin-top: 18px; }
.bl2fa-done-check { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; background: var(--b2-green-soft); display: flex; align-items: center; justify-content: center; }
.bl2fa-done-check svg { width: 40px; height: 40px; stroke: var(--b2-green); stroke-width: 3; stroke-dasharray: 48; stroke-dashoffset: 48; animation: bl2faDraw .5s .1s ease forwards; }
@keyframes bl2faDraw { to { stroke-dashoffset: 0; } }
.bl2fa-done-bar { height: 3px; background: #edf1f4; border-radius: 3px; margin: 18px auto 0; max-width: 220px; overflow: hidden; }
.bl2fa-done-bar i { display: block; height: 100%; width: 0; background: var(--b2-green); animation: bl2faFill 1s ease forwards; }
@keyframes bl2faFill { to { width: 100%; } }
.box.bl2fa-modalbox { animation: bl2faIn .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes bl2faIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
#login-modal .bl2fa-modalbox { border: 0; padding: 0; }
@media (max-width: 480px) {
  .bl2fa-otp { gap: 6px; }
  .bl2fa-otp input { width: 41px; height: 52px; font-size: 22px; }
  .bl2fa-otp-gap { width: 2px; }
}

/* ================= Stand-alone page ================= */
.bl2fa-page { min-height: 100%; background: #f2f2f1; }
.bl2fa-page-top { background: #272727; height: 46px; }
.bl2fa-page-nav { background: #3c3c3c; height: 50px; position: relative; }
.bl2fa-page-logo { position: absolute; left: 24px; top: 8px; width: 96px; background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.bl2fa-page-logo img { display: block; width: 100%; height: auto; }
.bl2fa-page-main { padding: 80px 16px 60px; }
.bl2fa-page-card {
  max-width: 470px; margin: 0 auto; background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,27,45,.06), 0 18px 48px rgba(15,27,45,.12);
}
.bl2fa-page-card::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #3c8fca, #0261b1); }
.bl2fa-page-head { padding: 16px 22px 15px; border-bottom: 1px solid #eceff2; font-size: 18px; font-weight: 700; color: #1f2d38; }
.bl2fa-page-body { padding: 22px 24px 22px; }

/* Header shield button (Secure Panel Area): styled inline in app/includes/legacy/php/header.php
   so it looks right before this stylesheet (loaded in the footer) arrives. */

/* ================= Welcome page invitation ================= */
.bl2fa-invite {
  margin: 28px 0 8px; display: flex; gap: 16px 18px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--b2-line); border-top: 2px solid var(--b2-sky); border-radius: 3px; background: #fff;
  box-shadow: 0 3px 12px rgba(20, 37, 49, .08); padding: 18px 20px;
}
.bl2fa-invite-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--b2-sky-soft); color: var(--b2-blue); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.bl2fa-invite-body { flex: 1; min-width: 240px; }
.bl2fa-label { color: var(--b2-label); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.bl2fa-invite h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--b2-ink-2); }
.bl2fa-invite p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.bl2fa-invite-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ================= Account security page ================= */
.bl2fa-acc { padding: 30px 0 48px; }
.bl2fa-acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; max-width: 1120px; align-items: start; }
.bl2fa-card { background: #fff; border: 1px solid var(--b2-line); border-top: 2px solid var(--b2-sky); border-radius: 3px; box-shadow: 0 3px 12px rgba(20, 37, 49, .08); }
.bl2fa-card h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--b2-ink-2); line-height: 1.25; }
.bl2fa-card-head { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px 18px; border-bottom: 1px solid #edf0f3; }
.bl2fa-card-head .bl2fa-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--b2-sky-soft); color: var(--b2-blue); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.bl2fa-card-head p { margin: 5px 0 0; font-size: 14px; line-height: 1.5; color: var(--b2-text); }
.bl2fa-card-head > div { flex: 1; min-width: 0; }
.bl2fa-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.bl2fa-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bl2fa-pill-off { background: #eef1f4; color: var(--b2-label); }
.bl2fa-pill-on { background: var(--b2-green-soft); color: var(--b2-green-ink); }
.bl2fa-pill-amber { background: var(--b2-amber-soft); color: var(--b2-amber); }
.bl2fa-body { padding: 22px 24px 24px; }
.bl2fa-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.bl2fa-benefit { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.bl2fa-benefit .bl2fa-b-ico { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #f2f6f9; color: var(--b2-blue); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.bl2fa-benefit b { display: block; color: var(--b2-ink-2); }
.bl2fa-callout { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: 4px; font-size: 13.5px; line-height: 1.5; margin-bottom: 20px; }
.bl2fa-callout svg { font-size: 18px; margin-top: 1px; }
.bl2fa-callout b { display: block; margin-bottom: 2px; }
.bl2fa-callout-amber { background: var(--b2-amber-soft); border: 1px solid var(--b2-amber-line); color: #5f3e07; }
.bl2fa-callout-amber svg { color: var(--b2-amber); }
.bl2fa-callout-blue { background: var(--b2-sky-soft); border: 1px solid #cfe2f1; color: #19476b; }
.bl2fa-callout-blue svg { color: var(--b2-blue); }
.bl2fa-callout-red { background: var(--b2-red-soft); border: 1px solid #f0c9c7; color: #7a1f1c; }
.bl2fa-callout-red svg { color: var(--b2-red); }
.bl2fa-sub-h { font-size: 13px; font-weight: 700; color: var(--b2-ink-2); margin: 0 0 10px; }
.bl2fa-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.bl2fa-method {
  position: relative; text-align: left; border: 1.5px solid var(--b2-line); background: #fff; border-radius: 6px; padding: 16px 40px 15px 16px;
  display: flex; gap: 12px; align-items: flex-start; color: var(--b2-text); cursor: pointer; font-family: inherit; font-size: 14px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.bl2fa-method:hover { border-color: #b6cfe3; }
.bl2fa-method.is-selected { border-color: var(--b2-sky); background: #f6fafd; box-shadow: 0 0 0 3px rgba(60,143,202,.12); }
.bl2fa-method[disabled] { opacity: .55; cursor: not-allowed; }
.bl2fa-method .bl2fa-m-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #f0f4f7; color: var(--b2-ink-2); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.bl2fa-method.is-selected .bl2fa-m-ico { background: var(--b2-sky); color: #fff; }
.bl2fa-method b { display: block; color: var(--b2-ink); font-size: 15px; margin-bottom: 3px; }
.bl2fa-method .bl2fa-d { font-size: 13px; color: var(--b2-muted); line-height: 1.45; display: block; word-break: break-word; }
.bl2fa-method .bl2fa-tick { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c9d3db; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; }
.bl2fa-method.is-selected .bl2fa-tick { background: var(--b2-sky); border-color: var(--b2-sky); }
.bl2fa-method .bl2fa-tick svg { stroke-width: 3.2; opacity: 0; }
.bl2fa-method.is-selected .bl2fa-tick svg { opacity: 1; }
.bl2fa-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--b2-blue); background: var(--b2-sky-soft); padding: 2px 7px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.bl2fa-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bl2fa-fine { font-size: 12.5px; color: var(--b2-muted); line-height: 1.5; }
.bl2fa-stepper { display: flex; align-items: center; margin: -2px 0 22px; padding: 0; list-style: none; }
.bl2fa-stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--b2-muted); white-space: nowrap; }
.bl2fa-stepper li + li::before { content: ""; width: 40px; height: 2px; background: #e3e8ec; margin: 0 12px; }
.bl2fa-stepper li.is-done + li::before, .bl2fa-stepper li.is-now::before { background: var(--b2-sky); }
.bl2fa-stepper .bl2fa-n { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 1.5px solid #c9d3db; color: var(--b2-muted); background: #fff; }
.bl2fa-stepper li.is-now { color: var(--b2-ink); font-weight: 700; }
.bl2fa-stepper li.is-now .bl2fa-n { border-color: var(--b2-sky); color: var(--b2-sky); box-shadow: 0 0 0 3px var(--b2-ring); }
.bl2fa-stepper li.is-done .bl2fa-n { background: var(--b2-sky); border-color: var(--b2-sky); color: #fff; }
.bl2fa-field { margin-bottom: 15px; }
.bl2fa-field > label, .bl2fa-flabel { display: block; font-size: 13.5px; font-weight: 700; color: var(--b2-ink); margin: 0 0 6px; }
.bl2fa-input { display: flex; align-items: stretch; border: 1px solid var(--b2-line-2); border-radius: 4px; background: #fff; max-width: 420px; transition: border-color .15s, box-shadow .15s; }
.bl2fa-input:focus-within { border-color: var(--b2-sky); box-shadow: 0 0 0 3px var(--b2-ring); }
.bl2fa-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 11px 12px; font-size: 15px; color: var(--b2-ink); box-shadow: none; height: auto; margin: 0; }
.bl2fa-input .bl2fa-prefix { display: flex; align-items: center; padding: 0 12px; color: var(--b2-ink-2); background: #f6f8f9; border-right: 1px solid #e3e8ec; border-radius: 4px 0 0 4px; font-size: 14px; font-weight: 600; }
.bl2fa-input .bl2fa-addon { display: flex; align-items: center; padding: 0 13px; color: #8c98a2; background: #f6f8f9; border-left: 1px solid #e3e8ec; border-radius: 0 4px 4px 0; }
.bl2fa-input.is-readonly { background: #f7f9fa; }
.bl2fa-help-text { font-size: 12.5px; color: var(--b2-muted); margin-top: 6px; }
.bl2fa-error { color: var(--b2-red); font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.bl2fa-setup-code { text-align: center; padding: 6px 0 2px; }
.bl2fa-setup-code h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--b2-ink); }
.bl2fa-setup-code p { margin: 0; font-size: 14px; }
.bl2fa-on-hero { display: flex; gap: 16px; align-items: center; padding: 22px 24px; background: linear-gradient(115deg, #f1faf4 0%, #f6fbf8 55%, #fff 100%); border-bottom: 1px solid #e3efe7; }
.bl2fa-on-hero.is-paused { background: linear-gradient(115deg, #fff8ea 0%, #fffaf2 55%, #fff 100%); border-bottom-color: #f3e3c3; }
.bl2fa-on-hero .bl2fa-shield { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--b2-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 8px 20px rgba(47,158,88,.28); }
.bl2fa-on-hero.is-paused .bl2fa-shield { background: #c58a1d; box-shadow: 0 8px 20px rgba(197,138,29,.25); }
.bl2fa-on-hero.is-new .bl2fa-shield { animation: bl2faPop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes bl2faPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.bl2fa-on-hero p { margin: 4px 0 0; font-size: 13.5px; color: #3f5a49; }
.bl2fa-rows { padding: 4px 24px 8px; }
.bl2fa-row { display: grid; grid-template-columns: 190px 1fr auto; gap: 8px 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf0f3; }
.bl2fa-row:last-child { border-bottom: 0; }
.bl2fa-row h4 { margin: 0; font-size: 14px; font-weight: 700; color: var(--b2-ink-2); }
.bl2fa-row h4 + p { margin: 3px 0 0; font-size: 12.5px; color: var(--b2-muted); line-height: 1.4; }
.bl2fa-val { font-size: 14px; color: var(--b2-ink); display: flex; gap: 10px; align-items: center; }
.bl2fa-val small { display: block; color: var(--b2-muted); font-size: 12.5px; }
.bl2fa-vi { width: 32px; height: 32px; border-radius: 50%; background: #f0f4f7; display: flex; align-items: center; justify-content: center; color: var(--b2-ink-2); flex: none; }
.bl2fa-devices { grid-column: 1 / -1; display: grid; gap: 8px; }
.bl2fa-device { display: flex; gap: 12px; align-items: center; border: 1px solid #e8edf1; border-radius: 6px; padding: 11px 12px; background: #fbfcfd; }
.bl2fa-device .bl2fa-vi { border-radius: 8px; background: #fff; border: 1px solid #e3e8ec; }
.bl2fa-device b { font-size: 13.5px; color: var(--b2-ink); }
.bl2fa-device small { display: block; font-size: 12px; color: var(--b2-muted); margin-top: 1px; }
.bl2fa-here { font-size: 10.5px; font-weight: 700; color: var(--b2-green-ink); background: var(--b2-green-soft); padding: 1px 6px; border-radius: 3px; margin-left: 6px; letter-spacing: .02em; }
.bl2fa-device .bl2fa-btn { margin-left: auto; }
.bl2fa-danger { margin: 0 24px 24px; padding: 16px; border: 1px solid #f0d6d5; border-radius: 6px; background: #fffafa; }
.bl2fa-danger-top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.bl2fa-danger-top > div { flex: 1; min-width: 220px; }
.bl2fa-danger h4 { margin: 0; font-size: 14px; font-weight: 700; color: var(--b2-ink-2); }
.bl2fa-danger p { margin: 3px 0 0; font-size: 12.5px; color: var(--b2-muted); }
.bl2fa-confirm { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #ecc9c7; }
.bl2fa-confirm p { font-size: 13.5px; margin: 0 0 12px; color: var(--b2-text); }
.bl2fa-unavail { text-align: center; padding: 34px 24px 32px; }
.bl2fa-unavail .bl2fa-u-ico { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 12px; background: #f0f3f6; color: var(--b2-label); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.bl2fa-unavail h3 { margin: 0 0 6px; color: var(--b2-ink-2); font-size: 18px; font-weight: 700; }
.bl2fa-unavail p { margin: 0 auto; max-width: 460px; font-size: 14px; line-height: 1.55; }
.bl2fa-aside { display: grid; gap: 18px; }
.bl2fa-aside .bl2fa-pad { padding: 18px 20px 20px; }
.bl2fa-aside h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; color: var(--b2-ink-2); }
.bl2fa-ro { display: grid; gap: 12px; margin: 0; }
.bl2fa-ro > div { display: grid; grid-template-columns: 18px 1fr; gap: 2px 10px; align-items: start; }
.bl2fa-ro svg { color: #9aa6b0; margin-top: 3px; }
.bl2fa-ro dt { font-size: 11.5px; color: var(--b2-label); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; grid-column: 2; }
.bl2fa-ro dd { margin: 0; grid-column: 2; font-size: 14px; color: var(--b2-ink); word-break: break-word; }
.bl2fa-ro-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #edf0f3; font-size: 12.5px; color: var(--b2-muted); line-height: 1.5; display: flex; gap: 8px; }
.bl2fa-ro-note svg { margin-top: 2px; }
.bl2fa-faq details { border-bottom: 1px solid #edf0f3; }
.bl2fa-faq details:last-child { border-bottom: 0; }
.bl2fa-faq summary { list-style: none; cursor: pointer; padding: 11px 0; font-size: 14px; font-weight: 600; color: var(--b2-ink-2); display: flex; justify-content: space-between; gap: 10px; }
.bl2fa-faq summary::-webkit-details-marker { display: none; }
.bl2fa-faq summary::after { content: "+"; color: var(--b2-sky); font-weight: 700; font-size: 17px; line-height: 1; transition: transform .2s; }
.bl2fa-faq details[open] summary::after { transform: rotate(45deg); }
.bl2fa-faq details p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; }
.bl2fa-acc .bl2fa-otp { margin-top: 18px; }
/* The Secure Panel Area content column is narrow below ~1500px: stack the side cards under the main card. */
@media (max-width: 1499px) {
  .bl2fa-acc-grid { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
  .bl2fa-aside { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 767px) {
  .bl2fa-aside { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bl2fa-benefits, .bl2fa-methods { grid-template-columns: 1fr; }
  .bl2fa-row { grid-template-columns: 1fr; }
  .bl2fa-card-head, .bl2fa-body, .bl2fa-rows, .bl2fa-on-hero { padding-left: 18px; padding-right: 18px; }
  .bl2fa-danger { margin: 0 18px 18px; }
  .bl2fa-on-hero { gap: 12px; align-items: flex-start; }
  .bl2fa-on-hero .bl2fa-shield { width: 42px; height: 42px; border-radius: 11px; font-size: 21px; }
  .bl2fa-card h2 { font-size: 18px; }
  .bl2fa-stepper .bl2fa-lbl { display: none; }
  .bl2fa-stepper li.is-now .bl2fa-lbl { display: inline; }
  .bl2fa-stepper li + li::before { width: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bl2fa *, .bl2fa-acc * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
