/* Barra común del modo Profesional / Industrial: barra de módulos + menú horizontal (+ franja de actividad). */
body.faun-ind-on .app{display:block!important;grid-template-columns:1fr!important}
body.faun-ind-on .app>aside,body.faun-ind-on .app>.side,body.faun-ind-on .activity-side,body.faun-ind-on #cpTop{display:none!important}
body.faun-ind-on .cp-layout{display:block!important}
.gbar{background:#1d2d44;color:#fff;display:flex;align-items:center;gap:22px;padding:12px 28px;flex-wrap:wrap;font-family:'Segoe UI',Arial,sans-serif;box-sizing:border-box}
.gbar *{box-sizing:border-box}
.gbar .brand{color:#fff;font-weight:800;font-size:22px;text-decoration:none;display:inline-block;padding:0;margin:0;width:auto;line-height:1}
.gbar .brand span{color:#ff7a00}
.gmods{display:flex;gap:8px;flex-wrap:wrap}
.gmods a{padding:8px 16px;border-radius:20px;font-size:14px;font-weight:600;background:#2c3e5a;color:#fff;text-decoration:none}
.gmods a.on{background:#c2410c}
.guser{margin-left:auto;position:relative}
.guser>summary{list-style:none;cursor:pointer;background:#2c3e5a;color:#fff;padding:8px 14px;border-radius:20px;font-size:14px;font-weight:600}
.guser>summary::-webkit-details-marker{display:none}
.gdrop{position:absolute;right:0;top:calc(100% + 8px);z-index:60;background:var(--gn-pop-bg,#fff);border-radius:12px;box-shadow:0 10px 28px rgba(15,23,42,.25);padding:8px;min-width:240px;display:flex;flex-direction:column}
.gdrop a{padding:10px 12px;border-radius:8px;color:var(--gn-pop-txt,#1d2d44);text-decoration:none;font-weight:600;font-size:14px}
.gdrop a:hover{background:var(--gn-hover,#f3f6fa)}
.gmenu{background:var(--gn-menu-bg,#fff);display:flex;gap:2px;padding:10px 28px;border-bottom:1px solid var(--gn-line,#dbe3ec);overflow-x:auto;white-space:nowrap;position:sticky;top:0;z-index:50;font-family:'Segoe UI',Arial,sans-serif}
.gmenu a{padding:10px 12px;border-radius:10px;font-weight:600;font-size:14px;color:var(--gn-menu-txt,#40526b);text-decoration:none;flex:none}
.gmenu a:hover{background:var(--gn-hover,#f3f6fa)}
.gmenu a.on{background:var(--gn-on-bg,#fff1e6);color:var(--gn-on-txt,#9a3412);box-shadow:inset 0 -3px #ff7a00}
.gmenu a.add{margin-left:auto;background:#c2410c;color:#fff}
.gmenu a.add.on{box-shadow:none;background:#9a3412}
/* franja de actividad */
.gact{background:var(--gn-act-bg,#fff8f1);border-bottom:1px solid var(--gn-act-line,#ffd9b3);padding:12px 28px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-family:'Segoe UI',Arial,sans-serif}
.gact .back{font-size:14px;font-weight:700;color:#0369a1;text-decoration:none}
.gact h2{font-size:20px;color:var(--gn-title,#1d2d44);margin:0}
.gchip{border-radius:14px;padding:4px 12px;font-size:13px;font-weight:700;text-decoration:none}
.gchip.activa{background:#e3f6ec;color:#16784f}.gchip.prueba{background:#fff1e6;color:#9a3412}.gchip.vencida{background:#fde8e6;color:#a8281b}.gchip.explorando{background:#eef1f7;color:#44546f}
.gexp{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;background:var(--gn-tab-bg,#fff);border:1px solid #ffb877;border-left:5px solid #ff7a00;border-radius:12px;padding:10px 14px;color:var(--gn-title,#1d2d44);font-size:14px}
.gexp-t{flex:1 1 320px;line-height:1.4}.gexp-b{display:flex;flex-wrap:wrap;gap:8px}
.gexp-b button{border:1px solid var(--gn-tab-line,#cfd8e3);background:var(--gn-tab-bg,#fff);color:var(--gn-title,#1d2d44);border-radius:9px;padding:9px 14px;font-weight:700;font-size:14px;cursor:pointer;min-height:40px}
.gexp-b button.gexp-pri{background:#c2410c;border-color:#c2410c;color:#fff}.gexp-b button:disabled{opacity:.6;cursor:wait}
.gexp-m{flex:1 1 100%;color:#c0392b;font-size:13px;min-height:0}.gexp-m:empty{display:none}
.gexp-pulso{animation:gexpP .9s ease 2}@keyframes gexpP{50%{box-shadow:0 0 0 6px rgba(255,122,0,.35)}}
.gtabs{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap;align-items:center}
.gtabs button,.gtabs summary{padding:8px 14px;border-radius:9px;font-size:14px;font-weight:700;color:var(--gn-tab-txt,#51607a);background:var(--gn-tab-bg,#fff);border:1px solid var(--gn-tab-line,#ecd9c4);cursor:pointer;font-family:inherit;list-style:none}
.gtabs summary::-webkit-details-marker{display:none}
.gtabs button.on{background:#c2410c;color:#fff;border-color:#c2410c}
.gmore{position:relative}
.gmore-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:60;background:var(--gn-pop-bg,#fff);border:1px solid var(--gn-line,#dbe3ec);border-radius:12px;box-shadow:0 10px 28px rgba(15,23,42,.2);padding:8px;display:flex;flex-direction:column;gap:4px;min-width:230px}
.gmore-menu button,.gmore-menu a{text-align:left;border:0;background:var(--gn-pop-bg,#fff);padding:9px 12px;border-radius:8px;color:var(--gn-pop-txt,#1d2d44);font-weight:600;font-size:14px;cursor:pointer;text-decoration:none;font-family:inherit}
.gmore-menu button:hover,.gmore-menu a:hover{background:var(--gn-hover,#f3f6fa)}
.gmore-menu button.on{background:var(--gn-on-bg,#fff1e6);color:var(--gn-on-txt,#9a3412)}
@media(max-width:700px){.gbar{padding:10px 14px}.gmenu{padding:8px 12px}.gact{padding:10px 14px}.gtabs{margin-left:0;width:100%}.guser{margin-left:0}}
body.faun-ind-on #cidSOSBell{top:auto!important;bottom:20px!important}
body.faun-ind-on #faiTemaBtn{display:none!important}
body.faun-ind-on #cidSOSDrawer{top:auto!important;bottom:76px!important}
body.faun-campana-barra #cidSOSDrawer{top:64px!important;bottom:auto!important}

/* ===== Claridad (nov 2026): cabecera más baja en tablet y celular, tarjetas de resumen en 2 columnas y botones flotantes que no tapan ===== */
.gmenu{scrollbar-width:none}.gmenu::-webkit-scrollbar{display:none}
@media(max-width:900px){
.gbar{gap:10px;padding:8px 12px}
.gbar .brand{font-size:19px}
.gmods{gap:6px;flex-wrap:nowrap}
.gmods a{padding:7px 11px;font-size:13px;white-space:nowrap}
.guser{margin-left:auto}
.guser>summary{padding:7px 11px;font-size:13px;white-space:nowrap}
.gmenu{padding:6px 10px}
.gmenu a{padding:8px 10px}
.gact{padding:8px 12px;gap:8px 10px}
.gact h2{font-size:17px}
.gact .gtabs{order:9;gap:5px}
.gact .gtabs button,.gact .gtabs summary{padding:7px 11px;font-size:13.5px}
.gact .gblq{order:5}
.gact .gblq button,.gact .gblq summary{padding:6px 10px;font-size:13px}
.gact .gblq button.pri{background:#fff;color:#1d2d44;border-color:#b8c4d2}
}
/* Tarjetas de resumen: 2 por fila en tablet y celular grande (antes 1 por fila) */
@media(min-width:340px) and (max-width:900px){
body.faun-ind-on .grid.kpis,body.faun-ind-on .mini-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.faun-ind-on .grid.kpis>.kpi,body.faun-ind-on .mini-kpis>*{padding:12px 14px}
}
/* El nombre de la actividad ya está en la franja de arriba: el bloque de título repetido queda como una línea chica */
body.faun-ind-on .main>.panel.hero:has(#title),body.faun-ind-on .main>.panel.hero:has(#clinicName){padding:0 2px!important;border:0!important;background:none!important;box-shadow:none!important;margin-bottom:10px;min-height:0}
body.faun-ind-on .main>.panel.hero:has(#title) h1,body.faun-ind-on .main>.panel.hero:has(#clinicName) h1{display:none}
body.faun-ind-on .main>.panel.hero:has(#title) .muted,body.faun-ind-on .main>.panel.hero:has(#clinicName) .muted{font-size:13px}
/* Espacio al final para que los botones flotantes no tapen lo último de la página, y fuera mientras hay un formulario abierto */
body.faun-ind-on{padding-bottom:88px}
body.faun-modal-on #waavBoton,body.faun-modal-on #fchBoton,body.faun-modal-on #faiTemaBtn,body.faun-modal-on #cidSOSBell{display:none!important}
/* Hotel y Peluquería: sin el título repetido una tercera vez; el buscador ocupa el ancho y el botón principal no se aplasta */
@media(max-width:900px){
body.faun-ind-on main>header{height:auto;padding:8px 12px;position:static;gap:10px}
body.faun-ind-on main>header>div:first-child{display:none}
body.faun-ind-on main>header .search{flex:1}
body.faun-ind-on main>header input{width:100%!important}
body.faun-ind-on main>.view>.hero{padding:14px 16px;gap:12px}
body.faun-ind-on main>.view>.hero>div{min-width:0}
body.faun-ind-on main>.view>.hero h1{font-size:21px}
body.faun-ind-on main>.view>.hero p{display:none}
body.faun-ind-on main>.view>.hero>button{flex:none}
}
/* Campo: un bloque vacío no ocupa lugar */
body.faun-ind-on #pvHerr:empty{display:none!important}

/* ===== Claridad 2 (nov 2026) ===== */
/* Cámara y WhatsApp dentro de la franja de la actividad (ya no flotan sobre el contenido) */
.gact .gherr{display:inline-flex;gap:6px;flex-wrap:wrap;align-items:center;order:4}
.gact .gherr:empty{display:none}
.gact .gherr>button{position:static!important;left:auto!important;bottom:auto!important;z-index:auto!important;box-shadow:none!important;padding:7px 12px!important;font:800 13.5px Nunito,system-ui,sans-serif!important;border-radius:9px!important}
body.faun-recepcion .gact .gherr{display:none!important}
/* Módulos de lista (herrería, criaderos, petshop, etc.): botones chicos más fáciles de tocar, letra chica legible y textos largos que no desarman la página */
.mk .btn.sm,.mk button.sm{min-height:34px;padding:7px 12px}
.mk small{font-size:12.5px}
.mk,.mk *{overflow-wrap:anywhere}
/* Hotel y Peluquería: etiquetas de estado legibles */
body.faun-ind-on main .badge{font-size:12px}
body.faun-ind-on main>.view small,body.faun-ind-on main>.view td>div{font-size:12.5px}
/* Clínica: ficha del paciente en 2 columnas y buscador a todo el ancho */
@media(min-width:340px) and (max-width:900px){
body.faun-ind-on .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.faun-ind-on .clinic-main .section-title{flex-wrap:wrap}
body.faun-ind-on .clinic-main .panel>input.search{display:block;width:100%;max-width:none;margin:0 0 12px}
}
/* Campo: botones de cada animal con tamaño de dedo y buscador de animales */
body.faun-ind-on #animals .row button,body.faun-ind-on #units .row button{min-height:34px;padding:6px 11px!important;font-size:13px!important;border:1px solid #b8c4d2;border-radius:9px;background:#fff;color:#1d2d44;font-weight:700;cursor:pointer;margin:6px 6px 0 0!important}
body.faun-ind-on #animals .row a.muted{display:inline-block;margin:6px 10px 0 0!important;padding:6px 0;font-weight:700}
.pv-buscar{display:flex;gap:10px;align-items:center;margin:4px 0 10px}
.pv-buscar input{flex:1;min-width:0;padding:11px 13px;border:1px solid #b8c4d2;border-radius:10px;font:inherit}
.pv-buscar span{font-size:13px;color:#64748b;white-space:nowrap}
#animales .head .btn{font-family:inherit;font-size:14px;font-weight:800;line-height:1.2}
html[data-tema="oscuro"] body.faun-ind-on #animals .row button,html[data-tema="oscuro"] body.faun-ind-on #units .row button{background:#1e293b;color:#e2e8f0;border-color:#475569}

/* ===== Claridad 3 (nov 2026): celular. La cabecera ocupaba casi media pantalla; ahora va en pocas filas. ===== */
@media(max-width:560px){
/* Franja superior en una sola fila: marca, módulos con nombre corto y cuenta */
.gbar{flex-wrap:nowrap;gap:8px;padding:7px 10px}
.gbar .brand{font-size:16px;flex:none}
.gbar .brand .gpaw{display:none}
.gbar .gmods{flex:none;gap:5px;order:0}
.gmods a{font-size:0;padding:7px 9px;flex:none}
.gmods a::before{content:attr(data-c);font-size:12.5px}
.guser{min-width:0;flex:0 1 auto;margin-left:auto}
.guser>summary{max-width:100%;overflow:hidden;text-overflow:ellipsis;padding:7px 9px;font-size:12.5px}
/* Botón de tema más chico para que tape menos */
#faiTemaBtn{width:38px!important;height:38px!important;left:10px!important;bottom:10px!important;font-size:17px!important}
body.faun-ind-on{padding-bottom:64px}
/* Paneles con menos relleno */
body.faun-ind-on .panel{padding:16px}
body.faun-ind-on .wrap{padding-left:10px;padding-right:10px}
}
/* Franja de la actividad en celular (la clase la pone actividad-nav.js) */
.gact.gact-movil{gap:6px 8px;padding:8px 10px}
.gact.gact-movil .back{font-size:0;padding:2px 4px 2px 0;flex:none}
.gact.gact-movil .back::before{content:"←";font-size:22px;line-height:1}
.gact.gact-movil h2{font-size:16px;flex:1 1 calc(100% - 150px);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gact.gact-movil .gblq{order:1;margin-left:auto;flex-wrap:nowrap;gap:5px}
.gact.gact-movil .gblq button.pri{font-size:0!important;padding:6px 9px}
.gact.gact-movil .gblq button.pri::before{content:"🔒";font-size:15px}
.gact.gact-movil .gchip{order:2;font-size:12.5px;padding:4px 9px}
.gact.gact-movil .gcons[data-n="0"]{display:none}
.gact.gact-movil .gherr{order:3}
.gact.gact-movil .gherr>button{padding:6px 9px!important;font-size:12.5px!important}
.gact.gact-movil .gtabs{order:9;flex-wrap:nowrap;overflow-x:auto;gap:5px;width:calc(100% + 20px);margin:0 -10px;padding:0 10px 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.gact.gact-movil .gtabs::-webkit-scrollbar{display:none}
.gact.gact-movil .gtabs>*{flex:none}
.gact.gact-movil .gtabs button,.gact.gact-movil .gtabs a{white-space:nowrap}
.gact.gact-movil .gmore{display:flex;gap:5px;position:static}
.gact.gact-movil .gmore>summary{display:none}
.gact.gact-movil .gmore-menu{position:static;flex-direction:row;flex-wrap:nowrap;gap:5px;padding:0;border:0;box-shadow:none;background:none;min-width:0}
.gact.gact-movil .gmore-menu>*{flex:none;padding:7px 11px;border-radius:9px;font-size:13.5px;font-weight:700;color:var(--gn-tab-txt,#51607a);background:var(--gn-tab-bg,#fff);border:1px solid var(--gn-tab-line,#ecd9c4)}
.gact.gact-movil .gmore-menu button.on{background:#c2410c;color:#fff;border-color:#c2410c}
.gact.gact-movil .gtabs>.gmore{order:2}
.gact.gact-movil .gtabs>button:not(.gp){order:3}
.gact.gact-movil .gmore-menu>.gx,.gact.gact-movil .gmore-menu>a{order:9}

/* Formularios en ventana (Campo, Transporte, Paseos): 2 columnas desde 480 px, secciones plegables y «Guardar» siempre a la vista */
@media(min-width:480px) and (max-width:850px){body.faun-ind-on .modal .form{grid-template-columns:1fr 1fr}}
.form details.pleg{grid-column:1/-1;border:1px solid #d5dde8;border-radius:12px;background:#f8fafc}
.form details.pleg>summary{cursor:pointer;padding:12px 14px;font-weight:800;font-size:14px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:8px}
.form details.pleg>summary::-webkit-details-marker{display:none}
.form details.pleg>summary::after{content:"＋";font-size:18px;color:#64748b}
.form details.pleg[open]>summary::after{content:"－"}
.form details.pleg>summary small{font-weight:600;color:#64748b}
.form details.pleg>.pleg-in{display:grid;grid-template-columns:1fr;gap:12px;padding:2px 14px 14px}
@media(min-width:480px){.form details.pleg>.pleg-in{grid-template-columns:1fr 1fr}}
.form .guardar-fijo{position:sticky;bottom:0;background:#fff;padding:10px 0 14px;border-top:1px solid #e5e9f0;z-index:2}
.modal .box:has(.guardar-fijo){padding-bottom:0!important}
.form .guardar-fijo .btn{width:100%;padding:13px;font-size:16px}
@media(max-width:560px){body.faun-ind-on .modal{padding:8px;align-items:flex-end}body.faun-ind-on .modal .box{padding:16px;max-height:94vh;border-radius:16px 16px 10px 10px}}
/* En celulares y tablets los campos usan letra de 16 px: con letra más chica el iPhone hace zoom al tocar un campo y la pantalla «se descuadra» */
@media(max-width:900px){body.faun-ind-on input:not([type=checkbox]):not([type=radio]):not([type=range]),body.faun-ind-on select,body.faun-ind-on textarea{font-size:16px!important}}

/* ===== Claridad 4 (nov 2026) ===== */
/* Ventanas de los módulos de lista (Herrería, Adiestramiento, Criaderos, Inseminación, Petshop): los campos salían sin estilo
   porque la ventana queda fuera del contenedor del módulo. Además «Guardar» queda siempre a la vista. */
.mk-modal input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),.mk-modal select,.mk-modal textarea{font:inherit;color:var(--mk-txt,#0f172a);background:var(--mk-in,#fff);border:1px solid var(--mk-line,#cbd5e1);border-radius:9px;padding:10px 12px;max-width:100%;min-height:42px}
.mk-modal textarea{min-height:84px}
.mk-modal .mk-actions{position:sticky;bottom:0;background:var(--mk-card,#fff);padding:10px 0 6px;margin-bottom:-6px;border-top:1px solid var(--mk-line,#e2e8f0);z-index:2}
.mk-modal .mk-actions .btn{padding:11px 16px}
.mk-modal .mk-actions .btn.pri{flex:1}
@media(max-width:560px){.mk-modal{padding:10px 8px}.mk-box{padding:16px}}
/* Ventanas de Clínica, Hotel y Peluquería: el botón de guardar queda siempre a la vista al bajar por el formulario */
body.faun-ind-on .modalbox form>button[type=submit],body.faun-ind-on .modalbox form>.actions.full{position:sticky;bottom:-20px;z-index:3;margin-bottom:-20px;box-shadow:0 -10px 14px -6px #fff}
body.faun-ind-on .modalbox form>button[type=submit]{width:100%;padding:13px;font-size:16px;grid-column:1/-1}
body.faun-ind-on .modalbox form>.actions.full{background:#fff;padding:10px 0 20px}
body.faun-ind-on .modalbox{overflow-x:hidden}
@media(max-width:560px){body.faun-ind-on .modal{padding:8px}body.faun-ind-on .modalbox{padding:16px;max-height:94vh}body.faun-ind-on .modalbox form>button[type=submit],body.faun-ind-on .modalbox form>.actions.full{bottom:-16px;margin-bottom:-16px}}
@media(max-width:560px){body.faun-ind-on .modalbox .grid2,body.faun-ind-on .modalbox .form-grid{grid-template-columns:minmax(0,1fr)!important}body.faun-ind-on .modalbox .span2{grid-column:1/-1}body.faun-ind-on .modalbox label>input,body.faun-ind-on .modalbox label>select,body.faun-ind-on .modalbox label>textarea{width:100%;min-width:0;box-sizing:border-box}}
@media(min-width:340px) and (max-width:900px){body.faun-ind-on .reportGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}}
/* Campo: animales que también se ven en el panel doméstico */
.pv-dom-aviso,.pv-dom-bar{margin:6px 0 10px;padding:10px 12px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;font-size:14px;line-height:1.5}
.pv-dom-bar{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}
.pv-dom-aviso button,.pv-dom-bar button{margin:4px 6px 0 0;padding:7px 12px;border-radius:9px;border:1px solid #c2410c;background:#fff;color:#9a3412;font-weight:800;cursor:pointer;font-size:13.5px}
.pv-dom-bar button{border-color:#1d4ed8;color:#1e3a8a}
.pv-dom-chip{display:inline-flex!important;width:auto!important;align-items:center;gap:4px;margin:6px 0 0;padding:3px 9px;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12.5px;font-weight:700}
.pv-dom-chip button{border:0;background:none;color:#c2410c;text-decoration:underline;font-weight:800;cursor:pointer;padding:0 2px;min-height:0!important;margin:0!important;font-size:12.5px!important}
html[data-tema="oscuro"] .pv-dom-aviso,html[data-tema="oscuro"] .pv-dom-chip{background:#3b2a1a;color:#fed7aa;border-color:#7c2d12}
html[data-tema="oscuro"] .pv-dom-bar{background:#172554;color:#bfdbfe;border-color:#1e40af}
body.faun-ind-on #animals .row .pv-dom-chip button{padding:0 2px!important;border:0!important;background:none!important;min-height:0!important;margin:0!important;font-size:12.5px!important}

/* ===== c35a (16 nov 2026): barra en celular con nombres, contraste, foco visible, tamaño táctil y botones flotantes ===== */
/* Naranja principal más oscuro: blanco sobre #c2410c = 5,2:1 (antes 2,6:1 con #ff7a00). Botones de paneles compartidos y de las apps. */
body.faun-ind-on :is(.c34-b.p,.pc-btn,.pc-chip.on,.fv-btn,.fi-btn,.fi-pill.on,.ft-btn,.ft-pill.on,.ft-n,.ftr-b,.fsol-btn,.fev-b,#fevOv .fev-tabs button.on,.frec-row button,.lc-mas button[data-lc=mas],#fapOverlay button.fap-orange,.fch-btn,.pv-badge,.mk .btn.pri,.mk-modal .btn.pri,.btn.orange,button.orange){background:#c2410c!important;border-color:#c2410c!important;color:#fff!important}
body.faun-ind-on :is(.c34-b.p,.pc-btn,.fv-btn,.fi-btn,.ft-btn,.ftr-b,.fsol-btn,.fev-b,.btn.orange):hover{background:#9a3412!important;border-color:#9a3412!important}
body.faun-ind-on [style*="background:#ff7a00"],body.faun-ind-on [style*="background: #ff7a00"],body.faun-ind-on [style*="background:#FF7A00"]{background:#c2410c!important}
/* Gris secundario y verde de WhatsApp con contraste suficiente (solo páginas de fondo claro) */
html:not([data-tema="oscuro"]) body.faun-ind-on:not(.ft-oscuro){--muted:#566075}
html:not([data-tema="oscuro"]) body.faun-ind-on:not(.ft-oscuro) :is(.muted,.empty){color:#566075}
body.faun-ind-on .ia-est.esp,body.faun-ind-on .badge.orange{color:#9a3412}
html:not([data-tema="oscuro"]) body.faun-ind-on:not(.ft-oscuro) :is(.mk,.mk-modal){--mk-mut:#566075}
body.faun-ind-on #waavBoton{background:#15803d!important}
/* Contador de la campana: rojo más oscuro para que el número se lea */
#cidSOSCount{background:#c41212!important}

/* Foco visible en teclado (antes algunos botones tenían outline:none sin sustituto) */
:focus-visible{outline:3px solid #1d4ed8!important;outline-offset:2px!important}
.gbar :focus-visible,.gact :focus-visible{outline-color:#fff!important;outline-offset:2px!important}
html[data-tema="oscuro"] :focus-visible{outline-color:#93c5fd!important}
html[data-tema="oscuro"] .gbar :focus-visible{outline-color:#fff!important}

/* Tamaño táctil: barra, pestañas y chips de 44 px de alto */
.gmods a,.gmenu a,.guser>summary,.gdrop a,.gchip,.gtabs button,.gtabs summary,.gmore-menu button,.gmore-menu a,.gact .back,.gexp-b button,.gact .gblq button,.gact .gblq summary{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
.gdrop a{display:flex}
.gmore-menu button,.gmore-menu a{display:flex}
.gact .gherr>button,.gact .gherr>a{min-height:44px!important}
.gmods a{white-space:nowrap}
.gmods a.gmas{min-width:44px;justify-content:center}
.gmods a.gall{display:none}
.gbar .gmods a.gmas{min-width:44px;padding:0 11px}
.gbar .brand{display:inline-flex;align-items:center;min-height:44px}
.gchip[hidden],.gmods a[hidden],.gtabs [hidden],.gexp-b button[hidden]{display:none!important}
#gTemaItem{cursor:pointer}
/* Campana dentro de la barra (la mueve industrial-nav.js): ya no flota sobre el contenido */
body.faun-campana-barra.faun-ind-on .gbar #cidSOSBell{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:44px;height:44px;flex:none;z-index:auto;margin-left:auto;background:#2c3e5a;font-size:19px;line-height:1;box-shadow:none}
body.faun-campana-barra .gbar #cidSOSBell+.guser{margin-left:0}
body.faun-campana-barra.faun-modal-on #cidSOSBell{display:inline-block!important}

/* Celular (hasta 560 px): Mascotas, la app actual con su nombre y «Mis apps» para ver el resto; sin desborde */
@media(max-width:560px){
.gbar{flex-wrap:nowrap;gap:4px;padding:7px 10px;min-width:0}
.gbar .brand{display:none}
.gbar .gmods{flex:0 1 auto;min-width:0;gap:4px;flex-wrap:nowrap!important}
.gmods a{padding:0 8px;min-height:44px;flex:none;overflow:hidden}
.gmods #gModsApps a.on{flex:0 1 auto;min-width:44px;max-width:120px}
.gmods a::before{content:attr(data-c);font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gmods a.gmas{display:none}
.gmods a.gall{display:inline-flex}
.gmods #gModsApps{display:contents}
.gmods #gModsApps a:not(.on){display:none}
.gmods a.gall::before{content:attr(data-c)}
.guser{min-width:44px;flex:0 4 auto;margin-left:auto}
.guser>summary{max-width:100px;padding:0 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.faun-campana-barra .gbar #cidSOSBell{margin-left:auto}
.gact.gact-movil .gtabs button,.gact.gact-movil .gtabs a,.gact.gact-movil .gmore-menu>*{min-height:44px}
.gact.gact-movil .back{min-width:36px;justify-content:center}
.gdrop{max-width:calc(100vw - 20px)}
}
@media(max-width:400px){.guser>summary{max-width:72px}}
/* Enlace «Solicitudes de clientes» de la franja: color propio (en modo oscuro salía azul de enlace sobre fondo azul marino) */
.gact .gchip.gcons{color:var(--gn-title,#1d2d44);font-weight:700}
