/* IUDEX MG · Identidad visual para la interfaz móvil / iPad (se carga después de movil.css).
   Para quitarla: borra la línea <link ... tema-movil.css> del index.html */
#mv-root{--bg:#EEF1F2;--ink:#1B2B33;--mute:#6E7478;--line:#E1E5E7;--verde:#11AD04;--azul:#1B2B33;--naranja:#C97A00;--amarillo:#B88700;
  font-family:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#EEF1F2}
#mv-root::before{content:"";position:absolute;width:70vw;height:70vw;left:-20vw;top:-24vw;border-radius:50%;background:rgba(17,173,4,.10);filter:blur(70px);pointer-events:none}
#mv-root>*{position:relative}
@keyframes mvUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
#mv-main>*{animation:mvUp .5s cubic-bezier(.2,.8,.2,1) both}
#mv-main>*:nth-child(2){animation-delay:.06s}#mv-main>*:nth-child(3){animation-delay:.12s}#mv-main>*:nth-child(4){animation-delay:.18s}
/* Cristal */
.mv-list,.mv-card,.mv-ic,#mv-root input[type=search],#mv-root input[type=text]{background:rgba(255,255,255,.7)!important;-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);border:1px solid rgba(255,255,255,.85);box-shadow:0 14px 34px -16px rgba(27,43,51,.3),inset 0 1px 0 #fff}
.mv-list,.mv-card{border-radius:24px}
.mv-ic{border-radius:999px}
.mv-t,.mv-hi{font-weight:800;letter-spacing:-.03em}
.mv-row:active{background:rgba(17,173,4,.12)}
.mv-calm{background:rgba(232,245,229,.9)!important}
/* Cifras */
#mv-root .mv-tile{border-radius:26px;box-shadow:0 18px 36px -18px rgba(27,43,51,.5);transition:transform .2s}
#mv-root .mv-tile:active{transform:scale(.97)}
#mv-root .mv-tile.azul{background:#1B2B33}#mv-root .mv-tile.verde{background:#11AD04}
/* Código de cliente en verde */
.mv-raiz{background:#11AD04!important;color:#fff!important;border-radius:999px;padding:3px 10px}
/* ═══ FICHA = FOLDER VERDE ═══ */
.mv-fichas{gap:40px 14px!important;padding-top:34px}
.mv-ficha{position:relative;background:#11AD04!important;border:0!important;border-radius:0 24px 24px 24px!important;padding:16px 18px 16px!important;color:#fff!important;box-shadow:0 18px 34px -16px rgba(12,107,3,.7),inset 0 2px 0 rgba(255,255,255,.28)!important;transition:transform .2s}
.mv-ficha::before{content:"EXPEDIENTE";position:absolute;left:0;top:-28px;height:30px;padding:0 20px;display:flex;align-items:center;background:#11AD04;color:#fff;font-size:10px;font-weight:800;letter-spacing:.16em;border-radius:16px 20px 0 0;box-shadow:inset 0 2px 0 rgba(255,255,255,.28)}
.mv-ficha:active{transform:scale(.98);background:#0E9703!important}
.mv-ficha strong{color:#fff!important}
.mv-ficha small{color:#E8F5E5!important}
.mv-ficha .mv-fc{color:#fff!important;font-size:18px}
.mv-ficha .mv-fa{color:#fff!important;background:rgba(255,255,255,.2);padding:4px 10px;border-radius:999px;display:inline-block;width:fit-content;margin-top:4px}
.mv-ficha .mv-st{background:#fff!important;color:#0C6B03!important;border-radius:999px;font-weight:800}
.mv-ficha .mv-st.rojo{color:#B42318!important}.mv-ficha .mv-st.amarillo{color:#8A5A00!important}
/* Barra inferior (celular) */
.mv-nav{background:rgba(27,43,51,.94)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:999px!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 20px 40px -14px rgba(14,26,32,.7)}
.mv-nav button{color:#C8D2D6!important}.mv-nav button.on{color:#fff!important}
.mv-nav button.on span{border-bottom:2px solid #11AD04}
.mv-nav .mv-fab{background:#11AD04!important;box-shadow:0 10px 22px -6px rgba(17,173,4,.8);animation:mvPulse 2.8s ease-out infinite}
@keyframes mvPulse{0%,100%{box-shadow:0 10px 22px -6px rgba(17,173,4,.8),0 0 0 0 rgba(17,173,4,.5)}50%{box-shadow:0 10px 22px -6px rgba(17,173,4,.8),0 0 0 12px rgba(17,173,4,0)}}
/* iPad y pantallas anchas: menú ARRIBA, en línea */
@media(min-width:700px){
  #mv-root{padding-top:calc(env(safe-area-inset-top) + 74px)}
  .mv-nav{position:absolute!important;top:calc(env(safe-area-inset-top) + 12px)!important;bottom:auto!important;left:16px!important;right:16px!important;width:auto!important;transform:none!important;height:56px}
  .mv-nav button{flex-direction:row;gap:8px;font-size:13px;font-weight:700}
  .mv-nav .mv-fab{width:44px;height:44px}
  #mv-root.sheet-open .mv-nav{display:grid}
  #mv-main{padding-bottom:30px!important}
}
/* El modo oscuro del sistema no cambia la identidad */
@media(prefers-color-scheme:dark){#mv-root{background:#EEF1F2;color:#1B2B33}.mv-card,.mv-list{background:rgba(255,255,255,.7)!important}.mv-fc{color:#fff}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
