/* ARIA CORE HR 8.8 · Mi Espacio móvil inspirado en mockup ARIA HR CORE.
   Sólo <=760px. Desktop queda intacto. */
/* La cabecera móvil debe prevalecer sobre el display:flex de .vfpb-shell>header.
   La media query de abajo la vuelve a mostrar únicamente en móvil. */
.vfpb-shell>header.vfpb-mobile-core-top,.vfpb-mobile-core-home,.vfpb-mobile-core-dock,.vfpb-mobile-core-backdrop{display:none}

@media (max-width:760px){
  html,body{overflow-x:hidden!important}
  body:has([data-vfpb-employee]){padding-bottom:112px!important;background:#f8fbff!important}
  body.vfpb-mobile-menu-open{overflow:hidden!important}

  /* Ocultamos únicamente la cabecera desktop del portal. */
  .vfpb-shell>header:not(.vfpb-mobile-core-top){display:none!important}
  .vfpb-shell main{width:min(100% - 20px,680px)!important;margin:0 auto 34px!important;padding-top:0!important}

  .vfpb-mobile-core-top{height:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:18px 18px 14px!important;background:#fff!important;border:0!important;position:relative!important;top:auto!important;z-index:5!important}
  .vfpb-mobile-core-user{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
  .vfpb-mobile-core-avatar{width:54px!important;height:54px!important;flex:0 0 54px!important;display:grid!important;place-items:center!important;overflow:hidden!important;border-radius:50%!important;background:linear-gradient(135deg,#1bc9ea,#176ff0)!important;color:#fff!important;font-weight:900!important;font-size:18px!important;box-shadow:0 8px 20px rgba(24,116,225,.18)!important}
  .vfpb-mobile-core-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
  .vfpb-mobile-core-user strong,.vfpb-mobile-core-user small{display:block!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .vfpb-mobile-core-user strong{color:#10254d!important;font-size:20px!important;line-height:1.08!important;letter-spacing:-.02em!important}
  .vfpb-mobile-core-user small{margin-top:4px!important;color:#6e7ca2!important;font-size:12px!important}
  .vfpb-mobile-core-logout{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:54px!important;min-width:54px!important;height:58px!important;padding:0!important;border:0!important;background:transparent!important;color:#6b7b9f!important;box-shadow:none!important}
  .vfpb-mobile-core-logout span{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:13px!important;background:#f7faff!important;border:1px solid #e3ebf5!important;font-size:19px!important}
  .vfpb-mobile-core-logout small{font-size:11px!important;color:#6b7b9f!important}

  /* Inicio móvil nuevo. */
  .vfpb-mobile-core-home{display:block!important;padding-top:4px!important}
  [data-vfpb-portal-pane="home"]>.vfpb-home-hero,
  [data-vfpb-portal-pane="home"]>.vfpb-dashboard{display:none!important}
  .vfpb-mobile-core-hero{margin:0 0 18px!important;overflow:hidden!important;border-radius:24px!important;border:1px solid #dce8f5!important;background:#fff!important;box-shadow:0 10px 24px rgba(18,55,100,.06)!important}
  .vfpb-mobile-core-hero img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2.07/1!important;object-fit:cover!important}

  .vfpb-mobile-core-section{margin-top:18px!important}
  .vfpb-mobile-core-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 2px 10px!important}
  .vfpb-mobile-core-section-head h2{margin:0!important;color:#10254d!important;font-size:19px!important;line-height:1.1!important;letter-spacing:-.02em!important}
  .vfpb-mobile-core-section-head button{width:auto!important;min-height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#6678a2!important;box-shadow:none!important;font-size:12px!important;font-weight:700!important}
  .vfpb-mobile-core-section-head button span{font-size:18px!important;vertical-align:-1px!important}

  .vfpb-mobile-core-quick{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
  .vfpb-mobile-core-quick>button{min-width:0!important;min-height:104px!important;padding:13px 4px 10px!important;border:1px solid #e4ebf4!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 18px rgba(18,55,100,.04)!important;color:#17325e!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important}
  .vfpb-mobile-core-quick strong{font-size:11px!important;line-height:1.15!important;font-weight:650!important;text-align:center!important;white-space:normal!important}
  .vfpb-mq-icon{width:46px!important;height:46px!important;border-radius:15px!important;display:grid!important;place-items:center!important}
  .vfpb-mq-icon svg{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  .vfpb-mq-icon.blue{background:#eff6ff!important;color:#1375e6!important}.vfpb-mq-icon.green{background:#ebfbf3!important;color:#06b96a!important}.vfpb-mq-icon.violet{background:#f2efff!important;color:#7461ef!important}.vfpb-mq-icon.sky{background:#eef8ff!important;color:#178be8!important}

  .vfpb-mobile-core-info{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  .vfpb-mobile-info-card{min-width:0!important;min-height:135px!important;padding:13px 14px!important;border:1px solid #e1e9f3!important;border-radius:18px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;box-shadow:0 7px 18px rgba(18,55,100,.04)!important;color:#10254d!important;text-align:left!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important}
  .vfpb-mobile-info-title{display:grid!important;grid-template-columns:28px 1fr auto!important;align-items:center!important;gap:7px!important;color:#5e7099!important;font-size:11px!important;line-height:1.1!important}
  .vfpb-mobile-info-title i{width:28px!important;height:28px!important;border-radius:10px!important;display:grid!important;place-items:center!important;font-style:normal!important;font-size:15px!important}
  .vfpb-mobile-info-title i.orange{background:#fff6e8!important;color:#f6a82e!important}.vfpb-mobile-info-title i.cyan{background:#eefaff!important;color:#20aee9!important}.vfpb-mobile-info-title i.blue{background:#eff6ff!important;color:#197fe7!important}
  .vfpb-mobile-info-title b{font-size:20px!important;font-weight:400!important;color:#7788aa!important}
  .vfpb-mobile-info-card>strong{display:block!important;margin-top:11px!important;color:#10254d!important;font-size:24px!important;line-height:1!important;letter-spacing:-.025em!important}
  .vfpb-mobile-info-card>small{display:block!important;margin-top:7px!important;color:#7585a5!important;font-size:11px!important;line-height:1.25!important}

  .vfpb-mobile-core-mark{width:100%!important;min-height:76px!important;margin:18px 0 6px!important;padding:10px 16px!important;border:0!important;border-radius:18px!important;background:linear-gradient(120deg,#13c976 0%,#02bb61 100%)!important;box-shadow:0 10px 24px rgba(0,176,88,.20)!important;color:#fff!important;display:grid!important;grid-template-columns:48px 1fr auto!important;gap:11px!important;align-items:center!important;text-align:left!important}
  .vfpb-mobile-core-mark .pin{width:46px!important;height:46px!important;border-radius:50%!important;background:rgba(255,255,255,.18)!important;display:grid!important;place-items:center!important}
  .vfpb-mobile-core-mark .pin svg{width:26px!important;height:26px!important;fill:none!important;stroke:#fff!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  .vfpb-mobile-core-mark strong,.vfpb-mobile-core-mark small{display:block!important;color:#fff!important}
  .vfpb-mobile-core-mark strong{font-size:20px!important;line-height:1!important;font-weight:850!important}.vfpb-mobile-core-mark small{margin-top:4px!important;font-size:12px!important;line-height:1!important;font-weight:500!important}.vfpb-mobile-core-mark .go{font-size:31px!important;line-height:1!important;font-weight:200!important}

  /* Dock: Menú / ARIA / Avisos */
  .vfpb-mobile-core-dock{display:grid!important;grid-template-columns:1fr 92px 1fr!important;align-items:end!important;position:fixed!important;left:10px!important;right:10px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;height:80px!important;padding:10px 18px!important;border:1px solid #e1e9f3!important;border-radius:25px!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(14px)!important;box-shadow:0 16px 38px rgba(18,47,87,.16)!important;z-index:5000!important}
  .vfpb-mobile-core-dock>button{position:relative!important;min-width:0!important;min-height:55px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#61749d!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important}
  .vfpb-mobile-core-dock>button>span{position:relative!important;display:block!important}.vfpb-mobile-core-dock svg{width:26px!important;height:26px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.vfpb-mobile-core-dock small{font-size:11px!important;line-height:1!important;color:#61749d!important;font-weight:700!important}
  .vfpb-mobile-dock-bell b{position:absolute!important;right:-9px!important;top:-7px!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border-radius:999px!important;background:#ef4a50!important;color:#fff!important;font-size:9px!important;line-height:18px!important;text-align:center!important}
  .vfpb-mobile-core-dock .vfpb-mobile-core-aria{width:82px!important;height:82px!important;min-height:82px!important;margin:-42px auto 0!important;padding:0!important;border:6px solid rgba(255,255,255,.96)!important;border-radius:50%!important;background:linear-gradient(180deg,#19c9eb,#176ff0)!important;box-shadow:0 14px 30px rgba(23,111,240,.34)!important;display:grid!important;place-items:center!important}
  .vfpb-mobile-core-aria img{width:61px!important;height:61px!important;object-fit:contain!important;filter:drop-shadow(0 5px 8px rgba(0,55,160,.18))!important}

  /* El nav real se reutiliza como drawer. */
  .vfpb-portal-nav{display:none!important}
  .vfpb-portal-nav.is-mobile-open{display:grid!important;position:fixed!important;left:12px!important;right:12px!important;bottom:102px!important;z-index:5010!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin:0!important;padding:15px!important;border:1px solid #dce6f0!important;border-radius:22px!important;background:#fff!important;box-shadow:0 24px 55px rgba(12,35,70,.20)!important;max-height:calc(100dvh - 145px)!important;overflow:auto!important}
  .vfpb-portal-nav.is-mobile-open button{width:100%!important;min-height:44px!important;padding:0 9px!important;border:0!important;border-radius:12px!important;background:#f4f7fb!important;color:#56708b!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important}
  .vfpb-portal-nav.is-mobile-open button.is-active{background:#176ff0!important;color:#fff!important}
  .vfpb-mobile-core-backdrop{position:fixed!important;inset:0!important;z-index:5005!important;background:rgba(7,24,48,.34)!important;backdrop-filter:blur(2px)!important}
  .vfpb-mobile-core-backdrop:not([hidden]){display:block!important}

  /* Panel de avisos por encima del dock. */
  .vfpb-notifications{top:16px!important;left:10px!important;right:10px!important;bottom:104px!important;width:auto!important;max-height:none!important;border-radius:20px!important;z-index:5020!important}

  /* Módulos internos conservan su UI actual, sólo ganan espacio para el dock. */
  [data-vfpb-portal-pane]:not([data-vfpb-portal-pane="home"]){padding-top:8px!important;padding-bottom:22px!important}
}

@media(max-width:390px){
  .vfpb-mobile-core-user strong{font-size:18px!important}.vfpb-mobile-core-avatar{width:50px!important;height:50px!important;flex-basis:50px!important}.vfpb-mobile-core-quick{gap:6px!important}.vfpb-mobile-core-quick>button{min-height:96px!important}.vfpb-mobile-core-quick strong{font-size:10px!important}.vfpb-mobile-info-card{padding:11px!important;min-height:128px!important}.vfpb-mobile-info-card>strong{font-size:22px!important}
}

/* 8.9.25.6 · mobile start navigation without KPI queries */
@media(max-width:760px){.vfpb-mobile-core-links .vfpb-mobile-info-card{min-height:80px!important;padding:12px!important}.vfpb-mobile-core-links .vfpb-mobile-info-card>small{margin-top:5px!important}.vfpb-mobile-core-mark{margin:12px 0 20px!important}}

/* ARIA 8.9.25.7.1: Pantalla One Touch visible en Mi Espacio.
   Este archivo sí se carga en el portal personal; mobile-core-clean.css era solo Gestión. */
/* ARIA 8.9.25.7: GEO One Touch. Sólo interfaz; sin llamadas adicionales. */
.vfpb-geo-one-touch[hidden]{display:none!important}
.vfpb-geo-one-touch{position:fixed;inset:0;z-index:999999;background:#f5f8fc;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.vfpb-geo-one-touch-card{width:min(100%,400px);text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;background:#fff;padding:40px 24px;border-radius:24px;box-shadow:0 16px 45px rgba(9,41,67,.08)}
.vfpb-geo-one-touch-symbol{width:78px;height:78px;border-radius:50%;background:#eaf7f0;color:#16844d;font-size:58px;line-height:78px}
.vfpb-geo-one-touch[data-status=success] .vfpb-geo-one-touch-symbol::first-letter{color:#16844d}
.vfpb-geo-one-touch h2{color:#143049;font-size:24px!important;font-weight:750;line-height:1.2;margin:0}
.vfpb-geo-one-touch p{color:#587084;font-size:16px!important;line-height:1.5;max-width:310px;margin:0}
.vfpb-geo-one-touch button{background:#173a58;color:#fff;border:0;border-radius:12px;padding:12px 28px;font-size:15px;font-weight:600;cursor:pointer}
.vfpb-geo-one-touch button[hidden]{display:none!important}
