/* EVLI APP V3 — Mobile app real preview
   Se activa solo con ?evli_app_v3=1
   No copia la web actual.
*/

#evliAppV3{
  display:none;
}

body.evli-app-v3-active{
  margin:0;
  background:#eef4ef;
  overflow-x:hidden;
}

body.evli-app-v3-active #root{
  display:none !important;
}

body.evli-app-v3-active #evliAppV3{
  display:block;
  min-height:100vh;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#10241d;
  background:
    radial-gradient(circle at 20% -5%, rgba(215,180,106,.16), transparent 32%),
    linear-gradient(180deg,#f8fbf7 0%,#edf4ee 100%);
}

.v3-shell{
  min-height:100vh;
  padding:18px 16px 98px;
}

.v3-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}

.v3-user{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.v3-avatar{
  width:46px;
  height:46px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:950;
  background:
    radial-gradient(circle at 25% 15%,rgba(215,180,106,.55),transparent 34%),
    linear-gradient(135deg,#041711,#0b7a44);
  box-shadow:0 14px 32px rgba(6,61,49,.22);
}

.v3-user strong{
  display:block;
  font-size:20px;
  line-height:1;
  letter-spacing:-.05em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:190px;
}

.v3-user span{
  display:block;
  margin-top:5px;
  color:#6f7d75;
  font-size:12px;
  font-weight:850;
}

.v3-status{
  height:34px;
  padding:0 12px;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:7px;
  background:rgba(11,122,68,.1);
  color:#0b7a44;
  font-size:12px;
  font-weight:950;
  border:1px solid rgba(11,122,68,.12);
}

.v3-status i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#0b7a44;
  box-shadow:0 0 0 4px rgba(11,122,68,.12);
}

.v3-today{
  padding:20px;
  border-radius:30px;
  background:#fff;
  border:1px solid rgba(6,61,49,.08);
  box-shadow:0 18px 44px rgba(6,61,49,.08);
  margin-bottom:14px;
}

.v3-kicker{
  display:block;
  color:#0b7a44;
  font-size:10px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.v3-today h1{
  margin:0;
  font-size:31px;
  line-height:1;
  letter-spacing:-.065em;
}

.v3-today p{
  margin:12px 0 0;
  color:#63756e;
  line-height:1.42;
  font-size:14px;
  font-weight:750;
}

.v3-primary{
  width:100%;
  min-height:52px;
  margin-top:16px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#041711,#0b7a44);
  color:#fff;
  font-size:15px;
  font-weight:950;
}

.v3-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:14px 0;
}

.v3-stat{
  min-height:92px;
  border-radius:24px;
  padding:14px;
  background:#fff;
  border:1px solid rgba(6,61,49,.08);
  box-shadow:0 12px 30px rgba(6,61,49,.06);
}

.v3-stat small{
  display:block;
  color:#7d8b84;
  font-size:9px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.v3-stat strong{
  display:block;
  margin-top:9px;
  color:#063d31;
  font-size:25px;
  line-height:1;
  letter-spacing:-.055em;
}

.v3-section{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:22px 0 12px;
}

.v3-section h2{
  margin:0;
  font-size:21px;
  letter-spacing:-.055em;
}

.v3-section button{
  min-height:36px;
  padding:0 13px;
  border:0;
  border-radius:999px;
  background:#063d31;
  color:#fff;
  font-weight:950;
}

.v3-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.v3-action{
  min-height:118px;
  border:0;
  text-align:left;
  border-radius:26px;
  padding:16px;
  background:#fff;
  border:1px solid rgba(6,61,49,.08);
  box-shadow:0 14px 34px rgba(6,61,49,.06);
}

.v3-action .v3-icon{
  width:38px;
  height:38px;
  border-radius:15px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  color:#fff;
  background:linear-gradient(135deg,#063d31,#0b7a44);
}

.v3-action svg{
  width:20px;
  height:20px;
  stroke:currentColor;
  fill:none;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.v3-action strong{
  display:block;
  color:#10241d;
  font-size:15px;
  line-height:1.1;
}

.v3-action span{
  display:block;
  margin-top:6px;
  color:#6b7a72;
  font-size:12px;
  line-height:1.25;
  font-weight:750;
}

.v3-list{
  display:grid;
  gap:10px;
}

.v3-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(6,61,49,.08);
  box-shadow:0 12px 28px rgba(6,61,49,.05);
}

.v3-row-mark{
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:15px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#063d31,#0b7a44);
  font-weight:950;
}

.v3-row strong{
  display:block;
  font-size:15px;
  line-height:1.1;
}

.v3-row span{
  display:block;
  margin-top:4px;
  color:#697970;
  font-size:12px;
  line-height:1.3;
  font-weight:750;
}

.v3-balance{
  padding:22px;
  border-radius:30px;
  color:#fff;
  background:
    radial-gradient(circle at 85% 0%,rgba(215,180,106,.20),transparent 35%),
    linear-gradient(135deg,#041711,#063d31);
  box-shadow:0 22px 60px rgba(4,23,17,.24);
  margin-bottom:14px;
}

.v3-balance small{
  display:block;
  color:rgba(255,255,255,.62);
  font-size:10px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.v3-balance strong{
  display:block;
  margin-top:10px;
  font-size:38px;
  line-height:1;
  letter-spacing:-.06em;
}

.v3-balance p{
  margin:12px 0 0;
  color:rgba(255,255,255,.72);
  line-height:1.35;
  font-size:13px;
  font-weight:750;
}

.v3-tabs{
  position:fixed;
  left:12px;
  right:12px;
  bottom:12px;
  height:74px;
  z-index:9999;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:6px;
  padding:8px;
  border-radius:30px;
  background:
    radial-gradient(circle at 15% 0%,rgba(215,180,106,.18),transparent 32%),
    linear-gradient(135deg,#041711,#071812);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 26px 70px rgba(4,23,17,.34);
}

.v3-tab{
  border:0;
  border-radius:22px;
  background:transparent;
  color:rgba(255,255,255,.58);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:4px;
  font-size:10px;
  font-weight:900;
}

.v3-tab svg{
  width:21px;
  height:21px;
  stroke:currentColor;
  fill:none;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.v3-tab.active{
  color:#fff;
  background:linear-gradient(135deg,rgba(64,166,79,.34),rgba(215,180,106,.16));
}

.v3-empty{
  padding:22px;
  border-radius:28px;
  background:#fff;
  border:1px dashed rgba(6,61,49,.18);
  color:#63756e;
  line-height:1.4;
  font-weight:750;
}

.v3-login{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
}

.v3-login-box{
  background:#fff;
  border-radius:32px;
  padding:28px;
  text-align:center;
  box-shadow:0 24px 70px rgba(6,61,49,.14);
}

.v3-login-box h1{
  margin:0;
  font-size:34px;
  line-height:1;
  letter-spacing:-.065em;
}

.v3-login-box p{
  color:#63756e;
  line-height:1.45;
}

.v3-login-box a{
  display:flex;
  min-height:50px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#063d31;
  color:#fff;
  text-decoration:none;
  font-weight:950;
}

@media(min-width:861px){
  body.evli-app-v3-active #root{
    display:block !important;
  }

  body.evli-app-v3-active #evliAppV3{
    display:none !important;
  }
}
