/* =====================================================================
   Soporte Oscarexlab — portal de clientes
   ===================================================================== */
:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --soft: #f1f4f9;
  --text: #1a1d2e;
  --muted: #6b7280;
  --light: #9ca3af;
  --border: #e2e6ee;
  --accent: #248ae6;
  --accent-d: #1a6ab8;
  --accent-soft: rgba(36, 138, 230, .10);
  --ok: #15803d;   --ok-bg: #dcfce7;
  --warn: #b45309; --warn-bg: #fef3c7;
  --err: #dc2626;  --err-bg: #fee2e2;
  --info: #1d4ed8; --info-bg: #dbeafe;
  --dark: #1a1d2e;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .14);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.55;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .4em; }
h1 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 .8em; }
.hd-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hd-muted { color: var(--muted); }
.hd-small { font-size: .8rem; }
.hd-center { text-align: center; }
.hd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hd-eyebrow { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 .3rem; }
.hd-eyebrow a { text-decoration: none; }

/* ---------- Barra superior ---------- */
.hd-top { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(255,255,255,.04); }
.hd-top__in { display: flex; align-items: center; gap: 18px; height: 62px; }
.hd-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.hd-brand__txt b { color: var(--accent); font-weight: 700; }
.hd-brand small { font-weight: 500; font-size: .78rem; color: rgba(255,255,255,.55); border-left: 1px solid rgba(255,255,255,.2); padding-left: 10px; margin-left: 2px; }
.hd-brand__mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-d)); font-size: .9rem; }
.hd-nav { display: flex; gap: 4px; margin-left: auto; }
.hd-nav a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .88rem; font-weight: 500; padding: 8px 12px; border-radius: 9px; display: flex; gap: 8px; align-items: center; }
.hd-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.hd-nav a.is-on { color: #fff; background: rgba(36,138,230,.22); }
.hd-user { position: relative; }
.hd-user summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 22px; color: rgba(255,255,255,.85); font-size: .86rem; }
.hd-user summary::-webkit-details-marker { display: none; }
.hd-user summary:hover { background: rgba(255,255,255,.07); }
.hd-user summary .fa-chevron-down { font-size: .65rem; opacity: .6; }
.hd-user__menu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: var(--card); color: var(--text); border-radius: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 6px; z-index: 30; }
.hd-user__who { padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; display: grid; gap: 1px; }
.hd-user__who span { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.hd-user__who em { font-style: normal; font-size: .75rem; color: var(--accent); font-weight: 600; }
.hd-user__menu a, .hd-user__menu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 8px; font: inherit;
  font-size: .86rem; color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.hd-user__menu a:hover, .hd-user__menu button:hover { background: var(--soft); }
.hd-user__menu form { margin: 0; }
.hd-user__menu i { width: 16px; color: var(--muted); }
.hd-avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #64748b, #334155); color: #fff; font-weight: 600; font-size: .8rem; }
.hd-avatar--staff { background: linear-gradient(135deg, var(--accent), var(--accent-d)); }
@media (max-width: 760px) {
  .hd-brand small { display: none; }
  .hd-nav a span, .hd-user__name { display: none; }
  .hd-top__in { gap: 8px; }
}

/* ---------- Estructura ---------- */
.hd-main { flex: 1; padding-top: 28px; padding-bottom: 56px; }
.hd-pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hd-pagehead h1 { margin: 0; }
.hd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hd-layout2 { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
.hd-side { display: grid; gap: 16px; position: sticky; top: 82px; }
@media (max-width: 900px) { .hd-layout2 { grid-template-columns: 1fr; } .hd-side { position: static; } }
.hd-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 16px; }
.hd-cardhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.hd-cardhead h2 { margin: 0; }
@media (max-width: 560px) { .hd-card { padding: 16px; } }

/* ---------- Avisos ---------- */
.hd-alert { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 10px; font-size: .88rem; margin: 0 0 14px; }
.hd-alert i { margin-top: 3px; }
.hd-alert--err  { background: var(--err-bg); color: #991b1b; }
.hd-alert--ok   { background: var(--ok-bg); color: #166534; }
.hd-alert--info { background: var(--info-bg); color: #1e3a8a; }
.hd-err { color: var(--err); font-size: .78rem; }

/* ---------- Botones ---------- */
.hd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .9rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-d)); color: #fff; border: 1px solid transparent; border-radius: 10px;
  padding: 10px 18px; text-decoration: none; cursor: pointer; transition: filter .15s, transform .05s; white-space: nowrap; }
.hd-btn:hover { filter: brightness(1.07); }
.hd-btn:active { transform: translateY(1px); }
.hd-btn:disabled { opacity: .6; cursor: progress; }
.hd-btn--ghost { background: var(--card); color: var(--text); border-color: var(--border); }
.hd-btn--ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.hd-btn--sm { padding: 6px 12px; font-size: .8rem; }
.hd-btn--block { width: 100%; padding: 12px; }
.hd-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.hd-actions--split { justify-content: space-between; }

/* ---------- Formularios ---------- */
.hd-form { display: grid; gap: 16px; }
.hd-form h2 { margin: 0; }
.hd-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.hd-field > span:first-child, .hd-field legend { font-size: .84rem; font-weight: 600; padding: 0; margin-bottom: 6px; }
.hd-field em { font-style: normal; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: .92rem; color: var(--text); background: var(--card); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
input[readonly] { background: var(--soft); color: var(--muted); }
textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hd-pass { position: relative; display: block; }
.hd-pass input { padding-right: 44px; }
.hd-pass__eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--light); cursor: pointer; padding: 8px 10px; }
.hd-pass__eye:hover { color: var(--accent); }
.hd-caps { color: var(--warn); font-size: .78rem; }
.hd-meter { height: 5px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.hd-meter i { display: block; height: 100%; width: 0; border-radius: 5px; transition: width .25s, background .25s; }

.hd-seg { display: flex; background: var(--soft); border: 1px solid var(--border); border-radius: 11px; padding: 3px; }
.hd-seg label, .hd-seg a { flex: 1; }
.hd-seg input { position: absolute; opacity: 0; pointer-events: none; }
.hd-seg b, .hd-seg a { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 8px 6px; border-radius: 8px;
  font-weight: 500; font-size: .88rem; cursor: pointer; color: var(--muted); text-decoration: none; }
.hd-seg input:checked + b, .hd-seg a.is-on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.hd-seg input:focus-visible + b { outline: 2px solid var(--accent); }
.hd-seg--scope { max-width: 360px; margin-bottom: 16px; }

.hd-depts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.hd-deptopt { --dept: #94a3b8; position: relative; }
.hd-deptopt input { position: absolute; opacity: 0; pointer-events: none; }
.hd-deptopt span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 11px;
  cursor: pointer; font-weight: 500; font-size: .9rem; transition: border-color .15s, background .15s; }
.hd-deptopt span:hover { border-color: var(--dept); }
.hd-deptopt input:checked + span { border-color: var(--dept); background: color-mix(in srgb, var(--dept) 9%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dept) 18%, transparent); }
.hd-deptopt input:focus-visible + span { outline: 2px solid var(--dept); }
.hd-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dept); flex: none; }

.hd-drop { position: relative; display: block; border: 1.5px dashed var(--border); border-radius: 12px; padding: 16px; text-align: center;
  color: var(--muted); font-size: .88rem; cursor: pointer; transition: border-color .15s, background .15s; }
.hd-drop:hover, .hd-drop.is-over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.hd-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.hd-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hd-files:empty { display: none; }
.hd-files li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .84rem; background: var(--soft); border-radius: 8px; padding: 7px 10px; }
.hd-files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-files button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 2px 6px; }

/* ---------- Acceso (login, invitación, recuperar) ---------- */
body.hd-auth { background: radial-gradient(ellipse at top, rgba(36,138,230,.16), transparent 60%), var(--bg); }
body.hd-auth .hd-main { display: grid; place-items: start center; padding-top: 7vh; }
.hd-authcard { width: 100%; max-width: 420px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 32px 28px 26px; }
.hd-authcard__head { text-align: center; margin-bottom: 22px; }
.hd-authcard__head p { color: var(--muted); font-size: .9rem; margin: 0; }
.hd-authcard__icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-d)); box-shadow: 0 10px 24px rgba(36,138,230,.35); }
.hd-authcard__icon--warn { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 10px 24px rgba(245,158,11,.3); }
.hd-authcard__icon--ok { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 10px 24px rgba(34,197,94,.3); }
.hd-authcard__links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; font-size: .85rem; }
.hd-authcard__links a:not(.hd-btn) { text-decoration: none; }
.hd-authcard__note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- Lista de tickets ---------- */
.hd-callout { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; text-decoration: none;
  background: var(--warn-bg); color: #78350f; border: 1px solid #fde68a; }
.hd-callout span { flex: 1; }
.hd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hd-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.hd-tabs a { padding: 7px 12px; border-radius: 9px; text-decoration: none; color: var(--muted); font-size: .86rem; font-weight: 500; }
.hd-tabs a b { font-weight: 600; font-size: .75rem; background: var(--soft); color: var(--muted); border-radius: 20px; padding: 1px 7px; margin-left: 4px; }
.hd-tabs a:hover { color: var(--text); }
.hd-tabs a.is-on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.hd-tabs a.is-on b { background: var(--accent); color: #fff; }
.hd-search { position: relative; min-width: 240px; }
.hd-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--light); font-size: .85rem; }
.hd-search input { padding-left: 34px; }
@media (max-width: 640px) { .hd-search { min-width: 0; width: 100%; } }

.hd-tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hd-trow { --dept: #94a3b8; display: flex; gap: 14px; align-items: stretch; background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px 14px 0; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .1s; overflow: hidden; }
.hd-trow:hover { border-color: #c7d6ea; box-shadow: var(--shadow); transform: translateY(-1px); }
.hd-trow.is-waiting { border-color: #fcd34d; }
.hd-trow__bar { width: 4px; border-radius: 0 4px 4px 0; background: var(--dept); flex: none; }
.hd-trow__main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.hd-trow__meta { font-size: .76rem; color: var(--muted); }
.hd-trow__subj { font-weight: 600; font-size: .96rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-trow__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.hd-trow__side { display: grid; gap: 4px; justify-items: end; align-content: center; font-size: .78rem; color: var(--muted); text-align: right; white-space: nowrap; }
.hd-new { color: var(--warn); font-weight: 600; }
@media (max-width: 600px) { .hd-trow { flex-wrap: wrap; } .hd-trow__side { grid-auto-flow: column; justify-items: start; width: 100%; padding-left: 18px; } }
.hd-empty { text-align: center; padding: 48px 20px; color: var(--muted); background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius); }
.hd-empty > i { font-size: 2rem; color: #cbd5e1; margin-bottom: 10px; display: block; }
.hd-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: .86rem; color: var(--muted); }
.hd-pager a { text-decoration: none; font-weight: 500; }

/* Etiquetas */
.hd-badge, .hd-pill, .hd-dept { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
.hd-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hd-badge--abierto           { background: var(--info-bg); color: var(--info); }
.hd-badge--en_curso          { background: #ede9fe; color: #6d28d9; }
.hd-badge--esperando_cliente { background: var(--warn-bg); color: var(--warn); }
.hd-badge--resuelto          { background: var(--ok-bg); color: var(--ok); }
.hd-badge--cerrado           { background: var(--soft); color: var(--muted); }
.hd-pill { background: var(--soft); color: var(--muted); }
.hd-prio--alta    { background: #ffedd5; color: #c2410c; }
.hd-prio--urgente { background: var(--err-bg); color: var(--err); }
.hd-dept { --dept: #94a3b8; background: color-mix(in srgb, var(--dept) 12%, white); color: color-mix(in srgb, var(--dept) 80%, black); }
.hd-dept::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dept); }

/* ---------- Conversación ---------- */
.hd-thread { display: grid; gap: 12px; margin-bottom: 16px; }
.hd-msg { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.hd-msg--soporte { border-left: 3px solid var(--accent); }
.hd-msg header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .88rem; }
.hd-msg header time { margin-left: auto; color: var(--light); font-size: .78rem; }
.hd-msg__body { overflow-wrap: anywhere; }
.hd-via { font-size: .72rem; color: var(--muted); background: var(--soft); border-radius: 20px; padding: 1px 8px; }
.hd-msg header .hd-via + time { margin-left: 8px; }
.hd-msg header .hd-via { margin-left: auto; }
.hd-att { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px; }
.hd-att a { font-size: .8rem; background: var(--soft); border-radius: 8px; padding: 6px 10px; text-decoration: none; color: var(--text); }
.hd-att a:hover { color: var(--accent); }
.hd-att em { color: var(--light); font-style: normal; margin-left: 4px; }
.hd-sys { text-align: center; font-size: .78rem; color: var(--light); }
.hd-details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 12px; font-size: .86rem; }
.hd-details dt { color: var(--muted); }
.hd-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.hd-tips ul { margin: 0; padding-left: 18px; font-size: .86rem; color: var(--muted); display: grid; gap: 4px; }
.hd-tips p { font-size: .86rem; margin: 0; }
.hd-activity { list-style: none; margin: 0 0 10px; padding: 0; display: grid; }
.hd-activity li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .86rem; }
.hd-activity li:last-child { border-bottom: 0; }
.hd-activity li > i { color: var(--ok); }
.hd-activity li.is-fail > i { color: var(--err); }
.hd-activity time { margin-left: auto; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.hd-activity small { color: var(--muted); }

/* ---------- Ayuda ---------- */
.hd-hero { text-align: center; padding: 20px 0 28px; }
.hd-bigsearch { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 16px auto 0; background: var(--card); border: 1.5px solid var(--border);
  border-radius: 999px; padding: 0 18px; box-shadow: var(--shadow); }
.hd-bigsearch:focus-within { border-color: var(--accent); }
.hd-bigsearch i { color: var(--light); }
.hd-bigsearch input { border: 0; box-shadow: none !important; height: 52px; padding: 0; background: transparent; }
.hd-faqs { max-width: 820px; margin: 0 auto 24px; }
.hd-faq-group { margin-bottom: 22px; }
.hd-faq-group h2 { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.hd-faq { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; }
.hd-faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 500; list-style: none; position: relative; }
.hd-faq summary::-webkit-details-marker { display: none; }
.hd-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--muted); transition: transform .2s; }
.hd-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hd-faq__a { padding: 0 18px 16px; color: var(--muted); }
.hd-cta { max-width: 820px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hd-cta h2 { margin: 0 0 4px; } .hd-cta p { margin: 0; }

/* ---------- Pie ---------- */
.hd-foot { border-top: 1px solid var(--border); padding: 18px 0; font-size: .8rem; color: var(--muted); background: var(--card); }
.hd-foot__in { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hd-foot a { color: var(--muted); }

/* ---------- Verificación en dos pasos ---------- */
.hd-otp { font-size: 1.4rem !important; letter-spacing: .32em; text-align: center; font-variant-numeric: tabular-nums; }
.hd-otp--sm { font-size: 1.05rem !important; letter-spacing: .2em; }
.hd-linkbtn { background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; padding: 6px; }
.hd-linkbtn:hover { color: var(--accent); }
.hd-pill--ok { background: var(--ok-bg); color: var(--ok); }
.hd-steps { margin: 0 0 12px; padding-left: 20px; font-size: .9rem; line-height: 1.7; }
.hd-qr { display: flex; justify-content: center; margin: 0 auto 10px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; width: max-content; background: #fff; }
.hd-qr svg { display: block; width: 200px; height: 200px; }
.hd-secret { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--soft); border-radius: 8px; padding: 8px 12px; text-align: center; word-break: break-all; user-select: all; }
.hd-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 14px; background: var(--soft); border-radius: 12px; margin-bottom: 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem; text-align: center; user-select: all; }
.hd-2fa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hd-form--box { border: 1px solid var(--border); border-radius: 12px; padding: 14px; gap: 10px; }
.hd-form--box h3 { font-size: .9rem; margin: 0; }
.hd-btn--danger { background: var(--card); color: var(--err); border-color: #fecaca; }
.hd-btn--danger:hover { background: var(--err-bg); filter: none; }
.hd-actions--start { justify-content: flex-start; }
@media (max-width: 640px) { .hd-2fa-grid { grid-template-columns: 1fr; } }
.hd-mt { margin-top: 14px; }
