:root {
  --verde: #00a884; --verde-osc: #008069;
  --bg: #eae6df; --panel: #ffffff; --panel-2: #f0f2f5; --linea: #e9edef; --hover: #f5f6f6; --activo: #f0f2f5;
  --txt: #111b21; --txt-2: #667781; --txt-3: #8696a0;
  --chat-bg: #efeae2; --in: #ffffff; --out: #d9fdd3; --quote-in: #f5f6f6; --quote-out: #d1f4cc;
  --sistema: #ffffffd9; --sombra: 0 1px .5px rgba(11,20,26,.13);
  --azul: #53bdeb; --rojo: #ea0038; --amarillo: #ffd279;
  --rail: #f0f2f5; --mark: #fff3a3;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c1317; --panel: #111b21; --panel-2: #202c33; --linea: #222d34; --hover: #202c33; --activo: #2a3942;
  --txt: #e9edef; --txt-2: #8696a0; --txt-3: #667781;
  --chat-bg: #0b141a; --in: #202c33; --out: #005c4b; --quote-in: #1d282f; --quote-out: #025144;
  --sistema: #182229; --sombra: 0 1px .5px rgba(0,0,0,.4); --rail: #202c33; --mark: #6b5f12;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1317; --panel: #111b21; --panel-2: #202c33; --linea: #222d34; --hover: #202c33; --activo: #2a3942;
    --txt: #e9edef; --txt-2: #8696a0; --txt-3: #667781;
    --chat-bg: #0b141a; --in: #202c33; --out: #005c4b; --quote-in: #1d282f; --quote-out: #025144;
    --sistema: #182229; --sombra: 0 1px .5px rgba(0,0,0,.4); --rail: #202c33; --mark: #6b5f12;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--txt); font: 14.2px/1.4 "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: #027eb5; }
:root[data-theme="dark"] a { color: #53bdeb; }
.hidden { display: none !important; }
.muted { color: var(--txt-2); }
.small { font-size: 12.5px; }
.error { color: var(--rojo); min-height: 1.2em; }
svg { fill: currentColor; }

/* ---------- login */
.login { position: fixed; inset: 0; display: grid; place-items: center; background: linear-gradient(var(--verde-osc) 0 220px, var(--bg) 220px); padding: 16px; }
.login-card { background: var(--panel); width: 100%; max-width: 380px; padding: 32px 28px; border-radius: 6px; box-shadow: 0 17px 50px rgba(11,20,26,.19); display: flex; flex-direction: column; gap: 14px; }
.login-card h1 { font-size: 20px; font-weight: 500; margin: 0; text-align: center; }
.login-card p { margin: 0; text-align: center; }
.login-logo { text-align: center; }
.aviso-privado { background: var(--panel-2); border-left: 4px solid #b8975a; border-radius: 6px; padding: 10px 12px; font-size: 13px; color: var(--txt-2); line-height: 1.45; }
.aviso-privado b { display: block; color: var(--txt); margin-bottom: 3px; }
.btn.volver { justify-content: center; background: transparent; border: 1px solid var(--linea); color: var(--txt); }
.btn.volver:hover { background: var(--hover); }
.login-card label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--txt-2); }
input, select, textarea { background: var(--panel-2); border: 1px solid transparent; border-radius: 8px; padding: 9px 12px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--verde); }
.btn { border: 0; border-radius: 20px; padding: 9px 18px; cursor: pointer; background: var(--panel-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn.primary { background: var(--verde); color: #fff; }
.btn.primary:hover { background: var(--verde-osc); }
.btn.small { padding: 5px 12px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- layout */
.app { display: flex; height: 100vh; height: 100dvh; max-width: 1700px; margin: 0 auto; background: var(--panel); box-shadow: 0 6px 18px rgba(11,20,26,.05); }
.rail { width: 64px; flex: none; background: var(--rail); display: flex; flex-direction: column; align-items: center; padding: 10px 0; gap: 6px; border-right: 1px solid var(--linea); }
.rail-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--txt-2); cursor: pointer; display: grid; place-items: center; }
.rail-btn svg { width: 22px; height: 22px; }
.rail-btn:hover { background: var(--activo); }
.rail-btn.active { background: var(--activo); color: var(--txt); }
.rail-sep { width: 32px; height: 1px; background: var(--linea); margin: 4px 0; }
.rail-grow { flex: 1; }
.avatar-btn span { width: 32px; height: 32px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; }

.side { width: 30%; min-width: 340px; max-width: 480px; flex: none; display: flex; flex-direction: column; border-right: 1px solid var(--linea); background: var(--panel); }
.side-head { height: 59px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; flex: none; }
.side-head h2 { margin: 0; font-size: 21px; font-weight: 600; }
.badge-ro { font-size: 11.5px; padding: 3px 9px; border-radius: 10px; background: var(--panel-2); color: var(--txt-2); }
.side-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.search { margin: 0 12px 8px; position: relative; }
.search input { width: 100%; padding-left: 38px; border-radius: 8px; }
.search svg { position: absolute; left: 11px; top: 50%; translate: 0 -50%; width: 18px; color: var(--txt-2); }
.chips { display: flex; gap: 6px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; border-radius: 16px; padding: 5px 12px; background: var(--panel-2); color: var(--txt-2); cursor: pointer; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip.on { background: #d9fdd3; color: #008069; }
:root[data-theme="dark"] .chip.on { background: #0a332c; color: #00a884; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.chip .n { opacity: .7; font-size: 12px; }
.list { flex: 1; overflow-y: auto; min-height: 0; }
.list-info { padding: 6px 16px; font-size: 12.5px; color: var(--txt-2); }
.section-title { padding: 14px 16px 6px; color: var(--verde); font-size: 14px; }
.row { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 13px; height: 72px; cursor: pointer; position: relative; }
.row:hover { background: var(--hover); }
.row.sel { background: var(--activo); }
.row-main { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--linea); padding-right: 4px; }
.row-top, .row-bot { display: flex; align-items: center; gap: 6px; min-width: 0; }
.row-name { flex: 1; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-time { font-size: 12px; color: var(--txt-2); flex: none; }
.row-prev { flex: 1; color: var(--txt-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-prev mark, .snip mark { background: transparent; color: var(--verde); font-weight: 600; }
.row-labels { display: flex; gap: 3px; flex: none; }
.row-labels i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.nombre-hint { font-size: 11px; color: var(--txt-3); border: 1px solid var(--linea); border-radius: 8px; padding: 0 5px; flex: none; }
.archivo-row { height: 50px; gap: 20px; padding-left: 28px; color: var(--txt); }
.archivo-row .n { margin-left: auto; color: var(--verde); font-size: 12.5px; padding-right: 8px; }

.avatar { width: 49px; height: 49px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 17px; background: #dfe5e7; overflow: hidden; }
.avatar svg { width: 60%; height: 60%; fill: #fff; }
.avatar.sm { width: 40px; height: 40px; font-size: 15px; }
.avatar.lg { width: 200px; height: 200px; font-size: 64px; margin: 10px auto; }

/* ---------- main / chat */
.main { flex: 1; min-width: 0; display: flex; position: relative; background: var(--panel-2); }
.empty { margin: auto; text-align: center; max-width: 560px; padding: 24px; }
.empty h1 { font-weight: 300; font-size: 30px; margin: 18px 0 8px; }
.empty-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.empty-stats div { background: var(--panel); border-radius: 10px; padding: 14px 8px; }
.empty-stats b { display: block; font-size: 22px; font-weight: 500; color: var(--verde); }
.empty-stats span { font-size: 12.5px; color: var(--txt-2); }
.lock { margin-top: 26px; }
.chat { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
.chat-head { height: 59px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px; background: var(--panel-2); border-left: 1px solid var(--linea); }
.chat-head .avatar { width: 40px; height: 40px; font-size: 15px; cursor: pointer; }
.chat-head-info { flex: 1; min-width: 0; cursor: pointer; }
.chat-name { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-sub { font-size: 13px; color: var(--txt-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head-labels { display: flex; gap: 4px; flex-wrap: nowrap; overflow: hidden; max-width: 34%; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 2px 9px; border-radius: 10px; background: var(--panel); white-space: nowrap; }
.pill i { width: 8px; height: 8px; border-radius: 50%; }
.icon-btn { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; color: var(--txt-2); cursor: pointer; display: grid; place-items: center; position: relative; flex: none; }
.icon-btn:hover { background: var(--activo); }
.icon-btn svg { width: 22px; height: 22px; }
.date-hidden { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; width: 100%; }
.date-hidden::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.back-btn { display: none; }
.msgs { flex: 1; overflow-y: auto; background-color: var(--chat-bg); position: relative;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 22px 22px; }
:root[data-theme="dark"] .msgs { background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px); }
.msgs-inner { padding: 12px 6% 18px; display: flex; flex-direction: column; }
.chat-foot { flex: none; min-height: 52px; background: var(--panel-2); display: flex; align-items: center; justify-content: center; padding: 8px 16px; font-size: 13px; color: var(--txt-2); text-align: center; }
.to-bottom { position: absolute; right: 22px; bottom: 70px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--panel); box-shadow: 0 1px 3px rgba(11,20,26,.3); color: var(--txt-2); cursor: pointer; display: grid; place-items: center; }
.to-bottom svg { width: 24px; }
.day { align-self: center; margin: 10px 0 8px; padding: 5px 12px; border-radius: 8px; background: var(--sistema); box-shadow: var(--sombra); font-size: 12.5px; color: var(--txt-2); text-transform: uppercase; position: sticky; top: 6px; z-index: 2; }
/* cada día en su propio bloque: la fecha fija de arriba se va con su día y no se apila sobre las demás */
.dia { display: flex; flex-direction: column; }
.loading { align-self: center; padding: 10px; color: var(--txt-2); font-size: 13px; }
.m { display: flex; margin-bottom: 2px; }
.m.first { margin-top: 10px; }
.m.yo { justify-content: flex-end; }
.b { max-width: min(65%, 560px); background: var(--in); border-radius: 7.5px; padding: 6px 7px 8px 9px; box-shadow: var(--sombra); position: relative; word-wrap: break-word; overflow-wrap: anywhere; }
.m.yo .b { background: var(--out); }
.m.first .b { border-top-left-radius: 0; }
.m.yo.first .b { border-top-left-radius: 7.5px; border-top-right-radius: 0; }
.m.first .b::before { content: ""; position: absolute; top: 0; left: -8px; border: 8px solid transparent; border-top-color: var(--in); border-right-color: var(--in); border-width: 0 8px 13px 0; border-color: transparent var(--in) transparent transparent; }
.m.yo.first .b::before { left: auto; right: -8px; border-width: 0 0 13px 8px; border-color: transparent transparent transparent var(--out); }
.m.hl .b { animation: hl 2.4s ease-out; }
@keyframes hl { 0%, 40% { box-shadow: 0 0 0 3px var(--verde); } 100% { box-shadow: var(--sombra); } }
.who { font-size: 12.8px; font-weight: 500; margin-bottom: 2px; }
.fwd { font-size: 12.5px; color: var(--txt-2); font-style: italic; margin-bottom: 2px; }
.txt { white-space: pre-wrap; }
.txt code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: rgba(0,0,0,.06); padding: 0 3px; border-radius: 3px; }
.meta { float: right; margin: 6px 0 -5px 10px; font-size: 11px; color: var(--txt-2); display: inline-flex; gap: 3px; align-items: center; white-space: nowrap; position: relative; top: 2px; }
:root[data-theme="dark"] .m.yo .meta { color: #ffffff99; }
.tick { width: 16px; height: 11px; flex: none; vertical-align: -1px; }
.tick.read { color: var(--azul); }
.meta .star { width: 11px; height: 11px; color: var(--txt-2); }
.deleted { font-style: italic; color: var(--txt-2); }
.quote { display: block; background: var(--quote-in); border-left: 4px solid #06cf9c; border-radius: 6px; padding: 5px 8px; margin: 0 0 5px -2px; font-size: 13px; cursor: pointer; max-height: 80px; overflow: hidden; }
.m.yo .quote { background: var(--quote-out); }
.quote b { display: block; color: #06cf9c; font-weight: 500; font-size: 12.8px; }
.quote span { color: var(--txt-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.reacs { position: absolute; bottom: -14px; left: 8px; background: var(--panel); border-radius: 12px; padding: 1px 6px; font-size: 13px; box-shadow: 0 1px 2px rgba(11,20,26,.25); cursor: default; }
.m.yo .reacs { left: auto; right: 8px; }
.m.has-reac { margin-bottom: 16px; }
.img { display: block; border-radius: 6px; max-width: 330px; width: 100%; min-height: 60px; max-height: 360px; object-fit: cover; cursor: zoom-in; margin: -2px -3px 4px -5px; background: rgba(0,0,0,.08); }
.vid { display: block; border-radius: 6px; max-width: 330px; width: 100%; max-height: 360px; margin: -2px -3px 4px -5px; background: #000; }
.sticker { width: 150px; height: 150px; object-fit: contain; display: block; }
.m.sticker-m .b { background: transparent; box-shadow: none; padding: 0; }
.m.sticker-m .b::before { display: none; }
audio { width: 290px; max-width: 100%; height: 40px; display: block; margin: 2px 0; }
.falta { display: flex; gap: 10px; align-items: center; border: 1px dashed var(--txt-3); border-radius: 8px; padding: 12px; margin-bottom: 4px; min-width: 240px; color: var(--txt-2); font-size: 13px; }
.falta .ico { font-size: 26px; }
.falta b { color: var(--txt); font-weight: 500; display: block; }
.doc { display: flex; gap: 10px; align-items: center; background: rgba(0,0,0,.05); border-radius: 6px; padding: 10px; margin: 0 -2px 4px -4px; min-width: 240px; text-decoration: none; color: inherit; }
:root[data-theme="dark"] .doc { background: rgba(0,0,0,.2); }
.doc .ico { width: 30px; height: 36px; border-radius: 3px; background: #e2584d; color: #fff; display: grid; place-items: center; font-size: 9px; font-weight: 700; flex: none; }
.doc .dn { font-size: 14px; word-break: break-all; }
.doc .dm { font-size: 12px; color: var(--txt-2); }
.card { display: block; background: rgba(0,0,0,.05); border-radius: 6px; padding: 8px 10px; margin: 0 -2px 5px -4px; text-decoration: none; color: inherit; }
:root[data-theme="dark"] .card { background: rgba(0,0,0,.2); }
.card img { width: 100%; max-height: 160px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 6px; }
.card b { display: block; font-weight: 500; }
.card span { font-size: 12.5px; color: var(--txt-2); display: block; }
.call { display: flex; gap: 10px; align-items: center; padding: 2px 4px; min-width: 200px; }
.call .ci { width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.07); display: grid; place-items: center; }
.call .ci svg { width: 18px; }
.call.perdida .ci { color: var(--rojo); }
mark.hit { background: var(--mark); color: inherit; border-radius: 2px; }

/* ---------- drawer */
.drawer { width: 30%; min-width: 340px; max-width: 450px; flex: none; display: flex; flex-direction: column; border-left: 1px solid var(--linea); background: var(--panel-2); }
.drawer-head { height: 59px; display: flex; align-items: center; gap: 14px; padding: 0 12px; background: var(--panel-2); flex: none; }
.drawer-head h3 { margin: 0; font-size: 16px; font-weight: 400; }
.drawer-body { flex: 1; overflow-y: auto; }
.blk { background: var(--panel); padding: 14px 24px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(11,20,26,.06); }
.blk h4 { margin: 0 0 8px; font-weight: 400; color: var(--txt-2); font-size: 14px; }
.blk .big { font-size: 22px; text-align: center; }
.blk .center { text-align: center; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13.5px; }
.kv span:nth-child(odd) { color: var(--txt-2); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--linea); margin: 0 -24px 10px; padding: 0 16px; overflow-x: auto; }
.tab { border: 0; background: transparent; padding: 9px 10px; cursor: pointer; color: var(--txt-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab.on { color: var(--verde); border-bottom-color: var(--verde); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.grid .g { aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--panel-2); display: grid; place-items: center; font-size: 11px; color: var(--txt-2); text-align: center; cursor: pointer; padding: 4px; position: relative; }
.grid .g img, .grid .g video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mini-list .it { padding: 8px 0; border-bottom: 1px solid var(--linea); cursor: pointer; font-size: 13.5px; }
.mini-list .it:hover { background: var(--hover); }
.mini-list .it small { color: var(--txt-2); display: block; }
.res { padding: 10px 24px; border-bottom: 1px solid var(--linea); cursor: pointer; background: var(--panel); }
.res:hover { background: var(--hover); }
.res small { color: var(--txt-2); display: block; font-size: 12px; }
.snip { font-size: 14px; white-space: pre-wrap; }
.form { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: flex; gap: 8px; }
.form-row > * { flex: 1; min-width: 0; }

/* ---------- vistas de lista */
.pad { padding: 8px 16px; }
.lbl-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--linea); }
.lbl-row:hover { background: var(--hover); }
.lbl-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.lbl-ico svg { width: 22px; fill: #fff; }
.lbl-row .n { margin-left: auto; color: var(--txt-2); font-size: 13px; }
.qr { padding: 12px 16px; border-bottom: 1px solid var(--linea); }
.qr b { color: var(--verde); font-weight: 500; }
.qr p { margin: 4px 0 6px; white-space: pre-wrap; font-size: 13.5px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tbl th { color: var(--txt-2); font-weight: 500; position: sticky; top: 0; background: var(--panel); }

/* ---------- flotantes */
.lightbox { position: fixed; inset: 0; background: rgba(11,20,26,.94); z-index: 50; display: flex; flex-direction: column; }
.lb-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #e9edef; }
.lb-bar span { flex: 1; font-size: 14px; }
.lb-bar .icon-btn { color: #e9edef; }
.lb-stage { flex: 1; display: grid; place-items: center; min-height: 0; padding: 0 16px 16px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; }
.menu { position: fixed; z-index: 40; background: var(--panel); border-radius: 6px; box-shadow: 0 2px 10px rgba(11,20,26,.25); padding: 8px 0; min-width: 220px; }
.menu .mi { padding: 10px 22px; cursor: pointer; font-size: 14.5px; }
.menu .mi:hover { background: var(--hover); }
.menu .mh { padding: 6px 22px 10px; color: var(--txt-2); font-size: 13px; border-bottom: 1px solid var(--linea); margin-bottom: 6px; }
.modal { position: fixed; inset: 0; background: rgba(11,20,26,.55); z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal-card { background: var(--panel); border-radius: 6px; padding: 22px 24px; width: 100%; max-width: 420px; box-shadow: 0 17px 50px rgba(11,20,26,.3); }
.modal-card h3 { margin: 0 0 14px; font-weight: 500; }
.modal-card .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.toast { position: fixed; bottom: 24px; left: 50%; translate: -50% 0; background: #323739; color: #fff; padding: 10px 18px; border-radius: 6px; z-index: 70; font-size: 14px; }

/* ---------- celular / pantallas angostas */
@media (max-width: 900px) {
  .drawer { position: absolute; inset: 0 0 0 auto; width: 100%; max-width: none; min-width: 0; z-index: 20; }
}
@media (max-width: 720px) {
  .rail { position: fixed; bottom: 0; left: 0; right: 0; width: auto; height: 56px; flex-direction: row; justify-content: space-around; padding: 0 8px; z-index: 30; border-right: 0; border-top: 1px solid var(--linea); }
  .rail-sep, .rail-grow { display: none; }
  .app { padding-bottom: 56px; }
  .side { width: 100%; max-width: none; min-width: 0; border-right: 0; }
  .main { display: none; }
  .app.en-chat .side { display: none; }
  .app.en-chat .main { display: flex; }
  .app.en-chat .rail { display: none; }
  .app.en-chat { padding-bottom: 0; }
  .back-btn { display: grid; }
  .chat-head { padding-left: 4px; gap: 8px; }
  .chat-head-labels { display: none; }
  .msgs-inner { padding: 10px 12px 16px; }
  .b { max-width: 85%; }
  .empty-stats { grid-template-columns: 1fr 1fr; }
}

/* verificación en dos pasos */
.pasos-2fa { margin: 0 0 6px; padding-left: 20px; color: var(--txt-2); font-size: 14px; }
.qr-2fa { display: flex; justify-content: center; margin: 6px 0 10px; }
.qr-2fa svg { background: #fff; border-radius: 6px; max-width: 100%; height: auto; }
.clave-2fa { font-family: ui-monospace, Menlo, monospace; user-select: all; word-break: break-all; }
