/*
 * NTIMA OS v13.11.2 — Cœurs NTIMA member engagement.
 * Member portal only. Existing header, summary, information card and desktop
 * layout remain owned by their established stylesheets.
 */
body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-heart-stat{display:none}
body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-three-stats>div:last-child{border-left:1px solid #e9eeeb}
body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-heart-stat{
  align-items:center;gap:8px;min-width:0;padding:12px 10px;color:#193b2c!important;text-decoration:none!important
}
body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-heart-stat span{min-width:0}
body.wfms-portal-active .wfms-member-v1082 .wfms-solid-heart{fill:currentColor!important;stroke:none!important}

/* Larger engagement card placed directly under Message du Président. */
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel{
  position:relative;margin:0 0 16px;padding-bottom:0;border:1px solid #cde8d7;border-radius:24px;
  background:radial-gradient(circle at 100% 0,rgba(114,218,150,.18) 0 24%,transparent 25%),linear-gradient(135deg,#f4fbf7 0%,#ffffff 58%,#edf8f1 100%);
  box-shadow:0 12px 34px rgba(7,84,57,.08);overflow:hidden
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-track{position:relative;min-height:172px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide{
  display:none;grid-template-columns:54px minmax(0,1fr) 120px 22px;align-items:center;gap:14px;
  min-height:172px;padding:20px 18px 56px;color:#193e2f!important;text-decoration:none!important
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide.is-active{display:grid;animation:ntimaHeartsSlideIn .28s ease both}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide>i{
  display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:18px;
  background:linear-gradient(145deg,#087443,#075239);color:#fff;font-style:normal;box-shadow:0 8px 18px rgba(8,116,67,.2)
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide svg{
  width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide span{display:block;min-width:0}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual{
  display:flex;align-items:center;justify-content:center;align-self:stretch;min-width:0;
  border-radius:18px;background:linear-gradient(145deg,#f3fbf6,#e8f7ee);border:1px solid #dbeee3;overflow:hidden
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual svg{width:100%;height:100%;max-width:108px;max-height:108px;stroke:none!important}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual.is-mission{background:linear-gradient(145deg,#edf9f1,#dff5e8)}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual.is-referrals{background:linear-gradient(145deg,#eefaf2,#e4f7eb)}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual.is-impact{background:linear-gradient(145deg,#eef9f2,#e1f5e9)}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual.is-security{background:linear-gradient(145deg,#f4fbf7,#e8f5ee)}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide span>small{
  display:block;margin-bottom:5px;color:#188356;font-size:10px;font-weight:850;letter-spacing:.1em
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide strong{
  display:block;margin-bottom:6px;color:#175635;font-size:21px;line-height:1.18
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide em{
  display:block;color:#62776b;font-size:13px;line-height:1.6;font-style:normal
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide>b{align-self:center;color:#087640;font-size:22px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-nav{
  position:absolute;left:16px;right:16px;bottom:14px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-arrow{
  display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:1px solid #d0e4d8;border-radius:999px;background:#fff;color:#087640;font-size:18px;box-shadow:0 6px 16px rgba(7,84,57,.08)
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-arrow:hover{background:#edf8f1}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-dots{
  position:static;flex:1;z-index:3;display:flex;justify-content:center;gap:6px;pointer-events:auto
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-dots button{
  width:7px;height:7px;min-width:0;margin:0;padding:0;border:0;border-radius:999px;background:#a7c8b7;box-shadow:none;pointer-events:auto
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-dots button.is-active{width:20px;background:#087640}
@keyframes ntimaHeartsSlideIn{from{opacity:.3;transform:translateX(8px)}to{opacity:1;transform:none}}

/* Shared Cœurs NTIMA section language. */
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page,.ntima-referrals-page,.ntima-missions-page,.ntima-rewards-page){
  display:grid;gap:15px;color:#163c2c
}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page,.ntima-referrals-page,.ntima-missions-page,.ntima-rewards-page) *{box-sizing:border-box}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page-head,.ntima-subpage-head){
  display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px;border-radius:22px;
  color:#fff;background:linear-gradient(135deg,#087640,#0b9251);box-shadow:0 13px 32px rgba(7,118,64,.18)
}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page-head,.ntima-subpage-head)>div{min-width:0}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page-head,.ntima-subpage-head) small{
  display:block;margin:0 0 4px;font-size:9px;font-weight:850;letter-spacing:.1em;opacity:.82
}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page-head,.ntima-subpage-head) h2{margin:0;font-size:25px;line-height:1.1;color:inherit}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page-head,.ntima-subpage-head) p{margin:6px 0 0;font-size:12px;line-height:1.4;color:inherit;opacity:.9}
body.wfms-portal-active .wfms-member-v1082 .ntima-subpage-head>span{font-size:38px;line-height:1}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-main-balance{
  display:grid;justify-items:center;min-width:92px;padding:11px 13px;border:1px solid rgba(255,255,255,.28);border-radius:18px;background:rgba(255,255,255,.13)
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-main-balance b{font-size:19px;line-height:1;color:#baffcf}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-main-balance strong{font-size:26px;line-height:1.05;color:#fff}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-main-balance small{margin:2px 0 0;letter-spacing:0;text-transform:none}

body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-level-card,.ntima-hearts-history,.ntima-referral-code-card,.ntima-referral-rules,.ntima-referral-list,.ntima-mission-list,.ntima-reward-history){
  padding:17px;border:1px solid #dceae2;border-radius:20px;background:#fff;box-shadow:0 9px 24px rgba(20,52,39,.06)
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-level-card>div:first-child{display:flex;align-items:center;gap:12px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-level-card>div:first-child>span{font-size:32px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-level-card small{display:block;color:#708179;font-size:9px;font-weight:800;letter-spacing:.08em}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-level-card strong{display:block;margin:2px 0;color:#164c32;font-size:18px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-level-card p{margin:0;color:#6b7c73;font-size:11px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-progress,
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-progress>span{display:block;height:7px;margin-top:13px;border-radius:99px;background:#e7f1eb;overflow:hidden}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-progress,.ntima-referral-progress>span)>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#16a360,#72da96)}

body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid a{
  display:grid;align-content:start;gap:5px;min-height:128px;padding:14px;border:1px solid #dceae2;border-radius:18px;background:#f7fbf8;color:#183e2f!important;text-decoration:none!important
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid span{font-size:24px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid strong{font-size:13px;line-height:1.2}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid small{color:#6f8178;font-size:10px;line-height:1.35}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-section-title small{display:block;color:#087640;font-size:8px;font-weight:850;letter-spacing:.1em}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-section-title h3{margin:2px 0 0;color:#163f2e;font-size:17px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-section-title>span{padding:5px 9px;border-radius:99px;background:#eaf7ef;color:#087640;font-size:9px;font-weight:800}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-event-list{display:grid;gap:8px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-event-list article{
  display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;align-items:center;padding:11px;border-radius:14px;background:#f8fbf9
}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-event-list article>span{font-size:14px;font-weight:900;text-align:center}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-event-list .is-positive{color:#078346}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-event-list .is-negative{color:#b42318}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-event-list small,
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-event-list em{display:block;color:#728178;font-size:9px;font-style:normal}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-event-list strong{display:block;margin:2px 0;color:#193e2f;font-size:11px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-disclaimer{margin:0;padding:12px 14px;border-radius:14px;background:#f4f7f5;color:#65756d;font-size:10px;line-height:1.45}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-empty{display:grid;justify-items:center;gap:5px;padding:25px 15px;text-align:center;color:#6d7d75}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-empty>span{font-size:32px}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-empty strong{color:#234a38}
body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-empty p{max-width:430px;margin:0;font-size:11px;line-height:1.45}

/* Referral area. */
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:center;gap:18px;background:linear-gradient(135deg,#fff,#f1faf5)}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card>div>small{display:block;color:#087640;font-size:9px;font-weight:850;letter-spacing:.09em}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card>div>strong{display:block;margin:7px 0;color:#123f2b;font-size:23px;letter-spacing:.04em;overflow-wrap:anywhere}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card p{margin:0 0 12px;color:#66786f;font-size:11px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card>div>div{display:flex;flex-wrap:wrap;gap:8px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card button,
body.wfms-portal-active .wfms-member-v1082 .ntima-featured-mission a{
  min-height:36px;padding:8px 13px;border:0;border-radius:11px;background:#087640;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:800;box-shadow:none
}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card img{display:block;width:130px;height:130px;padding:7px;border:1px solid #d9e9e0;border-radius:15px;background:#fff}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules>h3,
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list>h3{margin:0 0 13px;color:#173f2e;font-size:17px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules article{display:grid;gap:5px;padding:12px;border-radius:15px;background:#f6faf7}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules article>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dff5e8;color:#087640;font-weight:900}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules strong{font-size:11px;line-height:1.25}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules small{color:#708078;font-size:9.5px;line-height:1.35}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-list{display:grid;gap:10px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-person{display:grid;gap:10px;padding:13px;border-radius:16px;background:#f8fbf9}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-person>div:first-child{display:flex;align-items:center;gap:10px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-person>div:first-child>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#dff4e8;color:#087640;font-weight:900}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-person strong,
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-person small{display:block}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-person strong{font-size:12px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-person small{color:#73827a;font-size:9px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-milestones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-milestones p{margin:0;padding:7px 9px;border-radius:10px;background:#fff;color:#54675d;font-size:9.5px}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-milestones b{color:#078346}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-progress>span{margin:0}
body.wfms-portal-active .wfms-member-v1082 .ntima-referral-progress>small{display:block;margin-top:5px;color:#697a71;font-size:9px}

/* Missions and rewards. */
body.wfms-portal-active .wfms-member-v1082 .ntima-featured-mission,
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-campaign{padding:18px;border:1px solid #bfe7ce;border-radius:20px;background:linear-gradient(135deg,#e9f8ef,#fff);box-shadow:0 9px 24px rgba(20,52,39,.06)}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-featured-mission,.ntima-reward-campaign)>small{color:#087640;font-size:9px;font-weight:850;letter-spacing:.09em}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-featured-mission,.ntima-reward-campaign) h3{margin:5px 0;color:#164b31;font-size:20px}
body.wfms-portal-active .wfms-member-v1082 :is(.ntima-featured-mission,.ntima-reward-campaign) p{margin:0 0 13px;color:#61746a;font-size:11px;line-height:1.45}
body.wfms-portal-active .wfms-member-v1082 .ntima-featured-mission>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.wfms-portal-active .wfms-member-v1082 .ntima-featured-mission strong{color:#087640;font-size:12px}
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list>div{display:grid;gap:8px}
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border-radius:14px;background:#f8fbf9}
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e6f6ec}
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list strong,
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list small{display:block}
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list strong{font-size:11px}
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list small{margin-top:2px;color:#718078;font-size:9px}
body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list b{color:#087640;font-size:10px;text-align:right}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-campaign.is-inactive{border-color:#dde5e0;background:#f8faf9}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-campaign>span{display:inline-block;padding:6px 10px;border-radius:99px;background:#fff;color:#315c47;font-size:10px;font-weight:800}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-history{display:grid;gap:9px}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-history article{display:flex;justify-content:space-between;gap:12px;padding:12px;border-radius:14px;background:#f8fbf9}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-history article small,
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-history article strong{display:block}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-history article small{color:#718178;font-size:9px}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-history article strong{margin:3px 0;color:#087640;font-size:16px}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-history article p{margin:0;color:#5f7268;font-size:10px}
body.wfms-portal-active .wfms-member-v1082 .ntima-reward-history article>span{align-self:center;color:#6b7c73;font-size:9px;text-align:right}

/* Celebration overlay. */
.ntima-hearts-celebration-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:22px;background:rgba(8,32,22,.58);backdrop-filter:blur(8px)}
.ntima-hearts-celebration-modal[hidden]{display:none!important}
.ntima-hearts-celebration-card{position:relative;width:min(390px,100%);padding:28px 22px 22px;border-radius:26px;background:#fff;text-align:center;box-shadow:0 28px 80px rgba(0,0,0,.25);animation:ntimaHeartCelebrate .38s cubic-bezier(.2,.8,.2,1) both}
.ntima-hearts-celebration-card>button{position:absolute;right:12px;top:10px;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#eef5f1;color:#264c3a;font-size:23px;line-height:1;box-shadow:none}
.ntima-hearts-celebration-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 13px;border-radius:50%;background:linear-gradient(135deg,#d9f8e5,#a9efc1);color:#087640;font-size:34px;box-shadow:0 10px 28px rgba(8,118,64,.2)}
.ntima-hearts-celebration-card h3{margin:0;color:#143d2b;font-size:23px}
.ntima-hearts-celebration-card p{margin:8px auto 13px;max-width:300px;color:#63746b;font-size:12px;line-height:1.45}
.ntima-hearts-celebration-highlight{display:block;margin:0 auto 8px;color:#087640;font-size:23px;font-weight:900}
.ntima-hearts-celebration-balance{display:inline-block;padding:7px 11px;border-radius:99px;background:#edf8f1;color:#315d48;font-size:10px;font-weight:800}
@keyframes ntimaHeartCelebrate{from{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}

@media (max-width:760px){
  body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-three-stats.ntima-hearts-enabled .wfms-v1082-join-stat{display:none!important}
  body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-three-stats.ntima-hearts-enabled .wfms-v1082-heart-stat{display:flex!important;border-left:1px solid #e9eeeb;padding:8px 7px!important;gap:6px!important}
  body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-heart-stat i{width:25px!important;height:25px!important;flex-basis:25px!important}
  body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-heart-stat small{margin-bottom:2px!important;font-size:7.3px!important}
  body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-heart-stat strong{font-size:9.3px!important;line-height:1.16!important;white-space:nowrap}
  body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-three-stats>div:last-child{border-left:1px solid #e9eeeb!important}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel{border-radius:20px;margin:0 0 14px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-track{min-height:154px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide{grid-template-columns:42px minmax(0,1fr) 88px 16px;gap:11px;min-height:154px;padding:15px 14px 52px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide>i{width:42px;height:42px;border-radius:14px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide svg{width:22px;height:22px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual{border-radius:15px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual svg{max-width:76px;max-height:76px;width:100%;height:100%}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide span>small{font-size:8px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide strong{font-size:17px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide em{font-size:11px;line-height:1.45}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-arrow{width:34px;height:34px;font-size:16px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-nav{left:12px;right:12px;bottom:12px}
  body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page,.ntima-referrals-page,.ntima-missions-page,.ntima-rewards-page){gap:11px}
  body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page-head,.ntima-subpage-head){padding:16px;border-radius:19px}
  body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page-head,.ntima-subpage-head) h2{font-size:21px}
  body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-page-head,.ntima-subpage-head) p{font-size:10.5px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-main-balance{min-width:78px;padding:9px 10px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-main-balance strong{font-size:22px}
  body.wfms-portal-active .wfms-member-v1082 :is(.ntima-hearts-level-card,.ntima-hearts-history,.ntima-referral-code-card,.ntima-referral-rules,.ntima-referral-list,.ntima-mission-list,.ntima-reward-history){padding:14px;border-radius:18px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid{gap:7px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid a{min-height:112px;padding:11px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid span{font-size:21px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid strong{font-size:10.5px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid small{font-size:8.5px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card{grid-template-columns:minmax(0,1fr) 92px;gap:10px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card>div>strong{font-size:17px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card img{width:92px;height:92px;padding:4px;border-radius:12px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules>div{grid-template-columns:1fr}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules article{grid-template-columns:30px minmax(0,1fr);align-items:center}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-rules article small{grid-column:2}
  body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list article{grid-template-columns:31px minmax(0,1fr)}
  body.wfms-portal-active .wfms-member-v1082 .ntima-mission-list article>b{grid-column:2;text-align:left}
}
@media (max-width:390px){
  body.wfms-portal-active .wfms-member-v1082 .wfms-v1082-heart-stat strong{font-size:8.4px!important}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide{grid-template-columns:38px minmax(0,1fr) 70px 14px;padding:14px 12px 50px;gap:8px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide>i{width:38px;height:38px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide strong{font-size:15px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide em{font-size:10px;line-height:1.38}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-visual svg{max-width:58px;max-height:58px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid{grid-template-columns:1fr}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid a{min-height:0;grid-template-columns:30px minmax(0,1fr);align-items:center}
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-earn-grid a small{grid-column:2}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card{grid-template-columns:1fr}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-code-card img{justify-self:center;width:124px;height:124px}
  body.wfms-portal-active .wfms-member-v1082 .ntima-referral-milestones{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  body.wfms-portal-active .wfms-member-v1082 .ntima-hearts-carousel-slide.is-active,
  .ntima-hearts-celebration-card{animation:none!important}
}


/* NTIMA OS v13.11.3 — desktop parity for the already-approved member shortcuts.
   This block is intentionally desktop-only and does not alter mobile or admin. */
@media (min-width:761px){
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-three-stats.ntima-hearts-enabled .wfms-v1082-join-stat{
    display:none!important;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-three-stats.ntima-hearts-enabled .wfms-v1082-heart-stat{
    display:flex!important;align-items:center;gap:12px;min-width:0;padding:17px 18px;
    border-left:1px solid #e9eeeb;color:#193b2c!important;text-decoration:none!important;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-heart-stat span{min-width:0}
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-heart-stat small{font-size:11px}
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-heart-stat strong{font-size:14px;white-space:nowrap}

  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-quick-actions{
    position:relative;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-menu{
    display:block!important;position:relative;min-width:0;margin:0;padding:0;z-index:50;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-menu>summary{
    display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;
    min-width:0;padding:2px 1px 0;border:0;background:transparent;color:#153a2b;
    cursor:pointer;list-style:none;font:inherit;-webkit-tap-highlight-color:transparent;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-menu>summary::-webkit-details-marker{display:none}
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-menu>summary::marker{display:none;content:""}
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-menu>summary>i{
    display:flex;align-items:center;justify-content:center;width:72px!important;height:72px!important;
    border:1px solid #e6ebe8;border-radius:50%;background:#fff;color:#087743;
    box-shadow:0 7px 18px rgba(17,61,41,.08);font-style:normal;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-menu[open]>summary>i{
    border-color:#8ed4ad;background:#e8f8ee;color:#066f3c;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-menu>summary svg{
    width:31px!important;height:31px!important;fill:none;stroke:currentColor;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-menu>summary>span{
    display:block;min-height:27px;color:#1b4031;font-size:13px;line-height:1.22;
    font-weight:750;text-align:center;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-panel{
    position:absolute;top:calc(100% + 10px);right:0;width:min(540px,calc(100vw - 80px));
    padding:15px;border:1px solid #cfe5d9;border-radius:20px;background:rgba(255,255,255,.985);
    box-shadow:0 22px 54px rgba(14,62,41,.20);z-index:999;
    backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-panel>strong{
    display:block;margin:0 0 11px;padding:0 3px;color:#61766b;font-size:10px;line-height:1.2;
    font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-panel>div{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-panel a{
    display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;align-items:center!important;
    justify-content:initial!important;gap:10px!important;min-width:0;min-height:58px;padding:10px!important;
    border:1px solid #e0ebe5!important;border-radius:14px!important;background:#f8fcfa!important;
    color:#173f30!important;text-align:left!important;text-decoration:none!important;box-shadow:none!important;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-panel a:hover{
    border-color:#b9dfc8!important;background:#edf9f2!important;transform:translateY(-1px);
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-panel a>i{
    display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;
    height:36px!important;border:0!important;border-radius:11px!important;background:#e7f6ed!important;
    color:#087743!important;box-shadow:none!important;font-style:normal!important;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-panel a svg{
    width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;
    stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  body.wfms-portal-active .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-more-panel a>span{
    display:block!important;min-height:0!important;color:#173f30!important;font-size:11px!important;
    line-height:1.2!important;font-weight:760!important;text-align:left!important;overflow-wrap:anywhere;
  }
}
