/* ==========================================================================
   Mardefondo · Área de soporte (/soporte/)
   Página propia: barra superior negra (como el sitio), contenido en modo claro
   y wiki tipo documentación. Los estilos del tema no se cargan aquí (inc/router.php).
   ========================================================================== */

:root {
	--a-bg: #f7f7f5;
	--a-surface: #ffffff;
	--a-surface-2: #f2f2ef;
	--a-surface-3: #ebebe7;
	--a-line: rgba(10, 10, 11, .09);
	--a-line-2: rgba(10, 10, 11, .17);
	--a-text: #3d3d42;
	--a-strong: #0a0a0b;
	--a-mute: #6e6e73;
	--a-accent: #ffd60a;
	--a-accent-soft: #fff6c2;
	--a-accent-ink: #7a5d00;
	--a-ok: #1a7f37;
	--a-ok-soft: #e7f5ea;
	--a-info: #0b5cad;
	--a-info-soft: #e8f1fb;
	--a-violet: #6b3fc2;
	--a-violet-soft: #f0eafb;
	--a-error: #c42b1c;
	--a-error-soft: #fdecea;
	--a-radius: 16px;
	--a-ease: cubic-bezier(.22, 1, .36, 1);
	--a-pad: clamp(16px, 4vw, 40px);
	--a-max: 1240px;
	--a-top: 68px;
	--f-heading: Rubik, system-ui, sans-serif;
	--f-body: Karla, system-ui, sans-serif;
	--f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
html { background: var(--a-bg); }
body.mfa-body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--a-bg);
	color: var(--a-text);
	font: 400 16px/1.6 var(--f-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.mfa-body *, .mfa-body *::before, .mfa-body *::after { box-sizing: border-box; }
.mfa-body img { max-width: 100%; height: auto; }
.mfa-body a { color: inherit; text-decoration: none; }
.mfa-body :focus-visible { outline: 2px solid var(--a-strong); outline-offset: 3px; border-radius: 4px; }
.mfa-body [hidden] { display: none !important; }
.mfa-body button, .mfa-body input, .mfa-body textarea, .mfa-body select { font: inherit; color: inherit; }
.mfa-body .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.mfa-body p { margin: 0; }
.mfa-body code { font: 600 .9em/1.2 var(--f-mono); padding: 2px 6px; border-radius: 6px; background: var(--a-surface-2); color: var(--a-strong); }
.mfa-body kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line-2), 0 1px 0 var(--a-line-2); font: 600 11.5px/1 var(--f-mono); color: var(--a-mute); }
.mfa-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--a-accent); color: #000 !important; }
.mfa-skip:focus { top: 12px; }
.mfa-ico { width: 20px; height: 20px; flex: none; }

.mfa { flex: 1 0 auto; width: 100%; }
.mfa-page { max-width: calc(var(--a-max) + 2 * var(--a-pad)); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--a-pad) clamp(56px, 8vw, 96px); }
.mfa-page--narrow { max-width: calc(640px + 2 * var(--a-pad)); padding-top: clamp(40px, 8vw, 96px); }

/* ---------- barra superior (negra, como la del sitio) ---------- */
.mfa-top { position: sticky; top: 0; z-index: 50; background: #0a0a0b; color: #fff; }
.admin-bar .mfa-top { top: 32px; }
.mfa-top__in { display: flex; align-items: center; gap: 28px; max-width: calc(var(--a-max) + 2 * var(--a-pad)); min-height: var(--a-top); margin: 0 auto; padding: 0 var(--a-pad); }
.mfa-layout-wiki .mfa-top__in { max-width: none; }
.mfa-brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.mfa-brand img { width: 30px; height: auto; }
.mfa-brand span { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .22); font: 700 15px/1 var(--f-heading); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.mfa-nav { display: flex; gap: 2px; min-width: 0; }
.mfa-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, .66); font-size: 15px; font-weight: 600; white-space: nowrap; transition: color .2s, background .2s; }
.mfa-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.mfa-nav a.is-current { color: #fff; }
.mfa-nav a.is-current::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px; height: 3px; border-radius: 3px 3px 0 0; background: var(--a-accent); }
.mfa-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--a-accent); color: #000; font-size: 11.5px; font-weight: 700; line-height: 1; }
.mfa-top__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mfa-top :focus-visible { outline-color: var(--a-accent); }
.mfa-searchbtn { display: inline-flex; align-items: center; gap: 10px; width: 230px; height: 38px; padding: 0 8px 0 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6) !important; font-size: 14.5px; cursor: pointer; transition: box-shadow .2s, background .2s, color .2s; }
.mfa-searchbtn:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); color: #fff !important; }
.mfa-searchbtn .mfa-ico { width: 17px; height: 17px; }
.mfa-searchbtn span { flex: 1; text-align: left; }
.mfa-body .mfa-searchbtn kbd { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .6); }
.mfa-toplink { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: 14.5px; font-weight: 600; }
.mfa-toplink:hover { color: #fff; }
.mfa-toplink .mfa-ico { width: 17px; height: 17px; }

.mfa-user { position: relative; }
.mfa-user summary { list-style: none; cursor: pointer; border-radius: 50%; }
.mfa-user summary::-webkit-details-marker { display: none; }
.mfa-user__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #0a0a0b; font: 700 15px/1 var(--f-heading); }
.mfa-user[open] .mfa-user__av { box-shadow: 0 0 0 3px var(--a-accent); }
.mfa-user__menu { position: absolute; right: 0; top: calc(100% + 14px); width: 260px; padding: 6px; border-radius: 14px; background: var(--a-surface); color: var(--a-text); box-shadow: 0 0 0 1px var(--a-line), 0 18px 40px -12px rgba(0, 0, 0, .35); }
.mfa-user__who { display: grid; gap: 2px; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--a-line); }
.mfa-user__who strong { color: var(--a-strong); font-size: 15px; overflow-wrap: anywhere; }
.mfa-user__who span { color: var(--a-mute); font-size: 13px; overflow-wrap: anywhere; }
.mfa-user__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--a-text); }
.mfa-user__menu a:hover { background: var(--a-surface-2); color: var(--a-strong); }
.mfa-user__menu .mfa-ico { width: 17px; height: 17px; color: var(--a-mute); }

/* ---------- pie ---------- */
.mfa-foot { flex: none; border-top: 1px solid var(--a-line); background: var(--a-surface); }
.mfa-foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: calc(var(--a-max) + 2 * var(--a-pad)); margin: 0 auto; padding: 20px var(--a-pad); font-size: 13.5px; color: var(--a-mute); }
.mfa-foot__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.mfa-foot a:hover { color: var(--a-strong); }

/* ---------- tipografía ---------- */
.mfa-eyebrow { display: block; margin-bottom: 8px; font: 600 12px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--a-mute); }
.mfa .mfa-h1 { margin: 0; font: 700 clamp(30px, 3.8vw, 44px)/1.08 var(--f-heading); letter-spacing: -.035em; color: var(--a-strong); }
.mfa .mfa-h1--sm { font-size: clamp(24px, 2.8vw, 34px); }
.mfa .mfa-h2 { margin: 0 0 16px; font: 700 clamp(20px, 2vw, 24px)/1.2 var(--f-heading); letter-spacing: -.025em; color: var(--a-strong); }
.mfa .mfa-h3 { margin: 0 0 14px; font: 700 18px/1.3 var(--f-heading); letter-spacing: -.015em; color: var(--a-strong); }
.mfa-lead { margin: 12px 0 0; max-width: 40em; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--a-text); }
.mfa-muted { color: var(--a-mute); font-size: 14px; }
.mfa-opt { color: var(--a-mute); font-weight: 400; font-size: .9em; }
.mfa-link { color: var(--a-strong) !important; font-weight: 600; text-decoration: underline !important; text-decoration-color: var(--a-line-2) !important; text-decoration-thickness: 1.5px !important; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.mfa-link:hover { text-decoration-color: var(--a-strong) !important; }

/* ---------- botones ---------- */
.mfa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border: 0; border-radius: 12px; font: 600 15px/1.2 var(--f-body); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--a-ease); }
.mfa-btn .mfa-ico { width: 18px; height: 18px; transition: transform .25s var(--a-ease); }
.mfa-btn--primary { background: var(--a-strong); color: #fff !important; }
.mfa-btn--primary:hover { background: #2a2a2e; }
.mfa-btn--primary:hover .mfa-ico:last-child:not(:first-child) { transform: translateX(3px); }
.mfa-btn--ghost { background: var(--a-surface); color: var(--a-strong) !important; box-shadow: inset 0 0 0 1px var(--a-line-2); }
.mfa-btn--ghost:hover { background: var(--a-surface-2); }
.mfa-btn--block { width: 100%; }
.mfa-btn--sm { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.mfa-btn[disabled] { opacity: .5; cursor: progress; }
.mfa-top .mfa-btn--primary { background: var(--a-accent); color: #000 !important; }
.mfa-top .mfa-btn--primary:hover { background: #ffe14d; }
.mfa-top .mfa-btn--ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.mfa-top .mfa-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.mfa-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--a-mute) !important; }
.mfa-back:hover { color: var(--a-strong) !important; }
.mfa-back .mfa-ico { width: 16px; height: 16px; }

/* ---------- tarjetas y avisos ---------- */
.mfa-card { padding: clamp(22px, 3vw, 36px); border-radius: var(--a-radius); background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line), 0 1px 2px rgba(0, 0, 0, .03); }
.mfa-card--flat { padding: clamp(20px, 2.4vw, 28px); }
.mfa-card__foot { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--a-line); font-size: 15px; }
.mfa-card__foot p { margin-bottom: 12px; }
.mfa-card__foot p:last-child { margin-bottom: 0; }
.mfa-card .mfa-lead { margin-bottom: 24px; }

.mfa-alert { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 22px; padding: 13px 16px; border-radius: 12px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line); color: var(--a-strong); font-size: 15px; }
.mfa-alert .mfa-ico { margin-top: 2px; }
.mfa-alert--success { background: var(--a-ok-soft); box-shadow: inset 0 0 0 1px rgba(26, 127, 55, .25); }
.mfa-alert--success .mfa-ico { color: var(--a-ok); }
.mfa-alert--error { background: var(--a-error-soft); box-shadow: inset 0 0 0 1px rgba(196, 43, 28, .3); }
.mfa-alert--error .mfa-ico { color: var(--a-error); }
.mfa-alert--warn { background: var(--a-accent-soft); box-shadow: inset 0 0 0 1px rgba(122, 93, 0, .25); }
.mfa-alert--warn .mfa-ico { color: var(--a-accent-ink); }
.mfa-alert--info { background: var(--a-info-soft); box-shadow: inset 0 0 0 1px rgba(11, 92, 173, .2); }
.mfa-alert--info .mfa-ico { color: var(--a-info); }

/* ---------- formularios ---------- */
.mfa-form { display: grid; gap: 18px; }
.mfa-field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.mfa-field > label, .mfa-label { padding: 0; font-size: 14px; font-weight: 600; color: var(--a-strong); }
.mfa .mfa-field input:not([type=checkbox]):not([type=radio]):not([type=file]),
.mfa .mfa-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 0;
	border-radius: 10px;
	background: var(--a-surface);
	box-shadow: inset 0 0 0 1px var(--a-line-2);
	color: var(--a-strong);
	font: 16px/1.5 var(--f-body);
	transition: box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
.mfa .mfa-field textarea { min-height: 150px; resize: vertical; }
.mfa .mfa-field input::placeholder, .mfa .mfa-field textarea::placeholder { color: #a1a1a6; }
.mfa .mfa-field input:hover, .mfa .mfa-field textarea:hover { box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .3); }
.mfa .mfa-field input:focus, .mfa .mfa-field textarea:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--a-strong), 0 0 0 4px rgba(10, 10, 11, .06); }
.mfa .mfa-field input[readonly] { color: var(--a-mute); background: var(--a-surface-2); box-shadow: none; }
.mfa .mfa-field.has-error input, .mfa .mfa-field.has-error textarea { box-shadow: inset 0 0 0 1.5px var(--a-error); }
.mfa-codebox { display: flex; align-items: center; gap: 8px; }
.mfa-codebox__sep { color: var(--a-mute); font-weight: 600; flex: none; }
.mfa .mfa-field .mfa-codebox__seg { width: auto; min-width: 0; text-align: center; padding-inline: 6px; font-size: 18px; font-weight: 600; }
.mfa .mfa-field .mfa-codebox__seg--3 { flex: 3 1 0; }
.mfa .mfa-field .mfa-codebox__seg--4 { flex: 4 1 0; }
.mfa .mfa-code { text-transform: uppercase; letter-spacing: .12em; font-family: var(--f-mono) !important; }
.mfa-field__error { color: var(--a-error); font-size: 13.5px; line-height: 1.4; }
.mfa-field__help { color: var(--a-mute); font-size: 13.5px; line-height: 1.4; }
.mfa-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mfa-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mfa-row--between { justify-content: space-between; }
.mfa-row--gap { margin-top: 8px; }
.mfa-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.mfa-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--a-text); cursor: pointer; }
.mfa-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; background: var(--a-surface); box-shadow: inset 0 0 0 1.5px var(--a-line-2); cursor: pointer; -webkit-appearance: none; appearance: none; transition: background .2s, box-shadow .2s; }
.mfa-check input:checked { background: var(--a-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.mfa-field.has-error .mfa-check input { box-shadow: inset 0 0 0 1.5px var(--a-error); }
.mfa-consents { display: grid; gap: 12px; margin: 4px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--a-line); }

.mfa-subjects__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.mfa-subject { position: relative; display: block; cursor: pointer; }
.mfa-subject input { position: absolute; opacity: 0; pointer-events: none; }
.mfa-subject span { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; height: 100%; padding: 10px 14px 10px 42px; border-radius: 12px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line-2); color: var(--a-strong); font-size: 15px; line-height: 1.35; transition: box-shadow .2s, background .2s; }
.mfa-subject strong { font-weight: 600; color: var(--a-strong); }
.mfa-subject small { font-size: 13px; color: var(--a-mute); line-height: 1.4; }
.mfa-subject span::before { content: ""; position: absolute; left: 15px; top: 18px; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--a-line-2); background: var(--a-surface); transition: box-shadow .2s; }
.mfa-subject:hover span { background: var(--a-surface-2); }
.mfa-subject input:checked + span { background: var(--a-surface); box-shadow: inset 0 0 0 2px var(--a-strong); }
.mfa-subject input:checked + span::before { box-shadow: inset 0 0 0 5px var(--a-strong); }
.mfa-subject input:focus-visible + span { outline: 2px solid var(--a-strong); outline-offset: 2px; }
.mfa-subjects.has-error .mfa-subject span { box-shadow: inset 0 0 0 1px var(--a-error); }

.mfa-file { position: relative; }
.mfa-file__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mfa-file__drop { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 15px 16px; border-radius: 12px; border: 1.5px dashed var(--a-line-2); background: var(--a-surface); color: var(--a-strong); cursor: pointer; transition: border-color .2s, background .2s; }
.mfa-file__drop .mfa-ico { grid-row: span 2; color: var(--a-mute); }
.mfa-file__text { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfa-file__hint { font-size: 13px; color: var(--a-mute); }
.mfa-file__drop:hover, .mfa-file.is-drag .mfa-file__drop { border-color: rgba(10, 10, 11, .4); background: var(--a-surface-2); }
.mfa-file.has-file .mfa-file__drop { border-style: solid; border-color: var(--a-ok); background: var(--a-ok-soft); }
.mfa-file.has-file .mfa-file__drop .mfa-ico { color: var(--a-ok); }
.mfa-file.has-error .mfa-file__drop { border-color: var(--a-error); }
.mfa-file:focus-within .mfa-file__drop { border-color: var(--a-strong); }
.mfa-file__clear { justify-self: start; padding: 0; border: 0; background: none; color: var(--a-mute); font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.mfa-file__clear:hover { color: var(--a-strong); }

/* ==========================================================================
   Entrar y registro
   ========================================================================== */
.mfa-page--auth { max-width: calc(1120px + 2 * var(--a-pad)); }
.mfa-auth__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mfa-auth__intro { padding-top: clamp(0px, 3vw, 32px); position: sticky; top: calc(var(--a-top) + 40px); }
.mfa-auth__intro .mfa-h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.045em; }
.mfa-auth__intro .mfa-muted { margin-top: 20px; }
.mfa-ticks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.mfa-ticks li { display: flex; gap: 12px; align-items: center; color: var(--a-strong); font-size: 16px; }
.mfa-ticks .mfa-ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--a-accent); color: #000; }

/* ==========================================================================
   Área con sesión
   ========================================================================== */
.mfa-head { margin-bottom: clamp(24px, 3.5vw, 36px); }
.mfa-head--row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; }
.mfa-head--row .mfa-badge { margin-bottom: 6px; }
.mfa-section { margin-top: clamp(32px, 4.5vw, 48px); }
.mfa-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.mfa-section__head .mfa-h2 { margin-bottom: 16px; }
.mfa-section__head .mfa-link { font-size: 14.5px; }

.mfa-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mfa-stat { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--a-radius); background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line); transition: box-shadow .2s, transform .25s var(--a-ease); }
.mfa-stat:hover { box-shadow: 0 0 0 1px var(--a-line-2), 0 8px 24px -14px rgba(0, 0, 0, .25); transform: translateY(-2px); }
.mfa-stat__n { font: 700 38px/1 var(--f-heading); letter-spacing: -.04em; color: var(--a-strong); }
.mfa-stat__l { font-size: 14px; color: var(--a-mute); }
.mfa-stat.is-hot { background: var(--a-accent-soft); box-shadow: 0 0 0 1px rgba(122, 93, 0, .25); }
.mfa-stat.is-hot .mfa-stat__n { color: var(--a-accent-ink); }

.mfa-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.mfa-action { display: grid; gap: 4px; align-content: start; padding: 22px; border-radius: var(--a-radius); background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line); transition: box-shadow .2s, transform .25s var(--a-ease); }
.mfa-action .mfa-ico { width: 38px; height: 38px; padding: 9px; margin-bottom: 14px; border-radius: 10px; background: var(--a-surface-2); color: var(--a-strong); box-shadow: inset 0 0 0 1px var(--a-line); }
.mfa-action:first-child .mfa-ico { background: var(--a-accent); box-shadow: none; color: #000; }
.mfa-action strong { font: 700 17px/1.3 var(--f-heading); letter-spacing: -.015em; color: var(--a-strong); }
.mfa-action span { font-size: 14px; line-height: 1.45; color: var(--a-mute); }
.mfa-action:hover { box-shadow: 0 0 0 1px var(--a-line-2), 0 8px 24px -14px rgba(0, 0, 0, .25); transform: translateY(-2px); }

.mfa-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mfa-guides a { display: grid; gap: 2px; height: 100%; padding: 16px 18px; border-radius: 14px; background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line); transition: box-shadow .2s; }
.mfa-guides a:hover { box-shadow: 0 0 0 1px var(--a-line-2); }
.mfa-guides span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--a-mute); }
.mfa-guides strong { color: var(--a-strong); font-size: 16px; }
.mfa-guides em { font-style: normal; font-size: 14px; color: var(--a-mute); line-height: 1.45; }

.mfa-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 99px; background: var(--a-surface-2); color: var(--a-strong); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.mfa-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mfa-badge--abierto { color: var(--a-accent-ink); background: var(--a-accent-soft); }
.mfa-badge--en_curso { color: var(--a-info); background: var(--a-info-soft); }
.mfa-badge--esperando { color: var(--a-violet); background: var(--a-violet-soft); }
.mfa-badge--resuelto { color: var(--a-ok); background: var(--a-ok-soft); }

.mfa-tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin-bottom: 18px; padding: 4px; border-radius: 12px; background: var(--a-surface-3); overflow-x: auto; }
.mfa-tabs a { padding: 7px 14px; border-radius: 9px; color: var(--a-mute); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.mfa-tabs a:hover { color: var(--a-strong); }
.mfa-tabs a.is-current { background: var(--a-surface); color: var(--a-strong); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

.mfa-tickets { list-style: none; margin: 0; padding: 0; border-radius: var(--a-radius); background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line); overflow: hidden; }
.mfa-trow + .mfa-trow { border-top: 1px solid var(--a-line); }
.mfa-trow a { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; transition: background .2s; }
.mfa-trow a:hover { background: var(--a-surface-2); }
.mfa-trow__ref { font: 600 13px/1 var(--f-mono); color: var(--a-mute); }
.mfa-trow__main { display: grid; gap: 2px; min-width: 0; }
.mfa-trow__main strong { color: var(--a-strong); font-weight: 600; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfa-trow__ex { color: var(--a-mute); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfa-trow__side { display: grid; justify-items: end; gap: 5px; }
.mfa-trow__side time { font-size: 13px; color: var(--a-mute); }
.mfa-trow--resuelto .mfa-trow__main strong { color: var(--a-text); font-weight: 500; }

.mfa-empty { display: grid; justify-items: center; gap: 12px; padding: 44px 24px; border-radius: var(--a-radius); background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line); text-align: center; color: var(--a-mute); }
.mfa-empty .mfa-ico { width: 30px; height: 30px; color: #b0b0b5; }
.mfa-empty--inline { display: block; padding: 22px; }

.mfa-split { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.mfa-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mfa-aside { padding: 20px 22px; border-radius: var(--a-radius); background: var(--a-surface-2); font-size: 15px; }
.mfa-aside .mfa-h3 { font-size: 16px; margin-bottom: 8px; }
.mfa-aside p + .mfa-h3 { margin-top: 24px; }
.mfa-scope { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.mfa-scope li { position: relative; padding-left: 26px; }
.mfa-scope li::before { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; line-height: 1; }
.mfa-scope .is-yes::before { content: "✓"; background: var(--a-ok-soft); color: var(--a-ok); }
.mfa-scope .is-extra::before { content: "€"; background: var(--a-accent-soft); color: var(--a-accent-ink); }
.mfa-scope .is-no::before { content: "—"; background: var(--a-surface-3); color: var(--a-mute); }
.mfa-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--a-text); }
.mfa-steps li::marker { color: var(--a-strong); font-weight: 700; }
.mfa-dl { display: grid; gap: 12px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--a-line); font-size: 14px; }
.mfa-dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.mfa-dl dt { color: var(--a-mute); }
.mfa-dl dd { margin: 0; color: var(--a-strong); text-align: right; }

/* ---------- cronología ---------- */
.mfa-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.mfa-tl::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 2px; background: var(--a-surface-3); }
.mfa-tl__item { position: relative; padding-left: 54px; margin-bottom: 16px; }
.mfa-tl__item:last-child { margin-bottom: 0; }
.mfa-tl__dot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--a-surface); box-shadow: inset 0 0 0 1.5px var(--a-line-2); color: var(--a-mute); }
.mfa-tl__dot .mfa-ico { width: 16px; height: 16px; }
.mfa-tl__card { padding: 15px 18px; border-radius: 14px; background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line); }
.mfa-tl__item.is-team .mfa-tl__card { background: #fffdf2; box-shadow: 0 0 0 1px rgba(122, 93, 0, .2); }
.mfa-tl__item.is-team .mfa-tl__dot { background: var(--a-accent); color: #000; box-shadow: none; }
.mfa-tl__meta { font-size: 13.5px; color: var(--a-mute); margin-bottom: 6px; }
.mfa-tl__meta strong { color: var(--a-strong); font-weight: 600; }
.mfa-tl__body { color: var(--a-strong); font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }
.mfa-tl__body p + p { margin-top: .7em; }
.mfa-tl__body a { text-decoration: underline; }
.mfa-tl__item--status { padding-top: 8px; }
.mfa-tl__line { font-size: 14px; color: var(--a-mute); }
.mfa-tl__line span { color: var(--a-strong); }
.mfa-tl__item--to-resuelto .mfa-tl__dot { background: var(--a-ok-soft); color: var(--a-ok); box-shadow: none; }

.mfa-attach { display: inline-flex; gap: 10px; align-items: center; max-width: 100%; margin: 12px 8px 0 0; padding: 7px 14px 7px 7px; border-radius: 12px; background: var(--a-surface-2); box-shadow: inset 0 0 0 1px var(--a-line); font-size: 14px; color: var(--a-strong); transition: background .2s; }
.mfa-attach:hover { background: var(--a-surface-3); }
.mfa-attach img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.mfa-attach > .mfa-ico { width: 18px; height: 18px; margin-left: 8px; color: var(--a-mute); }
.mfa-attach span { display: grid; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfa-attach small { color: var(--a-mute); font-size: 12px; }

.mfa-resolve { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--a-line); font-size: 14px; color: var(--a-mute); }
.mfa-closed { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 36px; padding: 20px 22px; border-radius: var(--a-radius); background: var(--a-ok-soft); box-shadow: inset 0 0 0 1px rgba(26, 127, 55, .22); }
.mfa-closed > .mfa-ico { color: var(--a-ok); width: 26px; height: 26px; }
.mfa-closed > div { flex: 1 1 280px; }
.mfa-closed strong { color: var(--a-strong); }
.mfa-closed p { font-size: 14.5px; margin-top: 2px; }

/* ---------- FAQ ---------- */
.mfa-search { position: relative; margin-bottom: 28px; max-width: 560px; }
.mfa-search .mfa-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--a-mute); pointer-events: none; }
.mfa-search input { width: 100%; min-height: 46px; padding: 11px 14px 11px 44px; border: 0; border-radius: 12px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line-2); font-size: 16px; -webkit-appearance: none; appearance: none; }
.mfa-search input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--a-strong), 0 0 0 4px rgba(10, 10, 11, .06); }
.mfa-faq { display: grid; gap: 32px; max-width: 860px; }
.mfa-faq__group { display: grid; gap: 8px; }
.mfa-faq__item { border-radius: 14px; background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line); scroll-margin-top: calc(var(--a-top) + 24px); }
.mfa-faq__item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; color: var(--a-strong); font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.mfa-faq__item summary::-webkit-details-marker { display: none; }
.mfa-faq__plus { position: relative; flex: none; width: 14px; height: 14px; }
.mfa-faq__plus::before, .mfa-faq__plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--a-mute); transition: transform .3s var(--a-ease); }
.mfa-faq__plus::after { transform: rotate(90deg); }
.mfa-faq__item[open] .mfa-faq__plus::after { transform: rotate(0); }
.mfa-faq__item[open] { box-shadow: 0 0 0 1px var(--a-line-2); }
.mfa-faq__item .mfa-prose { padding: 0 20px 18px; }
.mfa-help-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; max-width: 860px; padding: 20px 22px; border-radius: var(--a-radius); background: var(--a-surface-2); }
.mfa-help-cta strong { color: var(--a-strong); }

.mfa-prose { color: var(--a-text); font-size: 16px; line-height: 1.7; max-width: 46em; }
.mfa-prose > * + * { margin-top: 1em; }
.mfa-prose a { color: var(--a-strong); font-weight: 600; text-decoration: underline; text-decoration-color: var(--a-line-2); text-underline-offset: 3px; }
.mfa-prose :is(ul, ol) { padding-left: 1.4em; }
.mfa-prose strong { color: var(--a-strong); }

/* ==========================================================================
   Wiki (documentación)
   ========================================================================== */
.mfa-docs { display: grid; grid-template-columns: 280px minmax(0, 1fr) 240px; max-width: 1480px; margin: 0 auto; background: var(--a-surface); min-height: calc(100vh - var(--a-top)); box-shadow: 0 0 0 1px var(--a-line); }
.mfa-docs__group { margin: 0 0 6px; padding: 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--a-mute); }
.mfa-docs__side { border-right: 1px solid var(--a-line); background: #fbfbfa; }
.mfa-docs__drawer { position: sticky; top: var(--a-top); max-height: calc(100vh - var(--a-top)); overflow-y: auto; padding: 28px 18px 40px; }
.admin-bar .mfa-docs__drawer { top: calc(var(--a-top) + 32px); }
.mfa-docs__drawer > summary { display: none; }
.mfa-docs__side ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 1px; }
.mfa-docs__side li a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--a-text); font-size: 14.5px; line-height: 1.35; transition: background .15s, color .15s; }
.mfa-docs__side li a:hover { background: var(--a-surface-2); color: var(--a-strong); }
.mfa-docs__side li a.is-current { background: var(--a-surface-3); color: var(--a-strong); font-weight: 600; box-shadow: inset 3px 0 0 var(--a-accent); }

.mfa-docs__main { min-width: 0; padding: 32px clamp(20px, 4.5vw, 72px) 72px; }
.mfa-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13.5px; color: var(--a-mute); }
.mfa-crumbs a { display: inline-flex; align-items: center; gap: 6px; }
.mfa-crumbs a:hover { color: var(--a-strong); }
.mfa-crumbs .mfa-ico { width: 15px; height: 15px; }
.mfa-crumbs [aria-current] { color: var(--a-strong); font-weight: 600; }

.mfa-doc { max-width: 760px; color: var(--a-text); font-size: 16px; line-height: 1.7; }
.mfa-doc__title { margin: 0 0 18px; font: 700 clamp(30px, 3.4vw, 40px)/1.1 var(--f-heading); letter-spacing: -.035em; color: var(--a-strong); }
.mfa-doc > * + * { margin-top: 16px; }
.mfa-doc .mfa-wlead { font-size: 17px; line-height: 1.65; color: var(--a-text); }
.mfa-doc h2 { position: relative; margin-top: 48px; margin-bottom: 0; font: 700 24px/1.25 var(--f-heading); letter-spacing: -.025em; color: var(--a-strong); scroll-margin-top: calc(var(--a-top) + 24px); }
.mfa-doc h3 { position: relative; margin-top: 32px; margin-bottom: 0; font: 700 19px/1.3 var(--f-heading); color: var(--a-strong); scroll-margin-top: calc(var(--a-top) + 24px); }
.mfa-anchor { margin-left: 8px; color: var(--a-line-2) !important; font-weight: 400; opacity: 0; transition: opacity .15s; }
.mfa-doc :is(h2, h3):hover .mfa-anchor, .mfa-anchor:focus { opacity: 1; }
.mfa-doc strong { color: var(--a-strong); font-weight: 700; }
.mfa-doc a:not(.mfa-wcard):not(.mfa-anchor) { color: var(--a-strong); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(10, 10, 11, .25); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.mfa-doc a:not(.mfa-wcard):not(.mfa-anchor):hover { text-decoration-color: var(--a-accent); }
.mfa-doc ul { margin-bottom: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.mfa-doc ul li { position: relative; padding-left: 20px; }
.mfa-doc ul li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--a-strong); }

.mfa-path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 6px; background: var(--a-surface-2); box-shadow: inset 0 0 0 1px var(--a-line); font-size: .9em; font-weight: 600; color: var(--a-strong); line-height: 1.6; }
.mfa-path > span[aria-hidden] { color: var(--a-mute); font-weight: 400; }

.mfa-wsteps { list-style: none; margin-bottom: 0; padding: 0; counter-reset: wstep; display: grid; gap: 10px; }
.mfa-wsteps li { position: relative; counter-increment: wstep; min-height: 28px; padding: 2px 0 0 42px; }
.mfa-wsteps li::before { content: counter(wstep); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--a-strong); color: #fff; font-size: 13px; font-weight: 700; }

.mfa-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.6; }
.mfa-note > .mfa-ico { width: 19px; height: 19px; margin-top: 2px; }
.mfa-note--info { background: var(--a-info-soft); box-shadow: inset 0 0 0 1px rgba(11, 92, 173, .18); }
.mfa-note--info > .mfa-ico { color: var(--a-info); }
.mfa-note--tip { background: var(--a-ok-soft); box-shadow: inset 0 0 0 1px rgba(26, 127, 55, .2); }
.mfa-note--tip > .mfa-ico { color: var(--a-ok); }
.mfa-note--warn { background: var(--a-accent-soft); box-shadow: inset 0 0 0 1px rgba(122, 93, 0, .25); }
.mfa-note--warn > .mfa-ico { color: var(--a-accent-ink); }

.mfa-wcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 8px; }
.mfa-wcard { display: grid; align-content: start; gap: 6px; padding: 18px; border-radius: 14px; background: #fbfbfa; box-shadow: 0 0 0 1px var(--a-line); transition: box-shadow .2s, transform .25s var(--a-ease); }
.mfa-wcard:hover { box-shadow: 0 0 0 1px var(--a-line-2), 0 8px 24px -14px rgba(0, 0, 0, .25); transform: translateY(-2px); }
.mfa-wcard__ico { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border-radius: 9px; background: var(--a-accent); color: #000; }
.mfa-wcard__ico .mfa-ico { width: 19px; height: 19px; }
.mfa-wcard strong { color: var(--a-strong); font-size: 15.5px; }
.mfa-wcard > span:not(.mfa-wcard__ico) { color: var(--a-mute); font-size: 14px; line-height: 1.5; }
.mfa-wcard em { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--a-strong); }
.mfa-wcard em .mfa-ico { width: 14px; height: 14px; }

.mfa-wopts { margin-bottom: 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--a-line); overflow: hidden; }
.mfa-wopts > div { display: grid; grid-template-columns: minmax(150px, 34%) minmax(0, 1fr); gap: 16px; padding: 12px 16px; font-size: 15px; }
.mfa-wopts > div + div { border-top: 1px solid var(--a-line); }
.mfa-wopts dt { color: var(--a-strong); font-weight: 700; }
.mfa-wopts dd { margin: 0; }

.mfa-wtags { display: flex; flex-wrap: wrap; gap: 6px; }
.mfa-wtags span { padding: 4px 10px; border-radius: 99px; background: var(--a-surface-2); box-shadow: inset 0 0 0 1px var(--a-line); font-size: 14px; color: var(--a-strong); }

.mfa-doc__help { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 760px; margin-top: 48px; padding: 18px 20px; border-radius: 14px; background: var(--a-surface-2); }
.mfa-doc__help > .mfa-ico { color: var(--a-strong); }
.mfa-doc__help p { flex: 1 1 260px; font-size: 15px; }
.mfa-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin-top: 20px; }
.mfa-pager a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--a-line); transition: box-shadow .2s; }
.mfa-pager a:hover { box-shadow: 0 0 0 1px var(--a-line-2); }
.mfa-pager span { font-size: 12.5px; color: var(--a-mute); }
.mfa-pager strong { display: inline-flex; align-items: center; gap: 6px; color: var(--a-strong); font-size: 15px; }
.mfa-pager .mfa-ico { width: 16px; height: 16px; }
.mfa-pager__next { grid-column: 2; text-align: right; }
.mfa-pager__next strong { justify-content: flex-end; }

.mfa-docs__toc { padding: 36px 20px 40px 8px; }
.mfa-docs__toc-in { position: sticky; top: calc(var(--a-top) + 36px); }
.admin-bar .mfa-docs__toc-in { top: calc(var(--a-top) + 68px); }
.mfa-docs__toc .mfa-docs__group { padding: 0; margin-bottom: 10px; }
.mfa-docs__toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--a-line); }
.mfa-docs__toc a { display: block; margin-left: -1px; padding: 4px 0 4px 12px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--a-mute); transition: color .15s, border-color .15s; }
.mfa-docs__toc a:hover { color: var(--a-strong); }
.mfa-docs__toc a.is-active { color: var(--a-strong); border-left-color: var(--a-strong); font-weight: 600; }

/* ---------- buscador ---------- */
.mfa-search-dlg { width: min(640px, calc(100vw - 24px)); max-width: none; max-height: min(70vh, 640px); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 16px; background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line), 0 30px 80px -20px rgba(0, 0, 0, .35); color: var(--a-text); overflow: hidden; }
.mfa-search-dlg::backdrop { background: rgba(10, 10, 11, .4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.mfa-search-dlg__box { display: flex; flex-direction: column; max-height: inherit; margin: 0; }
.mfa-search-dlg__field { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--a-line); }
.mfa-search-dlg__field .mfa-ico { color: var(--a-mute); }
.mfa-body .mfa-search-dlg__field input:focus-visible { outline: 0; }
.mfa-search-dlg__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; color: var(--a-strong); -webkit-appearance: none; appearance: none; }
.mfa-search-dlg__res { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.mfa-search-dlg__res:empty { display: none; }
.mfa-search-dlg__res a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; }
.mfa-search-dlg__res a:hover, .mfa-search-dlg__res a.is-active { background: var(--a-surface-2); }
.mfa-search-dlg__res small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--a-mute); }
.mfa-search-dlg__res strong { color: var(--a-strong); font-size: 15px; }
.mfa-search-dlg__res span { font-size: 13.5px; color: var(--a-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfa-search-dlg__res mark { background: var(--a-accent-soft); color: inherit; border-radius: 3px; }
.mfa-search-dlg__empty { padding: 24px 20px; font-size: 15px; color: var(--a-mute); }
.mfa-search-dlg__empty a { color: var(--a-strong); font-weight: 600; text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.mfa-docs { grid-template-columns: 250px minmax(0, 1fr); }
	.mfa-docs__toc { display: none; }
	.mfa-searchbtn { width: 38px; padding: 0; justify-content: center; }
	.mfa-searchbtn span, .mfa-searchbtn kbd { display: none; }
}
@media (max-width: 900px) {
	:root { --a-top: 60px; }
	.mfa-top__in { flex-wrap: wrap; gap: 0 12px; }
	.mfa-nav { order: 3; width: calc(100% + 2 * var(--a-pad)); margin: 0 calc(-1 * var(--a-pad)); padding: 0 calc(var(--a-pad) - 8px) 10px; overflow-x: auto; scrollbar-width: none; }
	.mfa-nav::-webkit-scrollbar { display: none; }
	.mfa-nav a { font-size: 14.5px; padding: 7px 12px; }
	.mfa-nav a.is-current { background: rgba(255, 255, 255, .12); }
	.mfa-nav a.is-current::after { display: none; }
	.mfa-top__new span { display: none; }
	.mfa-top__new { width: 38px; padding: 0; }
	.mfa-top__tools { min-height: var(--a-top); }
	.mfa-docs { grid-template-columns: minmax(0, 1fr); box-shadow: none; }
	.mfa-docs__side { border-right: 0; border-bottom: 1px solid var(--a-line); }
	.mfa-docs__drawer { position: static; max-height: none; padding: 0; }
	.mfa-docs__drawer > summary { display: flex; align-items: center; gap: 10px; padding: 14px var(--a-pad); font-weight: 600; color: var(--a-strong); cursor: pointer; list-style: none; }
	.mfa-docs__drawer > summary::-webkit-details-marker { display: none; }
	.mfa-docs__drawer > summary span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.mfa-docs__drawer > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--a-mute); border-bottom: 2px solid var(--a-mute); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
	.mfa-docs__drawer[open] > summary::after { transform: rotate(-135deg); }
	.mfa-docs__drawer nav { padding: 4px calc(var(--a-pad) - 12px) 12px; }
	.mfa-docs__main { padding: 24px var(--a-pad) 56px; }
	.mfa-wcards { grid-template-columns: minmax(0, 1fr); }
	.mfa-auth__grid { grid-template-columns: minmax(0, 1fr); }
	.mfa-auth__intro { position: static; padding-top: 0; }
	.mfa-ticks { display: none; }
	.mfa-split, .mfa-split--even { grid-template-columns: minmax(0, 1fr); }
	.mfa-guides { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 782px) {
	.admin-bar .mfa-top { top: 0; }
}
@media (max-width: 767px) {
	.mfa-brand span { padding-left: 10px; font-size: 13px; }
	.mfa-brand { gap: 10px; }
	.mfa-toplink span { display: none; }
	.mfa-grid-2 { grid-template-columns: 1fr; }
	.mfa-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.mfa-stat { padding: 14px; }
	.mfa-stat__n { font-size: 28px; }
	.mfa-stat__l { font-size: 12.5px; line-height: 1.3; }
	.mfa-actions { grid-template-columns: 1fr; }
	.mfa-action { grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; }
	.mfa-action .mfa-ico { grid-row: span 2; margin: 0; }
	.mfa-trow a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 14px 16px; }
	.mfa-trow__ref { grid-column: 1 / -1; }
	.mfa-trow__ex { display: none; }
	.mfa-tl__item { padding-left: 46px; }
	.mfa-tl__card { padding: 13px 15px; }
	.mfa-resolve { justify-content: flex-start; }
	.mfa-row--between { flex-direction: column; align-items: flex-start; }
	.mfa-wopts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.mfa-pager { grid-template-columns: minmax(0, 1fr); }
	.mfa-pager__next { grid-column: 1; }
	.mfa-foot__in { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.mfa-body *, .mfa-body *::before, .mfa-body *::after { transition: none !important; scroll-behavior: auto !important; }
}
