/* Header APP unificado 9.5.54.10 — persistente en navegación móvil/PWA. */
.jchome-app-header{display:none}
/* Seguridad web: el drawer móvil y su overlay nunca participan del flujo de escritorio. */
.jchome-app-drawer,.jchome-app-overlay{display:none!important}
@media(max-width:900px){
 body .jc-header{position:-webkit-sticky!important;position:sticky!important;top:0!important;z-index:2147482000!important;background:#fff!important;border-bottom:1px solid #e2e8ef!important;box-shadow:0 4px 16px rgba(20,42,68,.08)!important;overflow:visible!important}
 body.admin-bar .jc-header{top:46px!important}
 body .jc-desktop-header{display:none!important}
 body .jchome-app-header{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;background:#fff!important;position:relative!important;overflow:visible!important}
 body .jchome-app-shell{width:min(calc(100% - 18px),var(--jc-container))!important;margin:auto!important;padding:7px 0 6px!important}
 body .jchome-app-brand-row{display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;align-items:center!important;gap:7px!important;min-height:42px!important}
 body .jchome-app-menu,body .jchome-app-account{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border:1px solid #dce4ec!important;border-radius:11px!important;background:#f8fafc!important;color:#24384d!important;padding:0!important}
 body .jchome-app-menu{gap:4px!important}.jchome-app-menu span{display:block!important;width:17px!important;height:2px!important;background:#263a4e!important;border-radius:3px!important}
 body .jchome-app-account svg{width:18px!important;height:18px!important}
 body .jchome-app-brand-center{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-width:0!important;overflow:hidden!important}
 body .jchome-app-jc{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:145px!important;color:#17324d!important;font-weight:900!important}
 body .jchome-app-jc-logo{display:block!important;width:auto!important;max-width:142px!important;max-height:35px!important;object-fit:contain!important}
 body .jchome-app-solos{display:grid!important;place-items:center!important;width:60px!important;height:40px!important;min-width:60px!important;border-radius:8px!important;overflow:visible!important;background:#fff!important}.jchome-app-solos img{display:block!important;width:58px!important;max-width:58px!important;max-height:39px!important;object-fit:contain!important}
 body .jchome-app-assistants{display:grid!important;visibility:visible!important;opacity:1!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important;width:100%!important;margin-top:5px!important}
 body .jchome-assistant{display:flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important;height:40px!important;padding:3px 8px!important;border:1px solid #d9e4ee!important;border-radius:13px!important;background:linear-gradient(180deg,#fff,#f7fbff)!important;color:#17344f!important;box-shadow:0 5px 14px rgba(20,47,76,.07)!important;cursor:pointer!important;text-align:left!important;position:relative!important;inset:auto!important;transform:none!important}
 body .jchome-assistant--juco{background:linear-gradient(180deg,#fff,#fcf9ff)!important;border-color:#e2d9ea!important}
 body .jchome-assistant-avatar{display:block!important;width:30px!important;height:30px!important;min-width:30px!important;border-radius:50%!important;overflow:hidden!important;background:#edf4fb!important;box-shadow:0 0 0 1px #d4e0eb!important}.jchome-assistant-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
 body .jchome-assistant-copy{display:flex!important;flex-direction:column!important;min-width:0!important;line-height:1.05!important}.jchome-assistant-copy strong{display:block!important;color:#17344f!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important}.jchome-assistant-copy small{display:block!important;margin-top:2px!important;color:#718295!important;font-size:8.8px!important;font-weight:650!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body .jchome-app-admin{display:flex!important;justify-content:flex-end!important;margin-top:4px!important}.jchome-app-admin a{display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:3px 8px!important;border:1px solid #d2dde7!important;border-radius:8px!important;background:#f8fbfe!important;color:#244866!important;font-size:9.5px!important;font-weight:850!important}
 body .jchome-app-drawer{position:fixed!important;top:0!important;bottom:0!important;left:0!important;z-index:2147483600!important;display:block!important;width:min(86vw,340px)!important;height:100dvh!important;padding:0 0 24px!important;overflow-y:auto!important;background:#fff!important;box-shadow:14px 0 42px rgba(16,34,54,.22)!important;transform:translateX(-105%)!important;transition:transform .22s ease!important}.jchome-app-drawer.is-open{transform:translateX(0)!important}body.admin-bar .jchome-app-drawer{top:46px!important;height:calc(100dvh - 46px)!important}
 body .jchome-app-drawer-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:17px 17px 13px!important;border-bottom:1px solid #e8edf2!important}.jchome-app-drawer-head strong{font-size:17px!important;color:#172d42!important}.jchome-app-drawer-head button{display:grid!important;place-items:center!important;width:35px!important;height:35px!important;border:1px solid #dbe4ec!important;border-radius:10px!important;background:#f8fafc!important;font-size:24px!important;color:#253a4f!important}
 body .jchome-app-menu-list{display:block!important;list-style:none!important;margin:0!important;padding:8px 12px!important}.jchome-app-menu-list li{display:block!important;margin:0!important;padding:0!important}.jchome-app-menu-list a{display:flex!important;align-items:center!important;gap:11px!important;min-height:44px!important;padding:8px 10px!important;border-radius:9px!important;color:#24384d!important;font-size:13.5px!important;font-weight:750!important}.jchome-app-menu-list a:hover{background:#edf5ff!important;color:#1769e0!important}.jchome-app-subitem a{padding-left:31px!important;font-size:12.5px!important}.jchome-app-sep{height:1px!important;margin:2px 15px!important;background:#e7edf2!important}
 body .jchome-app-publish{display:flex!important;align-items:center!important;justify-content:center!important;min-height:43px!important;margin:11px 15px 18px!important;border-radius:10px!important;background:#1769e0!important;color:#fff!important;font-size:13px!important;font-weight:850!important}.jchome-app-auth{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:14px 15px 20px!important}.jchome-app-auth a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:41px!important;border:1px solid #1769e0!important;border-radius:10px!important;color:#1769e0!important;font-size:12px!important;font-weight:850!important}.jchome-app-auth a:last-child{background:#1769e0!important;color:#fff!important}
 body .jchome-app-overlay{position:fixed!important;inset:0!important;z-index:2147483500!important;display:block!important;background:rgba(9,23,39,.48)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .2s ease,visibility .2s ease!important}.jchome-app-overlay.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
}
@media(max-width:360px){body .jchome-app-shell{width:min(calc(100% - 12px),var(--jc-container))!important}.jchome-assistant-copy small{display:none!important}.jchome-app-jc{max-width:122px!important}.jchome-app-jc-logo{max-width:120px!important}body .jchome-app-solos{width:54px!important;min-width:54px!important}.jchome-app-solos img{width:52px!important;max-width:52px!important}}
@media(min-width:901px){.jchome-app-header{display:none!important}}

/* PWA: sin hueco superior aunque WordPress conserve body.admin-bar. */
@media(max-width:900px) and (display-mode:standalone){
 html.jc-pwa-standalone #wpadminbar{display:none!important}
 html.jc-pwa-standalone body .jc-header,html.jc-pwa-standalone body.admin-bar .jc-header{top:0!important;padding-top:env(safe-area-inset-top,0px)!important;background:#fff!important}
 html.jc-pwa-standalone body .jchome-app-header{background:#fff!important}
 html.jc-pwa-standalone body .jchome-app-drawer,html.jc-pwa-standalone body.admin-bar .jchome-app-drawer{top:0!important;height:100dvh!important;padding-top:env(safe-area-inset-top,0px)!important}
}


/* v9.5.54.21 — JC + CCJ + S&S en el header móvil sin aumentar altura. */
@media(max-width:900px){
 body .jchome-app-brand-center{gap:6px!important;}
 body .jchome-app-jc{max-width:112px!important;}
 body .jchome-app-jc-logo{max-width:110px!important;max-height:34px!important;}
 body .jchome-app-ccj{display:grid!important;place-items:center!important;width:48px!important;height:40px!important;min-width:48px!important;overflow:visible!important;background:#fff!important;border-radius:8px!important;}
 body .jchome-app-ccj img{display:block!important;width:46px!important;max-width:46px!important;max-height:38px!important;object-fit:contain!important;}
 body .jchome-app-solos{width:54px!important;min-width:54px!important;}
 body .jchome-app-solos img{width:52px!important;max-width:52px!important;max-height:38px!important;}
}
@media(max-width:380px){
 body .jchome-app-brand-center{gap:4px!important;}
 body .jchome-app-jc{max-width:94px!important;}
 body .jchome-app-jc-logo{max-width:92px!important;}
 body .jchome-app-ccj{width:43px!important;min-width:43px!important;}
 body .jchome-app-ccj img{width:41px!important;max-width:41px!important;}
 body .jchome-app-solos{width:48px!important;min-width:48px!important;}
 body .jchome-app-solos img{width:46px!important;max-width:46px!important;}
}
