/* Ahorrito V12.4.2 | Fullscreen, explicit, no-flash PWA updates */
#pwaBootGate.hidden, #pwaUpdateStage.hidden {display:none!important;visibility:hidden!important;pointer-events:none!important;}
#pwaUpdateStage.ah-update-stage:not(.hidden){
 position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;
 overflow-y:auto!important;overscroll-behavior:contain!important;z-index:2147483000!important;
 display:flex!important;align-items:stretch!important;justify-content:stretch!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;
 background:#f1faf6!important;color:#123d36!important;
 -webkit-overflow-scrolling:touch;
}
html[data-theme="dark"] #pwaUpdateStage.ah-update-stage:not(.hidden){background:#071d18!important;color:#f2fff8!important}
body:has(#pwaUpdateStage:not(.hidden)){overflow:hidden!important}
.ah-update-screen{width:100%;min-height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;padding:calc(30px + env(safe-area-inset-top,0px)) clamp(22px,5vw,66px) calc(36px + env(safe-area-inset-bottom,0px));background:transparent!important}
.ah-update-top{width:min(100%,850px);display:flex;align-items:center;justify-content:space-between;gap:16px}
.ah-update-logo{height:auto;width:clamp(140px,26vw,220px);max-height:72px;object-fit:contain;object-position:left center}
.ah-update-version{border-radius:999px;background:#e0f3e9;border:1px solid #c0e3d0;color:#125d4c;font-size:13px;font-weight:800;padding:8px 14px}
.ah-update-content{width:min(100%,570px);margin:auto 0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;padding:clamp(35px,6vh,64px) 0}
.ah-update-symbol{width:84px;height:84px;border-radius:28px;background:#d8f7e9;color:#087764;display:flex;align-items:center;justify-content:center;margin-bottom:30px}
.ah-update-symbol svg{width:40px;height:40px}
.ah-update-eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:850;color:#007b67;margin:0 0 15px}
.ah-update-content h1{font-size:clamp(34px,7vw,54px);line-height:1.12;letter-spacing:-.045em;margin:0 0 16px;color:#0b3933;font-weight:850;overflow-wrap:break-word}
.ah-update-description{font-size:clamp(16px,2vw,19px);line-height:1.55;color:#49675e;max-width:490px;margin:0 0 28px}
.ah-update-actions{display:flex;flex-direction:column;gap:12px;width:min(100%,410px);margin:0 auto}
.ah-update-primary,.ah-update-secondary{min-height:58px;border-radius:17px;font-weight:850;font-size:17px;line-height:1.2;padding:14px 18px;cursor:pointer;touch-action:manipulation}
.ah-update-primary{border:1px solid #00aa8d;background:linear-gradient(105deg,#087f70,#0cc3a3);color:#fff}
.ah-update-secondary{border:1px solid #bfdbd0;background:#fff;color:#155144}
.ah-update-primary:disabled,.ah-update-secondary:disabled{opacity:.6;cursor:wait}
.ah-update-footnote{font-size:13px;color:#678078;line-height:1.6;margin:28px 0 0;max-width:400px}
.ah-update-progress{width:min(100%,430px);margin:8px 0 26px}
.ah-update-progress-meta{display:flex;justify-content:space-between;gap:15px;color:#41665a;margin-bottom:12px;font-size:14px;font-weight:700}
.ah-update-progress-track{height:12px;width:100%;overflow:hidden;border-radius:99px;background:#d2e9df}
.ah-update-progress-track span{display:block;background:linear-gradient(90deg,#047a6a,#10cfaa);height:100%;border-radius:99px;width:0;transition:width .20s ease}
.ah-update-done-info{font-size:16px;line-height:1.7;background:#dff4e8;border:1px solid #b9e5cf;border-radius:18px;width:min(100%,430px);padding:18px 20px;margin:4px auto 0;color:#1d5848;font-weight:650}
html[data-theme="dark"] .ah-update-version{background:#15392f;border-color:#295b49;color:#adebd0}
html[data-theme="dark"] .ah-update-symbol{background:#164a3c;color:#9deac8}
html[data-theme="dark"] .ah-update-eyebrow{color:#88edc5}
html[data-theme="dark"] .ah-update-content h1{color:#f2fff8}
html[data-theme="dark"] .ah-update-description{color:#b4d1c4}
html[data-theme="dark"] .ah-update-secondary{background:#193a30;border-color:#386956;color:#ecfff5}
html[data-theme="dark"] .ah-update-footnote{color:#a3c5b6}
html[data-theme="dark"] .ah-update-progress-meta{color:#b4d1c4}
html[data-theme="dark"] .ah-update-progress-track{background:#244737}
html[data-theme="dark"] .ah-update-done-info{background:#163c2f;border-color:#35624f;color:#cdf7e0}
@media(max-width:600px){.ah-update-screen{padding:calc(18px + env(safe-area-inset-top,0px)) 22px calc(28px + env(safe-area-inset-bottom,0px))}.ah-update-logo{width:172px}.ah-update-symbol{width:74px;height:74px;margin-bottom:25px}.ah-update-symbol svg{width:36px;height:36px}.ah-update-content{padding:48px 0}.ah-update-description{font-size:17px}.ah-update-actions{width:100%}}
@media(prefers-reduced-motion:reduce){.ah-update-progress-track span{transition:none}}
