/* Authentication and app download: scoped to the signed-out shell. */
.authhero{min-height:100dvh;background:#f2f7f3}
.authhero .top{padding: max(15px,env(safe-area-inset-top)) 22px 72px;background:linear-gradient(115deg,#07372c,#0d6c52)}
.authhero .topin{max-width:880px}
.authhero .brand{font-size:18px;letter-spacing:-.4px}
.authhero .mark{width:36px;height:36px;border-radius:12px;font-size:13px;font-style:normal;letter-spacing:0}
.authhero .online{font-size:11px;padding:7px 10px;white-space:nowrap}
.authhero .main{max-width:880px;margin:-49px auto 0;padding:0 18px 30px}
.auth-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:16px;align-items:start}
.auth-layout .auth{width:100%;max-width:none;padding:26px;border-radius:22px;box-shadow:0 16px 45px #073f3516}
.auth-layout .eye{font-size:10px;letter-spacing:1.35px}
.auth-layout h1{font-size:28px;line-height:1.15;margin:7px 0}
.auth-layout .auth>p.sub{font-size:13px;line-height:1.5;margin:0 0 14px}
.auth-layout .field{margin:13px 0}
.auth-layout .input{min-height:47px;padding:11px 13px}
.auth-layout .btn{min-height:45px;padding:11px 14px}
.auth-layout .auth>div[style*="text-align:center"]{margin:10px!important;font-size:12px}
.auth-layout .auth>button[style*="margin-top:9px"]{margin-top:8px!important}
.auth-layout .support.auth-support{display:flex;align-items:flex-start;gap:10px;margin-top:15px;padding:11px 12px;background:#f0f8f3;border:1px solid #dcefe4;border-radius:14px;color:#174c39}
.auth-support-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#d9f2e3;color:#087443;font-size:21px;line-height:1}
.auth-support>b,.auth-support>span:not(.auth-support-icon),.auth-support details,.auth-support-direct{min-width:0;flex:1}
.auth-support b{display:block;font-size:13px;line-height:1.3}
.auth-support small{display:block;margin-top:2px;font-size:11px;line-height:1.35;color:#537969}
.auth-support-direct,.auth-support summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;color:inherit;text-decoration:none;cursor:pointer}
.auth-support summary{list-style:none}.auth-support summary::-webkit-details-marker{display:none}
.auth-support-direct>span:last-child,.auth-chevron{font-size:18px;color:#27835d}
.auth-support details[open] .auth-chevron{transform:rotate(180deg)}
.auth-wa-options{display:grid;gap:6px;margin-top:9px}
.auth-wa-link{display:flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid #d5eadc;border-radius:10px;background:#fff;color:#15583b;text-decoration:none;font-size:12px;font-weight:700}
.auth-wa-link small{margin:0;color:#537969;white-space:nowrap}.auth-wa-link>span:last-child{margin-inline-start:auto}
.auth-app-card{position:relative;overflow:hidden;display:flex;gap:15px;padding:25px;background:linear-gradient(145deg,#083a30,#0b6a51);border:1px solid #ffffff22;border-radius:22px;color:#fff;box-shadow:0 16px 40px #073f3522}
.auth-app-card:after{content:"";position:absolute;right:-55px;top:-65px;width:180px;height:180px;border:1px solid #ffffff18;border-radius:50%;box-shadow:0 0 0 28px #ffffff08,0 0 0 57px #ffffff06;pointer-events:none}
.auth-app-icon{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border:1px solid #ffffff36;border-radius:15px;background:#ffffff18;font-size:28px;line-height:1}
.auth-app-copy{position:relative;z-index:1;min-width:0}.auth-app-kicker{font-size:10px;letter-spacing:1.25px;font-weight:800;color:#a6e3c5}
.auth-app-card h2{font-size:21px;line-height:1.2;letter-spacing:-.4px;margin:7px 0}.auth-app-card p{font-size:13px;line-height:1.5;color:#d2ebe0;margin:0 0 17px}
.auth-apk{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 14px;border-radius:12px;background:#e4f7e9;color:#074d35;font-size:13px;font-weight:800;text-decoration:none}
.auth-app-card small{display:block;color:#b9ddcb;font-size:11px;margin-top:9px}
.auth-privacy{grid-column:1/-1;justify-self:center;color:#58776b;font-size:12px;text-decoration:none;padding:4px 8px}
.auth-layout :is(a,button,summary):focus-visible{outline:3px solid #e4ab32;outline-offset:3px}
html[data-theme=dark] .authhero{background:#0c1713}
html[data-theme=dark] .auth-layout .support.auth-support{background:#192f24;border-color:#365244;color:#d8f0e2}
html[data-theme=dark] .auth-support-icon{background:#24543a;color:#a9e5bf}
html[data-theme=dark] .auth-support small{color:#a6bdb1}
html[data-theme=dark] .auth-wa-link{background:#20392c;border-color:#365244;color:#d8f0e2}
html[data-theme=dark] .auth-privacy{color:#a6bdb1}
@media(max-width:700px){.authhero .top{padding: max(14px,env(safe-area-inset-top)) 16px 63px}.authhero .main{margin-top:-43px;padding:0 12px 24px}.auth-layout{display:flex;flex-direction:column;gap:11px}.auth-layout .auth{padding:21px 18px}.auth-layout h1{font-size:26px}.auth-app-card{width:100%;padding:18px;gap:12px;border-radius:19px}.auth-app-icon{width:40px;height:40px;flex-basis:40px;border-radius:13px;font-size:24px}.auth-app-card h2{font-size:18px;margin:5px 0}.auth-app-card p{margin-bottom:11px}.auth-apk{min-height:44px}.auth-privacy{align-self:center}}
@media(max-width:350px){.authhero .brand{font-size:16px;gap:7px}.authhero .online{padding:6px 8px}.auth-wa-link{flex-wrap:wrap}.auth-wa-link small{margin-inline-start:auto}.auth-wa-link>span:last-child{display:none}}

.auth-support-icon svg{width:21px;height:21px}
.auth-app-icon svg{width:23px;height:23px}
.auth-wa-link{min-height:44px}

/* Approved login: compact gold install action, prominent APK and floating support. */
.authhero .topin .install-web {position:relative;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:34px;padding:0 9px;border:1px solid #e7d2989e;border-radius:24px;background:linear-gradient(135deg,#f9edca,#dec58c);color:#123d2e;font-size:11px;font-weight:700;box-shadow:inset 0 1px #fff9,0 3px 8px #002e2060}
.authhero .topin .install-web:before{content:"";position:absolute;inset:-5px -4px}
.authhero .install-icon{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#124934;color:#f7eccb}
.authhero .install-icon svg{width:12px;height:12px}
.authhero .main{padding-bottom:90px}
.auth-app-card{display:block;isolation:isolate;padding:18px;background:linear-gradient(125deg,#042d24 0%,#075643 55%,#0a7157 100%);border:1px solid #c9a85b80;border-radius:20px;box-shadow:0 12px 24px #064d3930,0 2px 4px #062e221b}
.auth-app-card:after{z-index:-1;border-color:#f0d89544;box-shadow:0 0 0 24px #e4d09009,0 0 0 48px #e4d09008}
.auth-app-head{display:flex;gap:12px;align-items:center}
.auth-app-icon{flex:0 0 48px;width:48px;height:48px;border:0;border-radius:15px;background:linear-gradient(145deg,#ead59a,#bd9550);color:#123a2c;font-size:18px;font-weight:700;letter-spacing:-1px;box-shadow:inset 0 1px #fff9,0 5px 12px #001a1050}
.auth-app-kicker{color:#eddca9;font-size:10px;letter-spacing:1.4px;text-transform:uppercase}
.auth-app-card h2{font-size:16px;margin:4px 0 0;line-height:1.2}
.auth-apk{display:flex;gap:8px;width:100%;min-height:45px;margin-top:14px;border-radius:12px;background:linear-gradient(105deg,#f5e9c5,#e4c985);color:#123a2b;font-size:13px;font-weight:700;box-shadow:inset 0 1px #fff9,0 5px 12px #001a1030}
.auth-apk svg{width:17px;height:17px;flex:none}
.auth-app-card small{text-align:center;margin-top:9px;color:#bcdccf}
.authhero .support.auth-support{position:fixed;z-index:26;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none;max-width:calc(100vw - 28px)}
.auth-support .auth-support-icon{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;border:0;border-radius:0;background:none!important;color:inherit;font-size:0}
.auth-support .auth-support-icon svg{width:19px;height:19px}
.auth-support .auth-support-direct,.auth-support summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 13px;background:#0a9164;color:#fff!important;border:2px solid #fff;border-radius:24px;box-shadow:0 5px 13px #17483235;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer}
.auth-support summary{list-style:none}.auth-support summary::-webkit-details-marker{display:none}
.auth-support details{position:relative}
.auth-support .auth-wa-options{position:absolute;right:0;bottom:calc(100% + 9px);width:min(270px,calc(100vw - 28px));display:grid;gap:7px;margin:0;padding:12px;background:#fff;border:1px solid #dcece2;border-radius:14px;box-shadow:0 8px 28px #1c44312a;color:#143a2a}
.auth-support .auth-wa-options b{font-size:12px;margin-bottom:1px}
.auth-support .auth-wa-options small{font-size:11px;line-height:1.4;color:#537969}
.auth-support .auth-wa-link{min-height:44px;color:#15583b;background:#f7fbf8}
.auth-keyboard-open .auth-support{visibility:hidden;pointer-events:none}
html[data-theme=dark] .auth-support .auth-wa-options{background:#20392c;border-color:#365244;color:#d8f0e2}
html[data-theme=dark] .auth-support .auth-wa-link{background:#284b39;border-color:#466956;color:#effff3}
html[data-theme=dark] .auth-support .auth-wa-options small{color:#d0e5d7}
@media(max-width:700px){.authhero .main{padding-bottom:90px}.auth-app-card{padding:18px}.auth-app-icon{width:48px;height:48px;flex-basis:48px}.auth-app-card h2{font-size:16px;margin:4px 0 0}}

.authhero .auth-support-direct > span:last-child {color:inherit;font-size:inherit}
