/* V5.3.1: one compact navigation row and compact secure unlock. */
body.lm490.is-locked .lm510-splash{padding-top:clamp(24px,5dvh,64px)}
body.lm490.is-locked .lm510-brand-animation{gap:6px}body.lm490.is-locked .lm510-brand-animation:before{width:112px;height:112px;top:-8px}body.lm490.is-locked .lm510-brand-animation img{width:92px;height:92px;border-radius:16px}body.lm490.is-locked .lm510-brand-animation strong{margin-top:9px;font-size:25px}body.lm490.is-locked .lm510-brand-animation span{font-size:10px;letter-spacing:1.5px}
body.lm490.is-locked main{padding:clamp(200px,32dvh,300px) 12px 12px;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;gap:8px}body.lm490.is-locked .lm481-locksheet{padding:16px 18px calc(16px + env(safe-area-inset-bottom));border-radius:24px;display:grid;gap:8px;max-width:440px;animation:none}body.lm490.is-locked .lm510-handle{margin:0 auto 2px}body.lm490.is-locked .lm481-fingerprint{width:48px;height:48px;margin:2px auto}body.lm490.is-locked .lm481-fingerprint svg{width:28px;height:28px}body.lm490.is-locked .lm481-locksheet h1{font-size:23px;margin:2px 0}body.lm490.is-locked .lm481-locksheet p{font-size:13px;margin:0;line-height:1.4}body.lm490.is-locked .lm481-locksheet .card{padding:0!important;margin:0!important;display:grid;gap:6px}body.lm490.is-locked .lm481-locksheet button{min-height:44px;margin:0!important;padding:10px 12px}body.lm490.is-locked .lm481-locksheet .lm481-unlock{min-height:50px}body.lm490.is-locked .lm481-recovery{margin:2px 0;padding:0}body.lm490.is-locked .lm500-secure-note,body.lm490.is-locked #lm481-updates{margin:2px 0;font-size:11px;line-height:1.4}body.lm490.is-locked footer{margin:0;padding:4px;text-align:center;font-size:11px}
body.lm490-journey .lm531-nav,body.lm490.is-unlocked .lm480-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-flow:column!important;gap:3px!important;position:fixed!important;bottom:0!important;left:50%!important;transform:translateX(-50%)!important;width:min(100%,640px)!important;box-sizing:border-box;padding:7px 5px calc(7px + env(safe-area-inset-bottom))!important;background:#101c38!important;border-top:1px solid #d8bd7e;z-index:45;border-radius:16px 16px 0 0}
body.lm490-journey .lm531-nav a,body.lm490.is-unlocked .lm480-nav a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:52px;gap:4px;padding:4px 1px!important;color:#fff;text-decoration:none;text-align:center;border-radius:10px}body.lm490-journey .lm531-nav a[aria-current=page],body.lm490.is-unlocked .lm480-nav a[aria-current=page]{background:#efd99d!important;color:#102040!important}body.lm490-journey .lm531-nav a svg,body.lm490.is-unlocked .lm480-nav a svg{width:23px;height:23px;flex:none}body.lm490-journey .lm531-nav small,body.lm490.is-unlocked .lm480-nav small{font-size:clamp(9px,2.65vw,11px);white-space:nowrap;color:inherit}body.lm490-journey main{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
.lm531-offers{display:grid;gap:9px}.lm531-offer{display:grid;gap:5px;padding:13px;border:1px solid #d9c497;border-radius:13px;background:#faf7ef;color:#11213f}.lm531-offer strong{font-size:25px;color:#11213f}.lm531-offer p,.lm531-offer small{color:#334661!important;margin:0}.lm531-cta{display:block;background:linear-gradient(110deg,#f4dda1,#d3a653);border-radius:12px;padding:12px;text-align:center;font-weight:800;color:#102040!important;text-decoration:none;margin:8px 0}.lm531-offers[hidden]{display:none!important}
@media(max-height:650px){body.lm490.is-locked main{padding-top:160px;justify-content:flex-start}body.lm490.is-locked .lm510-splash{padding-top:14px}body.lm490.is-locked .lm510-brand-animation img{width:65px;height:65px}body.lm490.is-locked .lm510-brand-animation:before{width:82px;height:82px}body.lm490.is-locked .lm510-brand-animation strong{font-size:21px}}

#home .lm531-review-form,#home .lm531-detail-note,#apply .lm531-view-link{display:none!important}body.lm490.is-unlocked .lm480-nav a small{color:inherit!important}

/* V5.4.0 premium unified PWA */
body.lm490.is-unlocked header{display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px!important;background:linear-gradient(135deg,#101c38,#213e65)!important;color:#fff;min-height:76px;box-sizing:border-box}
body.lm490.is-unlocked header .lm540-identity{display:flex!important;align-items:center;gap:10px;background:transparent!important;border:0!important;color:#f4dda1!important;text-align:left;padding:0!important;min-width:0;flex:1;box-shadow:none!important;margin:0!important} .lm540-avatar{display:grid;place-items:center;width:43px;height:43px;border:1px solid #e6ca85;background:#223b60;border-radius:50%;font-size:25px;flex:none}.lm540-identity strong{display:block;font-size:19px;line-height:1.2}.lm540-identity small{display:block;font-size:11px;color:#b8e7d4;line-height:1.5}.lm540-gift{display:grid!important;place-items:center;color:#f4dda1!important;font-size:25px;text-decoration:none;min-width:32px}.lm520-tools{gap:5px!important;flex:none}.lm490.is-unlocked .lm490-greeting{display:none!important}
body.lm490.is-unlocked #home .lm510-carousel{width:calc(100% + 24px)!important;max-width:none!important;margin:0 -12px 12px!important;border-radius:0!important;overflow:hidden;box-sizing:border-box}#home .lm510-slide{border-radius:0!important;min-height:190px;padding:20px 18px!important}#home .lm510-controls{border-radius:0!important} [data-lm510-pause]{min-width:36px!important;font-size:18px!important}
.lm540-wallet-card{background:radial-gradient(circle at 90% 15%,#335478,#102040 70%);color:#fff;border:1px solid #d5b96f;border-radius:20px;padding:22px 18px;margin:10px 0;box-shadow:0 10px 25px #10204025}.lm540-wallet-card h2{font-size:34px;color:#f2d594!important;margin:12px 0}.lm540-wallet-card small,.lm540-wallet-card p{color:#e0e7f0!important}.lm540-transaction{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e4ddcd;padding:12px 0}.lm540-transaction small{display:block;color:#607086}.lm540-transaction strong{color:#17634f}.lm540-referral{background:linear-gradient(135deg,#f8edce,#fff);border:1px solid #d7bd7c;border-radius:16px;padding:16px;margin:15px 0}.lm540-ref-code{display:block;overflow-wrap:anywhere;color:#102040}.lm540-actions{display:flex;flex-wrap:wrap;gap:8px}.lm540-actions a,.lm540-actions button{padding:10px;border-radius:10px;background:#102040!important;color:#f4dda1!important;text-decoration:none;font-size:13px;flex:1 1 90px;text-align:center}.lm540-fresh h2,.lm540-madhav h2{color:#102040}.lm540-fresh p{line-height:1.5}.lm540-madhav{border-color:#d7bd7c!important}.lm540-madhav>small{color:#8a6727;font-weight:700}.lm540-fresh[hidden]{display:none!important}
@media(max-width:350px){.lm540-identity strong{font-size:16px}.lm540-avatar{width:34px;height:34px}.lm540-gift{min-width:24px}.lm520-tools button{width:32px!important}}

.lm540-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.lm540-identity>span:last-child{min-width:0;overflow:hidden}.lm540-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lm490.is-unlocked:has(main.concealed) header .lm540-identity{visibility:hidden}.lm540-photo-form{padding:12px 0}.lm540-photo-form form{display:grid;gap:8px;padding:10px 0}.lm540-photo-form input[type=file]{max-width:100%}.lm540-photo-form summary{font-weight:700;color:#102040;cursor:pointer}

.lm540-avatar svg{width:25px;height:25px}.lm540-notice-wrap{position:relative;display:inline-flex}.lm540-notice-badge{position:absolute;right:-3px;top:-5px;background:#a62c41;color:white;border-radius:100px;padding:2px 4px;font-size:9px;pointer-events:none}.lm540-credit .lm540-wallet-card h2{color:#f2d594!important}.lm540-credit .lm520-link{display:block;margin:8px 0}
/* LM541 approved 300px compact lock panel; setup and authenticated panes unaffected. */
body.lm541-compact{background:#09152f!important;min-height:100dvh!important;margin:0!important}body.lm541-compact main{background:#09152f!important;max-width:none!important;width:100%!important;min-height:100dvh!important;padding:0!important;margin:0!important}body.lm541-compact .lm481-old-hero,body.lm541-compact .lm510-splash{display:none!important}body.lm541-compact .lm541-unlock{position:fixed!important;inset:auto 0 0!important;box-sizing:border-box;width:100%!important;max-width:none!important;height:300px!important;max-height:100dvh!important;min-height:0!important;padding:14px 8px max(14px,env(safe-area-inset-bottom))!important;margin:0!important;border-radius:24px 24px 0 0!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;background:#09152f!important;color:#e7ca88!important;animation:lm541-rise .35s ease-out;overflow:auto;border:1px solid #ab905744}
.lm541-unlock-grid{width:100%;max-width:480px;display:grid;grid-template-columns:minmax(70px,1fr) minmax(130px,2fr) minmax(70px,1fr);align-items:center;justify-items:center;gap:0}.lm541-center,.lm541-side{display:flex!important;align-items:center;flex-direction:column;justify-content:center;gap:5px;color:#e7ca88!important;text-align:center;font:500 14px system-ui!important;text-decoration:none!important}.lm541-center small{font-size:10px;color:#8c9cb8}.lm541-side,.lm541-touch{background:transparent!important;border:0!important;box-shadow:none!important;width:auto!important;padding:0!important;margin:0!important}.lm541-side span{width:46px;height:46px;border:1px solid #ab9057;border-radius:50%;display:grid;place-items:center;background:#172744;font-size:26px}.lm541-side span svg{width:24px;height:24px}.lm541-side small{font:500 14px system-ui;color:#e7ca88}.lm541-touch svg{width:150px;height:150px;max-width:100%;filter:drop-shadow(0 0 12px #e7ca8850);animation:lm541-pulse 2.5s ease-in-out infinite}.lm541-touch:focus-visible,.lm541-side:focus-visible{outline:2px solid #e7ca88;outline-offset:4px}.lm541-unlock #notice:empty,.lm541-unlock #lm481-lock-note:empty{display:none}.lm541-unlock #notice,.lm541-unlock #lm481-lock-note{font-size:12px;color:#f4d99b;text-align:center;max-width:95%}@keyframes lm541-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes lm541-pulse{50%{filter:drop-shadow(0 0 23px #e7ca88a0)}}@media(prefers-reduced-motion:reduce){.lm541-touch svg,body.lm541-compact .lm541-unlock{animation:none!important}}

/* V5.4.3: scoped consent layout; no global form overrides. */
.lm543-fresh .lm543-consent{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;text-align:left!important;background:#f7f4ec!important;color:#102040!important;padding:12px!important;border-radius:10px;margin:12px 0!important;font:500 14px/1.55 system-ui,sans-serif!important;}
.lm543-fresh .lm543-consent input[type=checkbox]{appearance:auto!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;margin:0!important;padding:0!important;transform:none!important;accent-color:#a17b35!important;}
.lm543-fresh .lm543-consent span,.lm543-fresh .lm543-consent a{display:inline!important;white-space:normal!important;color:#102040!important;opacity:1!important;font:inherit!important;}
.lm543-fresh .lm543-consent a{text-decoration:underline!important;color:#725522!important;font-weight:650!important;}
.lm543-fresh details{margin:10px 0 14px!important;color:#102040!important;line-height:1.5!important;}
.lm543-fresh:has(input[name=consent]:not(:checked)) button[type=submit]{opacity:.72!important;}
body.lm541-compact .lm543-brand{position:fixed;inset:0 0 300px;display:grid;place-items:center;pointer-events:none;overflow:hidden;}
.lm543-orbit{position:relative;width:min(200px,50vw,calc((100dvh - 300px)*.8));aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#d8b97525,transparent 70%);}
.lm543-orbit::before,.lm543-orbit::after{content:"";position:absolute;inset:0;border-radius:50%;border:1px solid #d8b97550;pointer-events:none;}
.lm543-orbit::after{inset:8px;border:2px solid transparent;border-top-color:#e7ca88;border-bottom-color:#e7ca88;animation:lm543-orbit 10s linear infinite;}
.lm543-orbit img{width:80%;height:80%;object-fit:contain;animation:lm543-breathe 4s ease-in-out infinite;filter:drop-shadow(0 0 12px #e7ca8850);}
@keyframes lm543-orbit{to{transform:rotate(360deg)}}@keyframes lm543-breathe{50%{transform:translateY(-4px) scale(1.025)}}
@media(prefers-reduced-motion:reduce){.lm543-orbit::after,.lm543-orbit img{animation:none!important}}
@media(max-height:380px){body.lm541-compact .lm543-brand{display:none}}

main[aria-busy=true] .lm541-touch svg{animation:lm541-pulse .85s ease-in-out infinite;}
@media(prefers-reduced-motion:reduce){main[aria-busy=true] .lm541-touch svg{animation:none!important}}
