/* Campaign 81 patch 17: auth parity, responsive greeting and compact mobile dashboard */
body[data-stm-layout="auth"]{background:#061a3b!important;background-image:linear-gradient(150deg,#07172f,#09295a)!important;background-size:cover!important;background-position:center!important}
body[data-stm-layout="auth"] .page-wrapper{min-height:100svh!important;padding:28px 16px!important;justify-content:center!important}
body[data-stm-layout="auth"] .stm-section-links,body[data-stm-layout="auth"] nav.stm-section-links,body[data-stm-layout="auth"] .stm-auth-tabs,body[data-stm-layout="auth"] .c81-auth-toolbar{display:none!important}
body[data-stm-layout="auth"] main.stm-account-page{width:100%!important;max-width:570px!important;margin:auto!important}
body[data-stm-layout="auth"] main.stm-account-page>.login-container{width:100%!important;max-width:570px!important;background:#f1f3f8!important;border:0!important;border-top:3px solid #d8bd76!important;border-radius:30px!important;padding:34px 32px 30px!important;box-shadow:0 26px 60px #0005!important}
body[data-stm-layout="auth"] .login-container .row,body[data-stm-layout="auth"] .login-container [class*="col-"]{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important;width:100%!important;max-width:100%!important}
body[data-stm-layout="auth"] .login-container .row>.col-lg-10>.row>.col-md-12{margin-top:0!important}
body[data-stm-layout="auth"] .c81-auth-card-brand{margin:0 auto 30px!important}
body[data-stm-layout="auth"] .c81-auth-card-brand img{width:145px!important;height:120px!important;object-fit:contain!important;margin:0 auto 15px!important;background:#fff!important;border-radius:4px!important}
body[data-stm-layout="auth"] .c81-auth-card-brand h1{font-size:clamp(29px,6vw,37px)!important;line-height:1.2!important;letter-spacing:-.8px!important;margin:0 0 10px!important;color:#0b2a5a!important}
body[data-stm-layout="auth"] .c81-auth-card-brand p{font-size:15px!important;color:#69798f!important}
body[data-stm-layout="auth"] .login-container form{background:transparent!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;display:block!important}
body[data-stm-layout="auth"] .login-container form label{font-size:15px!important;font-weight:750!important;line-height:1.4!important;margin:18px 0 10px!important;color:#274969!important}
body[data-stm-layout="auth"] .login-container input.form-input{width:100%!important;min-width:0!important;box-sizing:border-box!important;height:59px!important;min-height:59px!important;border:1px solid #d7e0eb!important;border-radius:17px!important;background:#fff!important;padding:0 18px!important;font-size:16px!important;box-shadow:none!important}
body[data-stm-layout="auth"] .login-container input.form-input:focus{border-color:#1b67d9!important;box-shadow:0 0 0 3px #1b67d920!important;outline:none!important}
body[data-stm-layout="auth"] .login-container .btn[type="submit"]{width:100%!important;min-height:62px!important;height:auto!important;background:linear-gradient(100deg,#0945bf,#116cf0)!important;border:0!important;border-radius:16px!important;color:#fff!important;font-size:16px!important;font-weight:750!important;margin:24px 0 0!important;box-shadow:0 9px 19px #115bda27!important}
body[data-stm-layout="auth"] .login-container .c81-password-wrap{width:100%!important;position:relative!important}
body[data-stm-layout="auth"] .login-container .c81-password-toggle{position:absolute!important;right:9px!important;top:9px!important;min-height:41px!important;border-radius:11px!important}
body[data-stm-layout="auth"] .login-container .c81-captcha-row{margin:14px 0 8px!important}
body[data-stm-layout="auth"] .login-container .form-footer{margin:12px 0 0!important;display:flex!important;justify-content:flex-end!important}
body[data-stm-layout="auth"] .login-container .stm-account-register,body[data-stm-layout="auth"] .login-container .c81-auth-switch{margin:27px 0 0!important;padding-top:23px!important;border-top:1px solid #dfe5ef!important;text-align:center!important;font-size:15px!important;color:#6d7c93!important}
body[data-stm-layout="auth"] .login-container .stm-account-register a,body[data-stm-layout="auth"] .login-container .c81-auth-switch a{color:#0c58c7!important;font-weight:800!important}
body[data-stm-layout="auth"] .login-container:after{content:'Secure member access · Never share your password';display:block;text-align:center;margin-top:21px;color:#7b879b;font-size:12px}
@media(max-width:540px){body[data-stm-layout="auth"] .page-wrapper{padding:24px 14px!important}body[data-stm-layout="auth"] main.stm-account-page>.login-container{padding:28px 22px!important;border-radius:25px!important}body[data-stm-layout="auth"] .c81-auth-card-brand img{height:105px!important;width:130px!important}body[data-stm-layout="auth"] .login-container input.form-input{height:55px!important;min-height:55px!important}}
/* Member dashboard: one small bottom-navigation clearance, not a tall empty content panel */
@media(max-width:767px){body.stm-dashboard-rebuild .account-container>.row>.tab-content{padding-bottom:0!important;margin-bottom:0!important;min-height:0!important;height:auto!important}body.stm-dashboard-rebuild .account-container,body.stm-dashboard-rebuild .account-container>.row,body.stm-dashboard-rebuild .dashboard-content,body.stm-dashboard-rebuild main.main{min-height:0!important;height:auto!important;margin-bottom:0!important}body.stm-dashboard-rebuild .page-wrapper{min-height:0!important;height:auto!important;padding-bottom:calc(73px + env(safe-area-inset-bottom,0px))!important}body.stm-dashboard-rebuild .dashboard-content>:last-child{margin-bottom:0!important}body.stm-dashboard-rebuild .c81-independent-view{padding-bottom:0!important}body.stm-dashboard-rebuild .stm-member-topbar.c81-greeting-banner{margin:0 0 14px!important}}
body.stm-dashboard-rebuild .stm-member-topbar.c81-greeting-banner{display:flex!important;align-items:center!important;gap:13px!important;position:relative!important;overflow:hidden!important;border-radius:19px!important;background:linear-gradient(115deg,#063a8e,#116be7 65%,#29a4ee)!important;box-shadow:0 9px 24px #0a4c9d29!important;color:#fff!important;padding:17px 18px!important;min-height:86px!important}
body.stm-dashboard-rebuild .c81-greeting-symbol{width:51px;height:51px;flex:0 0 51px;display:flex;align-items:center;justify-content:center;background:#ffffff29;border:1px solid #ffffff48;border-radius:16px;font-size:28px;box-shadow:0 5px 15px #001b4b19}
body.stm-dashboard-rebuild .c81-greeting-copy{flex:1;min-width:0}body.stm-dashboard-rebuild .c81-greeting-copy h1{font-size:clamp(17px,4.2vw,23px)!important;line-height:1.3!important;color:#fff!important;margin:0 0 5px!important}body.stm-dashboard-rebuild .c81-greeting-copy p{font-size:12px!important;line-height:1.45!important;color:#e0eeff!important;margin:0!important}
body.stm-dashboard-rebuild .c81-greeting-banner.c81-time-afternoon{background:linear-gradient(110deg,#0754a6,#138ce4 65%,#33b9d3)!important}body.stm-dashboard-rebuild .c81-greeting-banner.c81-time-evening{background:linear-gradient(110deg,#37246f,#7c47b9 65%,#d0746d)!important}body.stm-dashboard-rebuild .c81-greeting-banner.c81-time-night{background:linear-gradient(110deg,#0a1d46,#233e86 65%,#493f8d)!important}
@media(max-width:480px){body.stm-dashboard-rebuild .stm-member-topbar.c81-greeting-banner{padding:14px!important;gap:10px!important}body.stm-dashboard-rebuild .c81-greeting-symbol{width:43px;height:43px;flex-basis:43px;font-size:24px}body.stm-dashboard-rebuild .c81-greeting-copy h1{font-size:17px!important}body.stm-dashboard-rebuild .c81-greeting-banner .stm-member-tag{display:none!important}}
