:root{--ms-navy:#0f2747;--ms-green:#147d64;--ms-bg:#f5f7fa;--ms-line:#dfe5ec;--ms-text:#182433;--ms-muted:#667487}
.ms-wrap{max-width:1500px}.ms-topbar{display:flex;justify-content:space-between;align-items:flex-end;margin:18px 0 22px;padding:24px;background:#fff;border-left:5px solid var(--ms-green);box-shadow:0 1px 2px rgba(15,39,71,.06)}.ms-topbar h1{font-size:30px;margin:3px 0 0;color:var(--ms-navy)}.ms-topbar p{margin:6px 0 0;color:var(--ms-muted)}.ms-brand{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:var(--ms-green)}.ms-top-actions{display:flex;gap:8px}.ms-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:0 0 18px}.ms-kpi{background:#fff;border:1px solid var(--ms-line);padding:18px;min-height:86px;display:flex;flex-direction:column;justify-content:center}.ms-kpi small{color:var(--ms-muted);text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.05em}.ms-kpi strong{font-size:24px;margin-top:6px;color:var(--ms-navy)}.ms-kpi .dashicons{color:var(--ms-green);margin-bottom:8px}.ms-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ms-card{background:#fff;border:1px solid var(--ms-line);padding:20px;margin-bottom:18px;box-shadow:0 1px 2px rgba(15,39,71,.04)}.ms-card h2{margin-top:0;color:var(--ms-navy)}.ms-card-h{display:flex;justify-content:space-between;align-items:center;gap:15px}.ms-card-h h2{margin:0}.ms-form{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.ms-form label,.ms-filter label{display:flex;flex-direction:column;gap:6px;font-weight:600;color:var(--ms-text)}.ms-form input,.ms-form select,.ms-form textarea,.ms-search,.ms-filter input{min-height:40px;border:1px solid #cfd7e1;border-radius:0;background:#fff}.ms-form textarea{min-height:84px}.ms-full{grid-column:1/-1}.ms-table-wrap{overflow:auto}.ms-table th{color:var(--ms-navy);font-weight:800}.ms-table td,.ms-table th{vertical-align:middle;padding:11px 10px}.ms-badge{display:inline-block;padding:4px 8px;background:#e9f5f1;color:#11624f;font-size:12px;font-weight:700}.ms-search{width:240px}.ms-list>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--ms-line);padding:11px 0}.ms-muted{color:var(--ms-muted)}.ms-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.ms-statement{margin-top:24px}.ms-front{max-width:1200px;margin:30px auto;padding:0 15px}.ms-login-needed{padding:18px;border:1px solid #ddd;background:#fff}@media(max-width:900px){.ms-grid{grid-template-columns:1fr}.ms-form{grid-template-columns:1fr 1fr}.ms-topbar{align-items:flex-start;flex-direction:column;gap:15px}}@media(max-width:620px){.ms-form{grid-template-columns:1fr}.ms-topbar h1{font-size:24px}.ms-kpi strong{font-size:20px}}@media print{#adminmenumain,#wpadminbar,.update-nag,.notice,.ms-top-actions,.ms-filter,.button{display:none!important}#wpcontent{margin:0!important}.ms-wrap{max-width:none}.ms-card,.ms-topbar,.ms-kpi{box-shadow:none;border:1px solid #bbb}}

/* Member portal v1.2 */
.ms-member-shell{--m-navy:#0f2747;--m-green:#147d64;--m-bg:#f4f6f8;--m-line:#dde3ea;--m-text:#162231;--m-muted:#6b7788;max-width:1240px;margin:28px auto;padding:0 18px;color:var(--m-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ms-member-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px;background:var(--m-navy);color:#fff}.ms-member-header h1{margin:4px 0 2px;font-size:30px;line-height:1.15;color:#fff}.ms-member-header p{margin:0;color:rgba(255,255,255,.72)}.ms-member-org{font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#a9e0d1}.ms-member-logout,.ms-member-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;background:var(--m-green);color:#fff!important;text-decoration:none;border:0;border-radius:0;font-weight:800;cursor:pointer}.ms-member-logout{background:#fff;color:var(--m-navy)!important}.ms-member-nav{display:flex;gap:0;overflow:auto;background:#fff;border:1px solid var(--m-line);border-top:0;margin-bottom:18px}.ms-member-nav a{white-space:nowrap;padding:14px 17px;text-decoration:none;color:var(--m-muted);font-weight:750;border-bottom:3px solid transparent}.ms-member-nav a.active{color:var(--m-navy);border-bottom-color:var(--m-green)}.ms-member-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.ms-member-kpis>div,.ms-member-card{background:#fff;border:1px solid var(--m-line);box-shadow:0 1px 2px rgba(15,39,71,.04)}.ms-member-kpis>div{padding:20px;display:flex;flex-direction:column;gap:7px}.ms-member-kpis span{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--m-muted);font-weight:800}.ms-member-kpis strong{font-size:23px;color:var(--m-navy)}.ms-member-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.ms-member-card{padding:22px;margin-bottom:18px}.ms-member-card h2,.ms-member-card h3{margin-top:0;color:var(--m-navy)}.ms-member-card-h{display:flex;align-items:center;justify-content:space-between;gap:12px}.ms-member-card-h a{color:var(--m-green);font-weight:800;text-decoration:none}.ms-summary-lines>div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--m-line)}.ms-summary-lines>div:last-child{border-bottom:0}.ms-summary-lines span{color:var(--m-muted)}.ms-member-alert{display:flex;justify-content:space-between;gap:20px;padding:15px 18px;margin:0 0 18px;border-left:4px solid #b26a00;background:#fff5df}.ms-member-alert.danger{border-color:#b42318;background:#fff0ef}.ms-member-alert span{color:var(--m-muted)}.ms-member-notice{padding:13px 16px;margin-bottom:18px;background:#eaf6f1;border-left:4px solid var(--m-green)}.ms-member-notice.bad{background:#fff0ef;border-color:#b42318}.ms-profile-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.ms-profile-meta>div{border:1px solid var(--m-line);padding:15px;display:flex;flex-direction:column;gap:5px}.ms-profile-meta span{font-size:11px;text-transform:uppercase;font-weight:800;color:var(--m-muted)}.ms-member-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:720px}.ms-member-form label{display:flex;flex-direction:column;gap:6px;font-weight:750}.ms-member-form input{min-height:42px;border:1px solid #cfd7e1;border-radius:0;padding:0 10px}.ms-member-form .ms-member-btn{grid-column:1/-1;width:max-content}.ms-profile-password{margin-bottom:0}.ms-profile-password a{color:var(--m-green);font-weight:800}.ms-member-empty{max-width:640px;margin:80px auto;background:#fff;border:1px solid var(--m-line);padding:34px}.ms-member-login{min-height:70vh;display:grid;place-items:center}.ms-login-panel{width:min(440px,100%);background:#fff;border-top:5px solid var(--m-green);padding:34px;border-left:1px solid var(--m-line);border-right:1px solid var(--m-line);border-bottom:1px solid var(--m-line);box-shadow:0 12px 40px rgba(15,39,71,.08)}.ms-login-brand{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:900;color:var(--m-green)}.ms-login-panel h2{font-size:30px;color:var(--m-navy);margin:7px 0 8px}.ms-login-panel>p{color:var(--m-muted);margin:0 0 22px}.ms-login-panel form p{margin:0 0 14px}.ms-login-panel label{display:block;font-weight:750;margin-bottom:6px}.ms-login-panel input[type=text],.ms-login-panel input[type=password]{width:100%;min-height:46px;border:1px solid #cfd7e1;border-radius:0;padding:0 11px;box-sizing:border-box}.ms-login-panel .login-submit input{width:100%;min-height:46px;border:0;border-radius:0;background:var(--m-green);color:#fff;font-weight:850;cursor:pointer}.ms-login-links{display:flex;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid var(--m-line)}.ms-login-links a{color:var(--m-navy);font-size:13px;font-weight:750;text-decoration:none}.ms-member-card .ms-table-wrap{border:1px solid var(--m-line)}.ms-member-card .widefat{border:0}.ms-member-shell .ms-statement{margin-top:0}.ms-member-shell .ms-statement>.ms-card-h{margin-bottom:16px}.ms-member-shell .ms-statement .button{border-radius:0}
@media(max-width:900px){.ms-member-kpis{grid-template-columns:1fr 1fr}.ms-member-grid{grid-template-columns:1fr}.ms-profile-meta{grid-template-columns:1fr 1fr}.ms-member-header{align-items:flex-start}.ms-member-alert{flex-direction:column;gap:5px}}
@media(max-width:620px){.ms-member-shell{padding:0 10px;margin-top:10px}.ms-member-header{padding:20px;flex-direction:column}.ms-member-header h1{font-size:24px}.ms-member-kpis{grid-template-columns:1fr 1fr;gap:9px}.ms-member-kpis>div{padding:15px}.ms-member-kpis strong{font-size:19px}.ms-member-card{padding:14px}.ms-profile-meta,.ms-member-form{grid-template-columns:1fr}.ms-login-panel{padding:24px}.ms-login-links{flex-direction:column}.ms-member-nav a{padding:12px 14px}}

/* Member account statement v1.3 */
.ms-member-kpis{grid-template-columns:repeat(5,1fr)}
.ms-statement-table th,.ms-statement-table td{white-space:nowrap}.ms-statement-table th:nth-child(4),.ms-statement-table td:nth-child(4){white-space:normal;min-width:220px}.ms-statement-table td:nth-child(5){font-weight:800}.ms-statement-table td:nth-child(6){font-weight:800}.ms-account-positive{color:#147d64}.ms-account-negative{color:#b42318}
@media(max-width:1050px){.ms-member-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.ms-member-kpis{grid-template-columns:1fr 1fr}}

/* v1.4.0 — Premium member login only. No dashboard/admin behavior changes. */
.ms-login-page{--ml-navy:#0b2344;--ml-green:#0b8a6d;--ml-green-deep:#08745c;--ml-mint:#e9f7f3;--ml-line:#dce5ec;--ml-muted:#64748b;--ml-bg:#f8fbfc;position:relative;width:100%;max-width:100%;min-height:calc(100vh - 32px);margin:0;padding:0;background:#fff;color:var(--ml-navy);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}.ms-login-page *{box-sizing:border-box}.ms-login-page svg{display:block}.ms-login-topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,5vw,76px);background:#fff;border-bottom:1px solid #edf2f5;position:relative;z-index:5}.ms-login-logo{display:inline-flex;align-items:center;gap:13px;color:var(--ml-navy)!important;text-decoration:none!important;font-size:17px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}.ms-login-logo span:last-child{background:linear-gradient(90deg,var(--ml-navy) 0 55%,var(--ml-green) 55%);-webkit-background-clip:text;background-clip:text;color:transparent}.ms-login-logo-mark{display:grid;place-items:center;width:40px;height:40px;color:var(--ml-green)}.ms-login-logo-mark svg{width:40px;height:40px}.ms-login-home{display:inline-flex;align-items:center;gap:8px;color:var(--ml-navy)!important;text-decoration:none!important;font-weight:800;font-size:14px}.ms-login-home span{font-size:22px;line-height:1;color:var(--ml-navy)}.ms-login-stage{min-height:calc(100vh - 116px);display:grid;grid-template-columns:minmax(0,1.38fr) minmax(430px,.82fr);gap:36px;align-items:stretch;padding:34px clamp(24px,4.8vw,74px) 42px;background:radial-gradient(circle at 44% 28%,rgba(20,174,139,.16),transparent 26%),linear-gradient(135deg,#fbfefe 0%,#f2fbf8 47%,#eef8fa 100%);position:relative}.ms-login-stage:before,.ms-login-stage:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.ms-login-stage:before{width:560px;height:560px;left:-250px;bottom:-360px;border:70px solid rgba(19,148,119,.08)}.ms-login-stage:after{width:420px;height:420px;left:34%;top:-250px;border:55px solid rgba(27,170,146,.07)}.ms-login-hero{position:relative;min-height:680px;display:grid;grid-template-columns:minmax(330px,.9fr) minmax(330px,1.1fr);align-items:center;overflow:hidden;z-index:1}.ms-login-hero-copy{position:relative;z-index:3;padding:26px 0 20px}.ms-login-eyebrow,.ms-login-brand{font-size:11px;line-height:1.4;font-weight:950;letter-spacing:.22em;text-transform:uppercase;color:var(--ml-green)}.ms-login-hero h1{margin:12px 0 14px;font-size:clamp(42px,4.8vw,70px);line-height:.98;letter-spacing:-.045em;color:var(--ml-navy);font-weight:850}.ms-login-hero h1 span{color:var(--ml-green)}.ms-login-hero-copy>p{max-width:570px;margin:0 0 38px;font-size:clamp(18px,1.55vw,24px);line-height:1.5;color:#65758c}.ms-login-features{display:grid;gap:18px}.ms-login-feature{display:flex;align-items:center;gap:17px}.ms-login-feature-icon{width:58px;height:58px;flex:0 0 58px;border-radius:50%;display:grid;place-items:center;background:rgba(230,247,242,.9);color:var(--ml-green)}.ms-login-feature-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ms-login-feature div{display:flex;flex-direction:column;gap:3px}.ms-login-feature b{font-size:17px;color:var(--ml-navy)}.ms-login-feature small{font-size:13px;color:#6e7c90}.ms-login-visual{position:relative;align-self:end;height:78%;min-height:490px;display:flex;align-items:flex-end;justify-content:center;z-index:2}.ms-login-visual:before{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(5,133,104,.25);border-radius:50%;top:5%;left:50%;transform:translateX(-48%);box-shadow:0 0 0 52px rgba(18,154,125,.04),0 0 0 104px rgba(18,154,125,.035)}.ms-login-visual img{position:relative;z-index:2;width:min(100%,520px);height:100%;max-height:590px;object-fit:cover;object-position:center bottom;mix-blend-mode:multiply;filter:saturate(.96) contrast(1.01);-webkit-mask-image:linear-gradient(to bottom,#000 0 86%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0 86%,transparent 100%)}.ms-login-shield{position:absolute;right:6%;top:14%;z-index:3;width:146px;height:146px;color:rgba(9,139,108,.72);filter:drop-shadow(0 13px 24px rgba(9,65,58,.14))}.ms-login-shield>svg{width:100%;height:100%;fill:rgba(255,255,255,.46);stroke:currentColor;stroke-width:2}.ms-login-shield span{position:absolute;right:-5px;bottom:10px;width:42px;height:42px;border-radius:50%;background:var(--ml-green);color:#fff;border:5px solid #fff;display:grid;place-items:center;font-size:22px;font-weight:900}.ms-login-card{position:relative;z-index:3;align-self:center;width:100%;max-width:560px;justify-self:end;padding:50px 48px 42px;background:rgba(255,255,255,.96);border:1px solid rgba(218,229,235,.86);border-radius:22px;box-shadow:0 26px 70px rgba(24,55,74,.12),0 5px 18px rgba(24,55,74,.05);backdrop-filter:blur(12px)}.ms-login-card h2{margin:12px 0 8px;color:var(--ml-navy);font-size:clamp(34px,3vw,48px);line-height:1.05;letter-spacing:-.04em}.ms-login-intro{margin:0 0 28px;color:#67778e;font-size:17px;line-height:1.5}.ms-login-card form p{margin:0 0 17px}.ms-login-card form label{display:block;margin:0 0 8px;color:var(--ml-navy);font-size:14px;font-weight:850}.ms-login-card input[type=text],.ms-login-card input[type=password]{width:100%;min-height:58px;padding:0 16px;border:1px solid #ccd8e2;border-radius:9px;background:#fff;color:var(--ml-navy);font-size:16px;outline:0;box-shadow:none;transition:border-color .18s,box-shadow .18s}.ms-login-card input[type=text]:focus,.ms-login-card input[type=password]:focus{border-color:var(--ml-green);box-shadow:0 0 0 4px rgba(11,138,109,.09)}.ms-login-card .login-remember label{display:inline-flex;align-items:center;gap:9px;font-size:14px;cursor:pointer}.ms-login-card .login-remember input{width:19px;height:19px;margin:0;accent-color:var(--ml-green)}.ms-login-card .login-submit{margin-top:20px!important}.ms-login-card .login-submit input{width:100%;min-height:58px;border:0;border-radius:8px;background:linear-gradient(90deg,var(--ml-green-deep),#0ca47e);color:#fff;font-size:16px;font-weight:900;letter-spacing:.01em;cursor:pointer;box-shadow:0 10px 24px rgba(9,139,108,.2);transition:transform .15s,box-shadow .15s}.ms-login-card .login-submit input:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(9,139,108,.25)}.ms-login-links{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;margin-top:22px;padding-top:22px;border-top:1px solid #e7edf1}.ms-login-links span{width:1px;height:28px;background:#dce5ea}.ms-login-links a{color:var(--ml-navy)!important;text-decoration:none!important;font-size:13px;font-weight:800}.ms-login-links a:first-child{color:var(--ml-green-deep)!important;text-decoration:underline!important;text-underline-offset:3px}.ms-login-links a:last-child{text-align:right}.ms-login-page~*{}body:has(.ms-login-page) .entry-title,body:has(.ms-login-page) .wp-block-post-title,body:has(.ms-login-page) .page-title{display:none!important}body:has(.ms-login-page) main.site-main,body:has(.ms-login-page) .site-content,body:has(.ms-login-page) .entry-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}body:has(.ms-login-page) .entry-content>.ms-login-page{margin-left:0!important;margin-right:0!important}
@media(max-width:1100px){.ms-login-stage{grid-template-columns:1fr 440px;padding-left:28px;padding-right:28px}.ms-login-hero{grid-template-columns:1fr}.ms-login-visual{position:absolute;right:-30px;bottom:0;width:54%;height:62%;opacity:.58}.ms-login-hero-copy{max-width:550px}.ms-login-shield{display:none}}
@media(max-width:820px){.ms-login-page{min-height:100vh}.ms-login-topbar{height:70px;padding:0 18px}.ms-login-logo{font-size:14px}.ms-login-logo-mark,.ms-login-logo-mark svg{width:34px;height:34px}.ms-login-home{font-size:0}.ms-login-home span{font-size:24px}.ms-login-stage{display:block;min-height:calc(100vh - 70px);padding:26px 16px 34px;background:linear-gradient(160deg,#f5fcfa,#eef8fa)}.ms-login-hero{min-height:auto;display:block;padding:10px 4px 20px}.ms-login-hero-copy{text-align:center;padding:8px 0}.ms-login-hero h1{font-size:42px;margin-top:8px}.ms-login-hero-copy>p{font-size:16px;margin:0 auto 22px;max-width:520px}.ms-login-features{grid-template-columns:repeat(3,1fr);gap:8px}.ms-login-feature{display:block;text-align:center;padding:10px 4px}.ms-login-feature-icon{margin:0 auto 8px;width:46px;height:46px}.ms-login-feature b{font-size:13px}.ms-login-feature small{display:none}.ms-login-visual{display:none}.ms-login-card{justify-self:auto;margin:0 auto;padding:32px 24px 26px;border-radius:18px}.ms-login-card h2{font-size:34px}.ms-login-intro{font-size:15px}.ms-login-links{gap:12px}.ms-login-links a{font-size:12px}}
@media(max-width:480px){.ms-login-logo span:last-child{font-size:12px}.ms-login-stage{padding:18px 12px 28px}.ms-login-hero h1{font-size:35px}.ms-login-features{gap:4px}.ms-login-feature-icon{width:40px;height:40px}.ms-login-feature-icon svg{width:23px;height:23px}.ms-login-card{padding:27px 18px 22px}.ms-login-card h2{font-size:30px}.ms-login-links{grid-template-columns:1fr;gap:12px}.ms-login-links span{display:none}.ms-login-links a,.ms-login-links a:last-child{text-align:center}}

/* v1.4.1 — member login full-page, flat polish, form icons, cleaner image */
html,body.ms-portal-standalone{margin:0;padding:0;background:#f6fbf9}
body.ms-portal-standalone{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f2747}
body.ms-portal-standalone #wpadminbar{display:none!important}
body.ms-portal-standalone .ms-login-page{min-height:100vh;background:#f6fbf9}
body.ms-portal-standalone .ms-login-topbar{height:84px;padding:0 clamp(18px,4vw,64px);border-bottom:1px solid #e7eef2;background:#fff}
body.ms-portal-standalone .ms-login-stage{min-height:calc(100vh - 84px);grid-template-columns:minmax(0,1.18fr) minmax(420px,.82fr);gap:44px;align-items:center;padding:32px clamp(20px,4vw,64px) 36px;background:#f6fbf9;overflow:hidden}
body.ms-portal-standalone .ms-login-stage:before{width:520px;height:520px;left:-240px;bottom:-360px;border:62px solid rgba(20,125,100,.06)}
body.ms-portal-standalone .ms-login-stage:after{width:420px;height:420px;left:34%;top:-250px;border:48px solid rgba(20,125,100,.05)}
body.ms-portal-standalone .ms-login-hero{min-height:auto;grid-template-columns:minmax(320px,.94fr) minmax(340px,1fr);gap:20px;align-items:center}
body.ms-portal-standalone .ms-login-hero-copy{padding:0 0 6px}
body.ms-portal-standalone .ms-login-hero h1{margin:12px 0 16px;font-size:clamp(48px,5vw,76px)}
body.ms-portal-standalone .ms-login-hero-copy>p{margin-bottom:34px;color:#66758d;font-size:clamp(18px,1.55vw,24px)}
body.ms-portal-standalone .ms-login-feature-icon{background:#eaf5f2;box-shadow:none}
body.ms-portal-standalone .ms-login-feature b{font-size:18px}
body.ms-portal-standalone .ms-login-visual{height:auto;min-height:0;align-self:stretch;display:flex;align-items:flex-end;justify-content:center}
body.ms-portal-standalone .ms-login-visual:before{display:none}
body.ms-portal-standalone .ms-login-visual-frame{position:relative;width:min(100%,560px);height:100%;min-height:620px;display:flex;align-items:flex-end;justify-content:center;border-radius:0;background:transparent;overflow:visible}
body.ms-portal-standalone .ms-login-visual-frame:before{content:"";position:absolute;inset:2% 2% auto 2%;height:76%;background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,0));pointer-events:none}
body.ms-portal-standalone .ms-login-visual img{width:100%;max-width:540px;height:auto;max-height:none;object-fit:contain;object-position:center bottom;mix-blend-mode:normal;filter:none;-webkit-mask-image:none;mask-image:none}
body.ms-portal-standalone .ms-login-shield{right:5%;top:11%;width:146px;height:146px;filter:none}
body.ms-portal-standalone .ms-login-card{max-width:530px;padding:42px 42px 34px;background:#fff;border:1px solid #e2ebef;border-radius:22px;box-shadow:none;backdrop-filter:none}
body.ms-portal-standalone .ms-login-card h2{margin:12px 0 10px;font-size:clamp(36px,3vw,52px)}
body.ms-portal-standalone .ms-login-intro{margin-bottom:24px;color:#64748b}
body.ms-portal-standalone .ms-login-alert{margin:0 0 18px;padding:14px 16px;border:1px solid #fecaca;background:#fff3f2;border-radius:12px;color:#9f1239;font-size:14px;font-weight:700}
body.ms-portal-standalone .ms-login-form{display:block}
body.ms-portal-standalone .ms-login-field{margin:0 0 16px}
body.ms-portal-standalone .ms-login-field label{display:block;margin:0 0 8px;color:#0f2747;font-size:14px;font-weight:850}
body.ms-portal-standalone .ms-login-input-wrap{display:flex;align-items:center;gap:12px;min-height:58px;padding:0 14px;border:1px solid #d4dde6;border-radius:12px;background:#fff;transition:border-color .18s,box-shadow .18s}
body.ms-portal-standalone .ms-login-input-wrap:focus-within{border-color:#147d64;box-shadow:0 0 0 4px rgba(20,125,100,.08)}
body.ms-portal-standalone .ms-login-input-icon{display:grid;place-items:center;width:22px;height:22px;color:#94a3b8;flex:0 0 22px}
body.ms-portal-standalone .ms-login-input-icon svg,body.ms-portal-standalone .ms-pass-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.ms-portal-standalone .ms-login-input-wrap input[type=text],body.ms-portal-standalone .ms-login-input-wrap input[type=password],body.ms-portal-standalone .ms-login-input-wrap input[type=email]{flex:1;border:0!important;background:transparent!important;min-height:56px;padding:0!important;color:#0f2747;font-size:16px;outline:0;box-shadow:none!important}
body.ms-portal-standalone .ms-login-input-wrap input::placeholder{color:#9aa8b8}
body.ms-portal-standalone .ms-pass-toggle{display:grid;place-items:center;width:34px;height:34px;border:0;background:transparent;color:#94a3b8;padding:0;cursor:pointer}
body.ms-portal-standalone .ms-pass-toggle.active,body.ms-portal-standalone .ms-pass-toggle:hover{color:#147d64}
body.ms-portal-standalone .ms-login-remember{display:flex;align-items:center;gap:10px;margin:6px 0 22px;color:#0f2747;font-size:14px;font-weight:800;cursor:pointer}
body.ms-portal-standalone .ms-login-remember input{width:18px;height:18px;margin:0;accent-color:#147d64}
body.ms-portal-standalone .ms-login-submit-btn{width:100%;min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:12px;background:#147d64;color:#fff;font-size:17px;font-weight:900;letter-spacing:.01em;cursor:pointer;box-shadow:none;transition:background .18s,transform .18s}
body.ms-portal-standalone .ms-login-submit-btn:hover{background:#116f5a;transform:translateY(-1px)}
body.ms-portal-standalone .ms-login-submit-btn span{font-size:21px;line-height:1}
body.ms-portal-standalone .ms-login-links{margin-top:20px;padding-top:20px}
body.ms-portal-standalone .ms-login-links a{font-size:13px}
@media(max-width:1100px){body.ms-portal-standalone .ms-login-stage{grid-template-columns:1fr 420px;gap:28px;padding-left:24px;padding-right:24px}body.ms-portal-standalone .ms-login-hero{grid-template-columns:1fr}body.ms-portal-standalone .ms-login-visual{display:none}body.ms-portal-standalone .ms-login-hero-copy{max-width:640px}}
@media(max-width:820px){body.ms-portal-standalone .ms-login-topbar{height:72px;padding:0 14px}body.ms-portal-standalone .ms-login-stage{display:block;min-height:calc(100vh - 72px);padding:22px 14px 28px}body.ms-portal-standalone .ms-login-hero{display:block}body.ms-portal-standalone .ms-login-hero-copy{text-align:center;padding:8px 4px 14px}body.ms-portal-standalone .ms-login-hero h1{font-size:42px}body.ms-portal-standalone .ms-login-features{grid-template-columns:repeat(3,1fr);gap:8px}body.ms-portal-standalone .ms-login-feature{display:block;text-align:center;padding:8px 4px}body.ms-portal-standalone .ms-login-feature-icon{margin:0 auto 8px;width:46px;height:46px}body.ms-portal-standalone .ms-login-feature small{display:none}body.ms-portal-standalone .ms-login-card{margin:0 auto;padding:30px 20px 24px;border-radius:18px}}
@media(max-width:480px){body.ms-portal-standalone .ms-login-logo{font-size:13px}body.ms-portal-standalone .ms-login-home{font-size:0}body.ms-portal-standalone .ms-login-home span{font-size:24px}body.ms-portal-standalone .ms-login-hero h1{font-size:36px}body.ms-portal-standalone .ms-login-card h2{font-size:30px}body.ms-portal-standalone .ms-login-links{grid-template-columns:1fr;gap:12px}body.ms-portal-standalone .ms-login-links span{display:none}body.ms-portal-standalone .ms-login-links a,body.ms-portal-standalone .ms-login-links a:last-child{text-align:center}}

/* v1.4.2 — exact member login reproduction + shortcode page takeover */
.ms-login-page{--ml-navy:#0b2753;--ml-green:#0f8d6a;--ml-green-deep:#0b7a5d;--ml-mint:#eaf6f2;--ml-line:#dce6ec;--ml-muted:#64748b;--ml-bg:#f7fbfb;position:relative;width:100%;max-width:100%;min-height:100vh;margin:0;padding:0;background:#fff;color:var(--ml-navy);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
.ms-login-page *{box-sizing:border-box}
.ms-login-page .ms-login-topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4.7vw,72px);background:#fff;border-bottom:1px solid #ecf1f4;position:relative;z-index:5}
.ms-login-page .ms-login-logo{display:inline-flex;align-items:center;gap:13px;color:var(--ml-navy)!important;text-decoration:none!important;font-size:18px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
.ms-login-page .ms-login-logo span:last-child{background:linear-gradient(90deg,var(--ml-navy) 0 58%,var(--ml-green) 58%);-webkit-background-clip:text;background-clip:text;color:transparent}
.ms-login-page .ms-login-logo-mark{display:grid;place-items:center;width:42px;height:42px;color:var(--ml-green)}
.ms-login-page .ms-login-logo-mark svg{width:42px;height:42px}
.ms-login-page .ms-login-home{display:inline-flex;align-items:center;gap:9px;color:var(--ml-navy)!important;text-decoration:none!important;font-weight:800;font-size:14px}
.ms-login-page .ms-login-home span{font-size:22px;line-height:1;color:var(--ml-navy)}
.ms-login-page .ms-login-stage{min-height:calc(100vh - 84px);display:grid;grid-template-columns:minmax(0,1.35fr) minmax(430px,.86fr);gap:34px;align-items:center;padding:34px clamp(24px,4.8vw,74px) 38px;background:radial-gradient(circle at 44% 28%,rgba(20,174,139,.14),transparent 25%),linear-gradient(135deg,#fbfefe 0%,#f3fbf8 49%,#eff9fa 100%);position:relative}
.ms-login-page .ms-login-stage:before,.ms-login-page .ms-login-stage:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.ms-login-page .ms-login-stage:before{width:570px;height:570px;left:-255px;bottom:-382px;border:68px solid rgba(19,148,119,.08)}.ms-login-page .ms-login-stage:after{width:450px;height:450px;left:33.5%;top:-268px;border:55px solid rgba(27,170,146,.06)}
.ms-login-page .ms-login-hero{position:relative;min-height:680px;display:grid;grid-template-columns:minmax(330px,.9fr) minmax(340px,1.08fr);align-items:center;overflow:hidden;z-index:1}
.ms-login-page .ms-login-hero-copy{position:relative;z-index:3;padding:22px 0 18px}.ms-login-page .ms-login-eyebrow,.ms-login-page .ms-login-brand{font-size:11px;line-height:1.4;font-weight:950;letter-spacing:.24em;text-transform:uppercase;color:var(--ml-green)}
.ms-login-page .ms-login-hero h1{margin:13px 0 16px;font-size:clamp(48px,5vw,78px);line-height:.97;letter-spacing:-.05em;color:var(--ml-navy);font-weight:850}.ms-login-page .ms-login-hero h1 span{color:var(--ml-green)}
.ms-login-page .ms-login-hero-copy>p{max-width:560px;margin:0 0 34px;font-size:clamp(18px,1.55vw,24px);line-height:1.48;color:#66758d}
.ms-login-page .ms-login-features{display:grid;gap:18px}.ms-login-page .ms-login-feature{display:flex;align-items:center;gap:17px}.ms-login-page .ms-login-feature-icon{width:58px;height:58px;flex:0 0 58px;border-radius:50%;display:grid;place-items:center;background:rgba(234,246,242,.98);color:var(--ml-green)}.ms-login-page .ms-login-feature-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.ms-login-page .ms-login-feature div{display:flex;flex-direction:column;gap:3px}.ms-login-page .ms-login-feature b{font-size:17px;color:var(--ml-navy)}.ms-login-page .ms-login-feature small{font-size:13px;color:#6e7c90}
.ms-login-page .ms-login-visual{position:relative;align-self:end;height:80%;min-height:495px;display:flex;align-items:flex-end;justify-content:center;z-index:2}.ms-login-page .ms-login-visual-frame{position:relative;display:flex;align-items:flex-end;justify-content:center;width:min(100%,535px);height:100%}.ms-login-page .ms-login-visual img{position:relative;z-index:2;width:min(100%,520px);height:100%;max-height:595px;object-fit:cover;object-position:center bottom;mix-blend-mode:multiply;filter:saturate(.98) contrast(1.01);-webkit-mask-image:linear-gradient(to bottom,#000 0 86%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0 86%,transparent 100%)}
.ms-login-page .ms-login-visual-frame:before{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(5,133,104,.25);border-radius:50%;top:5%;left:50%;transform:translateX(-48%);box-shadow:0 0 0 52px rgba(18,154,125,.04),0 0 0 104px rgba(18,154,125,.035)}
.ms-login-page .ms-login-shield{position:absolute;right:6%;top:14%;z-index:3;width:146px;height:146px;color:rgba(9,139,108,.72);filter:drop-shadow(0 13px 24px rgba(9,65,58,.14))}.ms-login-page .ms-login-shield>svg{width:100%;height:100%;fill:rgba(255,255,255,.46);stroke:currentColor;stroke-width:2}.ms-login-page .ms-login-shield span{position:absolute;right:-5px;bottom:10px;width:42px;height:42px;border-radius:50%;background:var(--ml-green);color:#fff;border:5px solid #fff;display:grid;place-items:center;font-size:22px;font-weight:900}
.ms-login-page .ms-login-card{position:relative;z-index:3;align-self:center;width:100%;max-width:560px;justify-self:end;padding:50px 48px 42px;background:#fff;border:1px solid rgba(218,229,235,.92);border-radius:24px;box-shadow:0 16px 42px rgba(24,55,74,.08),0 3px 12px rgba(24,55,74,.04)}
.ms-login-page .ms-login-card h2{margin:12px 0 8px;color:var(--ml-navy);font-size:clamp(34px,3vw,50px);line-height:1.04;letter-spacing:-.045em}.ms-login-page .ms-login-intro{margin:0 0 28px;color:#67778e;font-size:17px;line-height:1.5}
.ms-login-page .ms-login-alert{margin:0 0 16px;padding:14px 16px;border:1px solid #fecaca;background:#fff6f5;border-radius:12px;color:#b42318;font-size:14px;font-weight:700}
.ms-login-page .ms-login-field{margin:0 0 16px}.ms-login-page .ms-login-field label{display:block;margin:0 0 8px;color:var(--ml-navy);font-size:14px;font-weight:850}
.ms-login-page .ms-login-input-wrap{display:flex;align-items:center;gap:12px;min-height:58px;padding:0 16px;border:1px solid #ccd8e2;border-radius:10px;background:#fff;transition:border-color .18s,box-shadow .18s}.ms-login-page .ms-login-input-wrap:focus-within{border-color:var(--ml-green);box-shadow:0 0 0 4px rgba(11,138,109,.09)}
.ms-login-page .ms-login-input-icon{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;color:#98a6b6}.ms-login-page .ms-login-input-icon svg,.ms-login-page .ms-pass-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ms-login-page .ms-login-input-wrap input[type=text],.ms-login-page .ms-login-input-wrap input[type=password]{flex:1;min-height:56px;padding:0!important;border:0!important;background:transparent!important;color:var(--ml-navy)!important;font-size:16px;outline:0;box-shadow:none!important}.ms-login-page .ms-login-input-wrap input::placeholder{color:#a0aec0}
.ms-login-page .ms-pass-toggle{display:grid;place-items:center;width:32px;height:32px;border:0;background:transparent;color:#98a6b6;padding:0;cursor:pointer}.ms-login-page .ms-pass-toggle.active,.ms-login-page .ms-pass-toggle:hover{color:var(--ml-green)}
.ms-login-page .ms-login-remember{display:flex;align-items:center;gap:10px;margin:8px 0 22px;color:var(--ml-navy);font-size:14px;font-weight:800;cursor:pointer}.ms-login-page .ms-login-remember input{width:18px;height:18px;margin:0;accent-color:var(--ml-green)}
.ms-login-page .ms-login-submit-btn{width:100%;min-height:58px;border:0;border-radius:10px;background:linear-gradient(90deg,var(--ml-green-deep),#0ca47e);color:#fff;font-size:16px;font-weight:900;letter-spacing:.01em;cursor:pointer;box-shadow:0 10px 24px rgba(9,139,108,.2);transition:transform .15s,box-shadow .15s;display:flex;align-items:center;justify-content:center;gap:12px}.ms-login-page .ms-login-submit-btn:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(9,139,108,.25)}.ms-login-page .ms-login-submit-btn span{font-size:22px;line-height:1}
.ms-login-page .ms-login-links{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;margin-top:22px;padding-top:22px;border-top:1px solid #e7edf1}.ms-login-page .ms-login-links span{width:1px;height:28px;background:#dce5ea}.ms-login-page .ms-login-links a{color:var(--ml-navy)!important;text-decoration:none!important;font-size:13px;font-weight:800}.ms-login-page .ms-login-links a:first-child{color:var(--ml-green-deep)!important;text-decoration:underline!important;text-underline-offset:3px}.ms-login-page .ms-login-links a:last-child{text-align:right}
body.ms-portal-standalone,html:has(.ms-login-page),body:has(.ms-login-page){margin:0!important;padding:0!important;background:#f6fbf9}
body.ms-portal-standalone .site,body.ms-portal-standalone .site-main,body.ms-portal-standalone .site-footer{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
body.ms-portal-standalone #wpadminbar{display:none!important}
body:has(.ms-login-page) .entry-title,body:has(.ms-login-page) .wp-block-post-title,body:has(.ms-login-page) .page-title,body:has(.ms-login-page) header.wp-block-template-part,body:has(.ms-login-page) footer.wp-block-template-part,body:has(.ms-login-page) .site-header,body:has(.ms-login-page) .site-footer,body:has(.ms-login-page) .wp-site-blocks > header,body:has(.ms-login-page) .wp-site-blocks > footer{display:none!important}
body:has(.ms-login-page) main.site-main,body:has(.ms-login-page) .site-content,body:has(.ms-login-page) .entry-content,body:has(.ms-login-page) .wp-site-blocks,body:has(.ms-login-page) .is-layout-constrained{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body:has(.ms-login-page) .entry-content>.ms-login-page,body:has(.ms-login-page) .wp-block-post-content>.ms-login-page{margin-left:0!important;margin-right:0!important}
@media(max-width:1100px){.ms-login-page .ms-login-stage{grid-template-columns:1fr 440px;padding-left:28px;padding-right:28px}.ms-login-page .ms-login-hero{grid-template-columns:1fr}.ms-login-page .ms-login-visual{position:absolute;right:-30px;bottom:0;width:54%;height:62%;opacity:.58}.ms-login-page .ms-login-hero-copy{max-width:550px}.ms-login-page .ms-login-shield{display:none}}
@media(max-width:820px){.ms-login-page{min-height:100vh}.ms-login-page .ms-login-topbar{height:70px;padding:0 18px}.ms-login-page .ms-login-logo{font-size:14px}.ms-login-page .ms-login-logo-mark,.ms-login-page .ms-login-logo-mark svg{width:34px;height:34px}.ms-login-page .ms-login-home{font-size:0}.ms-login-page .ms-login-home span{font-size:24px}.ms-login-page .ms-login-stage{display:block;min-height:calc(100vh - 70px);padding:26px 16px 34px;background:linear-gradient(160deg,#f5fcfa,#eef8fa)}.ms-login-page .ms-login-hero{min-height:auto;display:block;padding:10px 4px 20px}.ms-login-page .ms-login-hero-copy{text-align:center;padding:8px 0}.ms-login-page .ms-login-hero h1{font-size:42px;margin-top:8px}.ms-login-page .ms-login-hero-copy>p{font-size:16px;margin:0 auto 22px;max-width:520px}.ms-login-page .ms-login-features{grid-template-columns:repeat(3,1fr);gap:8px}.ms-login-page .ms-login-feature{display:block;text-align:center;padding:10px 4px}.ms-login-page .ms-login-feature-icon{margin:0 auto 8px;width:46px;height:46px}.ms-login-page .ms-login-feature b{font-size:13px}.ms-login-page .ms-login-feature small{display:none}.ms-login-page .ms-login-visual{display:none}.ms-login-page .ms-login-card{justify-self:auto;margin:0 auto;padding:32px 24px 26px;border-radius:18px}.ms-login-page .ms-login-card h2{font-size:34px}.ms-login-page .ms-login-intro{font-size:15px}.ms-login-page .ms-login-links{gap:12px}.ms-login-page .ms-login-links a{font-size:12px}}
@media(max-width:480px){.ms-login-page .ms-login-logo span:last-child{font-size:12px}.ms-login-page .ms-login-stage{padding:18px 12px 28px}.ms-login-page .ms-login-hero h1{font-size:35px}.ms-login-page .ms-login-features{gap:4px}.ms-login-page .ms-login-feature-icon{width:40px;height:40px}.ms-login-page .ms-login-feature-icon svg{width:23px;height:23px}.ms-login-page .ms-login-card{padding:27px 18px 22px}.ms-login-page .ms-login-card h2{font-size:30px}.ms-login-page .ms-login-links{grid-template-columns:1fr;gap:12px}.ms-login-page .ms-login-links span{display:none}.ms-login-page .ms-login-links a,.ms-login-page .ms-login-links a:last-child{text-align:center}}

/* v1.4.3 settings image controls */
.ms-media-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:6px}
.ms-media-row .ms-media-url{flex:1;min-width:280px}
.ms-settings-preview{display:block;max-width:360px;max-height:240px;margin-top:10px;border:1px solid #d8e3ea;border-radius:12px;background:#fff;object-fit:contain;padding:6px}
.ms-settings-preview.is-empty{display:none}
.ms-login-shield-img{display:block;width:100%;height:100%;object-fit:contain}

/* v1.5.0 — Premium Member Dashboard inspired by approved reference */
body:has(.ms-member-app){margin:0!important;padding:0!important;background:#f4f8fb!important;overflow-x:hidden}
body:has(.ms-member-app) header.wp-block-template-part,body:has(.ms-member-app) footer.wp-block-template-part,body:has(.ms-member-app) .site-header,body:has(.ms-member-app) .site-footer,body:has(.ms-member-app) .wp-site-blocks>header,body:has(.ms-member-app) .wp-site-blocks>footer,body:has(.ms-member-app) .entry-title,body:has(.ms-member-app) .wp-block-post-title{display:none!important}
body:has(.ms-member-app) .wp-site-blocks,body:has(.ms-member-app) main,body:has(.ms-member-app) .entry-content,body:has(.ms-member-app) .wp-block-post-content,body:has(.ms-member-app) .is-layout-constrained{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.ms-member-app{--mnavy:#082f55;--mnavy2:#0b3d69;--mgreen:#07956f;--mgreen2:#17b38a;--mtext:#10284d;--mmuted:#6a7b93;--mbg:#f4f8fb;--mline:#dce6ee;min-height:100vh;display:grid;grid-template-columns:300px minmax(0,1fr);background:var(--mbg);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mtext)}
.ms-member-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#072f55 0%,#0b3d69 52%,#08365e 100%);padding:28px 14px;color:#fff;z-index:30}
.ms-member-side-brand{display:flex;align-items:center;gap:13px;padding:0 18px 28px;font-size:21px;line-height:1.03;letter-spacing:.01em}.ms-member-side-brand strong{font-weight:900}.ms-member-side-brand em{font-style:normal;color:#22c597}.ms-member-side-logo{width:58px;height:58px;display:grid;place-items:center;color:#24c79a}.ms-member-side-logo svg{width:58px;height:58px;fill:currentColor;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ms-member-side-nav{display:grid;gap:7px}.ms-member-side-nav a{display:flex;align-items:center;gap:18px;min-height:58px;padding:0 20px;color:#d9e7f4!important;text-decoration:none!important;font-size:16px;font-weight:650;border-radius:9px;border-left:3px solid transparent;transition:.18s}.ms-member-side-nav a:hover{background:rgba(255,255,255,.07);color:#fff!important}.ms-member-side-nav a.active{background:linear-gradient(90deg,#185f93,#1a5682);border-left-color:#19d5a1;color:#fff!important;font-weight:850}.ms-member-nav-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px}.ms-member-nav-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.ms-member-side-nav a:first-child .ms-member-nav-icon svg{fill:currentColor;stroke:currentColor}
.ms-member-main{min-width:0;display:flex;flex-direction:column}.ms-member-topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#fff;border-bottom:1px solid #e5edf3;position:sticky;top:0;z-index:20}.ms-member-topbar-left{display:flex;align-items:center;gap:26px;font-size:18px;font-weight:650;color:#61728b}.ms-member-menu-toggle{border:0;background:transparent;color:#38526c;font-size:30px;line-height:1;padding:0;cursor:pointer}.ms-member-topbar-user{display:flex;align-items:center;gap:15px}.ms-member-avatar{width:44px;height:44px;border-radius:50%;background:#0b9370;color:#fff;display:grid;place-items:center;font-weight:850;font-size:15px}.ms-member-user-meta{display:flex;flex-direction:column;gap:2px;min-width:170px}.ms-member-user-meta b{font-size:14px;color:#0d2346}.ms-member-user-meta small{font-size:12px;color:#7a8a9f}.ms-member-logout{height:46px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;border:1px solid #0b9a74;border-radius:9px;color:#07855f!important;text-decoration:none!important;font-weight:800;font-size:14px;background:#fff}.ms-member-logout:hover{background:#edf9f5}
.ms-member-content{padding:28px 28px 40px;max-width:1600px;width:100%;margin:0 auto;box-sizing:border-box}.ms-member-welcome{position:relative;min-height:205px;display:flex;align-items:center;justify-content:space-between;padding:30px 32px;margin-bottom:22px;border:1px solid #cceae2;border-radius:13px;overflow:hidden;background:linear-gradient(100deg,#eefaf7 0%,#e5f9f4 62%,#bcefe3 100%)}.ms-member-welcome:after{content:"";position:absolute;right:-10%;bottom:-80%;width:520px;height:360px;border-radius:50%;border:55px solid rgba(0,145,110,.06)}.ms-member-welcome>div:first-child{position:relative;z-index:2}.ms-member-welcome span{display:block;margin-bottom:10px;color:#0a8b69;font-size:12px;font-weight:950;letter-spacing:.15em}.ms-member-welcome h1{margin:0 0 3px;font-size:clamp(34px,3.3vw,54px);line-height:1.02;letter-spacing:-.035em;color:#0d2851}.ms-member-welcome p{margin:0 0 18px;font-size:20px;color:#405a76}.ms-member-welcome small{font-size:17px;color:#536c86}.ms-member-welcome-art{position:relative;z-index:2;width:290px;display:flex;justify-content:center;color:#0d9d77}.ms-member-welcome-art svg{width:260px;height:170px;fill:rgba(10,157,118,.88);stroke:#fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}.ms-member-welcome-art svg path:nth-last-child(-n+2){fill:#dff8f0;stroke:#0b8f6d}
.ms-member-kpis-premium{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;margin:0 0 22px!important}.ms-member-kpi-card{min-height:170px;background:#fff;border:1px solid #dde7ef;border-radius:12px;padding:18px 18px 16px;box-shadow:0 3px 10px rgba(22,54,82,.035);display:flex;flex-direction:column;align-items:flex-start}.ms-member-kpi-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin-bottom:12px}.ms-member-kpi-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.ms-member-kpi-icon.blue{background:#d9efff;color:#1588dd}.ms-member-kpi-icon.green{background:#dff7ec;color:#0b9a68}.ms-member-kpi-icon.orange{background:#fff0df;color:#db6f1e}.ms-member-kpi-icon.purple{background:#f2e4ff;color:#8a3bd3}.ms-member-kpi-icon.mint{background:#e0f7ef;color:#0a9970}.ms-member-kpi-label{text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.09em;color:#708198;margin-bottom:6px}.ms-member-kpi-card strong{font-size:28px;line-height:1;color:#10284d;letter-spacing:-.02em}.ms-status-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:100px!important;height:39px!important;border-radius:12px!important;background:#dff8ee!important;color:#07855f!important;font-size:16px!important;padding:0 18px!important}
.ms-member-grid-premium{display:grid!important;grid-template-columns:minmax(0,1.75fr) minmax(360px,.85fr)!important;gap:16px!important}.ms-member-card{background:#fff;border:1px solid #dce6ee;border-radius:12px;padding:18px;box-shadow:0 3px 10px rgba(23,55,83,.025)}.ms-member-card-h{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.ms-member-card-h h3,.ms-member-summary-title h3{margin:0;color:#0f294f;font-size:22px;letter-spacing:-.02em}.ms-member-card-h p,.ms-member-summary-title p{margin:5px 0 0;color:#74859a;font-size:14px}.ms-member-statement-btn{display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:0 20px;background:#07936d;color:#fff!important;border-radius:9px;text-decoration:none!important;font-weight:850;white-space:nowrap}.ms-member-statement-btn:hover{background:#067c5d}.ms-member-transactions table{width:100%;border-collapse:collapse;border:1px solid #dbe6ee;border-radius:8px;overflow:hidden}.ms-member-transactions table th{background:#edf4f8;color:#122a50;font-size:13px;padding:14px;text-align:left}.ms-member-transactions table td{padding:14px;border-top:1px solid #e5edf3}.ms-member-empty-state{min-height:205px;border:1px solid #dde7ef;border-top:0;border-radius:0 0 8px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6e8299;text-align:center}.ms-member-empty-state>span{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#edf4f8;color:#8aa1b6;font-size:32px}.ms-member-empty-state b{margin-top:9px;font-size:18px;color:#10284d}.ms-member-empty-state small{margin-top:4px;font-size:13px}.ms-member-summary-title{display:flex;align-items:center;gap:14px;margin-bottom:12px}.ms-member-summary-title>span{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#eaf6fb;color:#12a2c0;font-size:26px}.ms-summary-lines{border:1px solid #dbe5ed;border-radius:10px;overflow:hidden}.ms-summary-lines>div{min-height:58px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4ecf2}.ms-summary-lines>div:last-child{border-bottom:0}.ms-summary-lines span{color:#697d95;font-size:15px}.ms-summary-lines b{color:#10284d;font-size:16px}.ms-member-secure{margin-top:14px;display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:10px;background:#e9faf4;color:#08795d}.ms-member-secure>span{width:38px;height:38px;border-radius:50%;background:#d1f4e7;display:grid;place-items:center;font-weight:900}.ms-member-secure div{display:flex;flex-direction:column}.ms-member-secure b{font-size:14px}.ms-member-secure small{font-size:12px;margin-top:3px}.ms-member-alert{margin:0 0 18px;border-radius:10px;padding:14px 16px;display:flex;justify-content:space-between;gap:12px}.ms-member-alert.warning{background:#fff7e8;color:#915b00;border:1px solid #f4d79d}.ms-member-alert.danger{background:#fff0ef;color:#a52b20;border:1px solid #f3c4c0}
/* secondary member screens keep app shell */
.ms-member-content>.ms-member-card,.ms-member-content>.ms-statement{margin-bottom:16px}.ms-member-content .ms-profile-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.ms-member-content .ms-profile-meta>div{padding:15px;background:#f7fafc;border:1px solid #e1e9ef;border-radius:9px}.ms-member-content .ms-profile-meta span{display:block;color:#71849a;font-size:12px;margin-bottom:5px}.ms-member-content .ms-profile-meta b{color:#10284d}.ms-member-content .ms-member-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ms-member-content .ms-member-form label{display:grid;gap:7px;font-weight:700}.ms-member-content .ms-member-form input{height:45px;border:1px solid #ccd9e3;border-radius:8px;padding:0 12px}.ms-member-btn{border:0;background:#07936d;color:#fff!important;border-radius:8px;padding:12px 18px;font-weight:800;text-decoration:none!important}
@media(max-width:1180px){.ms-member-app{grid-template-columns:240px minmax(0,1fr)}.ms-member-kpis-premium{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ms-member-grid-premium{grid-template-columns:1fr!important}.ms-member-welcome-art{width:220px}.ms-member-side-brand{font-size:17px}.ms-member-side-logo,.ms-member-side-logo svg{width:48px;height:48px}}
@media(max-width:820px){.ms-member-app{display:block}.ms-member-sidebar{position:fixed;left:-280px;top:0;width:270px;height:100vh;transition:left .22s;box-shadow:8px 0 28px rgba(0,0,0,.18)}.ms-member-app.menu-open .ms-member-sidebar{left:0}.ms-member-topbar{height:72px;padding:0 14px}.ms-member-topbar-left{gap:12px;font-size:14px}.ms-member-user-meta{display:none}.ms-member-avatar{width:38px;height:38px}.ms-member-logout{padding:0 12px;height:40px}.ms-member-logout span{display:none}.ms-member-content{padding:16px 12px 28px}.ms-member-welcome{min-height:auto;padding:22px}.ms-member-welcome h1{font-size:34px}.ms-member-welcome p{font-size:17px}.ms-member-welcome small{font-size:14px}.ms-member-welcome-art{display:none}.ms-member-kpis-premium{grid-template-columns:1fr 1fr!important}.ms-member-kpi-card{min-height:145px}.ms-member-grid-premium{grid-template-columns:1fr!important}.ms-member-card-h{align-items:flex-start;flex-direction:column}.ms-member-statement-btn{width:100%;justify-content:center}.ms-member-content .ms-profile-meta{grid-template-columns:1fr 1fr}.ms-member-content .ms-member-form{grid-template-columns:1fr}}
@media(max-width:480px){.ms-member-kpis-premium{grid-template-columns:1fr!important}.ms-member-welcome h1{font-size:30px}.ms-member-kpi-card{min-height:132px}.ms-member-content .ms-profile-meta{grid-template-columns:1fr}.ms-member-transactions{overflow:hidden}.ms-member-transactions .ms-table-wrap{overflow-x:auto}.ms-member-summary-card{padding:14px}}

/* v1.5.1 — hard full viewport member dashboard fix */
html:has(.ms-member-app),body.ms-portal-standalone:has(.ms-member-app){width:100%!important;max-width:none!important;min-width:100%!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
body.ms-portal-standalone .ms-member-app{width:100%!important;max-width:none!important;margin:0!important;min-height:100vh!important}
body.ms-portal-standalone .ms-member-main{width:100%!important;max-width:none!important;min-width:0!important}
body.ms-portal-standalone .ms-member-content{max-width:none!important;width:100%!important;margin:0!important;padding-left:28px!important;padding-right:28px!important}
@media(min-width:1600px){body.ms-portal-standalone .ms-member-content{padding-left:36px!important;padding-right:36px!important}}
@media(max-width:820px){body.ms-portal-standalone .ms-member-content{padding:16px 12px 28px!important}}

/* v1.5.2 FORCE FIX — portal member app owns the viewport */
body.ms-portal-standalone{overflow:hidden!important;width:100vw!important;min-width:100vw!important;max-width:100vw!important;height:100vh!important;min-height:100vh!important;max-height:100vh!important;margin:0!important;padding:0!important}
body.ms-portal-standalone .ms-member-app{position:fixed!important;inset:0!important;width:100vw!important;min-width:100vw!important;max-width:100vw!important;height:100vh!important;min-height:100vh!important;max-height:100vh!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:300px minmax(0,1fr)!important;overflow:hidden!important;z-index:2147482000!important;background:#f4f8fb!important}
body.ms-portal-standalone .ms-member-sidebar{position:relative!important;inset:auto!important;width:300px!important;min-width:300px!important;max-width:300px!important;height:100vh!important;min-height:100vh!important;max-height:100vh!important;margin:0!important;overflow-y:auto!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-main{position:relative!important;width:auto!important;min-width:0!important;max-width:none!important;height:100vh!important;min-height:100vh!important;max-height:100vh!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-topbar{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;min-width:0!important;max-width:none!important;height:86px!important;min-height:86px!important;flex:0 0 86px!important;margin:0!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-content{position:relative!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;flex:1 1 auto!important;margin:0!important;padding:28px!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-welcome,body.ms-portal-standalone .ms-member-kpis-premium,body.ms-portal-standalone .ms-member-grid-premium,body.ms-portal-standalone .ms-member-card{max-width:none!important;width:100%!important;box-sizing:border-box!important}
@media(max-width:1180px) and (min-width:821px){body.ms-portal-standalone .ms-member-app{grid-template-columns:240px minmax(0,1fr)!important}body.ms-portal-standalone .ms-member-sidebar{width:240px!important;min-width:240px!important;max-width:240px!important}}
@media(max-width:820px){body.ms-portal-standalone .ms-member-app{display:block!important;width:100vw!important;min-width:100vw!important;height:100vh!important}body.ms-portal-standalone .ms-member-sidebar{position:fixed!important;left:-280px!important;top:0!important;width:270px!important;min-width:270px!important;max-width:270px!important;height:100vh!important;z-index:2147483000!important;transition:left .22s ease!important}body.ms-portal-standalone .ms-member-app.menu-open .ms-member-sidebar{left:0!important}body.ms-portal-standalone .ms-member-main{width:100vw!important;min-width:100vw!important;max-width:100vw!important;height:100vh!important}body.ms-portal-standalone .ms-member-topbar{height:72px!important;min-height:72px!important;flex-basis:72px!important}body.ms-portal-standalone .ms-member-content{padding:16px 12px 28px!important}}

/* v1.5.4 — reference-accurate member dashboard polish */
body.ms-portal-standalone .ms-member-app{
  --mnavy:#082f55;--mnavy2:#0b416f;--mgreen:#08966f;--mgreen2:#20c89a;--mtext:#0d2851;--mmuted:#697b93;--mbg:#f4f8fb;--mline:#dce6ee;
  grid-template-columns:310px minmax(0,1fr)!important;background:var(--mbg)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
body.ms-portal-standalone .ms-member-sidebar{width:310px!important;min-width:310px!important;max-width:310px!important;background:linear-gradient(180deg,#082f55 0%,#0b416f 58%,#08375f 100%)!important;padding:26px 14px 24px!important}
body.ms-portal-standalone .ms-member-side-brand{display:flex!important;align-items:center!important;gap:13px!important;padding:0 20px 30px!important;font-size:22px!important;line-height:1.02!important;letter-spacing:0!important}
body.ms-portal-standalone .ms-member-side-brand strong{font-weight:900!important;color:#fff!important}
body.ms-portal-standalone .ms-member-side-brand em{font-style:normal!important;color:#25c99c!important}
body.ms-portal-standalone .ms-member-side-logo{width:60px!important;height:60px!important;flex:0 0 60px!important;color:#24c99a!important}
body.ms-portal-standalone .ms-member-side-logo svg{width:60px!important;height:60px!important}
body.ms-portal-standalone .ms-member-side-nav{display:grid!important;gap:8px!important}
body.ms-portal-standalone .ms-member-side-nav a{display:flex!important;align-items:center!important;gap:18px!important;min-height:60px!important;padding:0 21px!important;border-radius:9px!important;border-left:3px solid transparent!important;color:#dbe8f3!important;font-size:17px!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-side-nav a.active{background:linear-gradient(90deg,#1c6294,#1c5885)!important;border-left-color:#19d4a3!important;color:#fff!important;font-weight:800!important}
body.ms-portal-standalone .ms-member-nav-icon{width:28px!important;height:28px!important;flex:0 0 28px!important}
body.ms-portal-standalone .ms-member-nav-icon svg{width:25px!important;height:25px!important;stroke-width:1.9!important}

body.ms-portal-standalone .ms-member-main{min-width:0!important;display:flex!important;flex-direction:column!important;background:#f4f8fb!important}
body.ms-portal-standalone .ms-member-topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:86px!important;min-height:86px!important;padding:0 30px!important;background:#fff!important;border-bottom:1px solid #e4ecf2!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-topbar-left{display:flex!important;align-items:center!important;gap:27px!important;color:#60738c!important;font-size:18px!important;font-weight:650!important;white-space:nowrap!important}
body.ms-portal-standalone .ms-member-menu-toggle{width:30px!important;height:28px!important;display:grid!important;align-content:center!important;gap:4px!important;border:0!important;background:transparent!important;padding:0!important;cursor:pointer!important}
body.ms-portal-standalone .ms-member-menu-toggle span{display:block!important;width:24px!important;height:3px!important;border-radius:3px!important;background:#38546f!important}
body.ms-portal-standalone .ms-member-topbar-user{display:flex!important;align-items:center!important;gap:13px!important;margin-left:auto!important}
body.ms-portal-standalone .ms-member-bell{position:relative!important;width:32px!important;height:32px!important;display:grid!important;place-items:center!important;color:#4a6079!important}
body.ms-portal-standalone .ms-member-bell svg{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.ms-portal-standalone .ms-member-bell i{position:absolute!important;top:-6px!important;right:-5px!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border-radius:999px!important;background:#ff4d4f!important;color:#fff!important;font-size:10px!important;font-style:normal!important;font-weight:800!important;display:grid!important;place-items:center!important;border:2px solid #fff!important}
body.ms-portal-standalone .ms-member-top-divider{width:1px!important;height:34px!important;background:#dfe6ec!important;margin:0 5px 0 4px!important}
body.ms-portal-standalone .ms-member-avatar{width:44px!important;height:44px!important;border-radius:50%!important;background:#0b9370!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:15px!important;font-weight:850!important}
body.ms-portal-standalone .ms-member-user-meta{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:150px!important}
body.ms-portal-standalone .ms-member-user-meta b{font-size:14px!important;line-height:1.25!important;color:#0d2346!important;font-weight:750!important}
body.ms-portal-standalone .ms-member-user-meta small{font-size:12px!important;color:#75879d!important}
body.ms-portal-standalone .ms-member-chevron{font-size:18px!important;color:#425a74!important;margin:0 7px 0 -5px!important;line-height:1!important}
body.ms-portal-standalone .ms-member-logout{height:48px!important;display:inline-flex!important;align-items:center!important;gap:9px!important;padding:0 18px!important;border:1px solid #0b9a74!important;border-radius:9px!important;background:#fff!important;color:#07855f!important;text-decoration:none!important;font-size:14px!important;font-weight:800!important;white-space:nowrap!important}
body.ms-portal-standalone .ms-member-logout svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}

body.ms-portal-standalone .ms-member-content{width:100%!important;max-width:none!important;margin:0!important;padding:27px 28px 38px!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-welcome{position:relative!important;min-height:214px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:28px 32px!important;margin:0 0 22px!important;border:1px solid #cce9e1!important;border-radius:13px!important;background:linear-gradient(100deg,#eefaf7 0%,#e7f9f4 61%,#bfeee3 100%)!important;overflow:hidden!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-welcome>div:first-child{position:relative!important;z-index:2!important;max-width:74%!important}
body.ms-portal-standalone .ms-member-welcome span{display:block!important;margin:0 0 11px!important;color:#078d69!important;font-size:12px!important;font-weight:900!important;letter-spacing:.17em!important}
body.ms-portal-standalone .ms-member-welcome h1{margin:0 0 4px!important;color:#0d2851!important;font-size:46px!important;line-height:1.02!important;letter-spacing:-.03em!important;font-weight:850!important}
body.ms-portal-standalone .ms-member-welcome p{margin:0 0 20px!important;color:#415c78!important;font-size:20px!important;line-height:1.2!important;font-weight:450!important}
body.ms-portal-standalone .ms-member-welcome small{display:block!important;color:#536d87!important;font-size:17px!important;line-height:1.45!important;font-weight:400!important}
body.ms-portal-standalone .ms-member-welcome-art{position:relative!important;z-index:2!important;width:300px!important;flex:0 0 300px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#0d9d77!important}
body.ms-portal-standalone .ms-member-welcome-art svg{width:255px!important;height:168px!important;fill:rgba(10,157,118,.88)!important;stroke:#fff!important;stroke-width:6!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.ms-portal-standalone .ms-member-welcome-art svg path:nth-last-child(-n+2){fill:#dff8f0!important;stroke:#0b8f6d!important}

body.ms-portal-standalone .ms-member-kpis-premium{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:13px!important;margin:0 0 22px!important}
body.ms-portal-standalone .ms-member-kpi-card{min-height:178px!important;padding:18px 18px 16px!important;background:#fff!important;border:1px solid #dce6ee!important;border-radius:12px!important;box-shadow:0 2px 8px rgba(22,54,82,.035)!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-kpi-icon{width:62px!important;height:62px!important;border-radius:50%!important;display:grid!important;place-items:center!important;margin:0 0 12px!important}
body.ms-portal-standalone .ms-member-kpi-icon svg{width:31px!important;height:31px!important}
body.ms-portal-standalone .ms-member-kpi-label{margin:0 0 8px!important;text-transform:uppercase!important;font-size:11px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.09em!important;color:#6f8199!important}
body.ms-portal-standalone .ms-member-kpi-card strong{margin:0!important;color:#10284d!important;font-size:29px!important;line-height:1!important;letter-spacing:-.025em!important;font-weight:800!important}
body.ms-portal-standalone .ms-status-pill{min-width:100px!important;height:39px!important;border-radius:12px!important;background:#dff8ee!important;color:#07855f!important;font-size:16px!important;font-weight:650!important;padding:0 18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

body.ms-portal-standalone .ms-member-grid-premium{display:grid!important;grid-template-columns:minmax(0,1.75fr) minmax(360px,.84fr)!important;gap:16px!important;align-items:stretch!important}
body.ms-portal-standalone .ms-member-card{background:#fff!important;border:1px solid #dce6ee!important;border-radius:12px!important;padding:18px!important;box-shadow:0 2px 8px rgba(23,55,83,.025)!important;box-sizing:border-box!important}
body.ms-portal-standalone .ms-member-card-h{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 0 17px!important}
body.ms-portal-standalone .ms-member-card-h h3,body.ms-portal-standalone .ms-member-summary-title h3{margin:0!important;color:#0f294f!important;font-size:22px!important;line-height:1.15!important;letter-spacing:-.02em!important;font-weight:800!important}
body.ms-portal-standalone .ms-member-card-h p,body.ms-portal-standalone .ms-member-summary-title p{margin:5px 0 0!important;color:#74859a!important;font-size:14px!important;line-height:1.35!important}
body.ms-portal-standalone .ms-member-statement-btn{min-height:48px!important;padding:0 20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;background:#07936d!important;color:#fff!important;border-radius:9px!important;text-decoration:none!important;font-size:15px!important;font-weight:800!important;white-space:nowrap!important}
body.ms-portal-standalone .ms-member-statement-btn svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.ms-portal-standalone .ms-member-statement-btn b{font-size:24px!important;line-height:1!important;font-weight:400!important}
body.ms-portal-standalone .ms-member-transactions table{width:100%!important;border-collapse:collapse!important;border:1px solid #dbe6ee!important;border-radius:8px!important;overflow:hidden!important}
body.ms-portal-standalone .ms-member-transactions table th{background:#edf4f8!important;color:#122a50!important;font-size:13px!important;font-weight:800!important;padding:14px!important;text-align:left!important}
body.ms-portal-standalone .ms-member-transactions table td{padding:14px!important;border-top:1px solid #e5edf3!important}
body.ms-portal-standalone .ms-member-empty-state{min-height:202px!important;border:1px solid #dde7ef!important;border-top:0!important;border-radius:0 0 8px 8px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;color:#6e8299!important}
body.ms-portal-standalone .ms-member-empty-state>span{width:68px!important;height:68px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#edf4f8!important;color:#8aa1b6!important}
body.ms-portal-standalone .ms-member-empty-state>span svg{width:32px!important;height:32px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.ms-portal-standalone .ms-member-empty-state b{margin-top:9px!important;font-size:18px!important;color:#10284d!important}
body.ms-portal-standalone .ms-member-empty-state small{margin-top:4px!important;font-size:13px!important}
body.ms-portal-standalone .ms-member-summary-title{display:flex!important;align-items:center!important;gap:14px!important;margin:0 0 12px!important}
body.ms-portal-standalone .ms-member-summary-title>span{width:48px!important;height:48px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#eaf6fb!important;color:#12a2c0!important;flex:0 0 48px!important}
body.ms-portal-standalone .ms-member-summary-title>span svg{width:26px!important;height:26px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.ms-portal-standalone .ms-summary-lines{border:1px solid #dbe5ed!important;border-radius:10px!important;overflow:hidden!important}
body.ms-portal-standalone .ms-summary-lines>div{min-height:58px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid #e4ecf2!important}
body.ms-portal-standalone .ms-summary-lines>div:last-child{border-bottom:0!important}
body.ms-portal-standalone .ms-summary-lines span{color:#697d95!important;font-size:15px!important}
body.ms-portal-standalone .ms-summary-lines b{color:#10284d!important;font-size:16px!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-secure{margin-top:14px!important;display:flex!important;align-items:center!important;gap:13px!important;padding:13px 14px!important;border-radius:10px!important;background:#e9faf4!important;color:#08795d!important}
body.ms-portal-standalone .ms-member-secure>span{width:38px!important;height:38px!important;border-radius:50%!important;background:#d1f4e7!important;display:grid!important;place-items:center!important;font-weight:900!important}
body.ms-portal-standalone .ms-member-secure div{display:flex!important;flex-direction:column!important}
body.ms-portal-standalone .ms-member-secure b{font-size:14px!important}
body.ms-portal-standalone .ms-member-secure small{font-size:12px!important;margin-top:3px!important}

@media(max-width:1180px) and (min-width:821px){
 body.ms-portal-standalone .ms-member-app{grid-template-columns:240px minmax(0,1fr)!important}
 body.ms-portal-standalone .ms-member-sidebar{width:240px!important;min-width:240px!important;max-width:240px!important}
 body.ms-portal-standalone .ms-member-side-brand{font-size:17px!important;padding-left:12px!important;padding-right:12px!important}
 body.ms-portal-standalone .ms-member-side-logo{width:48px!important;height:48px!important;flex-basis:48px!important}
 body.ms-portal-standalone .ms-member-side-logo svg{width:48px!important;height:48px!important}
 body.ms-portal-standalone .ms-member-kpis-premium{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.ms-portal-standalone .ms-member-grid-premium{grid-template-columns:1fr!important}
 body.ms-portal-standalone .ms-member-welcome-art{width:220px!important;flex-basis:220px!important}
}
@media(max-width:820px){
 body.ms-portal-standalone .ms-member-app{display:block!important}
 body.ms-portal-standalone .ms-member-sidebar{position:fixed!important;left:-280px!important;top:0!important;width:270px!important;min-width:270px!important;max-width:270px!important;transition:left .22s ease!important}
 body.ms-portal-standalone .ms-member-app.menu-open .ms-member-sidebar{left:0!important}
 body.ms-portal-standalone .ms-member-topbar{height:72px!important;min-height:72px!important;padding:0 14px!important}
 body.ms-portal-standalone .ms-member-topbar-left{gap:12px!important;font-size:14px!important}
 body.ms-portal-standalone .ms-member-bell,body.ms-portal-standalone .ms-member-top-divider,body.ms-portal-standalone .ms-member-chevron,body.ms-portal-standalone .ms-member-user-meta{display:none!important}
 body.ms-portal-standalone .ms-member-avatar{width:38px!important;height:38px!important}
 body.ms-portal-standalone .ms-member-logout{height:40px!important;padding:0 12px!important}
 body.ms-portal-standalone .ms-member-logout span{display:none!important}
 body.ms-portal-standalone .ms-member-content{padding:16px 12px 28px!important}
 body.ms-portal-standalone .ms-member-welcome{min-height:auto!important;padding:22px!important}
 body.ms-portal-standalone .ms-member-welcome>div:first-child{max-width:100%!important}
 body.ms-portal-standalone .ms-member-welcome h1{font-size:34px!important}
 body.ms-portal-standalone .ms-member-welcome p{font-size:17px!important}
 body.ms-portal-standalone .ms-member-welcome small{font-size:14px!important}
 body.ms-portal-standalone .ms-member-welcome-art{display:none!important}
 body.ms-portal-standalone .ms-member-kpis-premium{grid-template-columns:1fr 1fr!important}
 body.ms-portal-standalone .ms-member-grid-premium{grid-template-columns:1fr!important}
 body.ms-portal-standalone .ms-member-card-h{align-items:flex-start!important;flex-direction:column!important}
 body.ms-portal-standalone .ms-member-statement-btn{width:100%!important}
}

/* v1.5.5 — premium flat refinement */
body.ms-portal-standalone .ms-member-app{
  --mnavy:#0b3155;--mnavy2:#0d406d;--mgreen:#0b916d;--mtext:#12294d;--mmuted:#6f8094;--mbg:#f6f8fa;--mline:#e1e8ee;
  grid-template-columns:280px minmax(0,1fr)!important;background:var(--mbg)!important;
}
body.ms-portal-standalone .ms-member-sidebar{width:280px!important;min-width:280px!important;max-width:280px!important;background:#0b3155!important;padding:24px 14px!important}
body.ms-portal-standalone .ms-member-side-brand{gap:11px!important;padding:0 18px 24px!important;font-size:19px!important}
body.ms-portal-standalone .ms-member-side-logo,body.ms-portal-standalone .ms-member-side-logo svg{width:50px!important;height:50px!important;flex-basis:50px!important}
body.ms-portal-standalone .ms-member-side-nav{gap:5px!important}
body.ms-portal-standalone .ms-member-side-nav a{min-height:52px!important;padding:0 18px!important;gap:14px!important;border-radius:8px!important;font-size:15px!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-side-nav a.active{background:#174f7d!important;border-left-color:#1bd2a2!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-nav-icon{width:24px!important;height:24px!important;flex-basis:24px!important}
body.ms-portal-standalone .ms-member-nav-icon svg{width:22px!important;height:22px!important;stroke-width:1.75!important}

body.ms-portal-standalone .ms-member-topbar{height:74px!important;min-height:74px!important;padding:0 24px!important;border-bottom:1px solid #e6ebef!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-topbar-left{gap:20px!important;font-size:16px!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-menu-toggle span{height:2px!important;width:22px!important}
body.ms-portal-standalone .ms-member-topbar-user{gap:11px!important}
body.ms-portal-standalone .ms-member-avatar{width:38px!important;height:38px!important;font-size:13px!important}
body.ms-portal-standalone .ms-member-user-meta{min-width:138px!important;gap:0!important}
body.ms-portal-standalone .ms-member-user-meta b{font-size:13px!important;font-weight:700!important}
body.ms-portal-standalone .ms-member-user-meta small{font-size:11px!important}
body.ms-portal-standalone .ms-member-bell{width:28px!important;height:28px!important}
body.ms-portal-standalone .ms-member-bell svg{width:21px!important;height:21px!important}
body.ms-portal-standalone .ms-member-top-divider{height:28px!important}
body.ms-portal-standalone .ms-member-logout{height:40px!important;padding:0 15px!important;border-radius:8px!important;font-size:13px!important;font-weight:750!important}
body.ms-portal-standalone .ms-member-logout svg{width:17px!important;height:17px!important}

body.ms-portal-standalone .ms-member-content{padding:22px 24px 30px!important}
body.ms-portal-standalone .ms-member-welcome{min-height:164px!important;padding:24px 28px!important;margin-bottom:18px!important;border-radius:9px!important;border-color:#d7ebe5!important;background:linear-gradient(100deg,#f1faf7 0%,#ecf9f5 64%,#ccefe7 100%)!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-welcome span{margin-bottom:8px!important;font-size:10px!important;letter-spacing:.18em!important}
body.ms-portal-standalone .ms-member-welcome h1{font-size:38px!important;line-height:1.03!important;margin-bottom:3px!important;letter-spacing:-.035em!important}
body.ms-portal-standalone .ms-member-welcome p{font-size:16px!important;margin-bottom:14px!important;color:#49657f!important}
body.ms-portal-standalone .ms-member-welcome small{font-size:14px!important;line-height:1.4!important;color:#5f748a!important}
body.ms-portal-standalone .ms-member-welcome-art{width:235px!important;flex-basis:235px!important}
body.ms-portal-standalone .ms-member-welcome-art svg{width:205px!important;height:136px!important;stroke-width:5!important}

body.ms-portal-standalone .ms-member-kpis-premium{gap:12px!important;margin-bottom:18px!important}
body.ms-portal-standalone .ms-member-kpi-card{min-height:136px!important;padding:15px 16px!important;border-radius:9px!important;border-color:#e1e7ed!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-kpi-icon{width:46px!important;height:46px!important;margin-bottom:11px!important}
body.ms-portal-standalone .ms-member-kpi-icon svg{width:23px!important;height:23px!important}
body.ms-portal-standalone .ms-member-kpi-label{font-size:10px!important;letter-spacing:.08em!important;margin-bottom:5px!important;color:#748499!important}
body.ms-portal-standalone .ms-member-kpi-card strong{font-size:24px!important;font-weight:750!important;letter-spacing:-.02em!important}
body.ms-portal-standalone .ms-status-pill{height:31px!important;min-width:86px!important;border-radius:8px!important;font-size:14px!important;padding:0 14px!important}

body.ms-portal-standalone .ms-member-grid-premium{grid-template-columns:minmax(0,1.7fr) minmax(330px,.82fr)!important;gap:14px!important}
body.ms-portal-standalone .ms-member-card{padding:16px!important;border-radius:9px!important;border-color:#e1e7ed!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-card-h{margin-bottom:14px!important;gap:14px!important}
body.ms-portal-standalone .ms-member-card-h h3,body.ms-portal-standalone .ms-member-summary-title h3{font-size:18px!important;font-weight:750!important;letter-spacing:-.015em!important}
body.ms-portal-standalone .ms-member-card-h p,body.ms-portal-standalone .ms-member-summary-title p{font-size:12px!important;margin-top:4px!important}
body.ms-portal-standalone .ms-member-statement-btn{min-height:40px!important;padding:0 16px!important;border-radius:8px!important;font-size:13px!important;font-weight:750!important;gap:7px!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-statement-btn svg{width:18px!important;height:18px!important}
body.ms-portal-standalone .ms-member-statement-btn b{font-size:19px!important}
body.ms-portal-standalone .ms-member-transactions table{border-radius:7px!important;border-color:#e0e7ed!important}
body.ms-portal-standalone .ms-member-transactions table th{padding:11px 12px!important;font-size:12px!important;background:#f4f7f9!important}
body.ms-portal-standalone .ms-member-transactions table td{padding:11px 12px!important;font-size:13px!important}
body.ms-portal-standalone .ms-member-empty-state{min-height:162px!important;border-color:#e1e8ed!important}
body.ms-portal-standalone .ms-member-empty-state>span{width:52px!important;height:52px!important}
body.ms-portal-standalone .ms-member-empty-state>span svg{width:25px!important;height:25px!important}
body.ms-portal-standalone .ms-member-empty-state b{font-size:16px!important;margin-top:7px!important}
body.ms-portal-standalone .ms-member-empty-state small{font-size:12px!important}
body.ms-portal-standalone .ms-member-summary-title{gap:10px!important;margin-bottom:10px!important}
body.ms-portal-standalone .ms-member-summary-title>span{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:8px!important}
body.ms-portal-standalone .ms-member-summary-title>span svg{width:22px!important;height:22px!important}
body.ms-portal-standalone .ms-summary-lines{border-radius:8px!important;border-color:#e1e7ed!important}
body.ms-portal-standalone .ms-summary-lines>div{min-height:49px!important;padding:0 13px!important}
body.ms-portal-standalone .ms-summary-lines span{font-size:13px!important}
body.ms-portal-standalone .ms-summary-lines b{font-size:14px!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-secure{margin-top:11px!important;padding:10px 12px!important;border-radius:8px!important;gap:10px!important}
body.ms-portal-standalone .ms-member-secure>span{width:32px!important;height:32px!important}
body.ms-portal-standalone .ms-member-secure b{font-size:12px!important}
body.ms-portal-standalone .ms-member-secure small{font-size:11px!important;margin-top:2px!important}

@media(max-width:1180px) and (min-width:821px){
 body.ms-portal-standalone .ms-member-app{grid-template-columns:230px minmax(0,1fr)!important}
 body.ms-portal-standalone .ms-member-sidebar{width:230px!important;min-width:230px!important;max-width:230px!important}
 body.ms-portal-standalone .ms-member-side-brand{font-size:16px!important;padding-left:10px!important;padding-right:10px!important}
 body.ms-portal-standalone .ms-member-side-logo,body.ms-portal-standalone .ms-member-side-logo svg{width:44px!important;height:44px!important;flex-basis:44px!important}
 body.ms-portal-standalone .ms-member-content{padding-left:18px!important;padding-right:18px!important}
 body.ms-portal-standalone .ms-member-welcome-art{width:190px!important;flex-basis:190px!important}
}

/* v1.5.6 — restrained international-banking flat design */
body.ms-portal-standalone .ms-member-app{
  --bank-navy:#0b2341;--bank-navy-2:#143552;--bank-green:#0b7f62;--bank-text:#172033;--bank-muted:#667085;--bank-bg:#f7f8fa;--bank-line:#e4e7ec;--bank-soft:#f2f4f7;
  grid-template-columns:248px minmax(0,1fr)!important;
  background:var(--bank-bg)!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif!important;
}
body.ms-portal-standalone .ms-member-sidebar{
  width:248px!important;min-width:248px!important;max-width:248px!important;
  padding:22px 14px!important;background:var(--bank-navy)!important;border-right:1px solid rgba(255,255,255,.08)!important;
}
body.ms-portal-standalone .ms-member-side-brand{padding:0 12px 24px!important;gap:10px!important;font-size:16px!important;letter-spacing:.01em!important}
body.ms-portal-standalone .ms-member-side-logo,body.ms-portal-standalone .ms-member-side-logo svg{width:42px!important;height:42px!important;flex-basis:42px!important}
body.ms-portal-standalone .ms-member-side-brand strong{font-weight:700!important}.ms-member-side-brand em{font-weight:700!important}
body.ms-portal-standalone .ms-member-side-nav{gap:2px!important}
body.ms-portal-standalone .ms-member-side-nav a{
  min-height:46px!important;padding:0 14px!important;gap:12px!important;border-radius:4px!important;border-left:2px solid transparent!important;
  color:#d0d9e4!important;font-size:14px!important;font-weight:500!important;background:transparent!important;box-shadow:none!important;
}
body.ms-portal-standalone .ms-member-side-nav a:hover{background:rgba(255,255,255,.045)!important;color:#fff!important}
body.ms-portal-standalone .ms-member-side-nav a.active{background:rgba(255,255,255,.07)!important;border-left-color:#20b486!important;color:#fff!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-nav-icon{width:20px!important;height:20px!important;flex-basis:20px!important}
body.ms-portal-standalone .ms-member-nav-icon svg{width:19px!important;height:19px!important;stroke-width:1.7!important}

body.ms-portal-standalone .ms-member-main{background:var(--bank-bg)!important}
body.ms-portal-standalone .ms-member-topbar{
  height:64px!important;min-height:64px!important;flex-basis:64px!important;padding:0 24px!important;background:#fff!important;
  border-bottom:1px solid var(--bank-line)!important;box-shadow:none!important;
}
body.ms-portal-standalone .ms-member-topbar-left{gap:16px!important;font-size:14px!important;font-weight:600!important;color:#475467!important}
body.ms-portal-standalone .ms-member-menu-toggle{width:24px!important;height:24px!important}.ms-member-menu-toggle span{width:20px!important;height:2px!important}
body.ms-portal-standalone .ms-member-topbar-user{gap:10px!important}
body.ms-portal-standalone .ms-member-bell{width:26px!important;height:26px!important}.ms-member-bell svg{width:19px!important;height:19px!important}.ms-member-bell i{top:-4px!important;right:-4px!important;min-width:16px!important;height:16px!important;font-size:9px!important}
body.ms-portal-standalone .ms-member-top-divider{height:24px!important;background:#e4e7ec!important}
body.ms-portal-standalone .ms-member-avatar{width:34px!important;height:34px!important;font-size:12px!important;background:#0b7f62!important}
body.ms-portal-standalone .ms-member-user-meta{min-width:130px!important}.ms-member-user-meta b{font-size:12.5px!important;font-weight:650!important;color:#172033!important}.ms-member-user-meta small{font-size:10.5px!important;color:#7a8699!important}
body.ms-portal-standalone .ms-member-chevron{font-size:13px!important;color:#7a8699!important}
body.ms-portal-standalone .ms-member-logout{height:36px!important;padding:0 12px!important;border-radius:4px!important;border:1px solid #9abbb0!important;background:#fff!important;color:#0b7f62!important;font-size:12.5px!important;font-weight:650!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-logout:hover{background:#f7fbf9!important}

body.ms-portal-standalone .ms-member-content{padding:22px 24px 28px!important;background:var(--bank-bg)!important}
body.ms-portal-standalone .ms-member-welcome{
  min-height:142px!important;margin-bottom:16px!important;padding:22px 24px!important;border:1px solid var(--bank-line)!important;border-radius:5px!important;
  background:#fff!important;box-shadow:none!important;
}
body.ms-portal-standalone .ms-member-welcome:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--bank-green)}
body.ms-portal-standalone .ms-member-welcome span{margin-bottom:6px!important;font-size:9.5px!important;letter-spacing:.16em!important;color:#0b7f62!important;font-weight:750!important}
body.ms-portal-standalone .ms-member-welcome h1{margin:0 0 4px!important;font-size:31px!important;line-height:1.08!important;letter-spacing:-.025em!important;font-weight:700!important;color:#172033!important}
body.ms-portal-standalone .ms-member-welcome p{margin:0 0 12px!important;font-size:14px!important;color:#475467!important;font-weight:500!important}
body.ms-portal-standalone .ms-member-welcome small{font-size:13px!important;line-height:1.45!important;color:#667085!important}
body.ms-portal-standalone .ms-member-welcome-art{width:180px!important;flex-basis:180px!important;opacity:.72!important}.ms-member-welcome-art svg{width:150px!important;height:104px!important;stroke-width:4!important;color:#0b7f62!important}

body.ms-portal-standalone .ms-member-kpis-premium{gap:10px!important;margin-bottom:16px!important}
body.ms-portal-standalone .ms-member-kpi-card{
  min-height:108px!important;padding:14px 14px 13px!important;border:1px solid var(--bank-line)!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important;
}
body.ms-portal-standalone .ms-member-kpi-icon{width:30px!important;height:30px!important;margin-bottom:9px!important;border-radius:4px!important;background:#f2f4f7!important;color:#344054!important}
body.ms-portal-standalone .ms-member-kpi-icon svg{width:17px!important;height:17px!important;stroke-width:1.7!important}
body.ms-portal-standalone .ms-member-kpi-card:nth-child(1) .ms-member-kpi-icon,body.ms-portal-standalone .ms-member-kpi-card:nth-child(2) .ms-member-kpi-icon,body.ms-portal-standalone .ms-member-kpi-card:nth-child(3) .ms-member-kpi-icon,body.ms-portal-standalone .ms-member-kpi-card:nth-child(4) .ms-member-kpi-icon,body.ms-portal-standalone .ms-member-kpi-card:nth-child(5) .ms-member-kpi-icon{background:#f2f4f7!important;color:#475467!important}
body.ms-portal-standalone .ms-member-kpi-label{margin-bottom:4px!important;font-size:9.5px!important;letter-spacing:.075em!important;color:#667085!important;font-weight:700!important}
body.ms-portal-standalone .ms-member-kpi-card strong{font-size:21px!important;line-height:1.12!important;font-weight:700!important;color:#172033!important;letter-spacing:-.02em!important}
body.ms-portal-standalone .ms-status-pill{min-width:auto!important;height:26px!important;padding:0 10px!important;border-radius:3px!important;background:#edf8f3!important;color:#0b7f62!important;font-size:12px!important;font-weight:650!important}

body.ms-portal-standalone .ms-member-grid-premium{grid-template-columns:minmax(0,1.65fr) minmax(300px,.78fr)!important;gap:12px!important}
body.ms-portal-standalone .ms-member-card{padding:14px!important;border:1px solid var(--bank-line)!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-card-h{margin-bottom:12px!important;gap:12px!important}
body.ms-portal-standalone .ms-member-card-h h3,body.ms-portal-standalone .ms-member-summary-title h3{font-size:16px!important;font-weight:650!important;letter-spacing:-.01em!important;color:#172033!important}
body.ms-portal-standalone .ms-member-card-h p,body.ms-portal-standalone .ms-member-summary-title p{margin-top:2px!important;font-size:11.5px!important;color:#7a8699!important}
body.ms-portal-standalone .ms-member-statement-btn{min-height:34px!important;padding:0 12px!important;border-radius:4px!important;background:#0b7f62!important;box-shadow:none!important;font-size:12px!important;font-weight:650!important;gap:6px!important}
body.ms-portal-standalone .ms-member-statement-btn svg{width:15px!important;height:15px!important}.ms-member-statement-btn b{font-size:16px!important}
body.ms-portal-standalone .ms-member-transactions table{border:1px solid var(--bank-line)!important;border-radius:0!important;background:#fff!important}
body.ms-portal-standalone .ms-member-transactions table th{padding:9px 10px!important;background:#f8fafb!important;border-bottom:1px solid var(--bank-line)!important;color:#475467!important;font-size:11px!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-transactions table td{padding:10px!important;border-bottom:1px solid #f0f2f5!important;color:#344054!important;font-size:12px!important}
body.ms-portal-standalone .ms-member-empty-state{min-height:132px!important;border:0!important;background:#fff!important}
body.ms-portal-standalone .ms-member-empty-state>span{width:38px!important;height:38px!important;background:#f2f4f7!important;border-radius:4px!important}.ms-member-empty-state>span svg{width:19px!important;height:19px!important}
body.ms-portal-standalone .ms-member-empty-state b{margin-top:6px!important;font-size:14px!important;font-weight:600!important}.ms-member-empty-state small{font-size:11px!important;color:#98a2b3!important}
body.ms-portal-standalone .ms-member-summary-title{gap:9px!important;margin-bottom:9px!important}
body.ms-portal-standalone .ms-member-summary-title>span{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:4px!important;background:#f2f4f7!important;color:#475467!important}.ms-member-summary-title>span svg{width:18px!important;height:18px!important}
body.ms-portal-standalone .ms-summary-lines{border:1px solid var(--bank-line)!important;border-radius:3px!important;background:#fff!important}
body.ms-portal-standalone .ms-summary-lines>div{min-height:42px!important;padding:0 11px!important;border-bottom:1px solid #eef1f4!important}.ms-summary-lines>div:last-child{border-bottom:0!important}
body.ms-portal-standalone .ms-summary-lines span{font-size:12px!important;color:#667085!important}.ms-summary-lines b{font-size:12.5px!important;color:#172033!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-secure{margin-top:10px!important;padding:9px 10px!important;border:1px solid #d8eee6!important;border-radius:3px!important;background:#f4fbf8!important;gap:9px!important}
body.ms-portal-standalone .ms-member-secure>span{width:28px!important;height:28px!important;border-radius:3px!important;background:#e6f5ef!important;color:#0b7f62!important}.ms-member-secure b{font-size:11.5px!important;font-weight:650!important}.ms-member-secure small{font-size:10.5px!important;color:#667085!important}

@media(max-width:1180px) and (min-width:821px){
 body.ms-portal-standalone .ms-member-app{grid-template-columns:214px minmax(0,1fr)!important}
 body.ms-portal-standalone .ms-member-sidebar{width:214px!important;min-width:214px!important;max-width:214px!important}
 body.ms-portal-standalone .ms-member-side-brand{font-size:14px!important;padding-left:8px!important;padding-right:8px!important}
 body.ms-portal-standalone .ms-member-side-logo,body.ms-portal-standalone .ms-member-side-logo svg{width:36px!important;height:36px!important;flex-basis:36px!important}
 body.ms-portal-standalone .ms-member-content{padding-left:18px!important;padding-right:18px!important}
 body.ms-portal-standalone .ms-member-welcome-art{width:150px!important;flex-basis:150px!important}
}
@media(max-width:820px){
 body.ms-portal-standalone .ms-member-topbar{height:60px!important;min-height:60px!important;flex-basis:60px!important}
 body.ms-portal-standalone .ms-member-content{padding:14px 12px 22px!important}
 body.ms-portal-standalone .ms-member-welcome{padding:18px!important;border-radius:4px!important}
 body.ms-portal-standalone .ms-member-welcome h1{font-size:27px!important}
 body.ms-portal-standalone .ms-member-kpi-card{min-height:96px!important}
}

/* v1.5.7 — interaction fixes + consistent institutional banking flat UI */
body.ms-portal-standalone{--bank-navy:#0f2f53;--bank-navy-2:#163f69;--bank-text:#172033;--bank-muted:#667085;--bank-line:#e3e8ee;--bank-bg:#f6f8fa;--bank-green:#0b7f62;--bank-green-soft:#edf8f4;--bank-white:#fff}
body.ms-portal-standalone .ms-member-app{grid-template-columns:220px minmax(0,1fr)!important;transition:grid-template-columns .2s ease!important}
body.ms-portal-standalone .ms-member-sidebar{width:220px!important;min-width:220px!important;max-width:220px!important;background:#0f2f53!important;border-right:0!important;transition:width .2s ease,min-width .2s ease,max-width .2s ease!important}
body.ms-portal-standalone .ms-member-side-brand{height:86px!important;padding:0 22px!important;display:flex!important;align-items:center!important;gap:10px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
body.ms-portal-standalone .ms-member-side-brand strong{font-size:14px!important;line-height:1.05!important;letter-spacing:.015em!important;color:#fff!important}
body.ms-portal-standalone .ms-member-side-brand em{font-style:normal!important;color:#2bd0a0!important}
body.ms-portal-standalone .ms-member-side-logo,body.ms-portal-standalone .ms-member-side-logo svg{width:34px!important;height:34px!important;flex:0 0 34px!important}
body.ms-portal-standalone .ms-member-side-nav{padding:16px 10px!important;gap:2px!important}
body.ms-portal-standalone .ms-member-side-nav a{min-height:44px!important;padding:0 12px!important;border-radius:3px!important;border-left:2px solid transparent!important;gap:11px!important;font-size:13px!important;font-weight:550!important;color:#d9e4ef!important;white-space:nowrap!important;overflow:hidden!important}
body.ms-portal-standalone .ms-member-side-nav a.active{background:rgba(255,255,255,.07)!important;border-left-color:#2bd0a0!important;color:#fff!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-side-nav a:hover{background:rgba(255,255,255,.04)!important}
body.ms-portal-standalone .ms-member-nav-icon{width:18px!important;height:18px!important;flex:0 0 18px!important}.ms-member-nav-icon svg{width:18px!important;height:18px!important}
body.ms-portal-standalone .ms-member-topbar{height:64px!important;min-height:64px!important;flex-basis:64px!important;padding:0 24px!important;background:#fff!important;border-bottom:1px solid var(--bank-line)!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-topbar-left{gap:14px!important;font-size:14px!important;font-weight:600!important;color:#475467!important}
body.ms-portal-standalone .ms-member-menu-toggle{width:30px!important;height:30px!important;border:0!important;background:transparent!important;padding:5px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;cursor:pointer!important}
body.ms-portal-standalone .ms-member-menu-toggle span{display:block!important;width:20px!important;height:2px!important;background:#35506d!important;border-radius:1px!important}
body.ms-portal-standalone .ms-member-topbar-user{gap:10px!important;position:relative!important}
body.ms-portal-standalone .ms-member-notification-wrap,body.ms-portal-standalone .ms-member-user-wrap{position:relative!important}
body.ms-portal-standalone .ms-member-bell-btn{position:relative!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border:0!important;background:transparent!important;color:#50657d!important;padding:0!important;cursor:pointer!important}
body.ms-portal-standalone .ms-member-bell-btn svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.ms-portal-standalone .ms-member-bell-btn i{position:absolute!important;top:-2px!important;right:-1px!important;min-width:16px!important;height:16px!important;padding:0 4px!important;border-radius:999px!important;background:#ef4444!important;color:#fff!important;font-style:normal!important;font-size:9px!important;line-height:16px!important;text-align:center!important;font-weight:700!important}
body.ms-portal-standalone .ms-member-notification-dropdown,body.ms-portal-standalone .ms-member-user-dropdown{position:absolute!important;top:calc(100% + 10px)!important;right:0!important;z-index:50!important;background:#fff!important;border:1px solid var(--bank-line)!important;border-radius:4px!important;box-shadow:0 10px 26px rgba(16,24,40,.10)!important;display:none!important}
body.ms-portal-standalone .ms-member-notification-dropdown.open,body.ms-portal-standalone .ms-member-user-dropdown.open{display:block!important}
body.ms-portal-standalone .ms-member-notification-dropdown{width:300px!important;padding:0!important}
body.ms-portal-standalone .ms-dropdown-title{padding:12px 14px!important;border-bottom:1px solid var(--bank-line)!important;font-size:12px!important;font-weight:700!important;color:var(--bank-text)!important}
body.ms-portal-standalone .ms-notification-item{padding:13px 14px!important;display:flex!important;align-items:flex-start!important;gap:10px!important}
body.ms-portal-standalone .ms-notification-dot{width:7px!important;height:7px!important;border-radius:50%!important;background:#cbd5e1!important;margin-top:5px!important;flex:0 0 7px!important}.ms-notification-dot.active{background:#ef4444!important}
body.ms-portal-standalone .ms-notification-item b{display:block!important;font-size:12px!important;font-weight:650!important;color:var(--bank-text)!important}.ms-notification-item small{display:block!important;margin-top:3px!important;font-size:11px!important;line-height:1.45!important;color:var(--bank-muted)!important}
body.ms-portal-standalone .ms-member-user-trigger{display:flex!important;align-items:center!important;gap:9px!important;border:0!important;background:transparent!important;padding:0 2px!important;cursor:pointer!important;color:inherit!important}
body.ms-portal-standalone .ms-member-avatar{width:34px!important;height:34px!important;font-size:11px!important;background:#0b7f62!important}
body.ms-portal-standalone .ms-member-user-meta{min-width:128px!important;text-align:left!important}.ms-member-user-meta b{font-size:12px!important;font-weight:650!important;color:var(--bank-text)!important}.ms-member-user-meta small{font-size:10px!important;color:#8491a2!important}
body.ms-portal-standalone .ms-member-chevron{font-size:13px!important;color:#8491a2!important}
body.ms-portal-standalone .ms-member-user-dropdown{width:165px!important;padding:6px!important}
body.ms-portal-standalone .ms-member-user-dropdown a{display:block!important;padding:9px 10px!important;border-radius:2px!important;color:#344054!important;text-decoration:none!important;font-size:11.5px!important}.ms-member-user-dropdown a:hover{background:#f5f7f9!important;color:#0b7f62!important}
body.ms-portal-standalone .ms-member-logout{height:34px!important;padding:0 11px!important;border-radius:3px!important;border:1px solid #adc4bb!important;background:#fff!important;color:#0b7f62!important;font-size:11.5px!important;font-weight:650!important;box-shadow:none!important}.ms-member-logout svg{width:14px!important;height:14px!important}
body.ms-portal-standalone .ms-member-content{padding:20px 24px 28px!important;background:var(--bank-bg)!important}

/* desktop collapsed sidebar */
@media(min-width:821px){
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed{grid-template-columns:64px minmax(0,1fr)!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-sidebar{width:64px!important;min-width:64px!important;max-width:64px!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-brand{padding:0 15px!important;justify-content:center!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-brand strong{display:none!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-nav{padding:16px 8px!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-nav a{justify-content:center!important;padding:0!important;gap:0!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-nav a>span:last-child{display:none!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-nav a.active{border-left-color:transparent!important;background:rgba(255,255,255,.08)!important}
}

/* all member tabs: restrained premium flat language */
body.ms-portal-standalone .ms-member-content>.ms-member-card,body.ms-portal-standalone .ms-member-content>.ms-card{margin:0 0 14px!important;padding:18px!important;background:#fff!important;border:1px solid var(--bank-line)!important;border-radius:3px!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-content>.ms-member-card h2,body.ms-portal-standalone .ms-member-content>.ms-card h2{margin:0 0 16px!important;font-size:22px!important;line-height:1.2!important;letter-spacing:-.025em!important;font-weight:600!important;color:var(--bank-text)!important}
body.ms-portal-standalone .ms-member-content>.ms-member-card h3,body.ms-portal-standalone .ms-member-content>.ms-card h3{margin:0 0 12px!important;font-size:15px!important;font-weight:650!important;color:var(--bank-text)!important}
body.ms-portal-standalone .ms-member-content .ms-table-wrap{overflow:auto!important;border:1px solid var(--bank-line)!important;border-radius:2px!important;background:#fff!important}
body.ms-portal-standalone .ms-member-content table.ms-table,body.ms-portal-standalone .ms-member-content table.widefat{width:100%!important;border-collapse:collapse!important;border:0!important;background:#fff!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-content table th{padding:10px 12px!important;background:#f8fafb!important;border:0!important;border-bottom:1px solid var(--bank-line)!important;color:#475467!important;font-size:10.5px!important;line-height:1.3!important;letter-spacing:.02em!important;font-weight:700!important;text-transform:none!important;white-space:nowrap!important}
body.ms-portal-standalone .ms-member-content table td{padding:11px 12px!important;border:0!important;border-bottom:1px solid #eef1f4!important;color:#344054!important;font-size:11.5px!important;line-height:1.4!important;vertical-align:middle!important}
body.ms-portal-standalone .ms-member-content table tbody tr:last-child td{border-bottom:0!important}
body.ms-portal-standalone .ms-member-content table.striped>tbody>:nth-child(odd){background:#fff!important}
body.ms-portal-standalone .ms-member-content table tbody tr:hover{background:#fbfcfd!important}

/* profile */
body.ms-portal-standalone .ms-profile-meta{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;border:1px solid var(--bank-line)!important;border-radius:2px!important;margin-bottom:16px!important;background:#fff!important}
body.ms-portal-standalone .ms-profile-meta>div{padding:12px 14px!important;border-right:1px solid var(--bank-line)!important}.ms-profile-meta>div:last-child{border-right:0!important}
body.ms-portal-standalone .ms-profile-meta span{display:block!important;margin-bottom:4px!important;font-size:9.5px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#8491a2!important;font-weight:650!important}.ms-profile-meta b{font-size:12px!important;color:var(--bank-text)!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-form{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;max-width:760px!important}
body.ms-portal-standalone .ms-member-form label{display:flex!important;flex-direction:column!important;gap:6px!important;font-size:11px!important;font-weight:650!important;color:#475467!important}
body.ms-portal-standalone .ms-member-form input{height:38px!important;padding:0 10px!important;border:1px solid #cfd8e3!important;border-radius:2px!important;background:#fff!important;color:var(--bank-text)!important;font-size:12px!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-form input:focus{border-color:#7fb4a4!important;outline:0!important;box-shadow:0 0 0 2px rgba(11,127,98,.06)!important}
body.ms-portal-standalone .ms-member-btn{height:36px!important;align-self:end!important;padding:0 14px!important;border:1px solid #0b7f62!important;border-radius:2px!important;background:#0b7f62!important;color:#fff!important;font-size:11.5px!important;font-weight:650!important;box-shadow:none!important;cursor:pointer!important}
body.ms-portal-standalone .ms-profile-password{margin:14px 0 0!important}.ms-profile-password a{color:#0b7f62!important;font-size:11.5px!important;text-decoration:none!important}.ms-profile-password a:hover{text-decoration:underline!important}

/* statement/releve */
body.ms-portal-standalone .ms-statement .ms-card-h{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:14px!important}
body.ms-portal-standalone .ms-statement-actions{display:flex!important;gap:8px!important}.ms-statement-actions .button{height:32px!important;line-height:30px!important;padding:0 10px!important;border-radius:2px!important;border:1px solid #cfd8e3!important;background:#fff!important;color:#344054!important;font-size:10.5px!important;box-shadow:none!important}
body.ms-portal-standalone .ms-statement .ms-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--bank-line)!important;border-radius:2px!important;margin:0 0 16px!important;background:#fff!important}
body.ms-portal-standalone .ms-statement .ms-kpi{padding:12px 14px!important;border:0!important;border-right:1px solid var(--bank-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.ms-statement .ms-kpi:last-child{border-right:0!important}
body.ms-portal-standalone .ms-statement .ms-kpi small{font-size:9.5px!important;color:#8491a2!important;text-transform:uppercase!important;letter-spacing:.05em!important}.ms-statement .ms-kpi strong{font-size:17px!important;font-weight:650!important;color:var(--bank-text)!important}

@media(max-width:980px){body.ms-portal-standalone .ms-member-user-meta{display:none!important}body.ms-portal-standalone .ms-profile-meta{grid-template-columns:1fr 1fr!important}.ms-profile-meta>div:nth-child(2){border-right:0!important}.ms-profile-meta>div:nth-child(-n+2){border-bottom:1px solid var(--bank-line)!important}}
@media(max-width:820px){body.ms-portal-standalone .ms-member-app{display:block!important}body.ms-portal-standalone .ms-member-sidebar{transform:translateX(-100%)!important;transition:transform .2s ease!important;width:240px!important;min-width:240px!important;max-width:240px!important;z-index:100!important}body.ms-portal-standalone .ms-member-app.menu-open .ms-member-sidebar{transform:translateX(0)!important}body.ms-portal-standalone .ms-member-main{width:100vw!important}body.ms-portal-standalone .ms-member-topbar{padding:0 14px!important}.ms-member-topbar-left>span{font-size:12px!important}.ms-member-logout span{display:none!important}.ms-member-logout{width:34px!important;padding:0!important;justify-content:center!important}.ms-member-top-divider{display:none!important}body.ms-portal-standalone .ms-member-content{padding:14px!important}body.ms-portal-standalone .ms-member-form{grid-template-columns:1fr!important}.ms-profile-meta{grid-template-columns:1fr!important}.ms-profile-meta>div{border-right:0!important;border-bottom:1px solid var(--bank-line)!important}.ms-profile-meta>div:last-child{border-bottom:0!important}.ms-statement .ms-kpis{grid-template-columns:1fr 1fr!important}.ms-statement .ms-kpi:nth-child(2){border-right:0!important}.ms-statement .ms-kpi:nth-child(-n+2){border-bottom:1px solid var(--bank-line)!important}}

/* v1.5.8 — ultra-flat minimalist member portal */
body.ms-portal-standalone .ms-member-app{
  --m-bg:#f7f8fa;--m-panel:#fff;--m-line:#e6e9ee;--m-text:#172033;--m-muted:#7a8493;--m-navy:#123556;--m-accent:#0d7a5d;
  grid-template-columns:220px minmax(0,1fr)!important;
  background:var(--m-bg)!important;
}
body.ms-portal-standalone .ms-member-sidebar{
  width:220px!important;min-width:220px!important;max-width:220px!important;
  padding:18px 12px!important;background:#123556!important;border-right:0!important;
}
body.ms-portal-standalone .ms-member-side-brand{padding:0 10px 18px!important;gap:8px!important;font-size:14px!important}
body.ms-portal-standalone .ms-member-side-logo,body.ms-portal-standalone .ms-member-side-logo svg{width:36px!important;height:36px!important;flex-basis:36px!important}
body.ms-portal-standalone .ms-member-side-nav{gap:0!important}
body.ms-portal-standalone .ms-member-side-nav a{min-height:40px!important;padding:0 11px!important;gap:10px!important;border-radius:2px!important;border-left:2px solid transparent!important;font-size:12px!important;font-weight:500!important}
body.ms-portal-standalone .ms-member-side-nav a.active{background:rgba(255,255,255,.055)!important;border-left-color:#22b889!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-nav-icon{width:18px!important;height:18px!important;flex-basis:18px!important}.ms-member-nav-icon svg{width:17px!important;height:17px!important;stroke-width:1.6!important}

body.ms-portal-standalone .ms-member-topbar{height:56px!important;min-height:56px!important;flex-basis:56px!important;padding:0 18px!important;border-bottom:1px solid var(--m-line)!important}
body.ms-portal-standalone .ms-member-topbar-left{gap:12px!important;font-size:12px!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-menu-toggle{width:22px!important;height:22px!important}.ms-member-menu-toggle span{width:18px!important;height:1.5px!important}
body.ms-portal-standalone .ms-member-topbar-user{gap:8px!important}
body.ms-portal-standalone .ms-member-bell{width:24px!important;height:24px!important}.ms-member-bell svg{width:17px!important;height:17px!important}
body.ms-portal-standalone .ms-member-bell i{min-width:14px!important;height:14px!important;font-size:8px!important;top:-3px!important;right:-3px!important}
body.ms-portal-standalone .ms-member-top-divider{height:20px!important}
body.ms-portal-standalone .ms-member-avatar{width:30px!important;height:30px!important;font-size:10px!important}
body.ms-portal-standalone .ms-member-user-meta{min-width:115px!important}.ms-member-user-meta b{font-size:11px!important}.ms-member-user-meta small{font-size:9.5px!important}
body.ms-portal-standalone .ms-member-logout{height:30px!important;padding:0 9px!important;border-radius:2px!important;font-size:10.5px!important}

body.ms-portal-standalone .ms-member-content{padding:16px 18px 22px!important;background:var(--m-bg)!important}
body.ms-portal-standalone .ms-member-welcome{min-height:112px!important;margin-bottom:12px!important;padding:16px 18px!important;border-radius:2px!important;border:1px solid var(--m-line)!important;background:#fff!important}
body.ms-portal-standalone .ms-member-welcome:before{width:2px!important}
body.ms-portal-standalone .ms-member-welcome span{font-size:8.5px!important;letter-spacing:.13em!important;margin-bottom:4px!important}
body.ms-portal-standalone .ms-member-welcome h1{font-size:26px!important;margin-bottom:2px!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-welcome p{font-size:12px!important;margin-bottom:8px!important}.ms-member-welcome small{font-size:11px!important}
body.ms-portal-standalone .ms-member-welcome-art{width:140px!important;flex-basis:140px!important;opacity:.6!important}.ms-member-welcome-art svg{width:118px!important;height:82px!important}

body.ms-portal-standalone .ms-member-kpis-premium{gap:8px!important;margin-bottom:12px!important}
body.ms-portal-standalone .ms-member-kpi-card{min-height:88px!important;padding:11px 12px!important;border-radius:2px!important;border:1px solid var(--m-line)!important}
body.ms-portal-standalone .ms-member-kpi-icon{width:26px!important;height:26px!important;margin-bottom:7px!important;border-radius:2px!important;background:#f5f7f9!important}.ms-member-kpi-icon svg{width:15px!important;height:15px!important}
body.ms-portal-standalone .ms-member-kpi-label{font-size:8.5px!important;letter-spacing:.05em!important;margin-bottom:5px!important;color:#798596!important}
body.ms-portal-standalone .ms-member-kpi-card strong{font-size:21px!important;font-weight:650!important;letter-spacing:-.02em!important}
body.ms-portal-standalone .ms-member-status-pill{display:inline-block!important;padding:3px 8px!important;border-radius:2px!important;font-size:11px!important;font-weight:600!important;background:#eef8f4!important;color:#0d7a5d!important}

body.ms-portal-standalone .ms-member-grid-premium{gap:10px!important;grid-template-columns:minmax(0,1.9fr) minmax(280px,.72fr)!important}
body.ms-portal-standalone .ms-member-card{padding:12px!important;border-radius:2px!important;border:1px solid var(--m-line)!important}
body.ms-portal-standalone .ms-member-card-h{margin-bottom:10px!important}.ms-member-card-h h3,.ms-member-summary-title h3{font-size:14px!important;font-weight:600!important}.ms-member-card-h p,.ms-member-summary-title p{font-size:10.5px!important;margin-top:2px!important}
body.ms-portal-standalone .ms-member-statement-btn{min-height:32px!important;padding:0 10px!important;border-radius:2px!important;font-size:10.5px!important;gap:5px!important}.ms-member-statement-btn svg{width:14px!important;height:14px!important}
body.ms-portal-standalone .ms-member-empty-state{min-height:118px!important;border:0!important;background:#fff!important}.ms-member-empty-state>span{width:34px!important;height:34px!important}.ms-member-empty-state>span svg{width:18px!important;height:18px!important}.ms-member-empty-state b{font-size:12px!important;margin-top:5px!important}.ms-member-empty-state small{font-size:10px!important}
body.ms-portal-standalone .ms-member-summary-title{gap:8px!important;margin-bottom:8px!important}.ms-member-summary-title>span{width:30px!important;height:30px!important;flex-basis:30px!important;border-radius:2px!important}.ms-member-summary-title>span svg{width:16px!important;height:16px!important}
body.ms-portal-standalone .ms-summary-lines{border-radius:2px!important}.ms-summary-lines>div{min-height:38px!important;padding:0 10px!important}.ms-summary-lines span{font-size:10.5px!important}.ms-summary-lines b{font-size:11px!important}
body.ms-portal-standalone .ms-member-secure{margin-top:8px!important;padding:8px 9px!important;border-radius:2px!important}.ms-member-secure>span{width:24px!important;height:24px!important}.ms-member-secure b{font-size:10.5px!important}.ms-member-secure small{font-size:9.5px!important}

/* generic tab surfaces */
body.ms-portal-standalone .ms-member-content>.ms-member-card,body.ms-portal-standalone .ms-member-content>.ms-card{padding:14px!important;margin-bottom:10px!important;border-radius:2px!important;border:1px solid var(--m-line)!important}
body.ms-portal-standalone .ms-member-content>.ms-member-card h2,body.ms-portal-standalone .ms-member-content>.ms-card h2{font-size:18px!important;margin-bottom:12px!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-content>.ms-member-card h3,body.ms-portal-standalone .ms-member-content>.ms-card h3{font-size:13px!important;margin-bottom:9px!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-content .ms-table-wrap{border-radius:0!important;border:1px solid var(--m-line)!important}
body.ms-portal-standalone .ms-member-content table th{padding:8px 9px!important;font-size:9.5px!important;background:#fafbfc!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-content table td{padding:8px 9px!important;font-size:10.5px!important}

/* statement */
body.ms-portal-standalone .ms-statement .ms-card-h{margin-bottom:10px!important}.ms-statement-actions .button{height:28px!important;line-height:26px!important;padding:0 8px!important;font-size:9.5px!important;border-radius:1px!important}
body.ms-portal-standalone .ms-statement .ms-kpis{margin-bottom:12px!important;border-radius:0!important}.ms-statement .ms-kpi{padding:10px 11px!important}.ms-statement .ms-kpi small{font-size:8.5px!important}.ms-statement .ms-kpi strong{font-size:14px!important}

/* profile */
body.ms-portal-standalone .ms-profile-meta{margin-bottom:12px!important;border-radius:0!important}.ms-profile-meta>div{padding:9px 10px!important}.ms-profile-meta span{font-size:8.5px!important}.ms-profile-meta b{font-size:10.5px!important}
body.ms-portal-standalone .ms-member-form{gap:10px!important;max-width:680px!important}.ms-member-form label{font-size:10px!important;gap:4px!important}.ms-member-form input{height:32px!important;font-size:10.5px!important;padding:0 8px!important}.ms-member-btn{height:30px!important;padding:0 10px!important;font-size:10.5px!important;border-radius:1px!important}

/* dropdowns */
body.ms-portal-standalone .ms-member-user-dropdown,body.ms-portal-standalone .ms-member-bell-dropdown{border-radius:2px!important;box-shadow:0 6px 18px rgba(15,23,42,.08)!important;border:1px solid var(--m-line)!important}
body.ms-portal-standalone .ms-member-user-dropdown a{padding:7px 8px!important;font-size:10.5px!important}

@media(min-width:821px){
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed{grid-template-columns:54px minmax(0,1fr)!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-sidebar{width:54px!important;min-width:54px!important;max-width:54px!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-brand{padding:0 9px!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-nav{padding:12px 6px!important}
}
@media(max-width:980px){body.ms-portal-standalone .ms-member-grid-premium{grid-template-columns:1fr!important}}
@media(max-width:820px){body.ms-portal-standalone .ms-member-sidebar{width:210px!important;min-width:210px!important;max-width:210px!important}body.ms-portal-standalone .ms-member-content{padding:12px!important}.ms-member-kpis-premium{grid-template-columns:1fr 1fr!important}.ms-member-welcome-art{display:none!important}}

/* v1.5.9 — unified ultra-flat typography system across the member portal */
body.ms-portal-standalone{--uf-text:#1f2937;--uf-muted:#7b8798;--uf-line:#e6eaef;--uf-bg:#f7f8fa;--uf-navy:#173b5f;--uf-green:#0f8a6b}
body.ms-portal-standalone .ms-member-content{font-size:12px!important;color:var(--uf-text)!important}

/* typography hierarchy: only headings/labels are bold */
body.ms-portal-standalone h1,body.ms-portal-standalone h2,body.ms-portal-standalone h3,body.ms-portal-standalone h4{font-weight:650!important;color:#182230!important;letter-spacing:-.01em!important}
body.ms-portal-standalone p,body.ms-portal-standalone small,body.ms-portal-standalone td,body.ms-portal-standalone input,body.ms-portal-standalone select,body.ms-portal-standalone textarea{font-weight:400!important;color:#526071!important}
body.ms-portal-standalone th,body.ms-portal-standalone label,body.ms-portal-standalone .ms-member-kpi-label,body.ms-portal-standalone .ms-statement .ms-kpi small,body.ms-portal-standalone .ms-profile-meta span{font-weight:650!important;color:#7b8798!important}
body.ms-portal-standalone strong:not(.ms-member-side-brand strong),body.ms-portal-standalone .ms-summary-lines b,body.ms-portal-standalone .ms-profile-meta b,body.ms-portal-standalone .ms-member-kpi-card strong{font-weight:500!important;color:#1f2937!important}

/* vertical navigation: compact, flat, modest */
body.ms-portal-standalone .ms-member-sidebar{background:#173b5f!important}
body.ms-portal-standalone .ms-member-side-brand{height:64px!important;padding:0 14px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
body.ms-portal-standalone .ms-member-side-brand strong{font-size:12px!important;font-weight:650!important;letter-spacing:.01em!important}
body.ms-portal-standalone .ms-member-side-logo,body.ms-portal-standalone .ms-member-side-logo svg{width:28px!important;height:28px!important;flex-basis:28px!important}
body.ms-portal-standalone .ms-member-side-nav{padding:10px 8px!important;gap:1px!important}
body.ms-portal-standalone .ms-member-side-nav a{min-height:36px!important;padding:0 9px!important;border-radius:1px!important;border-left:2px solid transparent!important;font-size:11px!important;font-weight:400!important;color:#d8e0e8!important;gap:9px!important}
body.ms-portal-standalone .ms-member-side-nav a.active{background:rgba(255,255,255,.045)!important;border-left-color:#2cc49a!important;color:#fff!important;font-weight:600!important}
body.ms-portal-standalone .ms-member-nav-icon{width:16px!important;height:16px!important;flex-basis:16px!important}.ms-member-nav-icon svg{width:15px!important;height:15px!important;stroke-width:1.5!important}

/* topbar */
body.ms-portal-standalone .ms-member-topbar{height:50px!important;min-height:50px!important;flex-basis:50px!important;padding:0 14px!important;background:#fff!important;border-bottom:1px solid var(--uf-line)!important}
body.ms-portal-standalone .ms-member-topbar-left{font-size:11px!important;font-weight:500!important;color:#4b596a!important;gap:10px!important}
body.ms-portal-standalone .ms-member-menu-toggle{width:20px!important;height:20px!important}.ms-member-menu-toggle span{width:17px!important;height:1px!important}
body.ms-portal-standalone .ms-member-avatar{width:27px!important;height:27px!important;font-size:9px!important;font-weight:650!important}
body.ms-portal-standalone .ms-member-user-meta b{font-size:10.5px!important;font-weight:600!important}.ms-member-user-meta small{font-size:9px!important;font-weight:400!important}
body.ms-portal-standalone .ms-member-logout{height:27px!important;padding:0 8px!important;font-size:9.5px!important;font-weight:550!important;border-radius:1px!important}

/* content surfaces */
body.ms-portal-standalone .ms-member-content{padding:12px 14px 18px!important;background:var(--uf-bg)!important}
body.ms-portal-standalone .ms-member-welcome{min-height:94px!important;padding:13px 15px!important;margin-bottom:9px!important;border:1px solid var(--uf-line)!important;border-radius:1px!important;background:#fff!important}
body.ms-portal-standalone .ms-member-welcome span{font-size:8px!important;font-weight:650!important;letter-spacing:.12em!important}
body.ms-portal-standalone .ms-member-welcome h1{font-size:22px!important;font-weight:650!important;margin:0 0 2px!important}
body.ms-portal-standalone .ms-member-welcome p{font-size:11px!important;margin:0 0 6px!important}.ms-member-welcome small{font-size:10px!important}
body.ms-portal-standalone .ms-member-welcome-art{width:105px!important;flex-basis:105px!important;opacity:.5!important}.ms-member-welcome-art svg{width:92px!important;height:64px!important}

/* KPIs: labels bold, data regular */
body.ms-portal-standalone .ms-member-kpis-premium{gap:6px!important;margin-bottom:9px!important}
body.ms-portal-standalone .ms-member-kpi-card{min-height:74px!important;padding:9px 10px!important;border:1px solid var(--uf-line)!important;border-radius:1px!important;background:#fff!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-kpi-icon{width:22px!important;height:22px!important;margin-bottom:5px!important;border-radius:1px!important;background:#f4f6f8!important}.ms-member-kpi-icon svg{width:13px!important;height:13px!important}
body.ms-portal-standalone .ms-member-kpi-label{font-size:8px!important;letter-spacing:.04em!important;margin-bottom:3px!important}
body.ms-portal-standalone .ms-member-kpi-card strong{font-size:17px!important;line-height:1.1!important}
body.ms-portal-standalone .ms-status-pill{font-size:10px!important;font-weight:500!important;padding:2px 6px!important;border-radius:1px!important}

/* generic flat panels everywhere */
body.ms-portal-standalone .ms-member-card,body.ms-portal-standalone .ms-card,body.ms-portal-standalone .ms-member-content>.ms-member-card,body.ms-portal-standalone .ms-member-content>.ms-card{padding:11px!important;margin-bottom:8px!important;border:1px solid var(--uf-line)!important;border-radius:1px!important;background:#fff!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-card h2,body.ms-portal-standalone .ms-card h2{font-size:16px!important;margin:0 0 9px!important}
body.ms-portal-standalone .ms-member-card h3,body.ms-portal-standalone .ms-card h3{font-size:12px!important;margin:0 0 7px!important}
body.ms-portal-standalone .ms-member-card-h{margin-bottom:7px!important;gap:8px!important}.ms-member-card-h h3,.ms-member-summary-title h3{font-size:12.5px!important}.ms-member-card-h p,.ms-member-summary-title p{font-size:9.5px!important}
body.ms-portal-standalone .ms-member-statement-btn{min-height:28px!important;padding:0 8px!important;border-radius:1px!important;font-size:9.5px!important;font-weight:550!important}

/* tables: headers bold, rows normal */
body.ms-portal-standalone .ms-member-content .ms-table-wrap{border:1px solid var(--uf-line)!important;border-radius:0!important;background:#fff!important}
body.ms-portal-standalone .ms-member-content table{border-collapse:collapse!important;background:#fff!important}
body.ms-portal-standalone .ms-member-content table th{padding:7px 8px!important;background:#fafbfc!important;border-bottom:1px solid var(--uf-line)!important;font-size:9px!important;font-weight:650!important;color:#667085!important;letter-spacing:.015em!important}
body.ms-portal-standalone .ms-member-content table td{padding:7px 8px!important;border-bottom:1px solid #f0f2f4!important;font-size:10px!important;font-weight:400!important;color:#526071!important}
body.ms-portal-standalone .ms-member-content table tbody tr:last-child td{border-bottom:0!important}

/* statement reference: four flat info blocks, normal values */
body.ms-portal-standalone .ms-statement .ms-kpis{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;margin:8px 0 10px!important;border:1px solid var(--uf-line)!important;border-radius:0!important;background:#fff!important}
body.ms-portal-standalone .ms-statement .ms-kpi{padding:12px 13px!important;border:0!important;border-right:1px solid var(--uf-line)!important;background:#fff!important}
body.ms-portal-standalone .ms-statement .ms-kpi:last-child{border-right:0!important}
body.ms-portal-standalone .ms-statement .ms-kpi small{display:block!important;margin-bottom:5px!important;font-size:8.5px!important;letter-spacing:.04em!important}
body.ms-portal-standalone .ms-statement .ms-kpi strong{font-size:15px!important;font-weight:500!important;color:#1f2937!important}
body.ms-portal-standalone .ms-statement>h3{font-size:12px!important;font-weight:650!important;margin:10px 0 6px!important}
body.ms-portal-standalone .ms-statement .ms-card-h p{font-size:10px!important;font-weight:400!important}
body.ms-portal-standalone .ms-statement-actions .button{height:25px!important;line-height:23px!important;padding:0 7px!important;border-radius:0!important;font-size:9px!important;font-weight:500!important;background:#fff!important;box-shadow:none!important}

/* summary/profile/form information should be regular weight */
body.ms-portal-standalone .ms-summary-lines{border:1px solid var(--uf-line)!important;border-radius:0!important}.ms-summary-lines>div{min-height:32px!important;padding:0 8px!important;border-bottom:1px solid #eef1f3!important}.ms-summary-lines span{font-size:9.5px!important;font-weight:400!important}.ms-summary-lines b{font-size:10px!important;font-weight:500!important}
body.ms-portal-standalone .ms-profile-meta{border:1px solid var(--uf-line)!important;border-radius:0!important}.ms-profile-meta>div{padding:7px 8px!important}.ms-profile-meta span{font-size:8px!important}.ms-profile-meta b{font-size:9.5px!important;font-weight:500!important}
body.ms-portal-standalone .ms-member-form{gap:8px!important}.ms-member-form label{font-size:9.5px!important;font-weight:600!important}.ms-member-form input,.ms-member-form select,.ms-member-form textarea{height:29px!important;padding:0 7px!important;border:1px solid var(--uf-line)!important;border-radius:0!important;font-size:10px!important;font-weight:400!important}.ms-member-form textarea{height:60px!important;padding-top:6px!important}.ms-member-btn{height:27px!important;padding:0 8px!important;border-radius:0!important;font-size:9.5px!important;font-weight:550!important}

/* empty states and security info */
body.ms-portal-standalone .ms-member-empty-state{min-height:88px!important}.ms-member-empty-state>span{width:28px!important;height:28px!important;border-radius:1px!important}.ms-member-empty-state>span svg{width:15px!important;height:15px!important}.ms-member-empty-state b{font-size:10.5px!important;font-weight:600!important}.ms-member-empty-state small{font-size:9px!important;font-weight:400!important}
body.ms-portal-standalone .ms-member-secure{padding:6px 7px!important;margin-top:6px!important;border-radius:0!important}.ms-member-secure>span{width:20px!important;height:20px!important;border-radius:1px!important}.ms-member-secure b{font-size:9.5px!important;font-weight:600!important}.ms-member-secure small{font-size:8.5px!important;font-weight:400!important}

/* same flat language for WordPress admin plugin screens */
.ms-wrap{font-size:12px!important;color:#303b49!important}
.ms-wrap .ms-card{border:1px solid #e2e7ec!important;border-radius:1px!important;box-shadow:none!important;padding:14px!important;background:#fff!important}
.ms-wrap .ms-card h2,.ms-wrap .ms-card h3{font-weight:650!important;color:#202a36!important}
.ms-wrap .ms-kpi{border:1px solid #e2e7ec!important;border-radius:1px!important;box-shadow:none!important;background:#fff!important}
.ms-wrap .ms-kpi small{font-weight:650!important;color:#7a8796!important}.ms-wrap .ms-kpi strong{font-weight:500!important;color:#222d39!important}
.ms-wrap .ms-table th{font-weight:650!important;background:#fafbfc!important}.ms-wrap .ms-table td{font-weight:400!important}
.ms-wrap input,.ms-wrap select,.ms-wrap textarea{border-radius:0!important;box-shadow:none!important}.ms-wrap .button{border-radius:0!important;box-shadow:none!important}

@media(max-width:820px){body.ms-portal-standalone .ms-statement .ms-kpis{grid-template-columns:1fr 1fr!important}body.ms-portal-standalone .ms-statement .ms-kpi:nth-child(2){border-right:0!important}body.ms-portal-standalone .ms-statement .ms-kpi:nth-child(-n+2){border-bottom:1px solid var(--uf-line)!important}}


/* v1.6.0 — slightly narrower vertical panel */
@media(min-width:821px){
 body.ms-portal-standalone .ms-member-app{grid-template-columns:190px minmax(0,1fr)!important}
 body.ms-portal-standalone .ms-member-sidebar{width:190px!important;min-width:190px!important;max-width:190px!important;padding-left:10px!important;padding-right:10px!important}
 body.ms-portal-standalone .ms-member-side-brand{padding-left:8px!important;padding-right:8px!important}
 body.ms-portal-standalone .ms-member-side-nav{padding-left:6px!important;padding-right:6px!important}
 body.ms-portal-standalone .ms-member-side-nav a{padding-left:8px!important;padding-right:8px!important;gap:8px!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed{grid-template-columns:54px minmax(0,1fr)!important}
 body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-sidebar{width:54px!important;min-width:54px!important;max-width:54px!important}
}

/* v1.7.0 — Minimal commercial landing page */
/* v1.7.2 landing customization */

/* v1.7.3 — Premium flat & symmetric Settings UI */
body.toplevel_page_ms-dashboard .ms-wrap,
body.mutuelle_page_ms-settings .ms-wrap{max-width:1440px;margin:18px auto 40px;padding:0 22px}
body.mutuelle_page_ms-settings{background:#f5f7f9}
body.mutuelle_page_ms-settings .ms-wrap{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}
body.mutuelle_page_ms-settings .ms-header{margin:0 0 14px;padding:18px 20px;background:#fff;border:1px solid #e3e8ee;border-radius:4px;box-shadow:none}
body.mutuelle_page_ms-settings .ms-header h1{font-size:26px;line-height:1.1;margin:3px 0 5px;font-weight:700;letter-spacing:-.02em;color:#13213a}
body.mutuelle_page_ms-settings .ms-header p{font-size:12px;color:#7c8797;margin:0}
body.mutuelle_page_ms-settings .ms-header .button{height:34px;line-height:32px;border-radius:3px;padding:0 14px;font-size:12px}

body.mutuelle_page_ms-settings .ms-settings-card{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important}
body.mutuelle_page_ms-settings .ms-settings-form{display:block!important}
body.mutuelle_page_ms-settings .ms-settings-section{background:#fff;border:1px solid #e2e7ed;border-radius:4px;margin:0 0 14px;overflow:hidden;box-shadow:none}
body.mutuelle_page_ms-settings .ms-settings-section-head{padding:14px 16px 12px;border-bottom:1px solid #edf0f3;background:#fff}
body.mutuelle_page_ms-settings .ms-settings-section-head h3{margin:0 0 3px!important;font-size:15px!important;line-height:1.2;font-weight:700!important;color:#16223a!important}
body.mutuelle_page_ms-settings .ms-settings-section-head p{margin:0;font-size:11px;line-height:1.4;color:#8a94a3}
body.mutuelle_page_ms-settings .ms-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;padding:14px 16px 16px;align-items:start}
body.mutuelle_page_ms-settings .ms-settings-grid>label{display:flex;flex-direction:column;gap:5px;margin:0!important;font-size:11px;font-weight:650;color:#273247;min-width:0}
body.mutuelle_page_ms-settings .ms-settings-grid>.ms-full{grid-column:1/-1}
body.mutuelle_page_ms-settings .ms-settings-grid input[type=text],
body.mutuelle_page_ms-settings .ms-settings-grid input[type=url],
body.mutuelle_page_ms-settings .ms-settings-grid input[type=number],
body.mutuelle_page_ms-settings .ms-settings-grid input[type=date],
body.mutuelle_page_ms-settings .ms-settings-grid input[type=email],
body.mutuelle_page_ms-settings .ms-settings-grid select{width:100%;height:36px;min-height:36px;margin:0;padding:0 10px;border:1px solid #d8e0e8;border-radius:3px!important;background:#fff;box-shadow:none!important;font-size:12px;color:#172033}
body.mutuelle_page_ms-settings .ms-settings-grid textarea{width:100%;min-height:92px;margin:0;padding:9px 10px;border:1px solid #d8e0e8;border-radius:3px!important;background:#fff;box-shadow:none!important;font-size:11.5px;line-height:1.45;color:#172033;resize:vertical}
body.mutuelle_page_ms-settings .ms-settings-grid input:focus,
body.mutuelle_page_ms-settings .ms-settings-grid select:focus,
body.mutuelle_page_ms-settings .ms-settings-grid textarea:focus{border-color:#7890ad;box-shadow:0 0 0 1px #7890ad!important;outline:none}
body.mutuelle_page_ms-settings .ms-settings-grid small{font-size:10px;color:#8a94a3;font-weight:400}
body.mutuelle_page_ms-settings .ms-settings-grid .description{margin:0;color:#8a94a3;font-size:10.5px;line-height:1.45;font-weight:400}
body.mutuelle_page_ms-settings .ms-settings-grid code{padding:1px 4px;background:#f3f5f7;border-radius:2px;font-size:10px}

/* media rows */
body.mutuelle_page_ms-settings .ms-media-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;margin-top:1px}
body.mutuelle_page_ms-settings .ms-media-row .ms-media-url{min-width:0;width:100%!important}
body.mutuelle_page_ms-settings .ms-media-row .button{height:34px;line-height:32px;margin:0;border-radius:3px!important;padding:0 12px;font-size:11px;background:#fff;border-color:#aebed1;color:#31527e;box-shadow:none}
body.mutuelle_page_ms-settings .ms-media-row .button:hover{background:#f7f9fb;border-color:#7890ad;color:#173f72}
body.mutuelle_page_ms-settings .ms-settings-preview{display:block;max-width:330px;max-height:190px;margin:9px 0 0;padding:4px;border:1px solid #e0e6eb;border-radius:4px;background:#fafbfc;object-fit:contain}
body.mutuelle_page_ms-settings .ms-settings-preview.is-empty{display:none}

/* checkbox + color controls */
body.mutuelle_page_ms-settings .ms-settings-grid>label:has(input[type=checkbox]){flex-direction:row;align-items:center;gap:7px;min-height:36px;padding:8px 10px;border:1px solid #e3e8ed;border-radius:3px;background:#fafbfc;font-weight:500}
body.mutuelle_page_ms-settings .ms-settings-grid input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#168754}
body.mutuelle_page_ms-settings .ms-settings-grid input[type=color]{width:100%;height:36px;padding:4px;border:1px solid #d8e0e8;border-radius:3px;background:#fff;cursor:pointer}
body.mutuelle_page_ms-settings .ms-settings-grid-visibility{grid-template-columns:repeat(4,minmax(0,1fr))}
body.mutuelle_page_ms-settings .ms-settings-help{padding-top:2px}

/* save bar */
body.mutuelle_page_ms-settings .ms-settings-savebar{display:flex;align-items:center;gap:14px;padding:12px 14px;margin:0 0 14px;background:#fff;border:1px solid #e2e7ed;border-radius:4px}
body.mutuelle_page_ms-settings .ms-settings-savebar .button-primary{height:36px;line-height:34px;padding:0 16px;border-radius:3px!important;background:#2459d3;border-color:#2459d3;box-shadow:none;font-size:12px;font-weight:650}
body.mutuelle_page_ms-settings .ms-settings-savebar span{font-size:10.5px;color:#8a94a3}

/* backup */
body.mutuelle_page_ms-settings .ms-settings-backup{padding:14px 16px!important;margin:0!important;border:1px solid #e2e7ed!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important}
body.mutuelle_page_ms-settings .ms-settings-backup h2{font-size:14px!important;margin:0 0 10px!important;color:#17233b!important}
body.mutuelle_page_ms-settings .ms-settings-backup p{display:inline-block;margin:0 10px 0 0}
body.mutuelle_page_ms-settings .ms-settings-backup form{display:inline-flex;align-items:center;gap:8px;vertical-align:middle}
body.mutuelle_page_ms-settings .ms-settings-backup .button{height:32px;line-height:30px;border-radius:3px!important;padding:0 12px;font-size:11px;box-shadow:none}
body.mutuelle_page_ms-settings .ms-settings-backup input[type=file]{max-width:320px;font-size:11px}

/* reduce global WP admin visual noise within page */
body.mutuelle_page_ms-settings #wpcontent{background:#f5f7f9}
body.mutuelle_page_ms-settings #wpfooter{color:#9aa3af}
body.mutuelle_page_ms-settings .notice{border-radius:3px;box-shadow:none}

@media(max-width:1100px){
 body.mutuelle_page_ms-settings .ms-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mutuelle_page_ms-settings .ms-settings-grid-visibility{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:782px){
 body.mutuelle_page_ms-settings .ms-wrap{padding:0 10px;margin-top:10px}
 body.mutuelle_page_ms-settings .ms-settings-grid,body.mutuelle_page_ms-settings .ms-settings-grid-visibility{grid-template-columns:1fr}
 body.mutuelle_page_ms-settings .ms-media-row{grid-template-columns:1fr 1fr}
 body.mutuelle_page_ms-settings .ms-media-row .ms-media-url{grid-column:1/-1}
 body.mutuelle_page_ms-settings .ms-settings-savebar{align-items:flex-start;flex-direction:column}
 body.mutuelle_page_ms-settings .ms-settings-backup form{display:flex;flex-direction:column;align-items:flex-start}
}

/* v1.8.0 — Bilan & cycle management */
.ms-cycle-config .ms-card-h{align-items:flex-start}
.ms-cycle-status{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid #d9e2e8;border-radius:2px;font-size:12px;font-weight:700;letter-spacing:.02em}
.ms-cycle-status.open{color:#0b7655;background:#f4fbf8;border-color:#bfe4d4}
.ms-cycle-status.closed{color:#475569;background:#f8fafc}
.ms-cycle-config .ms-filter{display:grid;grid-template-columns:minmax(180px,1fr) 160px 160px auto auto auto;gap:10px;align-items:end;margin-top:14px}
.ms-cycle-config .ms-filter label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#334155}
.ms-cycle-config .ms-filter input{height:36px;border:1px solid #cfd9e1;border-radius:2px;background:#fff}
.ms-cycle-save{margin-top:10px;padding-top:10px;border-top:1px solid #e5ebef}
.ms-cycle-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}
.ms-cycle-kpis .ms-kpi{min-height:86px;border-radius:2px;box-shadow:none}
.ms-cycle-formula{display:grid;grid-template-columns:repeat(7,auto);gap:14px;align-items:center;justify-content:start}
.ms-cycle-formula>div{min-width:150px}
.ms-cycle-formula small{display:block;margin-bottom:4px;color:#64748b;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.ms-cycle-formula strong{font-size:18px;font-weight:600;color:#0f2747}
.ms-cycle-formula>span{color:#94a3b8;font-size:18px}
.ms-cycle-close{border-left:3px solid #0b8a63}
.ms-cycle-close h2{margin-top:0}
@media(max-width:1200px){.ms-cycle-config .ms-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.ms-cycle-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ms-cycle-formula{grid-template-columns:1fr 24px 1fr}.ms-cycle-formula>span:nth-of-type(n+3){display:none}}
@media(max-width:782px){.ms-cycle-config .ms-filter{grid-template-columns:1fr}.ms-cycle-kpis{grid-template-columns:1fr}.ms-cycle-formula{display:block}.ms-cycle-formula>div{margin-bottom:12px}.ms-cycle-formula>span{display:none}}

/* v1.8.1 — global Mutuelle wp-admin ultra-flat compact design system */
body.wp-admin .ms-wrap{max-width:none!important;margin-right:18px!important;color:#1e293b!important;font-size:13px!important}
body.wp-admin .ms-topbar{margin:12px 0 14px!important;padding:14px 16px!important;border:1px solid #e3e8ef!important;border-left:3px solid #198754!important;box-shadow:none!important;background:#fff!important;align-items:center!important}
body.wp-admin .ms-topbar h1{font-size:22px!important;line-height:1.15!important;font-weight:650!important;margin:2px 0!important;letter-spacing:-.015em!important}
body.wp-admin .ms-topbar p{font-size:11px!important;margin:3px 0 0!important;color:#7b8798!important}
body.wp-admin .ms-brand{font-size:8.5px!important;letter-spacing:.13em!important;font-weight:650!important}
body.wp-admin .ms-top-actions{gap:6px!important}.ms-top-actions .button{min-height:28px!important;line-height:26px!important;padding:0 9px!important;font-size:10px!important;border-radius:1px!important}

body.wp-admin .ms-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:8px!important;margin:0 0 10px!important}
body.wp-admin .ms-kpi{min-height:68px!important;padding:10px 12px!important;border:1px solid #e1e6ec!important;box-shadow:none!important;background:#fff!important}
body.wp-admin .ms-kpi small{font-size:8.5px!important;letter-spacing:.06em!important;font-weight:650!important;color:#7b8798!important}
body.wp-admin .ms-kpi strong{font-size:18px!important;line-height:1.15!important;font-weight:550!important;margin-top:4px!important;letter-spacing:-.01em!important}
body.wp-admin .ms-kpi .dashicons{margin-bottom:4px!important;font-size:16px!important;width:16px!important;height:16px!important}

body.wp-admin .ms-grid{gap:10px!important}
body.wp-admin .ms-card{padding:13px 14px!important;margin-bottom:10px!important;border:1px solid #e1e6ec!important;box-shadow:none!important;background:#fff!important;border-radius:1px!important}
body.wp-admin .ms-card h2{font-size:15px!important;line-height:1.25!important;font-weight:650!important;margin:0 0 10px!important}
body.wp-admin .ms-card h3{font-size:12.5px!important;font-weight:650!important;margin:0 0 8px!important}
body.wp-admin .ms-card p,body.wp-admin .ms-muted{font-size:10.5px!important;color:#7b8798!important}
body.wp-admin .ms-card-h{gap:8px!important;margin-bottom:8px!important}

body.wp-admin .ms-form{gap:9px 10px!important}
body.wp-admin .ms-form label,body.wp-admin .ms-filter label{gap:4px!important;font-size:10px!important;font-weight:600!important;color:#465466!important}
body.wp-admin .ms-form input,body.wp-admin .ms-form select,body.wp-admin .ms-form textarea,body.wp-admin .ms-search,body.wp-admin .ms-filter input{min-height:32px!important;height:32px!important;padding:4px 8px!important;font-size:11px!important;border:1px solid #d7dee7!important;border-radius:1px!important;box-shadow:none!important}
body.wp-admin .ms-form textarea{height:auto!important;min-height:64px!important;line-height:1.35!important}
body.wp-admin .ms-search{width:190px!important}
body.wp-admin .ms-filter{gap:8px!important}

body.wp-admin .ms-table-wrap{border:1px solid #e1e6ec!important;border-radius:0!important}
body.wp-admin .ms-table,body.wp-admin table.widefat{border:0!important;box-shadow:none!important}
body.wp-admin .ms-table th,body.wp-admin table.widefat th{padding:7px 8px!important;font-size:9px!important;font-weight:650!important;color:#667386!important;background:#fafbfc!important;text-transform:none!important}
body.wp-admin .ms-table td,body.wp-admin table.widefat td{padding:7px 8px!important;font-size:10.5px!important;font-weight:400!important;color:#3f4d5f!important;border-color:#edf0f3!important}
body.wp-admin .ms-badge{padding:2px 6px!important;font-size:9px!important;font-weight:600!important;border-radius:1px!important}

body.wp-admin .button,body.wp-admin .button-primary{border-radius:1px!important;box-shadow:none!important;font-size:10px!important;min-height:28px!important;line-height:26px!important;padding:0 9px!important}
body.wp-admin .button-primary{background:#198754!important;border-color:#198754!important}

body.wp-admin .ms-settings-section,body.wp-admin .ms-settings-card{border-radius:1px!important;box-shadow:none!important}
body.wp-admin .ms-settings-preview{max-width:260px!important;max-height:170px!important;border-radius:1px!important;padding:3px!important}
body.wp-admin .ms-media-row{gap:6px!important}.ms-media-row .ms-media-url{min-width:220px!important}

/* Bilan: financial summary should read like a compact statement, not marketing cards */
body.wp-admin [class*="bilan"] .ms-kpi strong,body.wp-admin .ms-cycle-summary .ms-kpi strong{font-size:17px!important;font-weight:550!important}
body.wp-admin .ms-kpis + .ms-kpis{margin-top:-2px!important}
body.wp-admin .ms-card .ms-kpis{margin-bottom:8px!important}

@media(max-width:900px){body.wp-admin .ms-form{grid-template-columns:1fr 1fr!important}body.wp-admin .ms-kpis{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:620px){body.wp-admin .ms-form,body.wp-admin .ms-kpis{grid-template-columns:1fr!important}body.wp-admin .ms-topbar h1{font-size:19px!important}}

/* v1.9.0 — member 360 profile */
.ms-member-admin-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e2e8f0;margin:10px 0 12px;background:#fff}
.ms-member-admin-meta>div{padding:9px 10px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;min-width:0}
.ms-member-admin-meta>div:nth-child(3n){border-right:0}.ms-member-admin-meta>div:nth-last-child(-n+3){border-bottom:0}
.ms-member-admin-meta small{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#718096;margin-bottom:3px}
.ms-member-admin-meta span{font-size:12px;font-weight:400;color:#1e293b;word-break:break-word}
.ms-member-360 h3{font-size:13px;margin:14px 0 7px}
@media(max-width:900px){.ms-member-admin-meta{grid-template-columns:1fr 1fr}.ms-member-admin-meta>div:nth-child(3n){border-right:1px solid #e2e8f0}.ms-member-admin-meta>div:nth-child(2n){border-right:0}.ms-member-admin-meta>div:nth-last-child(-n+3){border-bottom:1px solid #e2e8f0}.ms-member-admin-meta>div:nth-last-child(-n+2){border-bottom:0}}

/* ============================================================
   v2.0.0 — Unified Flat Banking Design System
   Admin + Member portal. Keeps existing Mutuelle colors.
   ============================================================ */
:root{
  --ms2-navy:#123a63;
  --ms2-navy-deep:#0e2d4c;
  --ms2-green:#22b66f;
  --ms2-green-dark:#168a54;
  --ms2-blue:#2f6dcc;
  --ms2-red:#e84e4e;
  --ms2-bg:#f5f8fb;
  --ms2-card:#ffffff;
  --ms2-line:#e4eaf0;
  --ms2-text:#10233e;
  --ms2-muted:#75849a;
  --ms2-soft-green:#eaf8f1;
  --ms2-soft-blue:#eef5ff;
  --ms2-soft-red:#fff0f0;
}

/* ---------- WordPress admin shell on Mutuelle pages ---------- */
body[class*="page_ms-"] #wpcontent,
body.toplevel_page_ms-dashboard #wpcontent{
  background:var(--ms2-bg);
  min-height:100vh;
  padding-left:0;
}
body[class*="page_ms-"] #wpbody-content,
body.toplevel_page_ms-dashboard #wpbody-content{padding-bottom:28px}
body[class*="page_ms-"] #adminmenuback,
body[class*="page_ms-"] #adminmenuwrap,
body.toplevel_page_ms-dashboard #adminmenuback,
body.toplevel_page_ms-dashboard #adminmenuwrap{
  background:linear-gradient(180deg,var(--ms2-navy-deep),var(--ms2-navy));
}
body[class*="page_ms-"] #adminmenu,
body.toplevel_page_ms-dashboard #adminmenu{background:transparent}
body[class*="page_ms-"] #adminmenu a,
body.toplevel_page_ms-dashboard #adminmenu a{color:#d9e6f2}
body[class*="page_ms-"] #adminmenu .wp-submenu,
body.toplevel_page_ms-dashboard #adminmenu .wp-submenu{background:rgba(7,30,52,.35)}
body[class*="page_ms-"] #adminmenu .wp-has-current-submenu>a.menu-top,
body[class*="page_ms-"] #adminmenu .current a.menu-top,
body.toplevel_page_ms-dashboard #adminmenu .wp-has-current-submenu>a.menu-top,
body.toplevel_page_ms-dashboard #adminmenu .current a.menu-top{
  background:var(--ms2-green)!important;
  color:#fff!important;
}
body[class*="page_ms-"] #adminmenu .wp-submenu a.current,
body.toplevel_page_ms-dashboard #adminmenu .wp-submenu a.current{color:#fff;font-weight:700}

/* ---------- Admin content ---------- */
.ms-wrap{
  max-width:none!important;
  margin:0!important;
  padding:0 24px 34px!important;
  color:var(--ms2-text);
}
.ms-topbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 -24px 18px!important;
  padding:20px 26px!important;
  min-height:78px!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--ms2-line)!important;
  box-shadow:none!important;
}
.ms-topbar h1{
  margin:2px 0 0!important;
  font-size:27px!important;
  line-height:1.08!important;
  letter-spacing:-.03em!important;
  color:var(--ms2-text)!important;
  font-weight:800!important;
}
.ms-topbar p{margin:4px 0 0!important;color:var(--ms2-muted)!important;font-size:13px!important}
.ms-brand{color:var(--ms2-green-dark)!important;font-size:10px!important;letter-spacing:.16em!important;font-weight:800!important}
.ms-top-actions{display:flex!important;gap:8px!important;align-items:center!important}
.ms-top-actions .button,
.ms-card .button,
.ms-form .button,
.ms-filter .button{
  min-height:34px!important;
  line-height:32px!important;
  padding:0 13px!important;
  border-radius:7px!important;
  border:1px solid #d6e0e8!important;
  background:#fff!important;
  color:var(--ms2-navy)!important;
  box-shadow:none!important;
  font-weight:650!important;
}
.ms-top-actions .button-primary,
.ms-card .button-primary,
.ms-form .button-primary{
  background:var(--ms2-green)!important;
  border-color:var(--ms2-green)!important;
  color:#fff!important;
}
.ms-top-actions .button:hover,.ms-card .button:hover{border-color:#b8c8d5!important;background:#f8fbfd!important}
.ms-top-actions .button-primary:hover,.ms-card .button-primary:hover{background:var(--ms2-green-dark)!important;border-color:var(--ms2-green-dark)!important}

.ms-kpis{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0 0 16px!important;
}
.ms-kpi{
  position:relative!important;
  min-height:118px!important;
  padding:16px 16px 15px 64px!important;
  border:1px solid var(--ms2-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(24,49,76,.035)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.ms-kpi .dashicons{
  position:absolute!important;
  left:16px!important;
  top:18px!important;
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:var(--ms2-soft-green)!important;
  color:var(--ms2-green-dark)!important;
  font-size:19px!important;
  line-height:36px!important;
  margin:0!important;
}
.ms-kpi:nth-child(1) .dashicons,.ms-kpi:nth-child(3) .dashicons,.ms-kpi:nth-child(6) .dashicons{background:var(--ms2-soft-blue)!important;color:var(--ms2-blue)!important}
.ms-kpi:nth-child(5) .dashicons{background:var(--ms2-soft-red)!important;color:var(--ms2-red)!important}
.ms-kpi small{color:#5f7087!important;text-transform:none!important;font-size:12px!important;letter-spacing:0!important;font-weight:600!important}
.ms-kpi strong{margin-top:10px!important;color:var(--ms2-text)!important;font-size:21px!important;line-height:1.1!important;font-weight:800!important;letter-spacing:-.02em!important}

.ms-grid{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(340px,.8fr)!important;gap:14px!important}
.ms-card{
  background:#fff!important;
  border:1px solid var(--ms2-line)!important;
  border-radius:10px!important;
  padding:16px!important;
  margin-bottom:14px!important;
  box-shadow:0 4px 14px rgba(24,49,76,.025)!important;
}
.ms-card h2{margin:0 0 14px!important;font-size:18px!important;line-height:1.2!important;color:var(--ms2-text)!important;font-weight:800!important;letter-spacing:-.01em!important}
.ms-card h3{color:var(--ms2-text)!important;font-size:15px!important;font-weight:750!important}
.ms-card-h{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:12px!important}
.ms-card-h h2{margin:0!important}
.ms-card-h a{color:var(--ms2-blue)!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important}
.ms-muted,.description{color:var(--ms2-muted)!important;font-size:12px!important}

.ms-form{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 14px!important}
.ms-form label,.ms-filter label{gap:5px!important;font-size:11px!important;font-weight:700!important;color:#394b61!important}
.ms-form input,.ms-form select,.ms-form textarea,.ms-search,.ms-filter input{
  width:100%!important;
  min-height:36px!important;
  border:1px solid #d7e0e8!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:none!important;
  color:var(--ms2-text)!important;
  padding:0 10px!important;
  font-size:13px!important;
}
.ms-form textarea{min-height:78px!important;padding:8px 10px!important}
.ms-form input:focus,.ms-form select:focus,.ms-form textarea:focus,.ms-search:focus{
  border-color:#91b3cf!important;
  box-shadow:0 0 0 2px rgba(47,109,204,.08)!important;
}
.ms-search{max-width:230px!important}
.ms-filter{display:flex!important;align-items:end!important;gap:10px!important;flex-wrap:wrap!important}

.ms-table-wrap{overflow:auto!important;border:1px solid var(--ms2-line)!important;border-radius:8px!important;background:#fff!important}
.ms-table{border:0!important;box-shadow:none!important;background:#fff!important}
.ms-table thead th{
  background:#f7f9fb!important;
  color:#516176!important;
  font-size:11px!important;
  font-weight:800!important;
  text-transform:none!important;
  letter-spacing:.01em!important;
  padding:9px 10px!important;
  border-bottom:1px solid var(--ms2-line)!important;
}
.ms-table tbody td{padding:10px!important;font-size:12.5px!important;color:#394b61!important;border-bottom:1px solid #edf1f4!important}
.ms-table tbody tr:last-child td{border-bottom:0!important}
.ms-table.striped>tbody>:nth-child(odd){background:#fff!important}
.ms-table.striped>tbody>:nth-child(even){background:#fbfcfd!important}
.ms-table a{color:var(--ms2-blue)!important;font-weight:650!important;text-decoration:none!important}
.ms-badge{border-radius:999px!important;background:var(--ms2-soft-green)!important;color:var(--ms2-green-dark)!important;padding:4px 9px!important;font-size:10px!important;font-weight:750!important}
.ms-list>div{padding:10px 0!important;border-bottom:1px solid #edf1f4!important}
.ms-list>div:last-child{border-bottom:0!important}
.ms-list b{font-size:12.5px!important;color:var(--ms2-text)!important}.ms-list span{font-size:12px!important;color:var(--ms2-muted)!important}

/* Settings page cards stay symmetrical and clean */
.ms-settings-section,.ms-setting-section{border-radius:10px!important;box-shadow:0 4px 14px rgba(24,49,76,.025)!important}
.ms-media-row{gap:8px!important}.ms-settings-preview{border-radius:8px!important;border-color:var(--ms2-line)!important}

/* ---------- Member app unified with the same flat banking language ---------- */
body.ms-portal-standalone{background:var(--ms2-bg)!important;color:var(--ms2-text)!important}
body.ms-portal-standalone .ms-member-app{
  grid-template-columns:250px minmax(0,1fr)!important;
  background:var(--ms2-bg)!important;
}
body.ms-portal-standalone .ms-member-sidebar{
  width:250px!important;min-width:250px!important;max-width:250px!important;
  background:linear-gradient(180deg,var(--ms2-navy-deep),var(--ms2-navy))!important;
  border-right:0!important;
}
body.ms-portal-standalone .ms-member-side-brand{padding:28px 24px 22px!important;border-bottom:1px solid rgba(255,255,255,.10)!important}
body.ms-portal-standalone .ms-member-side-brand strong{font-size:20px!important;line-height:1.02!important;color:#fff!important}
body.ms-portal-standalone .ms-member-side-brand em{color:#37d28c!important;font-style:normal!important}
body.ms-portal-standalone .ms-member-side-nav{padding:16px 12px!important;gap:5px!important}
body.ms-portal-standalone .ms-member-side-nav a{
  min-height:48px!important;
  padding:0 14px!important;
  border-radius:8px!important;
  color:#d8e6f3!important;
  font-size:14px!important;
  font-weight:600!important;
  border-left:0!important;
}
body.ms-portal-standalone .ms-member-side-nav a:hover{background:rgba(255,255,255,.06)!important;color:#fff!important}
body.ms-portal-standalone .ms-member-side-nav a.active{background:var(--ms2-green)!important;color:#fff!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-nav-icon{width:25px!important;height:25px!important;color:currentColor!important}

body.ms-portal-standalone .ms-member-topbar{
  height:82px!important;min-height:82px!important;
  padding:0 26px!important;
  background:#fff!important;
  border-bottom:1px solid var(--ms2-line)!important;
  box-shadow:none!important;
}
body.ms-portal-standalone .ms-member-topbar-left{font-size:19px!important;font-weight:800!important;color:var(--ms2-text)!important}
body.ms-portal-standalone .ms-member-menu-toggle span{background:#43617e!important;height:2px!important}
body.ms-portal-standalone .ms-member-avatar{width:42px!important;height:42px!important;background:var(--ms2-green-dark)!important}
body.ms-portal-standalone .ms-member-user-meta b{font-size:13px!important;color:var(--ms2-text)!important}
body.ms-portal-standalone .ms-member-user-meta small{font-size:11px!important;color:var(--ms2-muted)!important}
body.ms-portal-standalone .ms-member-logout{height:42px!important;border-radius:7px!important;border-color:#a9d9c4!important;color:var(--ms2-green-dark)!important;padding:0 14px!important;background:#fff!important}

body.ms-portal-standalone .ms-member-content{padding:22px 24px 32px!important;background:var(--ms2-bg)!important}
body.ms-portal-standalone .ms-member-welcome{
  min-height:150px!important;
  padding:22px 26px!important;
  margin-bottom:14px!important;
  border:1px solid var(--ms2-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(24,49,76,.025)!important;
}
body.ms-portal-standalone .ms-member-welcome span{margin-bottom:7px!important;font-size:10px!important;color:var(--ms2-green-dark)!important}
body.ms-portal-standalone .ms-member-welcome h1{font-size:30px!important;line-height:1.05!important;color:var(--ms2-text)!important;font-weight:800!important}
body.ms-portal-standalone .ms-member-welcome p{font-size:14px!important;color:#60748b!important;margin-bottom:10px!important}
body.ms-portal-standalone .ms-member-welcome small{font-size:13px!important;color:var(--ms2-muted)!important}
body.ms-portal-standalone .ms-member-welcome-art{width:190px!important;flex:0 0 190px!important;color:#8bd3b3!important;opacity:.78!important}
body.ms-portal-standalone .ms-member-welcome-art svg{width:175px!important;height:115px!important;stroke-width:5!important}

body.ms-portal-standalone .ms-member-kpis-premium{gap:12px!important;margin-bottom:14px!important}
body.ms-portal-standalone .ms-member-kpi-card{
  min-height:128px!important;
  padding:14px!important;
  border:1px solid var(--ms2-line)!important;
  border-radius:10px!important;
  box-shadow:0 4px 14px rgba(24,49,76,.025)!important;
}
body.ms-portal-standalone .ms-member-kpi-icon{width:42px!important;height:42px!important;margin-bottom:10px!important}
body.ms-portal-standalone .ms-member-kpi-icon svg{width:22px!important;height:22px!important}
body.ms-portal-standalone .ms-member-kpi-label{font-size:10px!important;letter-spacing:.04em!important;margin-bottom:6px!important;color:#6d7e92!important}
body.ms-portal-standalone .ms-member-kpi-card strong{font-size:22px!important;color:var(--ms2-text)!important;font-weight:800!important}
body.ms-portal-standalone .ms-status-pill{height:30px!important;min-width:74px!important;font-size:14px!important;border-radius:8px!important;padding:0 12px!important}

body.ms-portal-standalone .ms-member-grid-premium{gap:14px!important;grid-template-columns:minmax(0,1.65fr) minmax(330px,.82fr)!important}
body.ms-portal-standalone .ms-member-card{
  border:1px solid var(--ms2-line)!important;
  border-radius:10px!important;
  padding:16px!important;
  box-shadow:0 4px 14px rgba(24,49,76,.025)!important;
}
body.ms-portal-standalone .ms-member-card-h{margin-bottom:12px!important}
body.ms-portal-standalone .ms-member-card-h h3,
body.ms-portal-standalone .ms-member-summary-title h3{font-size:18px!important;color:var(--ms2-text)!important}
body.ms-portal-standalone .ms-member-card-h p,
body.ms-portal-standalone .ms-member-summary-title p{font-size:12px!important;color:var(--ms2-muted)!important;margin-top:3px!important}
body.ms-portal-standalone .ms-member-statement-btn{min-height:38px!important;padding:0 14px!important;border-radius:7px!important;font-size:12px!important;background:var(--ms2-navy)!important}
body.ms-portal-standalone .ms-member-statement-btn svg{width:17px!important;height:17px!important}
body.ms-portal-standalone .ms-member-transactions table{border-radius:8px!important;border-color:var(--ms2-line)!important}
body.ms-portal-standalone .ms-member-transactions table th{padding:10px!important;font-size:11px!important;background:#f7f9fb!important;color:#56687e!important}
body.ms-portal-standalone .ms-member-transactions table td{padding:10px!important;font-size:12px!important;color:#42556c!important}
body.ms-portal-standalone .ms-member-summary-title>span{width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:8px!important;background:var(--ms2-soft-blue)!important;color:var(--ms2-blue)!important}
body.ms-portal-standalone .ms-member-summary-title>span svg{width:21px!important;height:21px!important}
body.ms-portal-standalone .ms-summary-lines{border-radius:8px!important;border-color:var(--ms2-line)!important}
body.ms-portal-standalone .ms-summary-lines>div{min-height:46px!important;padding:0 12px!important}
body.ms-portal-standalone .ms-summary-lines span{font-size:12px!important;color:#60748a!important}
body.ms-portal-standalone .ms-summary-lines b{font-size:13px!important;color:var(--ms2-text)!important}
body.ms-portal-standalone .ms-member-secure{border-radius:8px!important;padding:10px 12px!important;background:var(--ms2-soft-green)!important}

body.ms-portal-standalone .ms-member-alert{border-radius:8px!important;border:1px solid #f0d6a2!important;border-left:3px solid #d99224!important;background:#fffaf0!important;padding:12px 14px!important;font-size:12px!important}
body.ms-portal-standalone .ms-member-alert.danger{border-color:#f2c6c6!important;border-left-color:var(--ms2-red)!important;background:#fff6f6!important}
body.ms-portal-standalone .ms-member-card h2{font-size:19px!important;color:var(--ms2-text)!important;margin-bottom:14px!important}
body.ms-portal-standalone .ms-profile-meta{gap:10px!important}.ms-profile-meta>div{border-radius:8px!important;border-color:var(--ms2-line)!important;padding:12px!important}
body.ms-portal-standalone .ms-member-form input{border-radius:7px!important;min-height:38px!important}
body.ms-portal-standalone .ms-member-btn{border-radius:7px!important;background:var(--ms2-green)!important;min-height:38px!important}

/* Member portal tables on all tabs */
body.ms-portal-standalone .ms-member-card .ms-table-wrap{border-radius:8px!important;border-color:var(--ms2-line)!important}
body.ms-portal-standalone .ms-member-card .ms-table thead th{font-size:10px!important;padding:9px 10px!important;background:#f7f9fb!important;color:#607086!important}
body.ms-portal-standalone .ms-member-card .ms-table tbody td{font-size:11.5px!important;padding:9px 10px!important;color:#42556c!important}

/* Login follows same clean banking family */
body.ms-portal-standalone .ms-login-card{border-radius:12px!important;box-shadow:0 10px 34px rgba(22,47,72,.06)!important;border-color:var(--ms2-line)!important}
body.ms-portal-standalone .ms-login-input-wrap{border-radius:8px!important}.ms-login-page .ms-login-submit-btn{border-radius:8px!important;background:var(--ms2-green)!important}

@media(max-width:1350px){
  .ms-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.ms-portal-standalone .ms-member-kpis-premium{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1100px){
  .ms-grid{grid-template-columns:1fr!important}
  .ms-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ms-portal-standalone .ms-member-grid-premium{grid-template-columns:1fr!important}
}
@media(max-width:782px){
  .ms-wrap{padding:0 12px 24px!important}
  .ms-topbar{margin:0 -12px 14px!important;padding:16px!important;align-items:flex-start!important;flex-direction:column!important}
  .ms-kpis{grid-template-columns:1fr 1fr!important}
  .ms-form{grid-template-columns:1fr!important}
  body.ms-portal-standalone .ms-member-content{padding:14px 12px 24px!important}
  body.ms-portal-standalone .ms-member-welcome h1{font-size:25px!important}
  body.ms-portal-standalone .ms-member-kpis-premium{grid-template-columns:1fr 1fr!important}
}

/* v2.0.1 — editable dashboard logos */
.ms-admin-logo-wrap{display:flex;align-items:center;min-height:34px;margin-bottom:5px}
.ms-admin-dashboard-logo{display:block;height:auto;max-height:64px;max-width:260px;object-fit:contain;object-position:left center}
.ms-member-side-brand.ms-member-side-brand-custom{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:58px!important;padding:0 8px!important}
.ms-member-dashboard-logo{display:block;height:auto;max-height:78px;max-width:100%;object-fit:contain;object-position:left center}
.ms-logo-size-row{display:grid;grid-template-columns:auto minmax(180px,1fr) 62px;gap:12px;align-items:center;margin:10px 0 8px;max-width:520px}
.ms-logo-size-row>span{font-size:12px;font-weight:700;color:#536274}
.ms-logo-size-row input[type=range]{width:100%;min-height:0!important;padding:0!important;border:0!important;background:transparent!important}
.ms-logo-size-row output{font-size:12px;color:#64748b;text-align:right}
.ms-settings-preview.ms-logo-preview{max-height:110px;max-width:260px;object-fit:contain;object-position:left center;background:#f8fafc}
body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-side-brand-custom{justify-content:center!important;padding:0!important}
body.ms-portal-standalone .ms-member-app.sidebar-collapsed .ms-member-dashboard-logo{width:38px!important;max-height:48px!important;object-fit:contain!important;object-position:center!important}
@media(max-width:820px){.ms-logo-size-row{grid-template-columns:1fr}.ms-logo-size-row output{text-align:left}.ms-admin-dashboard-logo{max-height:52px}.ms-member-dashboard-logo{max-height:62px}}
body[class*="page_ms-"] .ms-wp-admin-side-brand,body.toplevel_page_ms-dashboard .ms-wp-admin-side-brand{min-height:74px;display:flex;align-items:center;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.10);box-sizing:border-box;overflow:hidden}
body[class*="page_ms-"] .ms-wp-admin-side-brand img,body.toplevel_page_ms-dashboard .ms-wp-admin-side-brand img{display:block;height:auto;max-width:100%;max-height:52px;object-fit:contain;object-position:left center}
body[class*="page_ms-"] .ms-wp-admin-side-brand span,body.toplevel_page_ms-dashboard .ms-wp-admin-side-brand span{color:#fff;font-size:12px;font-weight:800;line-height:1.25;text-transform:uppercase;letter-spacing:.04em}

/* v2.0.2 — branding visibility fix */
body[class*="page_ms-"] .ms-wp-admin-side-brand img.ms-admin-sidebar-logo-white,
body.toplevel_page_ms-dashboard .ms-wp-admin-side-brand img.ms-admin-sidebar-logo-white{
  filter:brightness(0) invert(1)!important;
  opacity:1!important;
}
body.ms-portal-standalone .ms-member-side-brand-custom{
  overflow:visible!important;
}
body.ms-portal-standalone .ms-member-dashboard-logo{
  visibility:visible!important;
  opacity:1!important;
}


/* v2.0.3 — Admin dashboard hard cleanup */
body.toplevel_page_ms-dashboard .ms-wrap{padding-top:0!important}
body.toplevel_page_ms-dashboard .ms-topbar{
  min-height:0!important;
  margin:0 -24px 14px!important;
  padding:14px 20px!important;
  align-items:center!important;
}
body.toplevel_page_ms-dashboard .ms-topbar>div:first-child{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:14px!important;
  row-gap:2px!important;
  align-items:center!important;
}
body.toplevel_page_ms-dashboard .ms-admin-logo-wrap{
  grid-column:1!important;
  grid-row:1 / 3!important;
  min-height:0!important;
  margin:0!important;
  width:auto!important;
  max-width:150px!important;
}
body.toplevel_page_ms-dashboard .ms-admin-dashboard-logo{
  display:block!important;
  width:auto!important;
  max-width:150px!important;
  max-height:42px!important;
  object-fit:contain!important;
}
body.toplevel_page_ms-dashboard .ms-topbar h1{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
  font-size:23px!important;
  line-height:1.08!important;
}
body.toplevel_page_ms-dashboard .ms-topbar p{
  grid-column:2!important;
  grid-row:2!important;
  margin:1px 0 0!important;
  font-size:11px!important;
  line-height:1.35!important;
}
body.toplevel_page_ms-dashboard .ms-kpis{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:12px!important;
}
body.toplevel_page_ms-dashboard .ms-kpi{
  min-height:82px!important;
  padding:12px 13px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:9px!important;
  row-gap:4px!important;
  align-content:center!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
body.toplevel_page_ms-dashboard .ms-kpi .dashicons{
  position:static!important;
  grid-column:1!important;
  grid-row:1 / 3!important;
  align-self:center!important;
  justify-self:start!important;
  width:30px!important;
  height:30px!important;
  font-size:16px!important;
  line-height:30px!important;
  border-radius:6px!important;
  margin:0!important;
}
body.toplevel_page_ms-dashboard .ms-kpi small{
  grid-column:2!important;
  grid-row:1!important;
  align-self:end!important;
  min-width:0!important;
  margin:0!important;
  font-size:10px!important;
  line-height:1.2!important;
  white-space:normal!important;
}
body.toplevel_page_ms-dashboard .ms-kpi strong{
  grid-column:2!important;
  grid-row:2!important;
  align-self:start!important;
  margin:0!important;
  font-size:18px!important;
  line-height:1.12!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
body.toplevel_page_ms-dashboard .ms-grid{gap:12px!important}
body.toplevel_page_ms-dashboard .ms-card{
  padding:14px!important;
  margin-bottom:12px!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
body.toplevel_page_ms-dashboard .ms-card h2{font-size:16px!important;margin:0!important}
body.toplevel_page_ms-dashboard .ms-card-h{margin-bottom:10px!important}
body.toplevel_page_ms-dashboard .ms-table td,
body.toplevel_page_ms-dashboard .ms-table th{padding:9px 9px!important;font-size:11px!important}
body.toplevel_page_ms-dashboard .ms-list>div{padding:9px 0!important;font-size:12px!important}
body.toplevel_page_ms-dashboard .ms-badge{font-size:10px!important;padding:3px 7px!important}

@media(max-width:1400px){
  body.toplevel_page_ms-dashboard .ms-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  body.toplevel_page_ms-dashboard .ms-topbar>div:first-child{grid-template-columns:1fr!important}
  body.toplevel_page_ms-dashboard .ms-admin-logo-wrap{grid-column:1!important;grid-row:auto!important;margin-bottom:6px!important}
  body.toplevel_page_ms-dashboard .ms-topbar h1,body.toplevel_page_ms-dashboard .ms-topbar p{grid-column:1!important;grid-row:auto!important}
  body.toplevel_page_ms-dashboard .ms-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){body.toplevel_page_ms-dashboard .ms-kpis{grid-template-columns:1fr!important}}

/* v2.1.0 trilingual language switcher */
.ms-lang-switcher{display:inline-flex;align-items:center;gap:2px;border:1px solid #d9e2ea;background:#fff;padding:2px;border-radius:6px;vertical-align:middle;white-space:nowrap}
.ms-lang-switcher a{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:26px;padding:0 7px;text-decoration:none!important;font-size:11px;font-weight:700;line-height:1;color:#516174;border-radius:4px}
.ms-lang-switcher a:hover{color:#0b8a63;background:#f3f8f6}
.ms-lang-switcher a.active{background:#0b8a63;color:#fff}
.ms-top-actions .ms-lang-switcher{margin-right:4px}
.ms-member-topbar .ms-lang-switcher{margin-right:8px;border-color:#dfe7ed}
.ms-member-topbar .ms-lang-switcher a{height:24px;min-width:26px;font-size:10px}
.ms-login-topbar .ms-lang-switcher{margin-left:auto;margin-right:14px}

/* v2.2.0 persistent member notifications */
body.ms-portal-standalone .ms-member-notification-dropdown{max-height:min(520px,70vh)!important;overflow-y:auto!important}
body.ms-portal-standalone a.ms-notification-item{text-decoration:none!important;color:inherit!important;border-bottom:1px solid var(--bank-line)!important;transition:background .15s ease!important}
body.ms-portal-standalone a.ms-notification-item:last-child{border-bottom:0!important}
body.ms-portal-standalone a.ms-notification-item:hover{background:#f7faf9!important}
body.ms-portal-standalone .ms-notification-item.unread{background:#fbfffd!important}
body.ms-portal-standalone .ms-notification-item:not(.unread){opacity:.72!important}
body.ms-portal-standalone .ms-notification-item>div{min-width:0!important}
body.ms-portal-standalone .ms-notification-item small{white-space:normal!important;overflow-wrap:anywhere!important}

/* v2.3.0 — unified member collection */
.ms-collection-card .ms-card-h{margin-bottom:14px}
.ms-collection-form{align-items:end}
.ms-collection-form .ms-field-help{display:block;margin-top:5px;color:#738197;font-size:11px;font-weight:400}
.ms-collection-submit{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ms-collection-submit small{color:#738197;font-weight:400}
.ms-collection-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #e2e8f0}
.ms-collection-guide span{display:flex;align-items:center;gap:10px;padding:14px 16px;border-right:1px solid #e2e8f0;color:#53637a}
.ms-collection-guide span:last-child{border-right:0}
.ms-collection-guide b{display:inline-grid;place-items:center;width:24px;height:24px;background:#e9f8f0;color:#0b8a4b;font-size:12px}
.ms-money-input{font-variant-numeric:tabular-nums}
@media(max-width:900px){.ms-collection-guide{grid-template-columns:1fr}.ms-collection-guide span{border-right:0;border-bottom:1px solid #e2e8f0}.ms-collection-guide span:last-child{border-bottom:0}}

/* v2.3.1 — historical Excel staging */
.ms-import-form input[type=file]{width:100%;max-width:760px;padding:10px;border:1px solid #dfe6ec;background:#fff}
.ms-import-note{display:flex;gap:14px;align-items:flex-start;margin-top:16px;padding:12px 14px;border-left:3px solid #0b8a4b;background:#f7faf9}
.ms-import-note strong{min-width:72px;color:#17324d}
.ms-import-note span{color:#607086;font-weight:400}

/* ============================================================
   v2.3.4 — Premium Bilan & Sik redesign
   Reference-matched, flat banking dashboard. UI only.
   ============================================================ */
body.mutuelle_page_ms-reports #wpcontent{background:#f4f7fb!important}
body.mutuelle_page_ms-reports .ms-wrap{max-width:none!important;margin:0 18px 0 0!important;padding:0!important}
body.mutuelle_page_ms-reports .ms-topbar{
  min-height:96px!important;margin:14px 0 14px!important;padding:22px 24px!important;
  border:1px solid #e4eaf1!important;border-left:0!important;border-radius:9px!important;
  background:#fff!important;box-shadow:0 1px 2px rgba(15,39,71,.03)!important
}
body.mutuelle_page_ms-reports .ms-topbar>div:first-child{display:block!important}
body.mutuelle_page_ms-reports .ms-admin-logo-wrap{display:none!important}
body.mutuelle_page_ms-reports .ms-topbar h1{font-size:27px!important;line-height:1.05!important;font-weight:750!important;letter-spacing:-.035em!important;color:#10213e!important;margin:0!important}
body.mutuelle_page_ms-reports .ms-topbar p{font-size:12px!important;line-height:1.45!important;color:#708099!important;margin:5px 0 0!important}
body.mutuelle_page_ms-reports .ms-top-actions{align-self:flex-start!important;gap:0!important;margin-top:1px!important}
body.mutuelle_page_ms-reports .ms-top-actions .ms-lang-switcher{border:1px solid #dce4ed!important;border-radius:7px!important;overflow:hidden!important;background:#fff!important;padding:0!important;display:flex!important}
body.mutuelle_page_ms-reports .ms-top-actions .ms-lang-switcher a{min-width:48px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-right:1px solid #edf1f5!important;border-radius:0!important;background:#fff!important;color:#263650!important;font-size:11px!important;font-weight:700!important;box-shadow:none!important}
body.mutuelle_page_ms-reports .ms-top-actions .ms-lang-switcher a:last-child{border-right:0!important}
body.mutuelle_page_ms-reports .ms-top-actions .ms-lang-switcher a.active,
body.mutuelle_page_ms-reports .ms-top-actions .ms-lang-switcher .active{background:#0d8c60!important;color:#fff!important}
body.mutuelle_page_ms-reports .ms-top-actions>a.button{display:none!important}

body.mutuelle_page_ms-reports .ms-card{border:1px solid #e0e7ef!important;border-radius:9px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,39,71,.025)!important;padding:16px 18px!important;margin-bottom:12px!important}
body.mutuelle_page_ms-reports .ms-bilan-cycle-card{padding:15px 18px 13px!important}
body.mutuelle_page_ms-reports .ms-bilan-cycle-head{display:flex;align-items:center;gap:12px;margin-bottom:13px}
body.mutuelle_page_ms-reports .ms-bilan-title-icon,
body.mutuelle_page_ms-reports .ms-bilan-section-icon,
body.mutuelle_page_ms-reports .ms-bilan-kpi-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:#e6f8f0;color:#0c9a67;border-radius:50%}
body.mutuelle_page_ms-reports .ms-bilan-title-icon{width:42px;height:42px}
body.mutuelle_page_ms-reports .ms-bilan-title-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.mutuelle_page_ms-reports .ms-bilan-cycle-title h2{font-size:16px!important;line-height:1.2!important;margin:0 0 2px!important;color:#13233e!important;font-weight:730!important}
body.mutuelle_page_ms-reports .ms-bilan-cycle-title p{margin:0!important;font-size:10.5px!important;color:#77869b!important}
body.mutuelle_page_ms-reports .ms-cycle-status{margin-left:auto!important;min-height:32px!important;padding:0 13px!important;border-radius:6px!important;font-size:10px!important;font-weight:700!important}
body.mutuelle_page_ms-reports .ms-cycle-status.open{background:#f2fbf7!important;border-color:#b9e3d0!important;color:#087950!important}
body.mutuelle_page_ms-reports .ms-cycle-status.closed{background:#f4f6f8!important;border-color:#dce2e8!important;color:#5d6978!important}
body.mutuelle_page_ms-reports .ms-bilan-filter{display:grid!important;grid-template-columns:minmax(180px,1.2fr) minmax(160px,.95fr) minmax(160px,.95fr) auto auto auto!important;gap:12px!important;align-items:end!important;margin:0!important}
body.mutuelle_page_ms-reports .ms-bilan-filter label{font-size:10px!important;color:#233653!important;font-weight:700!important;gap:5px!important}
body.mutuelle_page_ms-reports .ms-bilan-filter input{height:38px!important;border:1px solid #d8e1eb!important;border-radius:5px!important;padding:0 11px!important;background:#fff!important;color:#10213e!important;font-size:11px!important;font-weight:600!important}
body.mutuelle_page_ms-reports .ms-bilan-filter .button{height:38px!important;min-height:38px!important;line-height:36px!important;border-radius:5px!important;padding:0 16px!important;font-size:10.5px!important;font-weight:700!important}
body.mutuelle_page_ms-reports .ms-bilan-filter .button-primary{background:#098b5d!important;border-color:#098b5d!important;color:#fff!important}
body.mutuelle_page_ms-reports .ms-bilan-export{min-width:66px!important;text-align:center!important;background:#fff!important;border-color:#d9e2eb!important;color:#13233e!important}
body.mutuelle_page_ms-reports .ms-bilan-save{margin-top:10px!important;padding-top:9px!important;border-top:1px solid #edf1f5!important}
body.mutuelle_page_ms-reports .ms-bilan-save .button{height:30px!important;min-height:30px!important;line-height:28px!important;border-radius:4px!important;font-size:9.5px!important}

body.mutuelle_page_ms-reports .ms-bilan-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 10px}
body.mutuelle_page_ms-reports .ms-bilan-kpi{min-width:0;min-height:96px;background:#fff;border:1px solid #e1e8f0;border-radius:8px;display:flex;align-items:flex-start;gap:12px;padding:14px 15px;box-sizing:border-box;box-shadow:0 1px 2px rgba(15,39,71,.02)}
body.mutuelle_page_ms-reports .ms-bilan-kpi-icon{width:42px;height:42px;margin-top:1px}
body.mutuelle_page_ms-reports .ms-bilan-kpi-icon.blue{background:#edf4ff;color:#176dce}
body.mutuelle_page_ms-reports .ms-bilan-kpi-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.mutuelle_page_ms-reports .ms-bilan-kpi>div{min-width:0}
body.mutuelle_page_ms-reports .ms-bilan-kpi small{display:block;color:#61718a;font-size:10px!important;line-height:1.25;font-weight:650!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 7px}
body.mutuelle_page_ms-reports .ms-bilan-kpi strong{display:block;color:#11213c;font-size:19px!important;line-height:1.12!important;font-weight:720!important;letter-spacing:-.025em!important;white-space:nowrap}
body.mutuelle_page_ms-reports .ms-bilan-kpi em{display:inline-block;margin-top:6px;padding:2px 6px;background:#eef9f4;color:#16825d;border-radius:10px;font-size:8.5px;font-style:normal;font-weight:650}
body.mutuelle_page_ms-reports .ms-bilan-kpi.secondary{min-height:78px;align-items:center;padding-top:11px;padding-bottom:11px}
body.mutuelle_page_ms-reports .ms-bilan-kpi.secondary .ms-bilan-kpi-icon{width:38px;height:38px}
body.mutuelle_page_ms-reports .ms-bilan-kpi.secondary strong{font-size:17px!important}

body.mutuelle_page_ms-reports .ms-bilan-redistribution{padding:14px 18px!important}
body.mutuelle_page_ms-reports .ms-bilan-section-head{display:flex;align-items:center;gap:10px;margin:0 0 10px}
body.mutuelle_page_ms-reports .ms-bilan-section-icon{width:34px;height:34px}
body.mutuelle_page_ms-reports .ms-bilan-section-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.mutuelle_page_ms-reports .ms-bilan-section-head h2{margin:0 0 2px!important;font-size:15px!important;line-height:1.2!important;color:#15243f!important;font-weight:720!important}
body.mutuelle_page_ms-reports .ms-bilan-section-head p{margin:0!important;font-size:10px!important;color:#718198!important}
body.mutuelle_page_ms-reports .ms-bilan-redis-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:26px;align-items:center;padding:2px 8px 1px}
body.mutuelle_page_ms-reports .ms-bilan-donut{width:132px;height:132px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto;position:relative}
body.mutuelle_page_ms-reports .ms-bilan-donut:after{content:"";position:absolute;inset:17px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px #eef2f6}
body.mutuelle_page_ms-reports .ms-bilan-donut>div{position:relative;z-index:1;text-align:center;width:92px}
body.mutuelle_page_ms-reports .ms-bilan-donut strong{display:block;font-size:14px!important;line-height:1.18!important;color:#13233e!important;font-weight:740!important}
body.mutuelle_page_ms-reports .ms-bilan-donut span{display:block;font-size:8.5px;color:#7b889b;margin-top:3px}
body.mutuelle_page_ms-reports .ms-bilan-bars{display:grid;gap:12px}
body.mutuelle_page_ms-reports .ms-bilan-bar-row{display:grid;grid-template-columns:12px 190px 110px minmax(180px,1fr) 38px;gap:10px;align-items:center;min-height:24px}
body.mutuelle_page_ms-reports .ms-bilan-dot{width:9px;height:9px;border-radius:50%;display:block}.ms-bilan-dot.green{background:#12a36b}.ms-bilan-dot.blue{background:#2f74d0}.ms-bilan-dot.gray{background:#97a5b5}
body.mutuelle_page_ms-reports .ms-bilan-bar-row b{font-size:10.5px;color:#172741;font-weight:650}
body.mutuelle_page_ms-reports .ms-bilan-bar-row strong{font-size:10.5px;color:#172741;font-weight:700}
body.mutuelle_page_ms-reports .ms-bilan-progress{height:9px;background:#e9eef4;border-radius:8px;overflow:hidden}
body.mutuelle_page_ms-reports .ms-bilan-progress i{display:block;height:100%;border-radius:8px}.ms-bilan-progress i.green{background:#15a96e}.ms-bilan-progress i.blue{background:#2e74ce}.ms-bilan-progress i.gray{background:#a7b2bf}
body.mutuelle_page_ms-reports .ms-bilan-pct{text-align:right;font-size:10px;color:#66758a;font-weight:650}

body.mutuelle_page_ms-reports .ms-bilan-members,
body.mutuelle_page_ms-reports .ms-bilan-history{padding:11px 14px!important}
body.mutuelle_page_ms-reports .ms-bilan-table-head{margin-bottom:8px!important}
body.mutuelle_page_ms-reports .ms-bilan-table-head>div:nth-child(2){min-width:0}
body.mutuelle_page_ms-reports .ms-bilan-search{margin-left:auto;display:flex;align-items:center;gap:6px;width:225px;height:32px;padding:0 9px;border:1px solid #dbe4ed;border-radius:5px;background:#fff}
body.mutuelle_page_ms-reports .ms-bilan-search .dashicons{font-size:15px;width:15px;height:15px;color:#738299}
body.mutuelle_page_ms-reports .ms-bilan-search input{width:100%;height:28px!important;min-height:28px!important;border:0!important;box-shadow:none!important;outline:0!important;padding:0!important;font-size:9.5px!important;background:transparent!important;color:#24344e!important}
body.mutuelle_page_ms-reports .ms-table-wrap{border:1px solid #e2e8ef!important;border-radius:5px!important;overflow:hidden!important}
body.mutuelle_page_ms-reports .ms-table th{background:#f5f7fa!important;color:#5e6e84!important;padding:7px 10px!important;font-size:8.5px!important;font-weight:700!important;border-bottom:1px solid #e3e9f0!important}
body.mutuelle_page_ms-reports .ms-table td{background:#fff!important;color:#324159!important;padding:8px 10px!important;font-size:9.5px!important;border-bottom:1px solid #edf1f5!important}
body.mutuelle_page_ms-reports .ms-table tbody tr:last-child td{border-bottom:0!important}
body.mutuelle_page_ms-reports .ms-bilan-history-head{margin-bottom:8px!important}

body.mutuelle_page_ms-reports .ms-bilan-close{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 15px!important;border-left:1px solid #e0e7ef!important}
body.mutuelle_page_ms-reports .ms-bilan-close h2{margin:0 0 2px!important;font-size:13px!important}
body.mutuelle_page_ms-reports .ms-bilan-close p{margin:0!important;max-width:750px!important;font-size:9.5px!important}
body.mutuelle_page_ms-reports .ms-bilan-close .button{white-space:nowrap!important;border-radius:5px!important;height:32px!important;min-height:32px!important;line-height:30px!important}
body.mutuelle_page_ms-reports .ms-bilan-close.is-closed{display:block!important}

@media(max-width:1180px){
 body.mutuelle_page_ms-reports .ms-bilan-filter{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.mutuelle_page_ms-reports .ms-bilan-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mutuelle_page_ms-reports .ms-bilan-bar-row{grid-template-columns:12px 160px 100px minmax(130px,1fr) 34px}
}
@media(max-width:782px){
 body.mutuelle_page_ms-reports .ms-wrap{margin-right:10px!important}
 body.mutuelle_page_ms-reports .ms-topbar{padding:16px!important;min-height:auto!important}
 body.mutuelle_page_ms-reports .ms-topbar h1{font-size:23px!important}
 body.mutuelle_page_ms-reports .ms-bilan-filter{grid-template-columns:1fr!important}
 body.mutuelle_page_ms-reports .ms-bilan-kpis{grid-template-columns:1fr}
 body.mutuelle_page_ms-reports .ms-bilan-redis-grid{grid-template-columns:1fr;padding:0}
 body.mutuelle_page_ms-reports .ms-bilan-bar-row{grid-template-columns:12px 1fr auto;gap:8px}
 body.mutuelle_page_ms-reports .ms-bilan-bar-row .ms-bilan-progress{grid-column:2/4}
 body.mutuelle_page_ms-reports .ms-bilan-pct{display:none}
 body.mutuelle_page_ms-reports .ms-bilan-search{width:100%;margin-left:0}
 body.mutuelle_page_ms-reports .ms-bilan-table-head{flex-wrap:wrap}
 body.mutuelle_page_ms-reports .ms-bilan-close{align-items:flex-start;flex-direction:column}
}

/* v2.4.0 — historical migration dry-run / protected final import */
body.mutuelle_page_ms-import .ms-import-final{margin-top:18px;padding-top:16px;border-top:1px solid #e4eaf0}
body.mutuelle_page_ms-import .ms-import-step{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e1e8ef;background:#f9fbfc;margin:10px 0}
body.mutuelle_page_ms-import .ms-import-step>span{display:flex;width:30px;height:30px;align-items:center;justify-content:center;background:#e8f7f1;color:#087f58;font-weight:800;border-radius:50%;flex:0 0 auto}
body.mutuelle_page_ms-import .ms-import-step>div{flex:1;min-width:0}
body.mutuelle_page_ms-import .ms-import-step strong{display:block;color:#14243e;font-size:13px}
body.mutuelle_page_ms-import .ms-import-step p{margin:2px 0 0;color:#69798f;font-size:10.5px;line-height:1.45}
body.mutuelle_page_ms-import .ms-import-dry-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:10px 0 14px}
body.mutuelle_page_ms-import .ms-import-dry-grid>div{border:1px solid #e2e8ef;background:#fff;padding:10px 11px;min-height:58px}
body.mutuelle_page_ms-import .ms-import-dry-grid small{display:block;color:#728198;font-size:9px;font-weight:700;margin-bottom:5px}
body.mutuelle_page_ms-import .ms-import-dry-grid b{font-size:16px;color:#14243e}
body.mutuelle_page_ms-import .ms-import-confirm{display:grid;gap:9px;padding:12px 14px;border:1px solid #dce5ec;background:#fff}
body.mutuelle_page_ms-import .ms-import-confirm>label{display:block;padding:10px 11px;border:1px solid #e5eaf0;background:#fafcfd;font-size:11px;color:#233653}
body.mutuelle_page_ms-import .ms-import-confirm>label small{display:block;margin:3px 0 0 23px;color:#728198;font-weight:400}
body.mutuelle_page_ms-import .ms-import-confirm-check{border-left:3px solid #0b8a63!important;background:#f1fbf7!important}
body.mutuelle_page_ms-import .ms-import-confirm .button-primary{justify-self:start;background:#0b8a63!important;border-color:#0b8a63!important}
@media(max-width:1100px){body.mutuelle_page_ms-import .ms-import-dry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){body.mutuelle_page_ms-import .ms-import-dry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.mutuelle_page_ms-import .ms-import-step{align-items:flex-start;flex-wrap:wrap}}


/* v2.4.1 — loans filters, status semantics and money alignment */
body.mutuelle_page_ms-loans .ms-loan-list-card{padding:16px 18px!important}
body.mutuelle_page_ms-loans .ms-loan-list-card>.ms-card-h{margin-bottom:12px!important}
body.mutuelle_page_ms-loans .ms-loan-filters{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr)) auto;gap:10px;align-items:end;padding:12px;background:#f7f9fb;border:1px solid #e1e7ee;margin:0 0 13px}
body.mutuelle_page_ms-loans .ms-loan-filters label{display:grid;gap:5px;margin:0;color:#5f6f84;font-size:10px;font-weight:700}
body.mutuelle_page_ms-loans .ms-loan-filters input,
body.mutuelle_page_ms-loans .ms-loan-filters select{width:100%;height:36px!important;min-height:36px!important;border:1px solid #d8e1ea!important;border-radius:3px!important;background:#fff!important;padding:0 9px!important;font-size:11px!important;color:#1f3048!important;box-shadow:none!important}
body.mutuelle_page_ms-loans .ms-loan-filter-actions{display:flex;gap:6px;align-items:center}
body.mutuelle_page_ms-loans .ms-loan-filter-actions .button{height:36px!important;min-height:36px!important;line-height:34px!important;border-radius:3px!important;padding:0 12px!important;font-size:10px!important;font-weight:700!important}
body.mutuelle_page_ms-loans .ms-loans-table th:nth-child(4),
body.mutuelle_page_ms-loans .ms-loans-table th:nth-child(5),
body.mutuelle_page_ms-loans .ms-loans-table th:nth-child(6),
body.mutuelle_page_ms-loans .ms-loans-table th:nth-child(7),
body.mutuelle_page_ms-loans .ms-loans-table td.ms-money{text-align:right!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important}
body.mutuelle_page_ms-loans .ms-loan-status{display:inline-flex;align-items:center;justify-content:center;min-width:62px;height:25px;padding:0 9px;border-radius:3px;font-size:10px;font-weight:750;line-height:1}
body.mutuelle_page_ms-loans .ms-loan-status--closed{background:#e9f8ef;color:#087b45;border:1px solid #c8ead5}
body.mutuelle_page_ms-loans .ms-loan-status--overdue{background:#fff0ef;color:#bd2c26;border:1px solid #f3cfcc}
body.mutuelle_page_ms-loans .ms-loan-status--active{background:#fff6e6;color:#a96500;border:1px solid #f1ddb8}
body.mutuelle_page_ms-loans .ms-loan-actions{white-space:nowrap!important}
body.mutuelle_page_ms-loans .ms-loan-actions a{font-weight:650;text-decoration:none;color:#2368c4}
body.mutuelle_page_ms-loans .ms-loan-actions span{color:#9aa7b6;margin:0 2px}
body.mutuelle_page_ms-loans .ms-pdf-link{display:inline-block;padding:1px 4px;border:1px solid #2368c4;border-radius:3px}
body.mutuelle_page_ms-loans .ms-loan-empty{text-align:center!important;color:#7a8798!important;padding:24px!important}
@media(max-width:1180px){body.mutuelle_page_ms-loans .ms-loan-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.ms-loan-filter-actions{grid-column:auto}}
@media(max-width:782px){body.mutuelle_page_ms-loans .ms-loan-filters{grid-template-columns:1fr 1fr}body.mutuelle_page_ms-loans .ms-loan-filter-actions{grid-column:1/-1}}


/* v2.4.2 — member loan calendar, numeric alignment and branded statement print */
body.ms-portal-standalone .ms-table .ms-num-col{text-align:right!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important}
body.ms-portal-standalone .ms-member-card .ms-table th.ms-num-col{text-align:right!important}
body.ms-portal-standalone .ms-member-loan-schedule{scroll-margin-top:95px}
body.ms-portal-standalone .ms-member-calendar-link{font-weight:700;text-decoration:none;color:#2368c4}
body.ms-portal-standalone .ms-member-calendar-link:hover{text-decoration:underline}
body.ms-portal-standalone .ms-loan-status{display:inline-flex;align-items:center;justify-content:center;min-width:68px;height:26px;padding:0 9px;border-radius:3px;font-size:10px;font-weight:750;line-height:1}
body.ms-portal-standalone .ms-loan-status--closed{background:#e9f8ef;color:#087b45;border:1px solid #c8ead5}
body.ms-portal-standalone .ms-loan-status--overdue{background:#fff0ef;color:#bd2c26;border:1px solid #f3cfcc}
body.ms-portal-standalone .ms-loan-status--active{background:#fff6e6;color:#a96500;border:1px solid #f1ddb8}
body.ms-portal-standalone .ms-pdf-link{font-weight:700;text-decoration:none;color:#2368c4}
body.ms-portal-standalone .ms-statement-table th:nth-child(n+5),
body.ms-portal-standalone .ms-statement-table td:nth-child(n+5){text-align:right!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important}

/* v2.4.3 — reliable member loan calendar/PDF frontend routes */
body.ms-portal-standalone .ms-member-loan-schedule-open{scroll-margin-top:105px;border-left:3px solid #0b8a63!important}
body.ms-portal-standalone .ms-member-loan-schedule-open .ms-card-h{align-items:center!important}
body.ms-portal-standalone .ms-member-loan-schedule-open .ms-pdf-link{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;padding:0 12px!important;border:1px solid #0b8a63!important;background:#0b8a63!important;color:#fff!important;border-radius:3px!important;text-decoration:none!important}

/* ============================================================
   v2.5.0 — Full hard redesign / premium cooperative dashboard
   Reference language: navy shell + multicolor finance widgets
   ============================================================ */
:root{
 --msx-navy:#071a35;--msx-navy2:#0b2a4d;--msx-green:#10ad63;--msx-green2:#14c875;
 --msx-blue:#168cf5;--msx-orange:#ff9f0a;--msx-purple:#7b3ff2;--msx-red:#ff4545;
 --msx-teal:#10bcb3;--msx-bg:#f7f9fc;--msx-card:#fff;--msx-line:#e8edf3;
 --msx-text:#0d1b35;--msx-muted:#68758b;--msx-shadow:0 6px 22px rgba(20,42,70,.055)
}

/* ADMIN SHELL */
body[class*="page_ms-"],body.toplevel_page_ms-dashboard{background:var(--msx-bg)!important}
body[class*="page_ms-"] #wpcontent,body.toplevel_page_ms-dashboard #wpcontent{background:var(--msx-bg)!important}
body[class*="page_ms-"] #adminmenuback,body[class*="page_ms-"] #adminmenuwrap,body.toplevel_page_ms-dashboard #adminmenuback,body.toplevel_page_ms-dashboard #adminmenuwrap{background:linear-gradient(180deg,#07182f 0%,#08213e 60%,#0b2949 100%)!important}
body[class*="page_ms-"] #adminmenu,body.toplevel_page_ms-dashboard #adminmenu{padding-top:4px!important}
body[class*="page_ms-"] #adminmenu a,body.toplevel_page_ms-dashboard #adminmenu a{font-size:13px!important;color:#d9e4f1!important}
body[class*="page_ms-"] #adminmenu li.menu-top>a,body.toplevel_page_ms-dashboard #adminmenu li.menu-top>a{min-height:42px!important;display:flex!important;align-items:center!important}
body[class*="page_ms-"] #adminmenu .wp-menu-image,body.toplevel_page_ms-dashboard #adminmenu .wp-menu-image{width:34px!important}
body[class*="page_ms-"] #adminmenu .wp-has-current-submenu>a.menu-top,body[class*="page_ms-"] #adminmenu .current a.menu-top,body.toplevel_page_ms-dashboard #adminmenu .wp-has-current-submenu>a.menu-top,body.toplevel_page_ms-dashboard #adminmenu .current a.menu-top{background:linear-gradient(90deg,#10b864,#0faa61)!important;color:#fff!important;box-shadow:inset 4px 0 0 #58e19a!important}
body[class*="page_ms-"] #adminmenu .wp-submenu,body.toplevel_page_ms-dashboard #adminmenu .wp-submenu{background:#092540!important;padding:7px 0!important}
body[class*="page_ms-"] #adminmenu .wp-submenu a,body.toplevel_page_ms-dashboard #adminmenu .wp-submenu a{padding-top:7px!important;padding-bottom:7px!important}
body[class*="page_ms-"] .ms-wp-admin-side-brand,body.toplevel_page_ms-dashboard .ms-wp-admin-side-brand{min-height:88px!important;padding:18px 16px!important;border-bottom:1px solid rgba(255,255,255,.09)!important;background:#071a35!important}
body[class*="page_ms-"] .ms-wp-admin-side-brand img,body.toplevel_page_ms-dashboard .ms-wp-admin-side-brand img{max-height:58px!important;filter:none!important}

/* Admin content chrome */
.ms-wrap{padding:0 26px 38px!important;max-width:1580px!important;margin:0 auto!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
.ms-topbar{min-height:108px!important;margin:0 -26px 22px!important;padding:20px 26px!important;background:#fff!important;border-bottom:1px solid var(--msx-line)!important;box-shadow:0 1px 0 rgba(11,35,66,.02)!important;align-items:center!important}
.ms-topbar>div:first-child{min-width:0!important}
.ms-admin-logo-wrap{display:none!important}
.ms-topbar h1{font-size:32px!important;font-weight:800!important;color:var(--msx-text)!important;letter-spacing:-.035em!important;margin:0!important}
.ms-topbar p{font-size:14px!important;color:var(--msx-muted)!important;margin-top:5px!important}
.ms-top-actions{gap:8px!important;align-items:center!important}
.ms-top-actions .button{height:38px!important;min-height:38px!important;line-height:36px!important;border-radius:7px!important;border:1px solid #dfe6ef!important;background:#fff!important;color:#243650!important;font-weight:700!important;padding:0 14px!important}
.ms-top-actions .button-primary{background:var(--msx-green)!important;border-color:var(--msx-green)!important;color:#fff!important}
.ms-lang-switcher{border-radius:8px!important;border-color:#dfe7ef!important;overflow:hidden!important;background:#fff!important}
.ms-lang-switcher a{height:36px!important;min-width:38px!important;font-weight:700!important}
.ms-lang-switcher a.active{background:var(--msx-green)!important;color:#fff!important}

/* Generic admin cards/pages */
.ms-card,.ms-settings-section,.ms-setting-section{background:#fff!important;border:1px solid var(--msx-line)!important;border-radius:9px!important;box-shadow:var(--msx-shadow)!important;padding:20px!important;margin-bottom:18px!important}
.ms-card h2,.ms-card h3{color:var(--msx-text)!important;font-weight:800!important;letter-spacing:-.015em!important}
.ms-card h2{font-size:18px!important}.ms-card h3{font-size:15px!important}
.ms-form{gap:15px!important}
.ms-form label,.ms-filter label{font-size:12px!important;color:#45536a!important;font-weight:700!important}
.ms-form input,.ms-form select,.ms-form textarea,.ms-search,.ms-filter input,.ms-filter select{border:1px solid #dce4ed!important;border-radius:7px!important;min-height:42px!important;background:#fff!important;box-shadow:none!important;color:#1f3048!important}
.ms-form input:focus,.ms-form select:focus,.ms-form textarea:focus,.ms-search:focus,.ms-filter input:focus{border-color:#73cfa0!important;box-shadow:0 0 0 3px rgba(16,173,99,.09)!important}
.ms-card .button,.ms-form .button,.ms-filter .button{border-radius:7px!important;font-weight:700!important;box-shadow:none!important}
.ms-card .button-primary,.ms-form .button-primary,.ms-filter .button-primary{background:var(--msx-green)!important;border-color:var(--msx-green)!important;color:#fff!important}
.ms-table-wrap{border:1px solid var(--msx-line)!important;border-radius:8px!important;overflow:auto!important;background:#fff!important}
.ms-table{border:0!important;background:#fff!important}
.ms-table thead th{background:#f7f9fc!important;color:#65728a!important;font-size:11px!important;text-transform:none!important;letter-spacing:.02em!important;padding:11px 12px!important;border-bottom:1px solid var(--msx-line)!important}
.ms-table tbody td{font-size:12.5px!important;color:#3f5069!important;padding:12px!important;border-bottom:1px solid #edf1f5!important;background:#fff!important}
.ms-table tbody tr:hover td{background:#fbfcfe!important}
.ms-num-col{text-align:right!important;font-variant-numeric:tabular-nums!important}
.ms-badge{border-radius:5px!important;background:#dff8eb!important;color:#07834a!important;font-weight:800!important}

/* ADMIN DASHBOARD — direct reference-inspired composition */
body.toplevel_page_ms-dashboard .ms-topbar{margin-bottom:18px!important}
.ms-pro-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.ms-pro-kpi{background:#fff;border:1px solid var(--msx-line);border-radius:9px;box-shadow:var(--msx-shadow);min-height:104px;padding:15px 16px;display:flex;align-items:center;gap:14px;box-sizing:border-box}
.ms-pro-kpi-icon{width:56px;height:56px;min-width:56px;border-radius:9px;display:grid!important;place-items:center;color:#fff;font-size:26px!important;line-height:56px!important}
.ms-pro-kpi>div{min-width:0;display:flex;flex-direction:column}.ms-pro-kpi small{color:#546179;font-size:12px;font-weight:600;margin-bottom:2px}.ms-pro-kpi strong{font-size:21px;line-height:1.15;font-weight:850;color:var(--msx-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.ms-pro-kpi em{font-style:normal;font-size:10.5px;color:#0fa25c;margin-top:7px;font-weight:650}
.ms-accent-green .ms-pro-kpi-icon,.ms-accent-green2 .ms-pro-kpi-icon{background:linear-gradient(135deg,#08a855,#13c96f)}
.ms-accent-blue .ms-pro-kpi-icon{background:linear-gradient(135deg,#0f7ff0,#17a4ff)}
.ms-accent-blue2 .ms-pro-kpi-icon{background:linear-gradient(135deg,#177de7,#268ff8)}
.ms-accent-orange .ms-pro-kpi-icon{background:linear-gradient(135deg,#ff9300,#ffad22)}
.ms-accent-purple .ms-pro-kpi-icon{background:linear-gradient(135deg,#7134e8,#8c4dff)}
.ms-accent-red .ms-pro-kpi-icon{background:linear-gradient(135deg,#ff4040,#ff6262)}.ms-accent-red em{color:#f03838}
.ms-accent-teal .ms-pro-kpi-icon{background:linear-gradient(135deg,#0da89e,#18c7bd)}
.ms-pro-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.ms-pro-panel{background:#fff;border:1px solid var(--msx-line);border-radius:9px;box-shadow:var(--msx-shadow);padding:15px 16px;min-width:0}
.ms-pro-panel-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ms-pro-panel-h h2{margin:0;color:var(--msx-text);font-size:15px;font-weight:800}.ms-pro-panel-h>span,.ms-pro-panel-h>a{border:1px solid #dfe6ef;border-radius:6px;background:#fff;padding:6px 10px;font-size:11px;color:#3d5069;text-decoration:none;font-weight:700}
.ms-bar-chart{height:215px;display:grid;grid-template-columns:repeat(12,1fr);gap:8px;align-items:end;padding:12px 8px 0;border-top:1px solid #f0f3f7;background-image:linear-gradient(#edf1f5 1px,transparent 1px);background-size:100% 25%}
.ms-bar-item{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.ms-bar-track{height:170px;width:100%;display:flex;align-items:flex-end;justify-content:center}.ms-bar-track i{display:block;width:66%;min-height:5px;background:linear-gradient(180deg,#1bbb69,#12a95d);border-radius:5px 5px 2px 2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.03)}.ms-bar-item small{font-size:9.5px;color:#77849a}
.ms-line-chart{height:215px;position:relative;padding:8px 8px 24px;background-image:linear-gradient(#edf1f5 1px,transparent 1px),linear-gradient(90deg,#edf1f5 1px,transparent 1px);background-size:100% 25%,8.33% 100%;box-sizing:border-box}.ms-line-chart svg{width:100%;height:175px;overflow:visible}.ms-chart-labels{position:absolute;left:8px;right:8px;bottom:3px;display:grid;grid-template-columns:repeat(12,1fr)}.ms-chart-labels small{text-align:center;color:#77849a;font-size:9.5px}
.ms-donut-wrap{display:grid;grid-template-columns:220px 1fr;align-items:center;gap:18px;min-height:210px}.ms-donut{--p:65;width:180px;height:180px;border-radius:50%;margin:auto;background:conic-gradient(#29b85f 0 calc(var(--p)*1%),#278bf2 calc(var(--p)*1%) 78%,#ff9f24 78% 90%,#8a4cf1 90% 100%);display:grid;place-items:center;position:relative}.ms-donut:after{content:"";position:absolute;width:108px;height:108px;background:#fff;border-radius:50%}.ms-donut>div{z-index:2;text-align:center;display:flex;flex-direction:column;gap:4px}.ms-donut b{font-size:15px;color:var(--msx-text)}.ms-donut small{font-size:10px;color:#7a879a}.ms-donut-legend p{display:grid;grid-template-columns:12px 1fr auto;gap:8px;align-items:center;margin:12px 0;font-size:11.5px;color:#536178}.ms-donut-legend i{width:10px;height:10px;border-radius:50%;background:#29b85f}.ms-donut-legend i.b{background:#278bf2}.ms-donut-legend i.o{background:#ff9f24}.ms-donut-legend b{color:#21354f;font-size:11.5px}
.ms-status-bars{display:flex;flex-direction:column;gap:17px;padding:8px 2px}.ms-status-bars>div{display:grid;grid-template-columns:42px 150px 1fr 42px;gap:10px;align-items:center}.ms-status-bars>div>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e9f9f0;color:#0eaa5c}.ms-status-bars>div>span.blue{background:#eaf3ff;color:#2287ee}.ms-status-bars>div>span.orange{background:#fff3e3;color:#ff9000}.ms-status-bars p{margin:0;display:flex;flex-direction:column}.ms-status-bars p b{font-size:11.5px;color:#253752}.ms-status-bars p small{font-size:10.5px;color:#7c899b}.ms-status-bars .track{height:11px;border-radius:20px;background:#edf1f6;overflow:hidden}.ms-status-bars .track i{display:block;height:100%;border-radius:20px;background:#12ad62}.ms-status-bars .track.blue i{background:#258bf1}.ms-status-bars .track.orange i{background:#ff9c1a}.ms-status-bars>div>b{text-align:right;font-size:11px;color:#5d6a7e}
.ms-pro-table{width:100%;border-collapse:collapse}.ms-pro-table th{background:#f8fafc;color:#586780;font-size:10.5px;text-align:left;padding:9px 10px;border-bottom:1px solid var(--msx-line)}.ms-pro-table td{font-size:11px;color:#536178;padding:9px 10px;border-bottom:1px solid #edf1f5}.ms-pro-table tr:last-child td{border-bottom:0}.ms-pro-table .num{text-align:right;font-variant-numeric:tabular-nums}.ms-pro-pill{display:inline-block;padding:4px 9px;border-radius:5px;background:#daf8e8;color:#0b8a4d;font-size:9.5px;font-weight:800}

/* v2.5.1 — real-data dashboard chart filters */
.ms-chart-panel-h{align-items:flex-start!important;flex-wrap:wrap}.ms-chart-filter{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin-left:auto}.ms-chart-filter label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:700;color:#718096;text-transform:uppercase;letter-spacing:.04em}.ms-chart-filter select{min-width:92px;height:34px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#24364d;font-size:12px;font-weight:700;padding:0 28px 0 9px;box-shadow:none}.ms-chart-filter .ms-chart-apply{height:34px!important;min-height:34px!important;border-radius:7px!important;margin:0!important}.ms-bar-chart.ms-bar-daily{grid-template-columns:repeat(var(--ms-bars),minmax(18px,1fr));gap:4px;overflow-x:auto;overflow-y:hidden;padding-bottom:2px}.ms-bar-chart.ms-bar-daily .ms-bar-item{min-width:18px}.ms-bar-chart.ms-bar-daily .ms-bar-item small{font-size:9px}.ms-chart-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #eef2f6;margin-top:8px;padding-top:10px;color:#718096;font-size:11px}.ms-chart-foot strong{color:#10233f;font-size:13px}.ms-bar-item[title]{cursor:default}
@media(max-width:782px){.ms-chart-filter{width:100%;margin-left:0}.ms-chart-filter label{flex:1;min-width:110px}.ms-chart-filter select{width:100%}.ms-bar-chart.ms-bar-daily{grid-template-columns:repeat(var(--ms-bars),24px)}}

/* v2.5.2 — dynamic repayment chart + safe donut center */
.ms-chart-labels{grid-template-columns:repeat(var(--ms-labels,12),minmax(0,1fr))!important}
.ms-line-chart.ms-line-daily{overflow-x:auto;overflow-y:hidden}
.ms-line-chart.ms-line-daily svg{min-width:980px}
.ms-line-chart.ms-line-daily .ms-chart-labels{min-width:980px}
.ms-donut>div{width:92px;max-width:92px;min-width:0;overflow:hidden;align-items:center;justify-content:center;padding:0 4px;box-sizing:border-box}
.ms-donut b{font-size:clamp(10px,1.05vw,14px)!important;line-height:1.08!important;max-width:88px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:center;display:block}
.ms-donut small{line-height:1.15}
@media(max-width:782px){.ms-donut>div{width:86px;max-width:86px}.ms-donut b{font-size:11px!important;max-width:82px}}

/* ============================================================
   v2.5.3 — Flat typography refinement
   Lighter banking-style hierarchy; no functionality changes.
   ============================================================ */
body.toplevel_page_ms-dashboard .ms-topbar h1{
  font-size:27px!important;
  line-height:1.12!important;
  font-weight:650!important;
  letter-spacing:-.025em!important;
}
body.toplevel_page_ms-dashboard .ms-topbar p{
  font-size:13px!important;
  font-weight:400!important;
  color:#748197!important;
}
body.toplevel_page_ms-dashboard .ms-top-actions .button,
body.toplevel_page_ms-dashboard .ms-lang-switcher a{
  font-weight:600!important;
}
body.toplevel_page_ms-dashboard .ms-pro-kpi{
  min-height:96px!important;
  padding:14px 15px!important;
  border-radius:7px!important;
  box-shadow:0 2px 10px rgba(20,42,70,.035)!important;
}
body.toplevel_page_ms-dashboard .ms-pro-kpi-icon{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  border-radius:7px!important;
  font-size:23px!important;
  line-height:50px!important;
  box-shadow:none!important;
}
body.toplevel_page_ms-dashboard .ms-pro-kpi small{
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:500!important;
  color:#627087!important;
  margin-bottom:3px!important;
}
body.toplevel_page_ms-dashboard .ms-pro-kpi strong{
  font-size:18px!important;
  line-height:1.18!important;
  font-weight:650!important;
  letter-spacing:-.015em!important;
}
body.toplevel_page_ms-dashboard .ms-pro-kpi em{
  font-size:10px!important;
  line-height:1.25!important;
  font-weight:500!important;
  margin-top:6px!important;
}
body.toplevel_page_ms-dashboard .ms-accent-green .ms-pro-kpi-icon,
body.toplevel_page_ms-dashboard .ms-accent-green2 .ms-pro-kpi-icon{background:#10ad63!important}
body.toplevel_page_ms-dashboard .ms-accent-blue .ms-pro-kpi-icon{background:#168cf5!important}
body.toplevel_page_ms-dashboard .ms-accent-blue2 .ms-pro-kpi-icon{background:#2a7eea!important}
body.toplevel_page_ms-dashboard .ms-accent-orange .ms-pro-kpi-icon{background:#ff9f0a!important}
body.toplevel_page_ms-dashboard .ms-accent-purple .ms-pro-kpi-icon{background:#7b3ff2!important}
body.toplevel_page_ms-dashboard .ms-accent-red .ms-pro-kpi-icon{background:#ff5252!important}
body.toplevel_page_ms-dashboard .ms-accent-teal .ms-pro-kpi-icon{background:#18b5ad!important}

body.toplevel_page_ms-dashboard .ms-pro-panel{
  border-radius:7px!important;
  box-shadow:0 2px 10px rgba(20,42,70,.03)!important;
  padding:14px 15px!important;
}
body.toplevel_page_ms-dashboard .ms-pro-panel-h{
  margin-bottom:10px!important;
}
body.toplevel_page_ms-dashboard .ms-pro-panel-h h2{
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
}
body.toplevel_page_ms-dashboard .ms-pro-panel-h>span,
body.toplevel_page_ms-dashboard .ms-pro-panel-h>a{
  font-size:10.5px!important;
  font-weight:500!important;
  border-radius:5px!important;
}
body.toplevel_page_ms-dashboard .ms-chart-filter label{
  font-size:9px!important;
  font-weight:600!important;
  letter-spacing:.045em!important;
}
body.toplevel_page_ms-dashboard .ms-chart-filter select{
  height:32px!important;
  min-width:88px!important;
  border-radius:5px!important;
  font-size:11px!important;
  font-weight:500!important;
}
body.toplevel_page_ms-dashboard .ms-chart-filter .ms-chart-apply{
  height:32px!important;
  min-height:32px!important;
  border-radius:5px!important;
  font-size:10.5px!important;
  font-weight:600!important;
}
body.toplevel_page_ms-dashboard .ms-chart-foot{
  font-size:10px!important;
  font-weight:400!important;
}
body.toplevel_page_ms-dashboard .ms-chart-foot strong{
  font-size:11.5px!important;
  font-weight:600!important;
}
body.toplevel_page_ms-dashboard .ms-donut b{
  font-weight:650!important;
}
body.toplevel_page_ms-dashboard .ms-donut small,
body.toplevel_page_ms-dashboard .ms-donut-legend,
body.toplevel_page_ms-dashboard .ms-status-bars{
  font-weight:400!important;
}
body.toplevel_page_ms-dashboard .ms-pro-table th{
  font-weight:600!important;
}
body.toplevel_page_ms-dashboard .ms-pro-table td{
  font-weight:400!important;
}
body.toplevel_page_ms-dashboard .ms-pro-pill{
  font-weight:600!important;
  border-radius:4px!important;
}

/* keep long monetary values readable without aggressive ellipsis */
body.toplevel_page_ms-dashboard .ms-pro-kpi strong{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}

/* v2.5.4 — perfectly round repayment chart markers */
.ms-line-chart{position:relative}
.ms-line-chart .ms-chart-points{position:absolute;left:8px;right:8px;top:8px;height:175px;pointer-events:none;z-index:3}
.ms-line-chart .ms-chart-points i{position:absolute;width:9px;height:9px;box-sizing:border-box;border:2px solid #16a765;background:#fff;border-radius:50%;transform:translate(-50%,-50%);display:block}
.ms-line-chart.ms-line-daily .ms-chart-points{min-width:980px}
@media(max-width:782px){.ms-line-chart .ms-chart-points i{width:8px;height:8px}}

/* ============================================================
   v2.5.5 — Global symmetry + square/flat geometry pass
   Consistent controls, panels, cards and tables across admin/member.
   Circular semantic elements (avatars, chart markers, round icons) remain circular.
   ============================================================ */

/* Admin plugin surfaces: square geometry, consistent borders */
body.toplevel_page_ms-dashboard .ms-topbar,
body[class*="page_ms-"] .ms-topbar,
body.toplevel_page_ms-dashboard .ms-pro-kpi,
body.toplevel_page_ms-dashboard .ms-pro-panel,
body[class*="page_ms-"] .ms-card,
body[class*="page_ms-"] .ms-kpi,
body[class*="page_ms-"] .ms-table-wrap,
body[class*="page_ms-"] .ms-profile-meta>div,
body[class*="page_ms-"] .ms-settings-preview,
body[class*="page_ms-"] .ms-admin-logo-wrap,
body[class*="page_ms-"] .notice,
body[class*="page_ms-"] .updated,
body[class*="page_ms-"] .error{
  border-radius:0!important;
}

/* All plugin form controls and buttons: same rectangular shape */
body.toplevel_page_ms-dashboard input:not([type="checkbox"]):not([type="radio"]),
body.toplevel_page_ms-dashboard select,
body.toplevel_page_ms-dashboard textarea,
body.toplevel_page_ms-dashboard .button,
body.toplevel_page_ms-dashboard .button-primary,
body.toplevel_page_ms-dashboard .ms-lang-switcher a,
body[class*="page_ms-"] input:not([type="checkbox"]):not([type="radio"]),
body[class*="page_ms-"] select,
body[class*="page_ms-"] textarea,
body[class*="page_ms-"] .button,
body[class*="page_ms-"] .button-primary,
body[class*="page_ms-"] .ms-lang-switcher a,
body[class*="page_ms-"] .ms-badge,
body[class*="page_ms-"] .ms-pro-pill{
  border-radius:0!important;
  box-shadow:none!important;
}

/* Dashboard chart filters: exact symmetry */
body.toplevel_page_ms-dashboard .ms-chart-filter{
  display:grid!important;
  grid-template-columns:176px 190px 104px!important;
  align-items:end!important;
  gap:12px!important;
  margin-left:auto!important;
}
body.toplevel_page_ms-dashboard .ms-chart-filter label{
  display:grid!important;
  grid-template-rows:18px 44px!important;
  gap:5px!important;
  min-width:0!important;
  margin:0!important;
}
body.toplevel_page_ms-dashboard .ms-chart-filter select{
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0 38px 0 14px!important;
  border:1px solid #d6dfeb!important;
  border-radius:0!important;
  background-color:#fff!important;
  color:#233750!important;
  font-size:12px!important;
  line-height:42px!important;
  font-weight:500!important;
  box-sizing:border-box!important;
  vertical-align:middle!important;
}
body.toplevel_page_ms-dashboard .ms-chart-filter .ms-chart-apply{
  width:104px!important;
  min-width:104px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0!important;
  margin:23px 0 0!important;
  border:1px solid #2455ff!important;
  border-radius:0!important;
  background:#fff!important;
  color:#2455ff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:12px!important;
  line-height:42px!important;
  font-weight:600!important;
  box-sizing:border-box!important;
}
body.toplevel_page_ms-dashboard .ms-chart-filter .ms-chart-apply:hover,
body.toplevel_page_ms-dashboard .ms-chart-filter .ms-chart-apply:focus{
  background:#2455ff!important;
  color:#fff!important;
}

/* Dashboard cards: flatter and geometrically consistent */
body.toplevel_page_ms-dashboard .ms-pro-kpi,
body.toplevel_page_ms-dashboard .ms-pro-panel{
  border-radius:0!important;
  box-shadow:none!important;
  border:1px solid #dfe6ee!important;
}
body.toplevel_page_ms-dashboard .ms-pro-kpi-icon{
  border-radius:0!important;
}
body.toplevel_page_ms-dashboard .ms-pro-panel-h>span,
body.toplevel_page_ms-dashboard .ms-pro-panel-h>a{
  border-radius:0!important;
}
body.toplevel_page_ms-dashboard .ms-pro-table,
body.toplevel_page_ms-dashboard .ms-pro-table thead,
body.toplevel_page_ms-dashboard .ms-pro-table tbody,
body.toplevel_page_ms-dashboard .ms-pro-table tr,
body.toplevel_page_ms-dashboard .ms-pro-table th,
body.toplevel_page_ms-dashboard .ms-pro-table td{
  border-radius:0!important;
}
body.toplevel_page_ms-dashboard .ms-bar-track i{
  border-radius:0!important;
}
body.toplevel_page_ms-dashboard .ms-status-bars .track,
body.toplevel_page_ms-dashboard .ms-status-bars .track i{
  border-radius:0!important;
}

/* Keep deliberately circular visual semantics */
body.toplevel_page_ms-dashboard .ms-donut,
body.toplevel_page_ms-dashboard .ms-donut:after,
body.toplevel_page_ms-dashboard .ms-donut-legend i,
body.toplevel_page_ms-dashboard .ms-status-bars>div>span,
.ms-line-chart .ms-chart-points i,
body.ms-portal-standalone .ms-member-avatar,
body.ms-portal-standalone .ms-member-bell i{
  border-radius:50%!important;
}

/* Generic alignment/symmetry audit for plugin action rows */
body[class*="page_ms-"] .ms-top-actions,
body.toplevel_page_ms-dashboard .ms-top-actions{
  align-items:stretch!important;
}
body[class*="page_ms-"] .ms-top-actions .button,
body.toplevel_page_ms-dashboard .ms-top-actions .button,
body[class*="page_ms-"] .ms-lang-switcher a,
body.toplevel_page_ms-dashboard .ms-lang-switcher a{
  min-height:38px!important;
  height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
body[class*="page_ms-"] .ms-lang-switcher,
body.toplevel_page_ms-dashboard .ms-lang-switcher{
  display:flex!important;
  align-items:stretch!important;
}
body[class*="page_ms-"] .ms-lang-switcher a,
body.toplevel_page_ms-dashboard .ms-lang-switcher a{
  min-width:58px!important;
}

@media(max-width:900px){
  body.toplevel_page_ms-dashboard .ms-chart-filter{
    grid-template-columns:1fr 1fr 96px!important;
    width:100%!important;
    margin-left:0!important;
  }
}
@media(max-width:620px){
  body.toplevel_page_ms-dashboard .ms-chart-filter{
    grid-template-columns:1fr 1fr!important;
  }
  body.toplevel_page_ms-dashboard .ms-chart-filter .ms-chart-apply{
    width:100%!important;
    grid-column:1/-1!important;
    margin-top:0!important;
  }
}

/* v2.6.0 — official loan repayment rule */
.ms-fixed-finance-rule{min-height:40px;border:1px solid #dfe6ec;background:#f8fafb;padding:7px 10px;display:flex;align-items:center;gap:9px}
.ms-fixed-finance-rule strong{font-size:14px;font-weight:600;color:#18324c;white-space:nowrap}
.ms-fixed-finance-rule small{font-size:11px;font-weight:400;color:#64748b;line-height:1.25}

/* v2.7.0 — real dashboard trend semantics */
body.toplevel_page_ms-dashboard .ms-real-trend.up{color:#0b8f55!important}
body.toplevel_page_ms-dashboard .ms-real-trend.down{color:#c63b3b!important}
body.toplevel_page_ms-dashboard .ms-real-trend.flat{color:#6b7280!important}

/* v2.9.3 — QA readiness diagnostics */
.ms-check-pass{background:#e7f7ef!important;color:#087a4d!important;border-color:#bce9d3!important}
.ms-check-warning{background:#fff5dc!important;color:#8a5a00!important;border-color:#f0d89a!important}
.ms-check-fail{background:#fde9e9!important;color:#b42318!important;border-color:#f4bcbc!important}


/* v2.9.7 — live repayment preview in Quick Collection */
.ms-repayment-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dfe6ee;border:1px solid #dfe6ee;margin-top:-2px}
.ms-repayment-preview[hidden]{display:none!important}
.ms-repayment-preview>div{background:#fff;padding:14px 16px;min-height:66px;display:flex;flex-direction:column;justify-content:center}
.ms-repayment-preview small{display:block;color:#718096;font-size:12px;font-weight:700;margin-bottom:5px}
.ms-repayment-preview strong{font-size:17px;line-height:1.2;color:#20324a}
.ms-repayment-preview .is-interest strong{color:#0b7a53}
.ms-repayment-preview .is-total{background:#f5fbf8}
.ms-repayment-preview .is-total strong{font-size:19px;color:#086844}
@media (max-width:782px){.ms-repayment-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v2.9.8 — Quick Collection premium alignment polish */
.ms-collection-card{overflow:hidden}
.ms-collection-form{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
.ms-collection-form>label,.ms-collection-form>div{min-width:0;align-self:stretch}
.ms-collection-form label{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:8px!important;height:100%}
.ms-collection-form input,.ms-collection-form select,.ms-collection-form textarea{width:100%!important;box-sizing:border-box!important;border-radius:0!important;box-shadow:none!important}
.ms-collection-form input,.ms-collection-form select{height:48px!important;min-height:48px!important;padding:0 14px!important;font-size:14px!important;line-height:1.2!important}
.ms-collection-form textarea{min-height:120px!important;padding:12px 14px!important;line-height:1.45!important;resize:vertical}
.ms-collection-form .ms-field-help{display:block!important;min-height:19px!important;margin-top:8px!important;color:#6f7f92!important;font-size:12px!important;line-height:1.35!important}
.ms-collection-form #ms-collection-loan,.ms-collection-form #ms-collection-principal,.ms-collection-form #ms-collection-member{margin:0!important}
.ms-collection-form .ms-full{grid-column:1/-1!important}
.ms-repayment-preview{margin-top:0!important;border-radius:0!important;overflow:hidden!important}
.ms-repayment-preview>div{min-height:96px!important;padding:16px 18px!important}
.ms-repayment-preview strong{font-size:18px!important}
.ms-repayment-preview .is-total strong{font-size:20px!important}
.ms-collection-submit{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important}
.ms-collection-submit .button,.ms-collection-submit .button-primary{height:48px!important;min-height:48px!important;padding:0 18px!important;border-radius:0!important}
.ms-collection-submit small{display:block!important;max-width:780px!important;line-height:1.45!important}
@media (max-width:900px){.ms-collection-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:620px){.ms-collection-form{grid-template-columns:1fr!important}.ms-repayment-preview{grid-template-columns:1fr!important}}


/* v3.0.1 — focused member fiche + configurable fines */
.ms-member-focus-actions{display:flex;align-items:center;justify-content:flex-start;margin:0 0 14px}
.ms-member-focus-actions .button{border-radius:0!important;box-shadow:none!important}
.ms-movement-form .ms-field-help{display:block;margin-top:6px;color:#6f7f92;font-size:11px;font-weight:400;line-height:1.4}
.ms-movement-form input[list]{border-radius:0!important}


/* v3.0.2 — premium flat compact dashboards */
body.wp-admin .ms-topbar,
body[class*="page_ms-"] .ms-topbar,
body.toplevel_page_ms-dashboard .ms-topbar{padding:18px 20px!important;box-shadow:none!important;border-radius:0!important;background:#fff!important;border:1px solid #dfe6ee!important;border-left:4px solid var(--msx-green,#13a463)!important}
body.wp-admin .ms-topbar h1,body[class*="page_ms-"] .ms-topbar h1,body.toplevel_page_ms-dashboard .ms-topbar h1{font-size:28px!important;line-height:1.08!important}
body.wp-admin .ms-kpis,body[class*="page_ms-"] .ms-kpis,body.toplevel_page_ms-dashboard .ms-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:12px!important;margin-bottom:16px!important}
body.wp-admin .ms-kpi,body[class*="page_ms-"] .ms-kpi,body.toplevel_page_ms-dashboard .ms-kpi{min-height:74px!important;padding:14px 16px!important;border-radius:0!important;box-shadow:none!important;border:1px solid #dfe6ee!important;background:#fff!important}
body.wp-admin .ms-kpi small,body[class*="page_ms-"] .ms-kpi small,body.toplevel_page_ms-dashboard .ms-kpi small{font-size:10px!important;letter-spacing:.06em!important;margin-bottom:4px!important}
body.wp-admin .ms-kpi strong,body[class*="page_ms-"] .ms-kpi strong,body.toplevel_page_ms-dashboard .ms-kpi strong{font-size:17px!important;line-height:1.15!important;font-weight:800!important}
body.wp-admin .ms-card,body[class*="page_ms-"] .ms-card,body.toplevel_page_ms-dashboard .ms-card{padding:16px!important;border-radius:0!important;box-shadow:none!important;border:1px solid #dfe6ee!important;background:#fff!important}
body.wp-admin .ms-card h2,body[class*="page_ms-"] .ms-card h2,body.toplevel_page_ms-dashboard .ms-card h2{font-size:19px!important;line-height:1.15!important}
body.wp-admin .ms-card-h,body[class*="page_ms-"] .ms-card-h,body.toplevel_page_ms-dashboard .ms-card-h{margin-bottom:12px!important}
body.wp-admin .ms-table td,body.wp-admin .ms-table th,body[class*="page_ms-"] .ms-table td,body[class*="page_ms-"] .ms-table th,body.toplevel_page_ms-dashboard .ms-table td,body.toplevel_page_ms-dashboard .ms-table th{padding:10px 9px!important}

body.ms-portal-standalone .ms-member-topbar,
body.ms-portal-standalone .ms-member-content,
body.ms-portal-standalone .ms-member-main{background:#f6f8fb!important}
body.ms-portal-standalone .ms-member-side-nav a,
body.ms-portal-standalone .ms-member-logout,
body.ms-portal-standalone .ms-member-btn,
body.ms-portal-standalone .ms-member-statement-btn,
body.ms-portal-standalone .ms-status-pill,
body.ms-portal-standalone .ms-member-welcome,
body.ms-portal-standalone .ms-member-kpi-card,
body.ms-portal-standalone .ms-member-card,
body.ms-portal-standalone .ms-member-card .ms-table-wrap,
body.ms-portal-standalone .ms-profile-meta>div,
body.ms-portal-standalone .ms-summary-lines,
body.ms-portal-standalone .ms-member-alert,
body.ms-portal-standalone .ms-member-notice,
body.ms-portal-standalone .ms-member-transactions table,
body.ms-portal-standalone .ms-member-summary-title>span{border-radius:0!important;box-shadow:none!important}
body.ms-portal-standalone .ms-member-side-nav a.active,
body.ms-portal-standalone .ms-member-btn,
body.ms-portal-standalone .ms-member-statement-btn{background:#10ad63!important;color:#fff!important}
body.ms-portal-standalone .ms-member-logout{background:#fff!important;color:#0c8b51!important;border:1px solid #cfe2d9!important}
body.ms-portal-standalone .ms-member-welcome{padding:18px 20px!important;min-height:118px!important;margin-bottom:14px!important;border:1px solid #dfe6ee!important;background:#fff!important}
body.ms-portal-standalone .ms-member-welcome:before{width:4px!important;background:#10ad63!important}
body.ms-portal-standalone .ms-member-welcome h1{font-size:25px!important;line-height:1.05!important;margin:0 0 4px!important}
body.ms-portal-standalone .ms-member-welcome p{font-size:14px!important;line-height:1.4!important;margin-bottom:10px!important}
body.ms-portal-standalone .ms-member-welcome small{font-size:12px!important;line-height:1.35!important}
body.ms-portal-standalone .ms-member-welcome-art{display:none!important}
body.ms-portal-standalone .ms-member-kpis-premium{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:10px!important;margin-bottom:14px!important}
body.ms-portal-standalone .ms-member-kpi-card{min-height:92px!important;padding:12px 13px!important;border:1px solid #dfe6ee!important;background:#fff!important}
body.ms-portal-standalone .ms-member-kpi-icon{width:34px!important;height:34px!important;margin-bottom:8px!important;background:#eef4f8!important;color:#234!important;border-radius:0!important}
body.ms-portal-standalone .ms-member-kpi-icon svg{width:18px!important;height:18px!important;stroke:currentColor!important}
body.ms-portal-standalone .ms-member-kpi-label{font-size:9.5px!important;letter-spacing:.07em!important;margin-bottom:4px!important;color:#6f8094!important}
body.ms-portal-standalone .ms-member-kpi-card strong{font-size:16px!important;line-height:1.15!important;font-weight:800!important}
body.ms-portal-standalone .ms-member-grid-premium,body.ms-portal-standalone .ms-member-grid{gap:14px!important}
body.ms-portal-standalone .ms-member-card{padding:14px!important;border:1px solid #dfe6ee!important;background:#fff!important}
body.ms-portal-standalone .ms-member-card-h{margin-bottom:12px!important}
body.ms-portal-standalone .ms-member-card-h h3,body.ms-portal-standalone .ms-member-card h2{font-size:17px!important;line-height:1.15!important;font-weight:800!important}
body.ms-portal-standalone .ms-member-card .ms-table thead th{font-size:10px!important;padding:9px 10px!important;background:#f7f9fb!important}
body.ms-portal-standalone .ms-member-card .ms-table tbody td{font-size:12px!important;padding:9px 10px!important}
body.ms-portal-standalone .ms-profile-meta{gap:10px!important;margin-bottom:16px!important}
body.ms-portal-standalone .ms-profile-meta>div{padding:12px!important;border:1px solid #dfe6ee!important}
body.ms-portal-standalone .ms-summary-lines>div{padding:11px 0!important}
@media(max-width:900px){body.ms-portal-standalone .ms-member-kpis-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){body.ms-portal-standalone .ms-member-kpis-premium{grid-template-columns:1fr!important}body.ms-portal-standalone .ms-member-welcome{padding:16px!important}body.ms-portal-standalone .ms-member-kpi-card strong{font-size:15px!important}}


/* v4.0.1 — MityèlFasil product branding */
.ms-powered-mark{display:inline-flex;align-items:baseline;gap:6px;font-size:11px;letter-spacing:.03em;color:#5f7087;font-weight:700;text-transform:none}.ms-powered-mark strong{font-size:12px;color:#0a7f5d;font-weight:900}.ms-powered-mark.light{color:rgba(255,255,255,.72)}.ms-powered-mark.light strong{color:#8af0bf}.ms-topbar>div:first-child{display:flex;align-items:flex-start;gap:14px}.ms-topbar-copy{display:flex;flex-direction:column;gap:6px}.ms-admin-side-brand-lockup{display:flex;flex-direction:column;gap:6px}.ms-admin-side-brand-lockup small{color:rgba(255,255,255,.72);font-size:11px;font-weight:700;letter-spacing:.05em}.ms-admin-dashboard-logo{max-width:280px!important}.ms-wp-admin-side-brand{justify-content:flex-start!important}.ms-admin-logo-wrap{display:flex;align-items:center;min-height:36px}.ms-topbar .ms-powered-mark{margin-top:2px}
/* v4.0.2 — standalone MityèlFasil administration portal */
body.ms-admin-standalone{margin:0!important;background:#f5f7fa!important;color:#18283d!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;overflow:hidden!important}
body.ms-admin-standalone *{box-sizing:border-box}
body.ms-admin-standalone #wpadminbar{display:none!important}
.ms-admin-portal-app{position:fixed;inset:0;display:grid;grid-template-columns:248px minmax(0,1fr);width:100vw;height:100vh;background:#f5f7fa;overflow:hidden}
.ms-admin-portal-sidebar{height:100vh;background:#071f38;color:#fff;display:flex;flex-direction:column;border-right:1px solid #102f4d;overflow-y:auto}
.ms-admin-portal-brand{padding:20px 18px 16px;border-bottom:1px solid rgba(255,255,255,.09);display:flex;flex-direction:column;gap:9px;min-height:104px;justify-content:center}
.ms-admin-portal-brand img{display:block;max-width:185px;max-height:54px;object-fit:contain;object-position:left center;filter:none}
.ms-admin-portal-brand span{font-size:11px;color:rgba(255,255,255,.65);font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ms-admin-portal-sidebar nav{display:flex;flex-direction:column;padding:12px 0;flex:1}
.ms-admin-portal-sidebar nav a{display:flex;align-items:center;min-height:42px;padding:0 18px;border-left:3px solid transparent;color:#d6e0eb;text-decoration:none;font-size:13px;font-weight:650;transition:none}
.ms-admin-portal-sidebar nav a:hover{background:#0b2a49;color:#fff}
.ms-admin-portal-sidebar nav a.active{background:#0d385e;color:#fff;border-left-color:#17b96c}
.ms-admin-portal-sidefoot{padding:15px 18px 18px;border-top:1px solid rgba(255,255,255,.09);display:flex;flex-direction:column;gap:10px}
.ms-admin-portal-sidefoot>a{color:#d9e5ef;text-decoration:none;font-size:12px;font-weight:700}
.ms-admin-portal-main{min-width:0;height:100vh;display:flex;flex-direction:column;overflow:hidden}
.ms-admin-portal-top{height:62px;min-height:62px;background:#fff;border-bottom:1px solid #dfe6ee;display:flex;align-items:center;justify-content:space-between;padding:0 22px}
.ms-admin-portal-top>div{display:flex;align-items:center;gap:10px}
.ms-admin-portal-top b{font-size:14px;color:#10243e}.ms-admin-portal-top small{font-size:11px;color:#758399;text-transform:uppercase;letter-spacing:.07em}.ms-admin-portal-top span{font-size:12px;color:#53647b}.ms-admin-portal-top a{color:#0b8a5c;text-decoration:none;font-size:12px;font-weight:750;border-left:1px solid #dfe6ee;padding-left:10px}
.ms-admin-portal-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:18px 22px 28px}
body.ms-admin-standalone .ms-wrap{max-width:none!important;margin:0!important;padding:0!important}
body.ms-admin-standalone .ms-topbar{margin:0 0 16px!important}
body.ms-admin-standalone .notice{margin:0 0 14px!important}
body.ms-admin-standalone .ms-card,body.ms-admin-standalone .ms-topbar,body.ms-admin-standalone .ms-kpi,body.ms-admin-standalone input,body.ms-admin-standalone select,body.ms-admin-standalone textarea,body.ms-admin-standalone button,body.ms-admin-standalone .button{border-radius:0!important;box-shadow:none!important}
body.ms-admin-standalone a:focus,body.ms-admin-standalone button:focus{box-shadow:none!important;outline:2px solid rgba(16,173,99,.25);outline-offset:1px}
body.ms-admin-standalone .wrap h1,body.ms-admin-standalone .wrap h2,body.ms-admin-standalone .wrap h3{color:#14243b}
body.ms-admin-standalone .ms-top-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
body.ms-admin-standalone .button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
@media(max-width:900px){.ms-admin-portal-app{grid-template-columns:205px minmax(0,1fr)}.ms-admin-portal-content{padding:14px}.ms-admin-portal-brand img{max-width:150px}}
@media(max-width:700px){body.ms-admin-standalone{overflow:auto!important}.ms-admin-portal-app{position:relative;display:block;height:auto;min-height:100vh;overflow:visible}.ms-admin-portal-sidebar{height:auto;position:relative}.ms-admin-portal-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.ms-admin-portal-sidebar nav a{border-left:0;border-bottom:2px solid transparent;padding:0 12px}.ms-admin-portal-sidebar nav a.active{border-bottom-color:#17b96c}.ms-admin-portal-sidefoot{display:none}.ms-admin-portal-main{height:auto;overflow:visible}.ms-admin-portal-content{overflow:visible}.ms-admin-portal-top{position:sticky;top:0;z-index:20}}


/* v4.0.3 — white dashboard logos + size/alignment controls */
.ms-admin-portal-brand img,
.ms-admin-dashboard-logo,
.ms-admin-sidebar-logo-white{filter:brightness(0) invert(1)!important;opacity:1!important}
.ms-admin-portal-brand.align-left{align-items:flex-start!important;text-align:left!important}
.ms-admin-portal-brand.align-center{align-items:center!important;text-align:center!important}
.ms-admin-portal-brand.align-right{align-items:flex-end!important;text-align:right!important}
.ms-admin-logo-wrap{background:#071f38!important;min-width:150px!important;min-height:74px!important;padding:10px 14px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important}
.ms-admin-logo-wrap.align-left{justify-content:flex-start!important}.ms-admin-logo-wrap.align-center{justify-content:center!important}.ms-admin-logo-wrap.align-right{justify-content:flex-end!important}
.ms-admin-side-brand-lockup{width:100%!important}.ms-admin-side-brand-lockup.align-left{align-items:flex-start!important}.ms-admin-side-brand-lockup.align-center{align-items:center!important}.ms-admin-side-brand-lockup.align-right{align-items:flex-end!important}
.ms-logo-control-row{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(180px,.5fr)!important;gap:14px!important;align-items:end!important;margin-top:8px!important}
.ms-logo-align-control{display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important}.ms-logo-align-control select{width:100%!important}
.ms-logo-preview-box{min-height:110px!important;background:#071f38!important;border:1px solid #163a5c!important;margin-top:10px!important;padding:14px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important}
.ms-logo-preview-box.align-left{justify-content:flex-start!important}.ms-logo-preview-box.align-center{justify-content:center!important}.ms-logo-preview-box.align-right{justify-content:flex-end!important}
.ms-logo-preview-box .ms-logo-preview{margin:0!important;padding:0!important;border:0!important;background:transparent!important;filter:brightness(0) invert(1)!important;max-height:78px!important;object-fit:contain!important}
@media(max-width:700px){.ms-logo-control-row{grid-template-columns:1fr!important}}


/* v4.0.4 — standalone admin route + WordPress switch */
.ms-admin-portal-user-actions{display:flex;align-items:center;gap:12px}.ms-admin-portal-user-actions>a{text-decoration:none}.ms-admin-portal-top .ms-wp-switch-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid #d5dde7;background:#fff;color:#17324f;font-size:12px;font-weight:800;border-radius:0;box-shadow:none}.ms-admin-portal-top .ms-wp-switch-btn:hover{border-color:#0b8a63;color:#0b8a63;background:#f8fbfa}.ms-admin-portal-sidebar nav a{pointer-events:auto!important;cursor:pointer!important}.ms-admin-portal-sidebar nav a:focus-visible{outline:2px solid #27d892;outline-offset:-2px}


/* v4.0.5 — standalone admin force-fix: routing-safe UI + compact typography */
body.ms-admin-standalone .ms-admin-portal-content .ms-topbar{
  min-height:auto!important;
  padding:16px 18px!important;
  margin:0 0 14px!important;
  border:1px solid #dfe6ee!important;
  border-left:3px solid #12ad66!important;
  background:#fff!important;
  box-shadow:none!important;
  border-radius:0!important;
  align-items:center!important;
}
body.ms-admin-standalone .ms-admin-portal-content .ms-topbar-copy{gap:3px!important}
body.ms-admin-standalone .ms-admin-portal-content .ms-topbar h1{
  margin:0!important;
  font-size:22px!important;
  line-height:1.12!important;
  font-weight:650!important;
  letter-spacing:-.018em!important;
  color:#172a43!important;
}
body.ms-admin-standalone .ms-admin-portal-content .ms-topbar p{
  margin:3px 0 0!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:400!important;
  color:#708096!important;
}
body.ms-admin-standalone .ms-admin-portal-content .ms-topbar .ms-powered-mark{font-size:9px!important;margin-top:4px!important}
body.ms-admin-standalone .ms-admin-portal-content .ms-topbar .ms-powered-mark strong{font-size:10px!important}
body.ms-admin-standalone .ms-admin-logo-wrap{display:none!important}
body.ms-admin-standalone .ms-pro-kpis{gap:10px!important;margin-bottom:14px!important}
body.ms-admin-standalone .ms-pro-kpi{
  min-height:84px!important;
  padding:12px 13px!important;
  border:1px solid #dfe6ee!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  gap:11px!important;
}
body.ms-admin-standalone .ms-pro-kpi-icon{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  line-height:42px!important;
  font-size:20px!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.ms-admin-standalone .ms-pro-kpi small{
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:550!important;
  color:#5f6f86!important;
  margin-bottom:2px!important;
}
body.ms-admin-standalone .ms-pro-kpi strong{
  font-size:16px!important;
  line-height:1.15!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.ms-admin-standalone .ms-pro-kpi em{
  font-size:9.5px!important;
  line-height:1.2!important;
  font-weight:550!important;
  margin-top:4px!important;
}
body.ms-admin-standalone .ms-pro-panel,
body.ms-admin-standalone .ms-card,
body.ms-admin-standalone .ms-table-wrap,
body.ms-admin-standalone .ms-pro-table,
body.ms-admin-standalone .ms-filter,
body.ms-admin-standalone .ms-repayment-preview{
  border-radius:0!important;
  box-shadow:none!important;
}
body.ms-admin-standalone .ms-pro-panel{border:1px solid #dfe6ee!important;background:#fff!important}
body.ms-admin-standalone .ms-pro-panel-h h2,
body.ms-admin-standalone .ms-card h2{
  font-size:16px!important;
  line-height:1.2!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
}
body.ms-admin-standalone .ms-admin-portal-sidebar nav a{
  min-height:40px!important;
  font-size:12px!important;
  font-weight:600!important;
}
