/* EMSUK Learning: scoped, responsive member dashboard. */
.emg-app{--emg-green:#13734f;--emg-deep:#174536;--emg-ink:#233e35;--emg-muted:#64766f;--emg-line:#dfe8e3;box-sizing:border-box;width:100%;max-width:none;margin:24px auto;color:var(--emg-ink);font-family:inherit;font-size:16px;line-height:1.6;container-type:inline-size}
.emg-app *{box-sizing:border-box}.emg-app [hidden]{display:none!important}.emg-app h2,.emg-app h3,.emg-app h4,.emg-app p{padding:0;letter-spacing:normal;text-transform:none}.emg-app h3{font-size:23px;line-height:1.3;margin:0 0 12px;color:var(--emg-deep)}.emg-app p{margin:0 0 12px}.emg-app a{color:var(--emg-green);text-decoration:underline}.emg-eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:800;color:var(--emg-green)}
.emg-app .emg-heading{padding:0 0 20px;margin:0;background:none;border:0;border-bottom:1px solid var(--emg-line);border-radius:0;box-shadow:none}.emg-app .emg-heading h2{font-size:clamp(26px,3vw,40px);font-weight:750;line-height:1.2;margin:8px 0 10px;padding:0;color:var(--emg-deep);text-transform:none;letter-spacing:-.8px}.emg-heading p{font-size:15px;color:var(--emg-muted);margin:0!important}.emg-message{min-height:44px;padding:12px 0;font-size:11px;color:var(--emg-muted)}
.emg-icon{width:21px;height:21px;display:block;flex-shrink:0}.emg-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.emg-stats>div{position:relative;padding:25px 26px;background:#fff;border:1px solid var(--emg-line);border-radius:18px;box-shadow:0 5px 18px #173c2e06;min-width:0}.emg-stats>div.emg-stat-total{border-color:#bcdbcc;background:#f2faf5}.emg-stats>div>span:not(.emg-stat-icon){display:block;max-width:calc(100% - 44px);font-size:10px;line-height:1.5;letter-spacing:1px;font-weight:750;color:var(--emg-muted)}.emg-stats strong{display:block;color:var(--emg-deep);font-size:clamp(28px,3vw,44px);font-weight:750;line-height:1.1;letter-spacing:-1px;margin:17px 0 10px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.emg-stats small{display:block;font-size:11px;color:var(--emg-muted)}.emg-stat-icon{display:flex;align-items:center;justify-content:center;position:absolute;right:24px;top:22px;width:38px;height:38px;background:#edf5f0;border:1px solid #dcebe2;border-radius:12px;color:var(--emg-green)}.emg-stat-total .emg-stat-icon{background:var(--emg-green);border-color:var(--emg-green);color:#fff}
.emg-app .emg-level{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,30%) auto;align-items:center;gap:30px;padding:25px 28px;margin:20px 0 28px;border:1px solid #d2e5d9;border-radius:18px;background:#fff;box-shadow:inset 4px 0 0 #26845b}.emg-level-copy{min-width:0}.emg-level h3{font-size:23px;margin:6px 0}.emg-level p{margin:0;font-size:13px;color:var(--emg-muted)}.emg-app .emg-level progress{appearance:none;display:block;width:100%;min-width:0;height:9px;margin:0;overflow:hidden;border:0;border-radius:20px;background:#e3eee7;accent-color:var(--emg-green)}.emg-level progress::-webkit-progress-bar{background:#e3eee7}.emg-level progress::-webkit-progress-value{border-radius:20px;background:var(--emg-green)}.emg-level progress::-moz-progress-bar{border-radius:20px;background:var(--emg-green)}.emg-app .emg-current-badge{display:flex;flex-direction:column;align-items:center;gap:5px;width:116px;margin:0;padding:0;text-align:center}.emg-current-badge img{display:block;width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 5px 7px #173c2e14)}.emg-current-badge figcaption span{display:block;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--emg-muted)}.emg-current-badge figcaption strong{display:block;font-size:12px;line-height:1.4;color:var(--emg-deep);overflow-wrap:anywhere}
.emg-badges-section{padding:24px 26px;margin:0 0 28px;background:#fff;border:1px solid var(--emg-line);border-radius:18px}.emg-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.emg-section-heading h3{font-size:21px;margin:5px 0 0}.emg-count{font-size:11px;font-weight:650;white-space:nowrap;color:var(--emg-green);background:#eff7f2;border:1px solid #d8e9df;padding:6px 12px;border-radius:30px}.emg-badges{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px}.emg-badge{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-width:0;padding:18px 12px;border:1px solid #d7e9df;background:#f8fcf9;border-radius:14px}.emg-badge img{width:78px;height:78px;object-fit:contain}.emg-badge strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.emg-badge span{font-size:10px;color:var(--emg-green)}.emg-badge-locked{border-style:dashed;background:#fafbfa;border-color:#dbe3de}.emg-badge-locked img{filter:grayscale(1);opacity:.35}.emg-badge-locked strong,.emg-badge-locked span{color:var(--emg-muted)}
.emg-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.emg-board{min-width:0;background:#fff;border:1px solid var(--emg-line);border-radius:18px;overflow:hidden;box-shadow:0 6px 22px #173c2e05}.emg-board-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 26px 20px}.emg-board-heading h3{font-size:25px;margin:5px 0 0;letter-spacing:-.5px}.emg-app button{font:inherit;font-size:13px;line-height:1.4;font-weight:650;cursor:pointer;white-space:normal;min-height:44px}.emg-refresh,.emg-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--emg-green);border-radius:10px;background:var(--emg-green);color:#fff;padding:10px 16px;transition:background .15s}.emg-refresh .emg-icon{width:16px;height:16px}.emg-refresh:hover,.emg-button:hover{background:#0c593c}.emg-app button:disabled{opacity:.6;cursor:wait}.emg-app button:focus-visible,.emg-app input:focus-visible,.emg-app summary:focus-visible,.emg-app a:focus-visible{outline:3px solid #387ba5;outline-offset:3px}.emg-filters{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:0 26px 16px}.emg-periods{display:inline-flex;gap:3px;background:#f0f5f2;border:1px solid #e1e9e4;border-radius:11px;padding:4px}.emg-periods button{padding:9px 18px;border:0;border-radius:8px;background:transparent;color:#547163}.emg-periods button[aria-pressed=true]{background:var(--emg-green);color:#fff;box-shadow:0 2px 5px #154b3420}.emg-filters label{font-size:11px;color:var(--emg-muted);display:flex;align-items:center;gap:10px}.emg-filters input{font:inherit;font-size:12px;color:var(--emg-ink);background:#fff;border:1px solid #d5e1d9;border-radius:8px;padding:10px;min-height:44px;max-width:100%}.emg-app .emg-period-label{margin:0;padding:0 26px 12px;font-size:12px;color:var(--emg-muted)}.emg-app [data-selected-summary]{color:var(--emg-green);padding-bottom:18px}
.emg-app .emg-table{width:100%;table-layout:fixed;border-collapse:collapse;border:0;margin:0}.emg-app .emg-table th,.emg-app .emg-table td{border:0;border-top:1px solid #edf1ee;padding:15px 20px;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.emg-app .emg-table th{background:#f7f9f7;color:var(--emg-muted);font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:700}.emg-app .emg-table th:first-child,.emg-app .emg-table td:first-child{width:82px;padding-left:26px}.emg-app .emg-table th:last-child,.emg-app .emg-table td:last-child{width:120px;padding-right:26px;text-align:right}.emg-app .emg-table td:last-child{font-size:18px;letter-spacing:-.4px;font-weight:750;color:var(--emg-deep);font-variant-numeric:tabular-nums}.emg-member{display:flex;align-items:center;gap:12px;min-width:0}.emg-member-name{font-size:14px;font-weight:650;overflow-wrap:anywhere}.emg-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:#edf3ef;color:#567362;font-size:11px;font-weight:750;letter-spacing:.5px}.emg-rank-badge{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;font-size:13px;font-weight:750;color:#7a8b80;background:#f2f5f3;border:1px solid #e4ebe6;border-radius:10px}.emg-rank-1{background:#fff2cc;border-color:#edd28b;color:#89630f}.emg-rank-2{background:#eef0f3;border-color:#d7dfe6;color:#536474}.emg-rank-3{background:#f9ece0;border-color:#ecd3bc;color:#94623e}.emg-top-three .emg-avatar{background:#e5efe8;color:var(--emg-green)}.emg-app .emg-table tr.emg-you{background:#f0faf3;box-shadow:inset 3px 0 0 var(--emg-green)}.emg-you-label{display:inline-flex;flex-shrink:0;font-size:9px;background:#dcefe2;color:#175c3a;padding:2px 7px;border-radius:20px;font-weight:700}.emg-empty{text-align:center;padding:35px 24px;background:#fbfcfb}.emg-empty h4{font-size:18px;margin:0 0 10px;color:var(--emg-deep)}.emg-empty p{font-size:13px;color:var(--emg-muted)}.emg-note{font-size:11px;color:var(--emg-muted)}.emg-board>.emg-note{padding:17px 26px;margin:0;border-top:1px solid var(--emg-line)}
.emg-card{background:#fff;border:1px solid var(--emg-line);border-radius:16px;padding:23px;margin:0 0 18px}.emg-card h3{font-size:19px;margin:7px 0 16px}.emg-card p,.emg-card li{font-size:13px;color:var(--emg-muted)}.emg-card ol{list-style:none;counter-reset:steps;margin:0 0 18px;padding:0}.emg-card ol li{counter-increment:steps;position:relative;padding-left:36px;min-height:26px;margin:0 0 15px}.emg-card ol li::before{content:counter(steps);position:absolute;left:0;top:0;width:24px;height:24px;border-radius:8px;background:#edf5ef;color:var(--emg-green);font-size:11px;line-height:24px;text-align:center;font-weight:700}.emg-card-soft{background:#f3f8f4;border-color:#d8e6db}.emg-card-soft .emg-note{padding-top:14px;border-top:1px solid #dbe6df}.emg-private{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin-top:26px}.emg-card summary{font-size:15px;font-weight:700;color:var(--emg-deep);cursor:pointer}.emg-card form{margin-top:20px}.emg-card form>label{display:block;font-size:12px;margin-bottom:7px}.emg-card form>input[type=text]{width:100%;font:inherit;font-size:14px;padding:11px 13px;border:1px solid #ccdcd1;border-radius:9px;color:var(--emg-ink);background:#fff;margin-bottom:10px}.emg-card .emg-check{display:flex;align-items:center;gap:10px;margin-top:18px}.emg-check input{width:18px;height:18px;accent-color:var(--emg-green)}.emg-history{list-style:none;padding:0!important;margin:16px 0 0!important}.emg-history li{display:flex;justify-content:space-between;gap:16px;margin:0;padding:14px 0;border-top:1px solid var(--emg-line)}.emg-history span{min-width:0;overflow-wrap:anywhere}.emg-history small{display:block;font-size:10px;color:var(--emg-muted)}.emg-history strong{color:var(--emg-green);font-size:15px;white-space:nowrap}.emg-signin{padding:18px 22px;background:#edf7ef;border:1px solid #d5e7da;border-radius:12px}.emg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.emg-compact .emg-layout,.emg-compact .emg-private,.emg-compact .emg-badges-section,.emg-compact .emg-stats>div:last-child{display:none!important}.emg-compact .emg-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.emg-compact .emg-heading h2{font-size:26px}.emg-compact .emg-heading p{display:none}.emg-widget-link{margin-top:16px!important;font-weight:700;font-size:13px}
body.emg-full-page #main-content.emg-full-page-main{width:100%;max-width:none;margin:0;padding:0;background:#f7f9f7}body.emg-full-page .emg-page-inner{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:32px clamp(16px,3vw,56px)}body.emg-full-page .emg-page-inner .emg-app{width:100%;max-width:none;margin:0}body.emg-full-page .emg-full-page-main:before,body.emg-full-page .emg-full-page-main:after{display:none}body.emg-full-page.et_boxed_layout #page-container{width:100%;max-width:none}body.emg-full-page .emg-full-page-main .emg-page-inner>.emg-app{margin-left:0;margin-right:0}
@media(max-width:1000px){.emg-layout{grid-template-columns:1fr}.emg-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.emg-aside .emg-card{margin:0}}
@container(max-width:1000px){.emg-layout{grid-template-columns:1fr}.emg-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.emg-aside .emg-card{margin:0}}
@media(max-width:600px){.emg-app{margin:16px auto}.emg-stats{gap:8px}.emg-stats>div{padding:14px 10px;border-radius:12px}.emg-stat-icon{position:static;width:29px;height:29px;margin-bottom:12px;border-radius:9px}.emg-stat-icon .emg-icon{width:16px;height:16px}.emg-stats>div>span:not(.emg-stat-icon){font-size:8px;letter-spacing:.5px;max-width:100%;min-height:24px}.emg-stats strong{font-size:27px;margin:9px 0 0}.emg-stats small{display:none}.emg-app .emg-level{grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:20px;margin-top:14px}.emg-level h3{font-size:20px}.emg-app .emg-level progress{grid-column:1/-1;grid-row:2}.emg-app .emg-current-badge{grid-column:2;grid-row:1;width:74px}.emg-current-badge img{width:70px;height:70px}.emg-current-badge figcaption strong{font-size:10px}.emg-badges-section{padding:20px 16px}.emg-section-heading{gap:8px}.emg-section-heading h3{font-size:18px}.emg-count{font-size:9px;padding:4px 8px}.emg-badges{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.emg-badge{padding:14px 10px}.emg-badge img{width:65px;height:65px}.emg-board-heading{padding:20px 16px}.emg-board-heading h3{font-size:21px}.emg-filters{padding:0 16px 16px}.emg-filters label{width:100%}.emg-app .emg-period-label{padding-left:16px;padding-right:16px}.emg-app .emg-table th,.emg-app .emg-table td{padding:13px 8px}.emg-app .emg-table th{font-size:9px;letter-spacing:.4px}.emg-app .emg-table th:first-child,.emg-app .emg-table td:first-child{width:53px;padding-left:12px}.emg-app .emg-table th:last-child,.emg-app .emg-table td:last-child{width:75px;padding-right:12px}.emg-app .emg-table td:last-child{font-size:16px}.emg-rank-badge{width:27px;height:27px;border-radius:8px}.emg-member{gap:8px;flex-wrap:wrap}.emg-member-name{font-size:12px;flex:1;min-width:50px}.emg-avatar{width:27px;height:27px;font-size:9px}.emg-aside,.emg-private{grid-template-columns:1fr}.emg-private{gap:0}.emg-note{overflow-wrap:anywhere}.emg-refresh{padding:9px 12px}.emg-board>.emg-note{padding:16px}.emg-card{padding:20px}}
@container(max-width:600px){.emg-aside,.emg-private{grid-template-columns:1fr}.emg-app .emg-level{grid-template-columns:minmax(0,1fr) auto;gap:16px}.emg-app .emg-level progress{grid-column:1/-1;grid-row:2}.emg-app .emg-current-badge{grid-column:2;grid-row:1;width:74px}.emg-current-badge img{width:70px;height:70px}.emg-filters label{width:100%}.emg-stats small{display:none}}
@media(prefers-reduced-motion:reduce){.emg-app *{transition:none!important}}
@media print{.emg-filters,.emg-refresh,.emg-private,.emg-signin{display:none!important}.emg-layout{display:block}.emg-aside{display:none}.emg-app .emg-stats>div,.emg-app .emg-level,.emg-badges-section{break-inside:avoid;box-shadow:none}.emg-app .emg-table tr{break-inside:avoid}}

/* Achievement-focused visual treatment. */
.emg-app{--emg-green:#087d56;--emg-deep:#123f34}
.emg-app .emg-heading{border-bottom:0;padding-bottom:8px}
.emg-app .emg-heading h2{font-weight:850;letter-spacing:-1.2px}
.emg-heading .emg-eyebrow::before{content:"";display:inline-block;width:26px;height:4px;border-radius:4px;background:#b5d633;margin:0 9px 3px 0}
.emg-stats>div{overflow:hidden;border:0;box-shadow:0 9px 24px #123f3410;padding:28px;border-radius:22px;background:linear-gradient(125deg,#e8f6ec,#f9fcdf)}
.emg-stats>div::after{content:"";position:absolute;width:150px;height:150px;border:22px solid #ffffff38;border-radius:50%;right:-56px;bottom:-82px;pointer-events:none}
.emg-stats>div.emg-stat-total{background:linear-gradient(120deg,#084b3d,#087d56);border:0}
.emg-stats>div:nth-child(3){background:linear-gradient(125deg,#fff1cc,#fff9ea)}
.emg-stats strong{font-size:clamp(32px,4vw,56px);font-weight:850;letter-spacing:-2px}
.emg-stats .emg-stat-total strong{color:#fff}
.emg-stats>div.emg-stat-total>span:not(.emg-stat-icon),.emg-stat-total small{color:#d3ebdc}
.emg-stat-total .emg-stat-icon{color:#d9ef65;background:#ffffff14;border-color:#ffffff2e}
.emg-stats>div:nth-child(3) .emg-stat-icon{background:#fbe5ab;color:#805608;border-color:#e9cd8a}
.emg-app .emg-level{border-radius:22px;border-color:#c4dfce;background:linear-gradient(110deg,#fff 45%,#edf8ed);box-shadow:inset 5px 0 0 #8aaf2b,0 6px 20px #123f3408;padding:28px 32px}
.emg-app .emg-level progress{height:14px;border:2px solid #fff;box-shadow:0 0 0 1px #cfe1d6}
.emg-level progress::-webkit-progress-value{background:linear-gradient(90deg,#087d56,#a2cc3c)}
.emg-level progress::-moz-progress-bar{background:linear-gradient(90deg,#087d56,#a2cc3c)}
.emg-app .emg-current-badge{width:140px;padding:10px;background:radial-gradient(circle at 50% 40%,#d8edaa 0,#eaf5d9 42%,transparent 65%)}
.emg-current-badge img{width:112px;height:112px;filter:drop-shadow(0 8px 8px #22563825)}
.emg-badges-section{border-radius:22px;background:linear-gradient(135deg,#fff,#f6f9f0)}
.emg-badge{position:relative;background:radial-gradient(ellipse at 50% 20%,#e5f3c2,transparent 65%),#f9fcf6;border:1px solid #cee2b5;box-shadow:0 5px 12px #21463208;padding:24px 14px;border-radius:18px;transition:transform .2s,box-shadow .2s}
.emg-badge-earned::before{content:"✓";position:absolute;top:10px;right:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#147a51;color:white;font-size:13px;font-weight:800}
.emg-badge-earned img{width:96px;height:96px;filter:drop-shadow(0 7px 6px #325c3425)}
.emg-badge-locked{background:repeating-linear-gradient(135deg,#f8faf8 0,#f8faf8 8px,#f1f5f1 8px,#f1f5f1 9px);box-shadow:none}
.emg-badge strong{font-size:15px}.emg-badge span{font-size:11px}
.emg-board{border-radius:22px;box-shadow:0 10px 30px #123f340b}
.emg-board-heading{border-top:5px solid #0d7954;background:linear-gradient(100deg,#f1f8ed,#fff)}
.emg-filters{padding-top:16px}
.emg-podium{display:flex;align-items:flex-end;justify-content:center;gap:12px;padding:28px 26px 24px;background:radial-gradient(ellipse at 50% 90%,#eef3da,transparent 70%)}
.emg-podium-card{flex:1;min-width:0;max-width:260px;text-align:center;padding:22px 12px 18px;border-radius:22px 22px 10px 10px;background:linear-gradient(135deg,#edf2f7,#dce5ed);border:1px solid #cbd6df;box-shadow:0 8px 16px #203e3210;position:relative}
.emg-podium-place-1{order:2;padding-top:32px;padding-bottom:30px;background:linear-gradient(135deg,#fff3b9,#f5da85);border-color:#dfbc58}
.emg-podium-place-2{order:1}.emg-podium-place-3{order:3;background:linear-gradient(135deg,#f9e8dc,#ecd0b8);border-color:#dbb794}
.emg-podium-medal{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border:3px solid #fff;border-radius:50%;background:#647c90;color:#fff;font-size:20px;font-weight:850;box-shadow:0 0 0 4px #ffffff50,0 5px 10px #173c2e15}
.emg-podium-place-1 .emg-podium-medal{width:66px;height:66px;background:#8d680f;color:#fff7d6}
.emg-podium-place-3 .emg-podium-medal{background:#936443}
.emg-podium-card strong{display:block;font-size:14px;color:#283d34;overflow-wrap:anywhere;line-height:1.35}
.emg-podium-score{display:block;font-size:32px;font-weight:850;line-height:1.3;letter-spacing:-1px;color:#173f33;margin-top:10px;overflow-wrap:anywhere}
.emg-podium-card small{font-size:9px;letter-spacing:1.8px;color:#425647;font-weight:750}
.emg-card-soft{background:linear-gradient(145deg,#0f483b,#126c4d);border:0;box-shadow:0 8px 20px #174c3420}
.emg-card-soft h3{color:#fff}.emg-card-soft p,.emg-card-soft li,.emg-card-soft .emg-note{color:#e0eee3}.emg-card-soft .emg-eyebrow{color:#d3e88c}.emg-card-soft .emg-note{border-color:#ffffff2b}
.emg-card-soft ol li::before{background:#cce78d;color:#214b32}
body.emg-full-page #main-content.emg-full-page-main{background:radial-gradient(ellipse at 100% 0,#eaf0dc,transparent 45%),#f3f6f2}
@media(hover:hover){.emg-badge-earned:hover{transform:translateY(-4px);box-shadow:0 10px 20px #21463216}}
@media(max-width:600px){.emg-stats>div{padding:15px 10px;border-radius:15px}.emg-stats strong{font-size:29px;letter-spacing:-1px}.emg-app .emg-level{padding:20px 16px}.emg-app .emg-current-badge{width:88px;padding:4px}.emg-current-badge img{width:78px;height:78px}.emg-badge-earned img{width:78px;height:78px}.emg-badge strong{font-size:13px}.emg-podium{gap:7px;padding:22px 10px 20px}.emg-podium-card{padding:18px 6px 14px;border-radius:16px 16px 8px 8px}.emg-podium-place-1{padding-top:28px;padding-bottom:25px}.emg-podium-medal{width:40px;height:40px;font-size:15px;border-width:2px}.emg-podium-place-1 .emg-podium-medal{width:48px;height:48px}.emg-podium-card strong{font-size:11px}.emg-podium-score{font-size:23px}.emg-podium-card small{font-size:8px;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){.emg-badge-earned:hover{transform:none}}

/* Keep the monthly information readable under theme text overrides. */
.emg-app .emg-card.emg-card-soft,.emg-app .emg-card.emg-card-soft *{color:#fff!important;opacity:1}
/* Approved journey dashboard. */
.emg-app{--emg-ink:#12382d;--emg-deep:#063b2e;--emg-muted:#65716e;font-family:inherit}
.emg-app .emg-heading{padding:0 26px 8px}.emg-brand{font-size:25px;font-weight:800;color:#083d30;letter-spacing:-.7px}.emg-app .emg-heading h2{font-size:clamp(32px,4vw,60px);letter-spacing:-1.8px;line-height:1.12;margin:8px 0 12px;font-weight:850}.emg-heading p{font-size:20px;letter-spacing:.3px}.emg-message{min-height:24px;padding:0 26px 6px;font-size:10px}
.emg-overview{display:grid;grid-template-columns:180px minmax(130px,1fr) repeat(3,minmax(110px,1fr)) minmax(240px,1.7fr);align-items:center;gap:22px;background:#fff;border:1px solid #e2e9e5;border-radius:12px;padding:20px 28px;box-shadow:0 4px 13px #173c2e06}
.emg-ring{--emg-progress:0%;width:170px;height:170px;border-radius:50%;padding:12px;background:conic-gradient(from 0deg,#21663c 0%,#67bd61 var(--emg-progress),#e6e9e7 var(--emg-progress));flex-shrink:0}.emg-ring>div{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;background:#fff}.emg-ring strong{font-size:38px;font-weight:800;line-height:1.2;letter-spacing:-1px}.emg-ring span{font-size:13px;color:#53615b}
.emg-milestone{font-size:13px;color:#55625e;max-width:160px}.emg-milestone p{margin:0}.emg-metric{border-left:1px solid #e8ece9;min-width:0;padding:12px 0 12px 24px}.emg-metric>span{display:block;font-size:13px;color:#55625e;white-space:nowrap}.emg-metric strong{display:block;font-size:36px;font-weight:800;color:#0b3a2c;line-height:1.25;margin-top:6px;overflow-wrap:anywhere}
.emg-app .emg-current-badge{display:flex;flex-direction:row;width:auto;min-width:0;padding:0 0 0 22px;border-left:1px solid #e8ece9;background:none;gap:20px;text-align:left}.emg-current-badge img{width:140px;height:140px;object-fit:contain;filter:drop-shadow(0 3px 3px #304d3018)}.emg-current-badge figcaption span{font-size:10px;letter-spacing:1px;color:#53605a}.emg-current-badge figcaption strong{font-size:18px;color:#103b2d}
.emg-chart-card{background:white;border:1px solid #e2e9e5;border-radius:12px;margin:12px 0;padding:14px 24px 8px;box-shadow:0 4px 13px #173c2e06}.emg-chart-card h3{font-size:21px;margin:0}.emg-chart-note{font-size:10px;color:#69746d;margin:0!important}.emg-chart{width:100%;overflow-x:auto}.emg-chart svg{display:block;width:100%;height:140px;min-width:560px}
.emg-layout{grid-template-columns:minmax(0,1.6fr) minmax(330px,1fr);gap:12px}.emg-board{display:grid;grid-template-columns:1fr auto;align-content:start;border-radius:12px;padding:14px 22px 0;box-shadow:0 4px 13px #173c2e06}.emg-board-heading{border:0;background:none;padding:0;gap:8px;align-items:start}.emg-board-heading .emg-eyebrow{display:none}.emg-board-heading h3{font-size:22px;letter-spacing:-.5px;margin:0}.emg-refresh{min-height:32px!important;padding:6px;font-size:0!important;background:transparent;color:#2c684d;border:0}.emg-refresh .emg-icon{width:16px;height:16px}.emg-refresh:hover{background:#eef4ef;color:#174f32}.emg-filters{padding:0;gap:10px;justify-content:flex-end}.emg-periods{padding:2px;background:#f5f6f5;border-radius:9px}.emg-periods button{min-height:34px;padding:6px 14px;font-size:11px}.emg-filters label{font-size:0;gap:0;width:auto}.emg-filters input{min-height:36px;padding:5px 7px;font-size:11px}.emg-app .emg-period-label{grid-column:1/-1;padding:6px 0 0;font-size:10px}.emg-app [data-selected-summary]{padding-bottom:6px}.emg-table,.emg-empty,.emg-board>.emg-note{grid-column:1/-1}
.emg-app .emg-table th,.emg-app .emg-table td{padding:7px 10px;border-top:1px solid #eef1ef}.emg-app .emg-table th{background:white;font-size:12px;letter-spacing:0;text-transform:none;font-weight:500}.emg-app .emg-table th:first-child,.emg-app .emg-table td:first-child{width:66px;padding-left:10px}.emg-app .emg-table th:last-child,.emg-app .emg-table td:last-child{width:90px;padding-right:12px}.emg-app .emg-table td:last-child{font-size:14px;font-weight:600}.emg-member-name{font-size:13px;font-weight:550}.emg-avatar{width:27px;height:27px;font-size:10px;background:#dce4e8;color:#263d43}.emg-rank-badge{border:0;background:none;font-size:14px;color:#14362a;width:25px;height:25px;border-radius:0}.emg-rank-trophy{display:inline-flex;align-items:center;justify-content:center;background:none!important;filter:drop-shadow(0 1px 1px rgba(13,37,29,.18))}.emg-rank-trophy svg{display:block;width:27px;height:27px;fill:currentColor}.emg-rank-trophy.emg-rank-1{color:#d4a017}.emg-rank-trophy.emg-rank-2{color:#8796a3}.emg-rank-trophy.emg-rank-3{color:#a8653a}.emg-rank-number{display:inline-flex;align-items:center;justify-content:center;color:#14362a}.emg-app .emg-table tr.emg-you{background:#e2f6e5;box-shadow:none}.emg-you-label{background:#398548;color:#fff}.emg-board>.emg-note{padding:10px 0;font-size:9px}
.emg-aside{display:block}.emg-badges-section{background:white;border-radius:12px;padding:18px 22px;margin:0 0 12px}.emg-section-heading{margin:0 0 12px;gap:10px}.emg-section-heading h3{font-size:22px;margin:0}.emg-count{font-size:9px;padding:3px 7px}.emg-badges{grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:12px}.emg-badge{border:0;border-radius:0;padding:0;background:none;box-shadow:none;gap:7px}.emg-badge-earned::before{display:none}.emg-badge img,.emg-badge-earned img{width:100%;max-width:104px;height:104px;object-fit:contain;filter:drop-shadow(0 3px 3px #304d3018)}.emg-badge-locked img{filter:grayscale(1);opacity:.4}.emg-badge strong{font-size:12px;font-weight:500;color:#425348}.emg-badge span{font-size:10px}.emg-badge-earned:hover{transform:none;box-shadow:none}
.emg-card-soft{position:relative;overflow:hidden;border-radius:12px;padding:24px 26px;background:linear-gradient(125deg,#083e30,#105639);margin:0}.emg-card-soft::after{content:"";position:absolute;right:-50px;bottom:-100px;width:170px;height:260px;border:24px solid #ffffff06;border-radius:50%;transform:rotate(45deg);pointer-events:none}.emg-card-soft h3{font-size:22px;margin:8px 0 14px}.emg-card-soft p{font-size:14px;line-height:1.65}.emg-card-soft .emg-note{font-size:10px}.emg-private{margin-top:14px;gap:12px}.emg-private .emg-card{border-radius:12px}.emg-compact .emg-chart-card{display:none}.emg-compact .emg-overview{display:flex;flex-wrap:wrap}.emg-compact .emg-metric{border-left:0}
body.emg-full-page #main-content.emg-full-page-main{background:#f6f8f6}body.emg-full-page .emg-page-inner{padding:26px clamp(16px,4vw,72px)}
@media(max-width:1200px){.emg-overview{grid-template-columns:150px 1fr repeat(3,1fr);gap:14px}.emg-ring{width:145px;height:145px}.emg-app .emg-current-badge{grid-column:1/-1;border-left:0;border-top:1px solid #e8ece9;padding:14px 0 0;justify-content:center}.emg-current-badge img{width:90px;height:90px}.emg-board{display:block}.emg-filters{justify-content:flex-start;margin-top:12px}.emg-board-heading{align-items:center;justify-content:space-between}}
@media(max-width:850px){.emg-layout{grid-template-columns:1fr}.emg-overview{grid-template-columns:145px 1fr 1fr;gap:18px}.emg-milestone{grid-column:2/-1;max-width:none}.emg-metric{padding:0;border:0}.emg-metric>span{white-space:normal}.emg-app .emg-heading{padding-left:0;padding-right:0}.emg-message{padding-left:0}.emg-heading p{font-size:16px}.emg-aside{display:block}}
@media(max-width:600px){.emg-brand{font-size:20px}.emg-app .emg-heading h2{font-size:34px;letter-spacing:-1px}.emg-overview{padding:18px;gap:20px 12px;grid-template-columns:repeat(3,minmax(0,1fr))}.emg-ring{grid-column:1/3;width:140px;height:140px;justify-self:center}.emg-milestone{grid-column:3;font-size:11px}.emg-ring strong{font-size:32px}.emg-metric strong{font-size:27px}.emg-metric>span{font-size:11px}.emg-app .emg-current-badge{grid-column:1/-1;grid-row:auto;width:auto;gap:16px}.emg-current-badge figcaption strong{font-size:17px}.emg-chart-card{padding:14px}.emg-chart-card h3{font-size:20px}.emg-board{padding:16px 12px 0}.emg-app .emg-table td:first-child,.emg-app .emg-table th:first-child{width:44px;padding-left:3px}.emg-app .emg-table td:last-child,.emg-app .emg-table th:last-child{width:64px;padding-right:3px}.emg-member{gap:7px}.emg-member-name{font-size:12px}.emg-board-heading h3{font-size:22px}.emg-badges-section{padding:18px}.emg-private{display:block}.emg-filters label{width:auto}.emg-app .emg-period-label{padding-left:0;padding-right:0}}

.emg-chart svg{min-width:0;height:150px;width:100%}.emg-metric strong.emg-unranked{font-size:18px;overflow-wrap:normal}.emg-overview:has(.emg-current-badge[hidden]){grid-template-columns:180px minmax(130px,1fr) repeat(3,minmax(110px,1fr))}
@media(max-width:850px){.emg-overview:has(.emg-current-badge[hidden]){grid-template-columns:145px 1fr 1fr}}
@media(max-width:600px){.emg-overview:has(.emg-current-badge[hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}.emg-metric strong.emg-unranked{font-size:15px}}


.emg-compact.emg-with-board .emg-layout{display:block!important}.emg-compact.emg-with-board .emg-aside{display:none}

/* 1.5.4: give the leaderboard controls a little more breathing room. */
.emg-board{column-gap:14px}.emg-filters{gap:16px}.emg-periods{gap:7px}
