:root{
  --aquo-blue:#0757b8;
  --aquo-deep:#032b62;
  --aquo-cyan:#08a9c7;
  --aquo-ice:#8be9ef;
  --aquo-ink:#10233f;
  --aquo-muted:#71839a;
  --aquo-card:rgba(255,255,255,.97);
}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--aquo-ink);
  background:#eaf5ff;
  -webkit-font-smoothing:antialiased
}
button,input{font:inherit}
a{text-decoration:none}

.login-page{
  position:relative;
  min-height:100vh;
  min-height:100dvh;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.14fr) minmax(420px,.86fr);
  background:linear-gradient(135deg,#032b62 0%,#0757b8 48%,#07a3c5 100%)
}
.login-page::before,.login-page::after{
  content:"";position:absolute;pointer-events:none;border-radius:50%;filter:blur(2px)
}
.login-page::before{
  width:72vw;height:72vw;left:-30vw;bottom:-50vw;
  background:radial-gradient(circle,rgba(64,225,239,.28),rgba(64,225,239,0) 66%)
}
.login-page::after{
  width:55vw;height:55vw;left:22vw;top:-42vw;
  background:radial-gradient(circle,rgba(255,255,255,.2),rgba(255,255,255,0) 68%)
}

.water-lines{position:absolute;inset:0;overflow:hidden;pointer-events:none;opacity:.7}
.water-lines i{
  position:absolute;left:-15%;width:95%;height:160px;
  border:1px solid rgba(255,255,255,.17);border-radius:50%;transform:rotate(-8deg)
}
.water-lines i:nth-child(1){bottom:8%;animation:wave 14s ease-in-out infinite}
.water-lines i:nth-child(2){bottom:20%;left:6%;width:75%;opacity:.65;animation:wave 18s ease-in-out infinite reverse}
.water-lines i:nth-child(3){bottom:32%;left:-4%;width:64%;opacity:.42;animation:wave 22s ease-in-out infinite}
@keyframes wave{50%{transform:translateX(4%) translateY(-7px) rotate(-5deg)}}

.login-brand{
  position:relative;z-index:2;
  display:flex;flex-direction:column;justify-content:space-between;
  padding:clamp(32px,5vw,72px);
  color:#fff
}
.aquo-lockup{display:flex;align-items:center;gap:14px}
.aquo-mark{
  width:58px;height:58px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.28);border-radius:19px;
  background:rgba(255,255,255,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 16px 36px rgba(0,23,60,.18);
  backdrop-filter:blur(13px)
}
.aquo-mark svg{width:34px;height:34px;fill:rgba(255,255,255,.95)}
.aquo-mark .aquo-mark-wave{
  fill:none;stroke:#77e7ef;stroke-width:2.1;stroke-linecap:round
}
.aquo-wordmark{font-size:1.08rem;font-weight:950;letter-spacing:.12em}
.aquo-wordmark span{color:#8be9ef}
.brand-edition{
  margin-top:4px;color:rgba(255,255,255,.66);
  font-size:.68rem;font-weight:750;letter-spacing:.08em
}

.brand-main{max-width:680px;margin:auto 0;padding:28px 0}
.brand-kicker{
  display:inline-flex;align-items:center;gap:8px;margin-bottom:18px;padding:7px 11px;
  border:1px solid rgba(255,255,255,.22);border-radius:999px;
  background:rgba(255,255,255,.1);font-size:.75rem;font-weight:850;
  letter-spacing:.08em;text-transform:uppercase
}
.brand-kicker::before{
  content:"";width:7px;height:7px;border-radius:50%;
  background:#73f0ef;box-shadow:0 0 0 5px rgba(115,240,239,.12)
}
.brand-main h1{
  max-width:650px;margin:0;font-size:clamp(2.55rem,5vw,4.9rem);
  line-height:.98;letter-spacing:-.055em;font-weight:950
}
.brand-main h1 span{display:block;margin-top:.18em;color:#8be9ef}
.brand-main>p{
  max-width:600px;margin:22px 0 0;color:rgba(255,255,255,.79);
  font-size:clamp(1rem,1.45vw,1.14rem);line-height:1.62
}
.brand-features{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;margin-top:28px;max-width:610px
}
.brand-feature{
  display:flex;align-items:flex-start;gap:11px;padding:12px 13px;
  border:1px solid rgba(255,255,255,.11);border-radius:16px;
  background:rgba(255,255,255,.065);backdrop-filter:blur(8px)
}
.brand-feature .feature-icon{
  width:31px;height:31px;border-radius:10px;display:grid;place-items:center;flex:0 0 auto;
  background:rgba(255,255,255,.12);color:#9af2f4;font-weight:900
}
.brand-feature div{min-width:0}
.brand-feature strong{display:block;color:#fff;font-size:.82rem;font-weight:850}
.brand-feature small{
  display:block;margin-top:3px;color:rgba(255,255,255,.59);
  font-size:.68rem;font-weight:600;line-height:1.35
}
.brand-cta{
  display:inline-flex;align-items:center;gap:10px;margin-top:24px;padding:12px 16px;
  border-radius:14px;background:#fff;color:#0757b8;font-size:.82rem;font-weight:900;
  box-shadow:0 12px 28px rgba(0,28,67,.16);transition:.18s ease
}
.brand-cta:hover{transform:translateY(-1px);color:#064a9e}
.brand-footer{font-size:.73rem;color:rgba(255,255,255,.58)}
.brand-footer strong{color:rgba(255,255,255,.88);font-weight:850}

.login-panel{
  position:relative;z-index:3;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:15px;padding:30px 34px;
  background:rgba(241,249,255,.9);
  backdrop-filter:blur(23px);-webkit-backdrop-filter:blur(23px);
  box-shadow:-30px 0 80px rgba(0,33,75,.16);
  overflow-y:auto
}
.mobile-aquo-hero{display:none}

.login-card{
  position:relative;overflow:hidden;width:min(100%,470px);
  padding:clamp(26px,3.4vw,40px);
  border:1px solid rgba(16,35,63,.08);border-radius:28px;
  background:var(--aquo-card);box-shadow:0 28px 65px rgba(4,46,94,.13)
}
.login-card::before{
  content:"";position:absolute;inset:0 0 auto;height:4px;
  background:linear-gradient(90deg,#0757b8,#08a9c7,#72e2e8)
}
.login-eyebrow{
  margin:0 0 8px;color:var(--aquo-blue);font-size:.73rem;
  letter-spacing:.12em;font-weight:950;text-transform:uppercase
}
.login-card h2{
  margin:0;color:var(--aquo-ink);font-size:clamp(1.65rem,2.8vw,2.02rem);
  font-weight:950;letter-spacing:-.035em
}
.login-subtitle{
  margin:9px 0 26px;color:var(--aquo-muted);font-size:.9rem;line-height:1.52
}
.login-card .form-label{
  margin-bottom:7px;color:#3e526d;font-size:.77rem;font-weight:850
}
.login-input{position:relative}
.login-input .form-control{
  height:52px;padding-left:46px;border:1px solid #dbe5ef;border-radius:15px;
  background:#fbfdff;font-size:.96rem;box-shadow:none
}
.login-input .form-control:focus{
  border-color:rgba(7,87,184,.45);background:#fff;
  box-shadow:0 0 0 .25rem rgba(7,87,184,.11)
}
.login-input .field-icon{
  position:absolute;left:16px;top:50%;transform:translateY(-50%);z-index:2;
  color:#7790aa;font-size:1rem
}
.login-input-password .form-control{padding-right:52px}
.password-toggle{
  position:absolute;right:9px;top:50%;z-index:3;width:38px;height:38px;
  transform:translateY(-50%);display:grid;place-items:center;border:0;border-radius:11px;
  background:transparent;color:#6f849c;font-size:1.05rem;cursor:pointer;
  transition:background .16s ease,color .16s ease
}
.password-toggle:hover{background:#eef5fb;color:var(--aquo-blue)}
.password-toggle:focus-visible{outline:3px solid rgba(7,87,184,.16);color:var(--aquo-blue)}
.login-submit{
  height:52px;border:0;border-radius:15px;
  background:linear-gradient(135deg,var(--aquo-blue),#087eae);
  box-shadow:0 12px 25px rgba(7,87,184,.25);font-weight:850;transition:.18s ease
}
.login-submit:hover{
  transform:translateY(-1px);background:linear-gradient(135deg,#064a9e,var(--aquo-blue));
  box-shadow:0 16px 30px rgba(7,87,184,.29)
}
.login-submit:active{transform:scale(.99)}
.login-alert{border:0;border-radius:13px;font-size:.84rem}

.login-register{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin-top:17px;padding:13px 14px;border:1px solid #e2eaf2;border-radius:16px;
  background:linear-gradient(145deg,#fbfdff,#f2f8fd)
}
.login-register span{display:block;color:#304862;font-size:.75rem;font-weight:850}
.login-register small{display:block;margin-top:2px;color:#8594a5;font-size:.65rem;line-height:1.35}
.login-register a{
  display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:var(--aquo-blue);
  font-size:.74rem;font-weight:900
}
.login-register a:hover{gap:9px}

.security-row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:22px;
  padding-top:18px;border-top:1px solid #e9eef4
}
.security-item{text-align:center;color:#7a899c;font-size:.64rem;font-weight:750}
.security-item span{
  display:block;margin-bottom:5px;color:var(--aquo-blue);font-size:.92rem;font-weight:950
}
.login-meta{
  display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;
  color:#8795a8;font-size:.71rem
}
.login-meta i{width:4px;height:4px;border-radius:50%;background:#b8c3cf}


/* AQUO como guía visible de la experiencia */
.aquo-guide-card{
  display:flex;align-items:center;gap:13px;
  max-width:610px;margin-top:18px;padding:13px 14px;
  border:1px solid rgba(255,255,255,.16);border-radius:18px;
  background:rgba(255,255,255,.09);backdrop-filter:blur(10px);
  box-shadow:0 12px 30px rgba(0,25,60,.10)
}
.aquo-guide-card img{
  width:64px;height:64px;object-fit:cover;object-position:center 16%;
  border-radius:17px;border:2px solid rgba(255,255,255,.72);
  box-shadow:0 8px 22px rgba(0,28,67,.22);flex:0 0 auto
}
.aquo-guide-bubble{min-width:0}
.aquo-guide-bubble strong{display:block;color:#fff;font-size:.83rem;font-weight:900}
.aquo-guide-bubble p{
  margin:4px 0 8px;color:rgba(255,255,255,.72);
  font-size:.72rem;line-height:1.4
}
.aquo-guide-tags{display:flex;flex-wrap:wrap;gap:5px}
.aquo-guide-tags span{
  padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.11);
  color:rgba(255,255,255,.84);font-size:.58rem;font-weight:800
}
.aquo-guide-mobile{display:none}

/* Instalación PWA */
.install-banner{
  width:min(100%,470px);padding:16px;border:1px solid rgba(7,87,184,.11);
  border-radius:22px;background:linear-gradient(145deg,#092b55 0%,#0b4f86 62%,#087fa4 100%);
  box-shadow:0 18px 44px rgba(4,46,94,.17);color:#fff
}
.install-banner[hidden]{display:none!important}
.install-copy{display:flex;align-items:center;gap:12px;margin-bottom:13px}
.install-icon{
  width:43px;height:43px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto;
  background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.17)
}
.install-icon svg,.install-button svg{
  width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round
}
.install-copy strong{display:block;font-size:.87rem;font-weight:900}
.install-copy small{
  display:block;margin-top:3px;color:rgba(255,255,255,.67);font-size:.68rem;font-weight:600
}
.install-button{
  width:100%;height:50px;border:0;border-radius:15px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  background:#fff;color:#0b3f72;font-size:.89rem;font-weight:900;cursor:pointer;
  box-shadow:0 9px 22px rgba(0,22,48,.16);transition:.18s ease
}
.install-button:hover{transform:translateY(-1px);background:#f8fcff}
.install-button.is-ready{background:linear-gradient(180deg,#fff,#f0fbff)}
.install-help{
  margin-top:11px;padding:10px 11px;border-radius:12px;background:rgba(255,255,255,.1);
  color:rgba(255,255,255,.82);font-size:.68rem;line-height:1.45
}
.install-help strong{color:#fff}

@media(max-width:900px){
  .login-page{
    display:block;min-height:100dvh;overflow:auto;
    background:linear-gradient(160deg,#032b62 0,#0764b8 33%,#edf7ff 33.2%,#f4f9fe 100%)
  }
  .login-brand{display:none}
  .login-panel{
    min-height:100dvh;justify-content:flex-start;
    padding:0 16px calc(150px + env(safe-area-inset-bottom));
    padding-top:max(18px,env(safe-area-inset-top));background:transparent;
    box-shadow:none;backdrop-filter:none;overflow:visible
  }
  .mobile-aquo-hero{
    display:block;width:min(100%,470px);padding:8px 4px 14px;color:#fff
  }
  .mobile-aquo-brand{display:flex;align-items:center;gap:10px;margin-bottom:18px}
  .aquo-mark-mobile{
    width:45px;height:45px;border-radius:14px;background:rgba(255,255,255,.12)
  }
  .aquo-mark-mobile svg{width:27px;height:27px}
  .mobile-aquo-brand strong{display:block;font-size:.9rem;font-weight:950;letter-spacing:.09em}
  .mobile-aquo-brand strong span{color:#8be9ef}
  .mobile-aquo-brand small{
    display:block;margin-top:2px;color:rgba(255,255,255,.66);font-size:.64rem;font-weight:700
  }
  .mobile-aquo-hero h1{
    max-width:410px;margin:0;font-size:clamp(1.75rem,7vw,2.35rem);
    line-height:1.03;letter-spacing:-.04em;font-weight:950
  }
  .mobile-aquo-hero h1 span{color:#8be9ef}
  .mobile-aquo-hero>p{
    max-width:390px;margin:10px 0 0;color:rgba(255,255,255,.72);
    font-size:.82rem;line-height:1.45
  }
  .mobile-feature-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
  .mobile-feature-chips span{
    padding:6px 8px;border:1px solid rgba(255,255,255,.15);border-radius:999px;
    background:rgba(255,255,255,.08);color:rgba(255,255,255,.83);
    font-size:.61rem;font-weight:800
  }
  .login-card{
    margin:0 auto;padding:24px 20px 22px;border-radius:25px;
    box-shadow:0 20px 55px rgba(4,46,94,.18)
  }
  .aquo-guide-desktop{display:none}
  .aquo-guide-mobile{
    display:flex;width:min(100%,470px);margin:-2px auto 12px;
    padding:12px 13px;border-color:rgba(7,87,184,.10);
    background:linear-gradient(145deg,#ffffff,#eef8ff);
    box-shadow:0 14px 34px rgba(4,46,94,.11)
  }
  .aquo-guide-mobile img{
    width:58px;height:58px;border-color:#fff;
    box-shadow:0 8px 20px rgba(7,87,184,.16)
  }
  .aquo-guide-mobile .aquo-guide-bubble strong{color:#173653;font-size:.78rem}
  .aquo-guide-mobile .aquo-guide-bubble p{color:#71839a;font-size:.67rem;margin-bottom:7px}
  .aquo-guide-mobile .aquo-guide-tags span{
    background:#e5f3fb;color:#0a6395;font-size:.55rem
  }

  .install-banner{
    display:block!important;visibility:visible!important;opacity:1!important;
    position:fixed!important;left:10px!important;right:10px!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:470px!important;margin:0 auto!important;
    border-radius:21px;z-index:2147483000!important;
    box-shadow:0 22px 60px rgba(4,46,94,.32)
  }
  .install-copy{margin-bottom:10px}
  .install-button{height:50px}
  .security-row{gap:3px}
  .security-item{font-size:.6rem}
}
@media(max-width:460px){
  .login-panel{padding-left:11px;padding-right:11px}
  .login-card{padding-left:17px;padding-right:17px}
  .login-card h2{font-size:1.55rem}
  .login-register{align-items:flex-start;flex-direction:column}
  .login-register a{
    width:100%;justify-content:center;padding-top:7px;border-top:1px solid #e7edf3
  }
  .install-banner{padding:14px}
  .install-copy strong{font-size:.82rem}
  .install-copy small{font-size:.64rem}
}
@media(prefers-reduced-motion:reduce){
  .water-lines i{animation:none}
  .login-submit,.brand-cta,.install-button{transition:none}
}

@media(max-width:900px){
  #pwa-install-card[hidden]{display:block!important}
}


/* =========================================================
   v3.10.63c · Login compacto AQUO 360
   Objetivo: ver toda la información principal sin desplazarse.
   ========================================================= */

/* DESKTOP */
@media(min-width:901px){
  html,body{height:100%;overflow:hidden}
  .login-page{
    height:100dvh;min-height:0;
    grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)
  }
  .login-brand{
    height:100dvh;min-height:0;
    padding:clamp(18px,2.8vw,38px) clamp(24px,4vw,58px)
  }
  .aquo-mark{width:48px;height:48px;border-radius:15px}
  .aquo-mark svg{width:28px;height:28px}
  .aquo-wordmark{font-size:.95rem}
  .brand-edition{font-size:.6rem}
  .brand-main{
    max-width:640px;padding:10px 0;margin:auto 0
  }
  .brand-kicker{margin-bottom:10px;padding:5px 9px;font-size:.64rem}
  .brand-main h1{
    font-size:clamp(2.15rem,4.15vw,4rem);
    line-height:.96
  }
  .brand-main>p{
    margin-top:12px;font-size:clamp(.86rem,1.1vw,.98rem);line-height:1.45
  }
  .brand-features{
    gap:7px;margin-top:14px;max-width:590px
  }
  .brand-feature{padding:8px 10px;border-radius:13px;gap:8px}
  .brand-feature .feature-icon{width:27px;height:27px;border-radius:8px}
  .brand-feature strong{font-size:.72rem}
  .brand-feature small{font-size:.59rem;margin-top:1px}
  .aquo-guide-card{margin-top:10px;padding:9px 10px;gap:9px;border-radius:14px}
  .aquo-guide-card img{width:50px;height:50px;border-radius:13px}
  .aquo-guide-bubble strong{font-size:.74rem}
  .aquo-guide-bubble p{margin:2px 0 5px;font-size:.62rem;line-height:1.3}
  .aquo-guide-tags span{font-size:.51rem;padding:3px 6px}
  .brand-cta{margin-top:10px;padding:9px 13px;border-radius:12px;font-size:.73rem}
  .brand-footer{font-size:.64rem}

  .login-panel{
    height:100dvh;min-height:0;overflow:hidden;
    gap:10px;padding:18px 24px
  }
  .login-card{
    width:min(100%,455px);
    padding:23px 28px 20px;border-radius:24px
  }
  .login-eyebrow{margin-bottom:4px;font-size:.65rem}
  .login-card h2{font-size:1.62rem}
  .login-subtitle{margin:6px 0 16px;font-size:.78rem;line-height:1.4}
  .login-card .form-label{margin-bottom:5px;font-size:.69rem}
  .login-card .mb-3{margin-bottom:.75rem!important}
  .login-card .mb-4{margin-bottom:.9rem!important}
  .login-input .form-control{height:45px;border-radius:13px;font-size:.87rem}
  .password-toggle{width:34px;height:34px}
  .login-submit{height:46px;border-radius:13px;font-size:.88rem}
  .login-register{margin-top:11px;padding:10px 11px;border-radius:13px}
  .login-register span{font-size:.68rem}
  .login-register small{font-size:.58rem}
  .login-register a{font-size:.66rem}
  .security-row{margin-top:13px;padding-top:11px}
  .security-item{font-size:.56rem}
  .security-item span{font-size:.82rem;margin-bottom:2px}
  .login-meta{margin-top:11px;font-size:.61rem}

  .install-banner{
    width:min(100%,455px);padding:11px 12px;border-radius:17px
  }
  .install-copy{margin-bottom:8px;gap:9px}
  .install-icon{width:36px;height:36px;border-radius:11px}
  .install-copy strong{font-size:.76rem}
  .install-copy small{font-size:.59rem}
  .install-button{height:42px;border-radius:12px;font-size:.78rem}
  .install-button svg{width:18px;height:18px}
  .install-help{font-size:.61rem;padding:8px 9px}
}

/* MÓVIL */
@media(max-width:900px){
  html,body{
    height:100%;min-height:100%;overflow:hidden!important
  }
  .login-page{
    height:100dvh!important;min-height:0!important;overflow:hidden!important;
    background:linear-gradient(160deg,#032b62 0,#0764b8 29%,#edf7ff 29.2%,#f4f9fe 100%)
  }
  .login-panel{
    height:100dvh!important;min-height:0!important;overflow:hidden!important;
    display:flex!important;flex-direction:column!important;
    justify-content:flex-start!important;gap:6px!important;
    padding:
      max(8px,env(safe-area-inset-top))
      10px
      calc(116px + env(safe-area-inset-bottom))!important
  }

  .mobile-aquo-hero{
    flex:0 0 auto;width:min(100%,470px);
    padding:2px 4px 4px!important
  }
  .mobile-aquo-brand{margin-bottom:7px;gap:8px}
  .aquo-mark-mobile{width:37px;height:37px;border-radius:12px}
  .aquo-mark-mobile svg{width:23px;height:23px}
  .mobile-aquo-brand strong{font-size:.78rem}
  .mobile-aquo-brand small{font-size:.54rem}
  .mobile-aquo-hero h1{
    font-size:clamp(1.35rem,5.8vw,1.72rem)!important;
    line-height:1!important
  }
  .mobile-aquo-hero>p{
    margin:5px 0 0!important;font-size:.68rem!important;line-height:1.3!important
  }
  .mobile-feature-chips{margin-top:6px!important;gap:4px!important}
  .mobile-feature-chips span{
    padding:4px 6px!important;font-size:.51rem!important
  }

  .aquo-guide-mobile{
    flex:0 0 auto;margin:0 auto 3px!important;
    padding:7px 9px!important;gap:8px!important;border-radius:14px!important
  }
  .aquo-guide-mobile img{
    width:44px!important;height:44px!important;border-radius:12px!important
  }
  .aquo-guide-mobile .aquo-guide-bubble strong{font-size:.67rem!important}
  .aquo-guide-mobile .aquo-guide-bubble p{
    margin:1px 0 4px!important;font-size:.57rem!important;line-height:1.25!important
  }
  .aquo-guide-mobile .aquo-guide-tags{gap:3px!important}
  .aquo-guide-mobile .aquo-guide-tags span{
    padding:2px 5px!important;font-size:.47rem!important
  }

  .login-card{
    flex:0 0 auto;width:min(100%,470px);
    margin:0 auto!important;padding:14px 15px 12px!important;
    border-radius:20px!important
  }
  .login-card::before{height:3px}
  .login-eyebrow{margin:0 0 2px!important;font-size:.56rem!important}
  .login-card h2{font-size:1.22rem!important}
  .login-subtitle{
    margin:4px 0 10px!important;font-size:.65rem!important;line-height:1.28!important
  }
  .login-card .form-label{
    margin-bottom:3px!important;font-size:.61rem!important
  }
  .login-card .mb-3{margin-bottom:.48rem!important}
  .login-card .mb-4{margin-bottom:.55rem!important}
  .login-input .form-control{
    height:39px!important;border-radius:11px!important;
    padding-left:40px!important;font-size:.77rem!important
  }
  .login-input .field-icon{left:13px!important;font-size:.86rem!important}
  .login-input-password .form-control{padding-right:43px!important}
  .password-toggle{
    right:6px!important;width:30px!important;height:30px!important;font-size:.86rem!important
  }
  .login-submit{
    height:40px!important;border-radius:11px!important;font-size:.76rem!important
  }

  .login-register{
    margin-top:7px!important;padding:7px 9px!important;
    border-radius:12px!important;gap:6px!important;
    flex-direction:row!important;align-items:center!important
  }
  .login-register span{font-size:.59rem!important}
  .login-register small{
    display:none!important
  }
  .login-register a{
    width:auto!important;padding:0!important;border:0!important;
    font-size:.6rem!important;white-space:nowrap!important
  }

  /* Mantener beneficios, pero en una sola línea compacta */
  .security-row{
    margin-top:7px!important;padding-top:7px!important;gap:2px!important
  }
  .security-item{font-size:.49rem!important}
  .security-item span{
    display:inline!important;margin:0 3px 0 0!important;font-size:.7rem!important
  }
  .login-meta{
    margin-top:5px!important;font-size:.52rem!important
  }

  /* Banner siempre visible abajo, sin tapar el formulario */
  .install-banner{
    display:block!important;visibility:visible!important;opacity:1!important;
    position:fixed!important;left:8px!important;right:8px!important;
    bottom:calc(7px + env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:470px!important;margin:0 auto!important;
    padding:9px 10px!important;border-radius:16px!important;
    z-index:2147483000!important
  }
  .install-copy{margin-bottom:6px!important;gap:8px!important}
  .install-icon{
    width:32px!important;height:32px!important;border-radius:10px!important
  }
  .install-icon svg{width:17px!important;height:17px!important}
  .install-copy strong{font-size:.68rem!important}
  .install-copy small{font-size:.53rem!important}
  .install-button{
    height:38px!important;border-radius:11px!important;
    font-size:.69rem!important;gap:7px!important
  }
  .install-button svg{width:17px!important;height:17px!important}
  .install-help{
    margin-top:6px!important;padding:6px 7px!important;
    font-size:.54rem!important;line-height:1.3!important
  }

  /* Si ya está instalada y se abre como PWA, este bloque se oculta por JS. */
  #pwa-install-card[hidden]{display:none!important}
}

/* Teléfonos de poca altura */
@media(max-width:900px) and (max-height:700px){
  .mobile-feature-chips{display:none!important}
  .aquo-guide-mobile{display:none!important}
  .login-panel{
    padding-bottom:calc(108px + env(safe-area-inset-bottom))!important
  }
}
