/* IA SÉ · SSV · núcleo · estilos que se añaden a los de la demo (formularios, pestañas, guía, letra grande, árabe) */
.form .campo { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; font-size: 13px; }
.form .campo span { color: #5E574D; font-weight: 600; }
.form .campo input, .form .campo select { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid #E3DACB; background: #fff; color: #141414; }
.form .campo input:focus, .form .campo select:focus { outline: 3px solid var(--shop, #F28C1C); outline-offset: 1px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.tabs button { font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 30px; border: 1px solid #E3DACB; background: #fff; color: #141414; cursor: pointer; }
.tabs button.on { background: #0F0F0F; color: #F5EFE6; border-color: #0F0F0F; }
.row .mini, .mini { padding: 6px 10px; font-size: 12px; margin-inline-start: 6px; }
.guia { position: fixed; inset: 0; background: rgba(15, 15, 15, .72); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.guia .card { max-width: 440px; width: 100%; }
body.grande { font-size: 118%; }
body.grande .row, body.grande .help p, body.grande .help li { font-size: 1.1em; }
[dir=rtl] body, [dir=rtl] input, [dir=rtl] select, [dir=rtl] button { font-family: 'Noto Kufi Arabic', 'Montserrat', sans-serif; }
#login .roles .role { min-height: 96px; }
.card h3, .card .tag { color: #141414; }
.card .note { color: #5E574D; }
.g4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0 10px; }
.card.linea { padding: 12px; margin: 0 0 10px; }
.row.input input { font: inherit; font-size: 16px; padding: 8px 10px; border-radius: 10px; border: 1px solid #E3DACB; width: 90px; text-align: end; }
.texto-wa { white-space: pre-wrap; background: #F5EFE6; color: #141414; border: 1px solid #E3DACB; border-radius: 12px; padding: 12px; margin-top: 10px; font-size: 14px; }
.insignia { display: inline-block; min-width: 18px; padding: 1px 6px; margin-inline-start: 6px; border-radius: 10px; background: #A39A8E; color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.insignia.roja { background: #E53935; }
/* fase 11 · demo: banda fija y PIN a la vista */
.demo-banda { background: #1A1A1A; color: #FFD27A; font-size: 12px; font-weight: 700; text-align: center; padding: 6px 10px; border-radius: 10px; margin: 8px 0; }
.role .pin-demo { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--ora, #F28C1C); letter-spacing: 1px; }
/* fase F · tablas de la vista previa del Excel y de los campos propios */
.tabla { border-collapse: collapse; font-size: 13px; min-width: 100%; }
.tabla th, .tabla td { padding: 5px 8px; border-bottom: 1px solid rgba(0, 0, 0, .08); text-align: start; white-space: nowrap; }
.tabla th { font-weight: 800; background: rgba(242, 140, 28, .08); position: sticky; top: 0; }
/* fase B · soporte: el botón Ayuda (siempre a mano, encima de la barra de abajo en el móvil) y su ventana */
.ayuda-fab{position:fixed;inset-inline-end:16px;bottom:calc(84px + env(safe-area-inset-bottom,0));z-index:30;background:#0F0F0F;color:#F5EFE6;border:2px solid var(--shop,#F28C1C);border-radius:30px;padding:10px 16px;font-weight:700;font-size:14px;box-shadow:0 4px 14px rgba(0,0,0,.25)}
@media(min-width:900px){.ayuda-fab{bottom:20px}}
.ayuda-fab:focus-visible{outline:3px solid var(--shop,#F28C1C);outline-offset:2px}
.ayuda-velo{position:fixed;inset:0;z-index:40;background:rgba(15,15,15,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.ayuda-caja{width:100%;max-width:560px;max-height:90dvh;overflow:auto;margin:0}
