/*
 * Shared stylesheet for local_ascend_ilearn plugin pages.
 * Extracted from inline stylesheet blocks for Moodle standards compliance.
 */

/* Dashboard styles (index.mustache) */
.path-local-ascend_ilearn {
    --aa-font: 'Montserrat', 'Segoe UI', sans-serif;
    --aa-gap: 16px;
    --aa-pad: 16px;
    --aa-card-radius: 0;
    --aa-chamfer: 14px;
    --aa-surface: #ffffff;
    --aa-surface-soft: #f7fbff;
    --aa-surface-border: rgba(15,108,191,0.16);
    --aa-surface-border-strong: rgba(15,108,191,0.32);
    --aa-surface-shadow: 0 18px 36px rgba(13, 54, 110, 0.08);
    --aa-surface-shadow-hover: 0 22px 48px rgba(13, 54, 110, 0.12);
    --aa-text: #0f1e35;
    --aa-text-soft: #5d6d86;
    --aa-accent: #0f6cbf;
    --aa-accent-soft: rgba(15,108,191,0.12);
  }

.path-local-ascend_ilearn{background:linear-gradient(180deg,#f6f9fd 0%,#edf4fb 100%)!important;font-family:var(--aa-font);}
.path-local-ascend_ilearn #page,
.path-local-ascend_ilearn #page-content,
.path-local-ascend_ilearn #region-main{background:transparent!important;}
.path-local-ascend_ilearn #page-header{display:none;}
body#page-local-ascend_ilearn-admin_dashboard.path-local-ascend_ilearn #page-header{display:block;}
.path-local-ascend_ilearn #page.drawers .main-inner{max-width:70%;width:100%;margin:0 auto;border-radius:0;background-color:#fff;padding:1.5rem .5rem;margin-top:.5rem;margin-bottom:3rem;flex:1 0 auto;clip-path:polygon(var(--aa-chamfer) 0,calc(100% - var(--aa-chamfer)) 0,100% var(--aa-chamfer),100% calc(100% - var(--aa-chamfer)),calc(100% - var(--aa-chamfer)) 100%,var(--aa-chamfer) 100%,0 calc(100% - var(--aa-chamfer)),0 var(--aa-chamfer));box-shadow:var(--aa-surface-shadow);border:1px solid rgba(15,108,191,0.08);}
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn #page.drawers .main-inner{max-width:70%;}
body#page-local-ascend_ilearn-admin_dashboard.path-local-ascend_ilearn #page.drawers .main-inner{max-width:90%;}
body.path-local-ascend_ilearn-admin_analytics.path-local-ascend_ilearn #page-header{display:block;}
body.path-local-ascend_ilearn-admin_analytics.path-local-ascend_ilearn #page.drawers .main-inner{max-width:90%;padding:1.5rem 1rem;}
  .path-local-ascend_ilearn #page-debug,.path-local-ascend_ilearn .debug,.path-local-ascend_ilearn .notifytiny{display:none!important;}

  /* Main wrapper inside region-main */
  .path-local-ascend_ilearn .aa-wrap{padding:12px 0;color:var(--aa-text);}

  /* Base card styles */
  .path-local-ascend_ilearn .aa-filter-bar,.path-local-ascend_ilearn .aa-congrats,.path-local-ascend_ilearn .section--instructions,.path-local-ascend_ilearn .aa-card,.path-local-ascend_ilearn .aa-panel,.path-local-ascend_ilearn .aa-balance-bar,.path-local-ascend_ilearn .aa-rank-bar{
    background:linear-gradient(to bottom,#00B3F0 0%,#00B3F0 72%,#00A0E0 100%);
    border:1px solid rgba(255,255,255,.06);
    border-radius:var(--aa-card-radius);
    box-shadow:var(--aa-shadow);
    padding:var(--aa-pad);
    margin-bottom:var(--aa-gap);
  }

  /* Balance and Rank bars */
  .path-local-ascend_ilearn .aa-balance-rank-container{display:grid;grid-template-columns:1fr 1fr;gap:var(--aa-gap);margin-bottom:var(--aa-gap);}
  .path-local-ascend_ilearn .aa-balance-bar,.path-local-ascend_ilearn .aa-rank-bar{display:flex;flex-direction:column;align-items:center;text-align:center;}
  .path-local-ascend_ilearn .aa-balance-bar img,.path-local-ascend_ilearn .aa-rank-bar img{height:90px;width:auto;object-fit:contain;margin-bottom:12px;}
  .path-local-ascend_ilearn .aa-balance-bar .aa-muted,.path-local-ascend_ilearn .aa-rank-bar .aa-muted{min-height:20px;}
  .path-local-ascend_ilearn .aa-balance-bar > div,.path-local-ascend_ilearn .aa-rank-bar > div{display:flex;flex-direction:column;align-items:center;}
  .path-local-ascend_ilearn .rank-main{font-size:28px;font-weight:800;min-height:38px;display:flex;align-items:center;justify-content:center;}
  @media (max-width:768px){.path-local-ascend_ilearn .aa-balance-rank-container{grid-template-columns:1fr;}}

  .path-local-ascend_ilearn .aa-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--aa-gap);margin:16px 0;}
  @media (max-width:1200px){.path-local-ascend_ilearn .aa-kpis{grid-template-columns:repeat(2,1fr)}}
  @media (max-width:600px){.path-local-ascend_ilearn .aa-kpis{grid-template-columns:1fr}}
  .path-local-ascend_ilearn .aa-card,.path-local-ascend_ilearn .aa-panel,.path-local-ascend_ilearn .aa-xp-card,.path-local-ascend_ilearn .aa-rank-card{padding:var(--aa-pad);margin-bottom:var(--aa-gap);background:linear-gradient(to bottom,#01142E 0%,#010828 100%);border:1px solid rgba(255,255,255,.06);border-radius:var(--aa-card-radius);box-shadow:var(--aa-shadow);}
  /* Ensure 'You' row styling is identical in Top 10 and My Position */
  .path-local-ascend_ilearn .leaderboard { list-style: none; margin: 0; padding: 0; }
  .path-local-ascend_ilearn .leaderboard li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; }
  .path-local-ascend_ilearn .leaderboard li .pos { width: 46px; font-weight: 800; color: #fff; }
  .path-local-ascend_ilearn .leaderboard li strong { font-weight: 800; color: #e6e9f0; }
  .path-local-ascend_ilearn .leaderboard li.current-user {
    background: linear-gradient(135deg,rgba(0,179,240,.18) 0%,rgba(0,179,240,.13) 72%,rgba(255,0,170,.12) 100%) !important;
    border: 2px solid #FF00AA !important;
    box-shadow: 0 0 24px rgba(255,0,170,0.4), inset 0 1px 0 rgba(255,255,255,0.1) !important;
  }
  .path-local-ascend_ilearn .leaderboard li.current-user strong { color: #e6e9f0; background: none; padding: 0; border-radius: 0; }
  .path-local-ascend_ilearn .user-id-badge, .path-local-ascend_ilearn .user-id-pill { background: linear-gradient(90deg,#FFDD57,#FFD100); padding: 3px 8px; border-radius: 8px; color: #111; font-weight: 800; display: inline-block; margin-left: 6px; }
  .path-local-ascend_ilearn .xp-display { display: flex; align-items: center; gap: 8px; }
  /* Leaderboard styles */
  .path-local-ascend_ilearn .leaderboard{list-style:none;margin:0;padding:0}
  .path-local-ascend_ilearn .leaderboard li{display:flex;align-items:center;padding:8px 10px;border-radius:8px;margin-bottom:8px}
  .path-local-ascend_ilearn .leaderboard li .pos{width:46px;font-weight:800;color:#fff}
  .path-local-ascend_ilearn .leaderboard li strong{font-weight:800;color:#e6e9f0}
  .path-local-ascend_ilearn .leaderboard li.highlight-user{background:linear-gradient(90deg,rgba(255,240,160,0.03),rgba(0,179,240,0.02));box-shadow:0 6px 18px rgba(0,179,240,0.04);border:1px solid rgba(0,179,240,0.06)}
  /* Keep the 'You' strong styling plain to match the My Position view */
  .path-local-ascend_ilearn .leaderboard li.current-user strong, .path-local-ascend_ilearn .leaderboard li.highlight-user strong{color:#e6e9f0;padding:0;border-radius:0}
  .path-local-ascend_ilearn .leaderboard .user-id-badge, .path-local-ascend_ilearn .leaderboard .user-id-pill{background:linear-gradient(90deg,#FFDD57,#FFD100);padding:3px 8px;border-radius:8px;color:#111;font-weight:800;margin-left:6px;display:inline-block}

  .path-local-ascend_ilearn .leaderboard-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-radius:14px;background:linear-gradient(135deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.12) 72%,rgba(255,0,170,.06) 100%);border:2px solid rgba(0,179,240,0.3);box-shadow:0 8px 32px rgba(0,179,240,0.15);font-weight:700;color:#e6e9f0}
  .path-local-ascend_ilearn .leaderboard-banner .banner-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 68%,#FF00AA 100%);border-radius:10px;flex-shrink:0;box-shadow:0 4px 12px rgba(0,179,240,0.4)}
  .path-local-ascend_ilearn .leaderboard-banner .banner-icon svg{width:28px;height:28px}
  .path-local-ascend_ilearn .leaderboard-banner .banner-text{display:flex;flex-direction:column;gap:8px;flex:1}
  .path-local-ascend_ilearn .leaderboard-banner .banner-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
  .path-local-ascend_ilearn .leaderboard-banner .banner-label{color:#94a3b8;font-size:12px;text-transform:uppercase;letter-spacing:0.5px;font-weight:600}
  .path-local-ascend_ilearn .leaderboard-banner .banner-value{color:#FFD700;font-size:16px;font-weight:800}
  .path-local-ascend_ilearn .leaderboard-banner .banner-context{color:#00B3F0;font-size:13px;font-weight:700;padding:4px 10px;background:rgba(0,179,240,0.15);border-radius:6px}
  .path-local-ascend_ilearn .aa-panel + .aa-panel{margin-top:0;}
  .path-local-ascend_ilearn .aa-kpi-label{color:#fff;font-weight:800;}
  .path-local-ascend_ilearn .aa-kpi-value{color:#fff;font-size:22px;font-weight:800;}
  .path-local-ascend_ilearn .xp-ring-container{position:relative;width:80px;height:80px;margin:0 auto 12px;}
  .path-local-ascend_ilearn .xp-ring{transform:rotate(-90deg);width:100%;height:100%;}
  .path-local-ascend_ilearn .xp-ring circle{fill:none;stroke-width:8;}
  .path-local-ascend_ilearn .xp-ring .bg-ring{stroke:rgba(255,255,255,0.1);}
  .path-local-ascend_ilearn .xp-ring .progress{stroke:url(#xpGradient);stroke-linecap:round;stroke-dasharray:226;stroke-dashoffset:226;animation:xp-fill 2.2s ease-out forwards;}
  @keyframes xp-fill{0%{stroke-dashoffset:226;}50%{stroke-dashoffset:0;}100%{stroke-dashoffset:var(--final-offset);}}
  .path-local-ascend_ilearn .xp-level{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:24px;font-weight:800;color:#FFD700;text-shadow:0 0 10px rgba(255,215,0,0.6);}
  .path-local-ascend_ilearn .xp-level.max{color:#FF4500;text-shadow:0 0 15px rgba(255,69,0,0.8);}
  .path-local-ascend_ilearn .xp-text{font-size:0.85rem;color:#A5B4D6;}
  .path-local-ascend_ilearn .level-up-flash{animation:levelUpPulse 2s infinite;}
  @keyframes levelUpPulse{0%,100%{opacity:1;}50%{opacity:0.6;}}
  .path-local-ascend_ilearn .aa-filter-bar form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
  .path-local-ascend_ilearn .aa-filter-bar h3{font-size:1rem;color:#fff;margin:0 0 8px 0;font-weight:600;}
  .path-local-ascend_ilearn .aa-filter-bar label{color:#A5B4D6;font-size:.9rem;}
  .path-local-ascend_ilearn .aa-filter-bar select,.path-local-ascend_ilearn .aa-filter-bar button,.path-local-ascend_ilearn .aa-filter-bar a{background:#010828;color:#A5B4D6;border:1px solid rgba(255,255,255,0.3);border-radius:8px;padding:6px 10px;font-size:.9rem;}
  .path-local-ascend_ilearn .aa-filter-bar button,.path-local-ascend_ilearn .aa-filter-bar a{cursor:pointer;text-decoration:none;display:inline-block;}
  .path-local-ascend_ilearn .aa-congrats{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;margin:0 0 24px 0;text-align:left;}
  .path-local-ascend_ilearn .aa-congrats video{display:block;width:100%;max-width:700px;height:auto;object-fit:contain;border-radius:10px;margin:0 auto;}
  .path-local-ascend_ilearn .aa-congrats .aa-muted{font-size:.9rem;}
  .path-local-ascend_ilearn .aa-panel-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.06);margin:-8px 0 var(--aa-pad) 0;cursor:pointer;}
  .path-local-ascend_ilearn .aa-panel-head h3{display:flex;align-items:center;gap:8px;margin:0;color:#F8FAFF;font-size:1rem;font-weight:800;}
  .path-local-ascend_ilearn .aa-panel-head .fa-chevron-down{font-size:12px;color:#A5B4D6;transition:transform .3s;}
  .path-local-ascend_ilearn .aa-panel-head.open .fa-chevron-down{transform:rotate(180deg);}
  .path-local-ascend_ilearn .aa-panel-content{display:none;margin-top:12px;}
  .path-local-ascend_ilearn .aa-panel-head.open + .aa-panel-content{display:block;}
  .path-local-ascend_ilearn .aa-muted{color:#A5B4D6;font-size:.9rem}
  .path-local-ascend_ilearn .recent-list{list-style:none;margin:0;padding:0}
  .path-local-ascend_ilearn .recent-list li{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px dashed rgba(255,255,255,.06);transition:all 0.2s ease;cursor:pointer;}
  .path-local-ascend_ilearn .recent-list li:hover{background:rgba(255,255,255,.04);padding-left:4px;padding-right:-4px;}
  .path-local-ascend_ilearn .recent-list li:last-child{border-bottom:0}
  .path-local-ascend_ilearn .earned-badge-icon{height:90px;width:90px;border-radius:6px;background:rgba(255,255,255,.05);object-fit:contain;border:1px solid rgba(255,255,255,.1)}

  /* Badge & Challenge grids */
  .path-local-ascend_ilearn .badge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;}
  .path-local-ascend_ilearn .badge-card{display:flex;gap:10px;align-items:center;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:10px;transition:all 0.2s ease;cursor:pointer;}
  .path-local-ascend_ilearn .badge-card:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.15);}
  .path-local-ascend_ilearn .badge-card img{height:100px;width:100px;object-fit:contain;border-radius:8px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.2);transition:all 0.2s ease;}
  .path-local-ascend_ilearn .badge-card:hover img{transform:scale(1.05);}

  /* Journey cards */
  .path-local-ascend_ilearn .aa-journey-card{margin-bottom:32px;padding:20px;background:rgba(1,20,46,0.4);border-radius:16px;}
  .path-local-ascend_ilearn .journey-title{font-size:1.4rem;font-weight:700;margin-bottom:16px;color:#00B3F0;}
  .path-local-ascend_ilearn .journey-svg{width:100%;height:130px;background:rgba(0,0,0,0.3);border-radius:12px;margin-bottom:12px;}
  .path-local-ascend_ilearn .journey-waypoint{transition:all 0.3s ease;cursor:pointer;}
  .path-local-ascend_ilearn .journey-waypoint:hover{filter:drop-shadow(0 0 12px rgba(255,149,0,0.8));r:15px;}
  .path-local-ascend_ilearn .journey-progress-bar{width:100%;height:8px;background:rgba(255,255,255,.08);border-radius:4px;overflow:hidden;margin-top:12px;}
  .path-local-ascend_ilearn .journey-progress-fill{height:100%;width:var(--journey-progress,0);background:linear-gradient(90deg,#00B3F0 0%,#00B3F0 62%,#FF00AA 82%,#FF9500 100%);border-radius:4px;transition:width 0.3s ease;}
  .path-local-ascend_ilearn .journey-stats{display:flex;justify-content:space-between;margin-top:12px;font-size:0.85rem;gap:12px;flex-wrap:wrap;}
  .path-local-ascend_ilearn .journey-stats div{color:#A5B4D6;}
  .path-local-ascend_ilearn .journey-stats strong{color:#F8FAFF;}
  .path-local-ascend_ilearn .coaching-box{margin-top:16px;padding:12px;background:linear-gradient(to bottom,rgba(1,42,74,0.5) 0%,rgba(1,8,40,0.5) 100%);border:1px solid rgba(255,255,255,.06);border-radius:8px;}
  .path-local-ascend_ilearn .coaching-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-weight:600;color:#00B3F0;}
  .path-local-ascend_ilearn .coaching-header::before{content:'*';font-size:16px;}
  .path-local-ascend_ilearn .coaching-box p{margin:0;font-size:0.9rem;line-height:1.5;color:#B8C5E0;}
  .path-local-ascend_ilearn .leaderboard{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
  .path-local-ascend_ilearn .leaderboard li{display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:12px;background:linear-gradient(135deg,rgba(0,179,240,.08) 0%,rgba(0,179,240,.05) 72%,rgba(255,0,170,.03) 100%);border:1px solid rgba(255,255,255,.08);transition:all 0.3s ease;position:relative;overflow:hidden;}
  .path-local-ascend_ilearn .leaderboard li::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#00B3F0 0%,#00B3F0 68%,#FF00AA 86%,#FF9500 100%);opacity:0;transition:opacity 0.3s ease;}
  .path-local-ascend_ilearn .leaderboard li:hover{background:linear-gradient(135deg,rgba(0,179,240,.14) 0%,rgba(0,179,240,.1) 72%,rgba(255,0,170,.08) 100%);border-color:rgba(255,255,255,.15);transform:translateX(4px);}
  .path-local-ascend_ilearn .leaderboard li:hover::before{opacity:1;}
  .path-local-ascend_ilearn .leaderboard li.current-user{background:linear-gradient(135deg,rgba(0,179,240,.18) 0%,rgba(0,179,240,.13) 72%,rgba(255,0,170,.12) 100%);border:2px solid #FF00AA;box-shadow:0 0 24px rgba(255,0,170,0.4), inset 0 1px 0 rgba(255,255,255,0.1);}
  .path-local-ascend_ilearn .leaderboard li.current-user::before{opacity:1;width:5px;}
  .path-local-ascend_ilearn .leaderboard li .pos{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:48px;background:linear-gradient(135deg,rgba(0,179,240,.22) 0%,rgba(0,179,240,.16) 72%,rgba(255,0,170,.14) 100%);border-radius:10px;font-size:18px;font-weight:800;color:#00B3F0;border:1px solid rgba(0,179,240,0.3);flex-shrink:0;}
  .path-local-ascend_ilearn .leaderboard li.current-user .pos{background:linear-gradient(135deg, #FF00AA 0%, #FF9500 100%);color:#fff;border-color:#FF00AA;box-shadow:0 4px 12px rgba(255,0,170,0.4);}
  .path-local-ascend_ilearn .leaderboard li strong{font-size:16px;font-weight:700;color:#F8FAFF;flex-grow:1;}
  .path-local-ascend_ilearn .leaderboard li .aa-muted{font-size:14px;color:#A5B4D6;font-weight:600;}
  .path-local-ascend_ilearn .leaderboard .user-id-badge{background:linear-gradient(135deg,#FFD700 0%,#FFA500 100%);color:#0b1530;font-weight:800;font-size:11px;padding:4px 10px;border-radius:8px;margin-left:8px;box-shadow:0 2px 8px rgba(255,215,0,0.4);white-space:nowrap;}
  .path-local-ascend_ilearn #apxBActivities::-webkit-scrollbar,.path-local-ascend_ilearn #apxBBadges::-webkit-scrollbar{width:6px;}
  .path-local-ascend_ilearn #apxBActivities::-webkit-scrollbar-track,.path-local-ascend_ilearn #apxBBadges::-webkit-scrollbar-track{background:rgba(255,255,255,0.05);border-radius:3px;}
  .path-local-ascend_ilearn #apxBActivities::-webkit-scrollbar-thumb,.path-local-ascend_ilearn #apxBBadges::-webkit-scrollbar-thumb{background:rgba(255,0,170,0.5);border-radius:3px;}
  .path-local-ascend_ilearn #apxBActivities::-webkit-scrollbar-thumb:hover,.path-local-ascend_ilearn #apxBBadges::-webkit-scrollbar-thumb:hover{background:rgba(255,0,170,0.7);}
  .path-local-ascend_ilearn #apxBActivitiesList li,.path-local-ascend_ilearn #apxBBadgesList li{padding:4px 0;list-style:none;}
  .path-local-ascend_ilearn #apxBActivitiesList li{color:#A5B4D6;}
  .path-local-ascend_ilearn #apxBBadgesList li{color:#FFD700;}
  .path-local-ascend_ilearn .apex-rank-badge{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,rgba(0,179,240,.26) 0%,rgba(0,179,240,.2) 72%,rgba(255,0,170,.16) 100%);border:1px solid #00B3F0;padding:8px 12px;border-radius:8px;font-size:13px;margin-top:8px;}
  .path-local-ascend_ilearn .apex-rank-up{color:#00FF88;font-weight:800;}
  .path-local-ascend_ilearn .apex-rank-down{color:#FF4444;font-weight:800;}



  /* Modern Badge Notification Modal (matches site-wide modal) */
  .path-local-ascend_ilearn .apx-modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.8);backdrop-filter:blur(8px);z-index:9998;display:none;animation:fadeIn 0.3s ease-out;}
  @keyframes fadeIn{from{opacity:0;}to{opacity:1;}}
  @keyframes slideUp{from{opacity:0;transform:translate(-50%,-60%);}to{opacity:1;transform:translate(-50%,-50%);}}
  .path-local-ascend_ilearn .apx-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:520px;max-width:95vw;max-height:90vh;background:linear-gradient(145deg,#0a1832 0%,#0d1b35 100%);border:2px solid #ff9500;border-radius:20px;box-shadow:0 25px 50px rgba(0,0,0,0.5),0 0 0 1px rgba(255,149,0,0.1),inset 0 1px 0 rgba(255,255,255,0.05);z-index:9999;display:none;overflow:hidden;animation:slideUp 0.4s cubic-bezier(0.34,1.56,0.64,1);}
  .path-local-ascend_ilearn .apx-modal-header{position:relative;padding:24px 24px 20px;background:linear-gradient(90deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.1) 72%,rgba(255,149,0,.08) 100%);border-bottom:1px solid rgba(255,149,0,0.2);overflow:hidden;}
  .path-local-ascend_ilearn .apx-modal-header::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 20%,rgba(255,149,0,0.1) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(0,179,240,0.1) 0%,transparent 50%);pointer-events:none;}
  .path-local-ascend_ilearn .apx-modal-title{font-size:1.75rem;font-weight:800;color:#ffffff;margin:0;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,0.3);background:linear-gradient(135deg,#ffd700 0%,#ff9500 50%,#00B3F0 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;position:relative;z-index:1;}
  .path-local-ascend_ilearn .apx-modal-subtitle{font-size:0.9rem;color:#a5b4d6;text-align:center;margin:4px 0 0;font-weight:500;position:relative;z-index:1;}
  .path-local-ascend_ilearn .apx-modal-progress{position:absolute;bottom:0;left:0;height:3px;background:linear-gradient(90deg,#ff9500 0%,#ffd700 50%,#00B3F0 100%);width:100%;transform-origin:left;animation:progressShrink 25s linear forwards;border-radius:0 0 20px 20px;}
  @keyframes progressShrink{from{transform:scaleX(1);}to{transform:scaleX(0);}}
  .path-local-ascend_ilearn .apx-modal-close{position:absolute;top:16px;right:16px;background:rgba(255,149,0,0.2);border:2px solid rgba(255,149,0,0.4);color:#FF9500;cursor:pointer;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 0.3s;z-index:20;padding:0;box-shadow:0 4px 12px rgba(0,0,0,0.3);}
  .path-local-ascend_ilearn .apx-modal-close:hover{background:rgba(255,149,0,0.4);transform:rotate(90deg) scale(1.15);box-shadow:0 0 24px rgba(255,149,0,0.7);border-color:#FF9500;}
  .path-local-ascend_ilearn .apx-modal-close svg{width:24px;height:24px;}
  .path-local-ascend_ilearn .apx-modal-body{padding:24px;overflow-y:auto;max-height:calc(90vh - 120px);}
  .path-local-ascend_ilearn .apx-modal-body::-webkit-scrollbar{width:8px;}
  .path-local-ascend_ilearn .apx-modal-body::-webkit-scrollbar-track{background:rgba(255,255,255,0.05);border-radius:4px;}
  .path-local-ascend_ilearn .apx-modal-body::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(255,149,0,0.6) 0%,rgba(255,149,0,0.3) 100%);border-radius:4px;}
  .path-local-ascend_ilearn .apx-video-container{position:relative;width:100%;max-width:320px;aspect-ratio:1;border-radius:16px;overflow:hidden;margin:0 auto 24px;box-shadow:0 8px 32px rgba(0,0,0,0.3);background:linear-gradient(135deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.1) 68%,rgba(255,0,170,.08) 86%,rgba(255,149,0,.08) 100%);}
  .path-local-ascend_ilearn .apx-badge-video{width:100%;height:100%;object-fit:contain;display:block;background:#000;}
  .path-local-ascend_ilearn .apx-video-fullscreen-btn{position:absolute;bottom:12px;right:12px;width:36px;height:36px;background:rgba(0,0,0,0.8);border:2px solid rgba(255,149,0,0.5);border-radius:8px;color:#ffd700;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all 0.3s ease;z-index:10;}
  .path-local-ascend_ilearn .apx-video-fullscreen-btn svg{width:16px;height:16px;display:block;}
  .path-local-ascend_ilearn .apx-video-fullscreen-btn:hover{background:rgba(255,149,0,0.2);border-color:#ff9500;transform:scale(1.05);}
  .path-local-ascend_ilearn .apx-badge-name-section{text-align:center;margin-bottom:24px;}
  .path-local-ascend_ilearn .apx-badge-name{font-size:1.5rem;font-weight:800;color:#00B3F0;margin:0;text-shadow:0 2px 4px rgba(0,179,240,0.3);}
  .path-local-ascend_ilearn .apx-badge-category{font-size:0.9rem;color:#a5b4d6;margin:4px 0 0;font-weight:500;}
  .path-local-ascend_ilearn .apx-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px;}
  .path-local-ascend_ilearn .apx-stat-card{background:linear-gradient(135deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.1) 72%,rgba(255,0,170,.08) 100%);border:2px solid rgba(255,149,0,0.3);border-radius:12px;padding:20px;text-align:center;transition:all 0.3s ease;position:relative;overflow:hidden;}
  .path-local-ascend_ilearn .apx-stat-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#00B3F0 0%,#00B3F0 62%,#ff00aa 82%,#ff9500 100%);}
  .path-local-ascend_ilearn .apx-stat-card:hover{transform:translateY(-2px);border-color:rgba(255,149,0,0.6);box-shadow:0 8px 25px rgba(255,149,0,0.2);}
  .path-local-ascend_ilearn .apx-stat-icon{width:48px;height:48px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,rgba(0,179,240,.26) 0%,rgba(0,179,240,.2) 72%,rgba(255,0,170,.16) 100%);border:2px solid rgba(255,149,0,0.4);}
  .path-local-ascend_ilearn .apx-stat-icon svg,.path-local-ascend_ilearn .apx-stat-icon img{width:24px;height:24px;}
  .path-local-ascend_ilearn .apx-stat-value{font-size:1.5rem;font-weight:800;color:#ffd700;margin:0;text-shadow:0 1px 2px rgba(0,0,0,0.5);}
  .path-local-ascend_ilearn .apx-stat-label{font-size:0.8rem;color:#a5b4d6;margin:4px 0 0;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;}
  .path-local-ascend_ilearn .apx-info-section{background:rgba(255,255,255,0.02);border:1px solid rgba(255,149,0,0.2);border-radius:12px;padding:20px;margin-bottom:20px;}
  .path-local-ascend_ilearn .apx-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
  .path-local-ascend_ilearn .apx-info-item{display:flex;flex-direction:column;gap:4px;}
  .path-local-ascend_ilearn .apx-info-label{font-size:0.8rem;color:#a5b4d6;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;}
  .path-local-ascend_ilearn .apx-info-value{font-size:0.95rem;color:#ffffff;font-weight:500;}
.path-local-ascend_ilearn .apx-description-section{margin-bottom:20px;position:relative;}
.path-local-ascend_ilearn .apx-description-section::before{content:'*';position:absolute;left:-8px;top:2px;font-size:1.2rem;opacity:0.8;}
.path-local-ascend_ilearn .apx-description-title{font-size:1rem;font-weight:700;color:#00B3F0;margin:0 0 8px 24px;display:flex;align-items:center;gap:8px;}
.path-local-ascend_ilearn .apx-description-title::before{content:'';width:4px;height:16px;background:linear-gradient(180deg,#00B3F0,#0099cc);border-radius:2px;}
.path-local-ascend_ilearn .apx-description-text{font-size:0.9rem;color:#e9f0ff;line-height:1.6;margin:0 0 0 24px;padding:12px 16px;background:rgba(255,255,255,0.02);border-left:3px solid rgba(0,179,240,0.4);border-radius:0 8px 8px 0;}
.path-local-ascend_ilearn .apx-achievement-section{margin-bottom:12px;position:relative;}
.path-local-ascend_ilearn .apx-achievement-title{font-size:1rem;font-weight:700;color:#FFD700;margin:0 0 8px 24px;display:flex;align-items:center;gap:8px;}
.path-local-ascend_ilearn .apx-achievement-title::before{content:'';width:4px;height:16px;background:linear-gradient(180deg,#FFD700,#FFA500);border-radius:2px;}
  .path-local-ascend_ilearn .apx-activities-section{margin-bottom:20px;position:relative;}
  .path-local-ascend_ilearn .apx-activities-section::before{content:'*';position:absolute;left:-8px;top:2px;font-size:1.2rem;opacity:0.8;}
  .path-local-ascend_ilearn .apx-activities-title{font-size:1rem;font-weight:700;color:#00B3F0;margin:0 0 12px 24px;display:flex;align-items:center;gap:8px;}
  .path-local-ascend_ilearn .apx-activities-title::before{content:'';width:4px;height:16px;background:linear-gradient(180deg,#00B3F0,#0099cc);border-radius:2px;}
  .path-local-ascend_ilearn .apx-activities-list{list-style:none;margin:0 0 0 24px;padding:16px;background:rgba(255,255,255,0.02);border-left:3px solid rgba(0,179,240,0.4);border-radius:0 8px 8px 0;max-height:150px;overflow-y:auto;}
  .path-local-ascend_ilearn .apx-activities-list::-webkit-scrollbar{width:6px;}
  .path-local-ascend_ilearn .apx-activities-list::-webkit-scrollbar-track{background:rgba(255,255,255,0.05);border-radius:3px;}
  .path-local-ascend_ilearn .apx-activities-list::-webkit-scrollbar-thumb{background:rgba(255,149,0,0.5);border-radius:3px;}
  .path-local-ascend_ilearn .apx-activity-item{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.05);font-size:0.85rem;color:#e9f0ff;transition:all 0.2s ease;position:relative;}
  .path-local-ascend_ilearn .apx-activity-item:hover{background:rgba(255,255,255,0.02);border-radius:4px;padding-left:8px;margin-left:-8px;margin-right:-8px;}
  .path-local-ascend_ilearn .apx-activity-item:last-child{border-bottom:none;}
  .path-local-ascend_ilearn .apx-activity-item::before{content:'*';color:#00ff88;font-weight:800;font-size:0.9rem;flex-shrink:0;transition:transform 0.2s ease;}
  .path-local-ascend_ilearn .apx-activity-item:hover::before{transform:scale(1.1);}
  .path-local-ascend_ilearn .apx-badges-section{margin-bottom:20px;position:relative;}
  .path-local-ascend_ilearn .apx-badges-section::before{content:'*';position:absolute;left:-8px;top:2px;font-size:1.2rem;opacity:0.8;}
  .path-local-ascend_ilearn .apx-badges-title{font-size:1rem;font-weight:700;color:#ff00aa;margin:0 0 12px 24px;display:flex;align-items:center;gap:8px;}
  .path-local-ascend_ilearn .apx-badges-title::before{content:'';width:4px;height:16px;background:linear-gradient(180deg,#ff00aa,#cc0088);border-radius:2px;}
  .path-local-ascend_ilearn .apx-badges-list{list-style:none;margin:0 0 0 24px;padding:16px;background:rgba(255,255,255,0.02);border-left:3px solid rgba(255,0,170,0.4);border-radius:0 8px 8px 0;max-height:150px;overflow-y:auto;}
  .path-local-ascend_ilearn .apx-badges-list::-webkit-scrollbar{width:6px;}
  .path-local-ascend_ilearn .apx-badges-list::-webkit-scrollbar-track{background:rgba(255,255,255,0.05);border-radius:3px;}
  .path-local-ascend_ilearn .apx-badges-list::-webkit-scrollbar-thumb{background:rgba(255,0,170,0.5);border-radius:3px;}
  .path-local-ascend_ilearn .apx-badge-item{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.05);font-size:0.85rem;color:#ffd700;font-weight:600;transition:all 0.2s ease;}
  .path-local-ascend_ilearn .apx-badge-item:hover{background:rgba(255,255,255,0.02);border-radius:4px;padding-left:8px;margin-left:-8px;margin-right:-8px;}
  .path-local-ascend_ilearn .apx-badge-item:last-child{border-bottom:none;}
  .path-local-ascend_ilearn .apx-rank-section{background:linear-gradient(135deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.1) 72%,rgba(255,0,170,.08) 100%);border:2px solid rgba(0,179,240,0.3);border-radius:12px;padding:16px;margin-bottom:24px;text-align:center;position:relative;overflow:hidden;}
  .path-local-ascend_ilearn .apx-rank-section::before{content:'*';position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:1.5rem;opacity:0.6;}
  .path-local-ascend_ilearn .ascendrewards-admin #apxBActivities,
  .path-local-ascend_ilearn .ascendrewards-admin #apxBBadges,
  .path-local-ascend_ilearn .ascendrewards-admin #apxBRank{display:none;}
  .path-local-ascend_ilearn .apx-rank-text{font-size:1rem;color:#ffffff;font-weight:600;margin:0;position:relative;z-index:1;}
  .path-local-ascend_ilearn .apx-rank-change{font-size:0.9rem;font-weight:800;margin:4px 0 0;position:relative;z-index:1;}
  .path-local-ascend_ilearn .apx-rank-change.up{color:#00ff88;}
  .path-local-ascend_ilearn .apx-rank-change.down{color:#ff4444;}
  .path-local-ascend_ilearn .apx-muted{color:#94a3b8;}
  .path-local-ascend_ilearn .aa-timeline text{fill:#fff!important;font-family:"Montserrat",sans-serif!important;font-size:12px!important;}
  .path-local-ascend_ilearn .aa-timeline .chartjs-tooltip{background:rgba(11,20,58,0.95)!important;color:#fff!important;border-radius:8px!important;}
  .path-local-ascend_ilearn .aa-timeline .chartjs-tooltip-key{color:#fff!important;}
  /* Force chart axis, legend, and table text to white for legibility */
  .path-local-ascend_ilearn .aa-timeline .chart-legend, .path-local-ascend_ilearn .aa-timeline .chart-legend *, .path-local-ascend_ilearn .aa-timeline .chart-axis, .path-local-ascend_ilearn .aa-timeline .chart-axis *, .path-local-ascend_ilearn .aa-timeline .chart-x-axis, .path-local-ascend_ilearn .aa-timeline .chart-x-axis *, .path-local-ascend_ilearn .aa-timeline .chart-y-axis, .path-local-ascend_ilearn .aa-timeline .chart-y-axis *, .path-local-ascend_ilearn .aa-timeline .chart-table, .path-local-ascend_ilearn .aa-timeline .chart-table *, .path-local-ascend_ilearn .aa-timeline .table, .path-local-ascend_ilearn .aa-timeline .table *, .path-local-ascend_ilearn .aa-timeline .chartjs-table, .path-local-ascend_ilearn .aa-timeline .chartjs-table *, .path-local-ascend_ilearn .aa-timeline .chartjs, .path-local-ascend_ilearn .aa-timeline .chartjs * {
    color: #fff !important;
    fill: #fff !important;
    border-color: #fff !important;
    background: transparent !important;
  }
  .path-local-ascend_ilearn .aa-timeline .chart-axis line, .path-local-ascend_ilearn .aa-timeline .chart-x-axis line, .path-local-ascend_ilearn .aa-timeline .chart-y-axis line {
    stroke: #fff !important;
  }
  .path-local-ascend_ilearn .aa-timeline table, .path-local-ascend_ilearn .aa-timeline th, .path-local-ascend_ilearn .aa-timeline td {
    color: #fff !important;
    background: transparent !important;
    border-color: #fff !important;
  }
  .path-local-ascend_ilearn .section--instructions{display:flex;justify-content:center;align-items:center;text-align:center;}
  .path-local-ascend_ilearn .section--instructions p{margin:0;}
  .path-local-ascend_ilearn .section--instructions a{color:#FFF;padding:12px 20px;border-radius:8px;display:inline-flex;align-items:center;gap:12px;text-decoration:none;transition:background .2s;}
  .path-local-ascend_ilearn .section--instructions a:hover{background:rgba(255,255,255,0.1);color:#00FFFF;text-decoration:none;}
  .path-local-ascend_ilearn .instruction-icon{height:60px;object-fit:contain;}
  .path-local-ascend_ilearn .section-title-icon{height:60px;width:auto;vertical-align:middle;}

  /* Responsive */
  @media (max-width: 768px) {
    .path-local-ascend_ilearn .ascendrewards-kpis { grid-template-columns: 1fr 1fr; }
    .path-local-ascend_ilearn .ascendrewards-kpis > * { height: 160px; }
  }

  /* Gameboard hover and pick interactions */
  .path-local-ascend_ilearn .ascendrewards-index .gameboard-card:not(.picked):hover .card-content {
    display: none;
  }
  .path-local-ascend_ilearn .ascendrewards-index .gameboard-card:not(.picked):hover .card-hover {
    display: flex !important;
  }
  .path-local-ascend_ilearn .ascendrewards-index .gameboard-card:not(.picked) .hover-coin {
    animation: coinPulse 1s ease-in-out infinite;
  }
  .path-local-ascend_ilearn .ascendrewards-index .gameboard-card.picked {
    pointer-events: none;
  }
  @keyframes cardFlip {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(90deg); }
    100% { transform: rotateY(0deg); }
  }
  @keyframes coinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
  }

/* Admin dashboard specific styles (admin_dashboard.php) */
/* Celebration banner and level-up pulse */
.path-local-ascend_ilearn .ascendrewards-admin .aa-congrats {display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;margin-bottom:18px;text-align:center;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-congrats video {width:19.9cm;height:11.01cm;max-width:100%;object-fit:contain;border-radius:10px;margin:0 auto;}
.path-local-ascend_ilearn .ascendrewards-admin .xp-ring-container {position:relative;width:80px;height:80px;margin:0 auto 12px;}
.path-local-ascend_ilearn .ascendrewards-admin .level-up-flash {animation:ascendrewardsAdminLevelUpPulse 2s infinite;}
@keyframes ascendrewardsAdminLevelUpPulse{0%{transform:scale(1);box-shadow:0 0 0 rgba(255,149,0,0.25)}50%{transform:scale(1.04);box-shadow:0 10px 40px rgba(255,149,0,0.1)}100%{transform:scale(1);box-shadow:0 0 0 rgba(255,149,0,0.0)}}
  .path-local-ascend_ilearn .ascendrewards-admin{color:#1d2125;}
  .path-local-ascend_ilearn .ascendrewards-admin > h1,
  .path-local-ascend_ilearn .ascendrewards-admin > h2,
  .path-local-ascend_ilearn .ascendrewards-admin > h3,
  .path-local-ascend_ilearn .ascendrewards-admin > h4,
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-card > h3{color:#1d2125;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-muted{color:#555;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 24px;padding:0 0 8px;border-bottom:1px solid rgba(0,0,0,0.12);}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-tab{color:#1d2125;text-decoration:none;padding:8px 14px;border-radius:8px;background:#fff;border:1px solid rgba(0,0,0,0.12);font-weight:600;transition:all 0.2s ease;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-tab:hover{background:#f5f5f5;border-color:rgba(0,0,0,0.2);}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-tab.active{background:#0f6cbf;border-color:#0f6cbf;color:#fff;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-badge-icon{width:32px;height:32px;object-fit:contain;vertical-align:middle;margin-right:8px;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-top-badge-icon{width:64px;height:64px;object-fit:contain;vertical-align:middle;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-section-title,
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-section-title-top{color:#1d2125;margin:24px 0 12px;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-chart-row{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-end;margin:12px 0 24px;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-chart-col{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:120px;flex:1 1 120px;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-chart-bar{width:20px;height:40px;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#FF00AA 0%,#00B3F0 100%);box-shadow:0 6px 16px rgba(0,0,0,0.25);}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-chart-img{width:120px;height:120px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid rgba(0,0,0,0.12);padding:6px;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-chart-label{color:#1d2125;font-size:0.85rem;text-align:center;line-height:1.2;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-chart-value{color:#1d2125;font-weight:700;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-card{background:linear-gradient(135deg,rgba(0,179,240,.12) 0%,rgba(0,179,240,.08) 72%,rgba(255,0,170,.05) 100%);border:1px solid rgba(255,255,255,0.12);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,0.2);padding:16px;margin-bottom:20px;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-flex-row{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-label{display:block;margin-bottom:6px;color:#1d2125;font-weight:600;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-select{background:#fff;color:#1d2125;border:1px solid rgba(0,0,0,0.2);border-radius:8px;padding:8px 10px;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-select-wide{min-width:240px;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-btn-tall{padding:10px 16px;font-weight:700;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-alert{padding:12px 16px;border-radius:10px;margin:12px 0;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-alert-success{background:rgba(40,167,69,0.18);border:1px solid rgba(40,167,69,0.45);color:#1d2125;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-alert-error{background:rgba(220,53,69,0.18);border:1px solid rgba(220,53,69,0.45);color:#1d2125;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-cell{color:#1d2125;border-color:#b3b3b3!important;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-head{background:#f5f5f5;}
  .path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-head .aa-admin-table-cell{color:#1d2125;border-color:#b3b3b3!important;}

/* Metrics cards used in admin dashboard tab */
.path-local-ascend_ilearn .ascendrewards-admin .apex-metrics-row { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.path-local-ascend_ilearn .ascendrewards-admin .apex-metric-card {
    background: #071a44;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 32px 36px 24px 36px;
    min-width: 0;
    text-align: center;
    flex: 1 1 240px;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #e3e3e3;
    transition: box-shadow 0.2s;
}
.path-local-ascend_ilearn .ascendrewards-admin .apex-metric-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.13); }
.path-local-ascend_ilearn .ascendrewards-admin .apex-metric-icon { min-height: 72px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.path-local-ascend_ilearn .ascendrewards-admin .apex-metric-icon img,
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-metric-icon-image { width: 64px; height: 64px; object-fit: contain; display: block; }
.path-local-ascend_ilearn .ascendrewards-admin .apex-metric-label { color: #667eea; font-size: 1.1rem; margin-bottom: 6px; letter-spacing: 0.5px; }
.path-local-ascend_ilearn .ascendrewards-admin .apex-metric-value { font-size: 2.2rem; font-weight: bold; color: #b9c9e7; }
.path-local-ascend_ilearn .ascendrewards-admin .apex-metric-badge { font-size: 1.2rem; color: #dbe7ff; margin-top: 8px; }

@media (max-width: 640px) {
    .path-local-ascend_ilearn .ascendrewards-admin .apex-metrics-row {
        flex-direction: column;
        gap: 16px;
    }

    .path-local-ascend_ilearn .ascendrewards-admin .apex-metric-card {
        width: 100%;
        flex-basis: auto;
        padding: 24px 18px 20px 18px;
    }
}


/* Notification modal styles (moved from notifications.css) */
/*
 * Notification modal styles for local_ascend_ilearn.
 * Extracted from inline stylesheet blocks in lib.php.
 */

/* Badge notification modal */
/* Modern Badge Notification Modal */
.local-ascend-rewards-notification .apex-reward-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.local-ascend-rewards-notification .apex-reward-modal-backdrop.is-visible {
  display: block;
}

.local-ascend-rewards-notification .apex-reward-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  max-width: 95vw;
  max-height: 90vh;
  background: linear-gradient(145deg, #0a1832 0%, #0d1b35 100%);
  border: 2px solid #ff9500;
  border-radius: 20px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 149, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 9999;
  display: none;
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.local-ascend-rewards-notification .apex-reward-modal.is-visible {
  display: block;
}

/* iLearn branding surfaces: white panels with chamfered blue edges */
.path-local-ascend_ilearn .ascendrewards-index,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) {
  color: var(--aa-text);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-muted,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-muted,
.path-local-ascend_ilearn .ascendrewards-index .aa-badge-title,
.path-local-ascend_ilearn .ascendrewards-index .journey-title,
.path-local-ascend_ilearn .ascendrewards-index .aa-course-title,
.path-local-ascend_ilearn .ascendrewards-index .aa-category-title,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-summary-label,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-summary-value,
.path-local-ascend_ilearn .ascendrewards-index .leaderboard li strong,
.path-local-ascend_ilearn .ascendrewards-index .leaderboard li .aa-muted,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-label,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-chart-label,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-chart-value,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-section-title,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-section-title-top {
  color: var(--aa-text);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar,
.path-local-ascend_ilearn .ascendrewards-index .aa-congrats,
.path-local-ascend_ilearn .ascendrewards-index .section--instructions,
.path-local-ascend_ilearn .ascendrewards-index .aa-card,
.path-local-ascend_ilearn .ascendrewards-index .aa-panel,
.path-local-ascend_ilearn .ascendrewards-index .aa-balance-bar,
.path-local-ascend_ilearn .ascendrewards-index .aa-rank-bar,
.path-local-ascend_ilearn .ascendrewards-index .aa-xp-card,
.path-local-ascend_ilearn .ascendrewards-index .aa-rank-card,
.path-local-ascend_ilearn .ascendrewards-index .badge-card,
.path-local-ascend_ilearn .ascendrewards-index .aa-journey-card,
.path-local-ascend_ilearn .ascendrewards-index .coaching-box,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-summary,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-card,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-card,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .apex-metric-card,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-alert,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-head .aa-admin-table-cell,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-row {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--aa-surface) 0%, var(--aa-surface-soft) 100%);
  border: 1px solid var(--aa-surface-border);
  border-radius: 0;
  clip-path: polygon(var(--aa-chamfer) 0, calc(100% - var(--aa-chamfer)) 0, 100% var(--aa-chamfer), 100% calc(100% - var(--aa-chamfer)), calc(100% - var(--aa-chamfer)) 100%, var(--aa-chamfer) 100%, 0 calc(100% - var(--aa-chamfer)), 0 var(--aa-chamfer));
  box-shadow: var(--aa-surface-shadow);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar::before,
.path-local-ascend_ilearn .ascendrewards-index .aa-congrats::before,
.path-local-ascend_ilearn .ascendrewards-index .section--instructions::before,
.path-local-ascend_ilearn .ascendrewards-index .aa-card::before,
.path-local-ascend_ilearn .ascendrewards-index .aa-panel::before,
.path-local-ascend_ilearn .ascendrewards-index .aa-balance-bar::before,
.path-local-ascend_ilearn .ascendrewards-index .aa-rank-bar::before,
.path-local-ascend_ilearn .ascendrewards-index .aa-xp-card::before,
.path-local-ascend_ilearn .ascendrewards-index .aa-rank-card::before,
.path-local-ascend_ilearn .ascendrewards-index .badge-card::before,
.path-local-ascend_ilearn .ascendrewards-index .aa-journey-card::before,
.path-local-ascend_ilearn .ascendrewards-index .coaching-box::before,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-summary::before,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-card::before,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-card::before,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .apex-metric-card::before,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-alert::before,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-head .aa-admin-table-cell::before,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-row::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inherit;
  border: 1px solid rgba(15, 108, 191, 0.08);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar::after,
.path-local-ascend_ilearn .ascendrewards-index .aa-congrats::after,
.path-local-ascend_ilearn .ascendrewards-index .section--instructions::after,
.path-local-ascend_ilearn .ascendrewards-index .aa-card::after,
.path-local-ascend_ilearn .ascendrewards-index .aa-panel::after,
.path-local-ascend_ilearn .ascendrewards-index .aa-balance-bar::after,
.path-local-ascend_ilearn .ascendrewards-index .aa-rank-bar::after,
.path-local-ascend_ilearn .ascendrewards-index .aa-xp-card::after,
.path-local-ascend_ilearn .ascendrewards-index .aa-rank-card::after,
.path-local-ascend_ilearn .ascendrewards-index .badge-card::after,
.path-local-ascend_ilearn .ascendrewards-index .aa-journey-card::after,
.path-local-ascend_ilearn .ascendrewards-index .coaching-box::after,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-summary::after,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-card::after,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-card::after,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .apex-metric-card::after,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-alert::after,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-head .aa-admin-table-cell::after,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg,rgba(0,179,240,0) 0%,rgba(0,179,240,.95) 18%,rgba(0,179,240,.9) 68%,rgba(42,139,203,0) 100%);
  pointer-events: none;
}

.path-local-ascend_ilearn .ascendrewards-index .aa-panel-head {
  border-bottom: 1px solid rgba(15, 108, 191, 0.12);
  color: var(--aa-text);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-panel-head h3,
.path-local-ascend_ilearn .ascendrewards-index .leaderboard li strong,
.path-local-ascend_ilearn .ascendrewards-index .leaderboard li .aa-xp-value,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-tab {
  color: var(--aa-text);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-panel-head .fa-chevron-down {
  color: var(--aa-accent);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-panel-content {
  margin-top: 14px;
}

.path-local-ascend_ilearn .ascendrewards-index .aa-card,
.path-local-ascend_ilearn .ascendrewards-index .aa-panel,
.path-local-ascend_ilearn .ascendrewards-index .aa-xp-card,
.path-local-ascend_ilearn .ascendrewards-index .aa-rank-card,
.path-local-ascend_ilearn .ascendrewards-index .aa-journey-card,
.path-local-ascend_ilearn .ascendrewards-index .badge-card,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-card,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .apex-metric-card {
  box-shadow: var(--aa-surface-shadow);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-card:hover,
.path-local-ascend_ilearn .ascendrewards-index .aa-panel:hover,
.path-local-ascend_ilearn .ascendrewards-index .aa-xp-card:hover,
.path-local-ascend_ilearn .ascendrewards-index .aa-rank-card:hover,
.path-local-ascend_ilearn .ascendrewards-index .aa-journey-card:hover,
.path-local-ascend_ilearn .ascendrewards-index .badge-card:hover,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-card:hover,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .apex-metric-card:hover {
  box-shadow: var(--aa-surface-shadow-hover);
  border-color: var(--aa-surface-border-strong);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar form,
.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar select,
.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar button,
.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar a {
  color: var(--aa-text);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar select,
.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar button,
.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar a,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-select,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-tab {
  background: #ffffff;
  border: 1px solid rgba(15, 108, 191, 0.2);
  border-radius: 0;
  clip-path: polygon(var(--aa-chamfer) 0, calc(100% - var(--aa-chamfer)) 0, 100% var(--aa-chamfer), 100% calc(100% - var(--aa-chamfer)), calc(100% - var(--aa-chamfer)) 100%, var(--aa-chamfer) 100%, 0 calc(100% - var(--aa-chamfer)), 0 var(--aa-chamfer));
}

.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar button,
.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar a,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-tab {
  background: linear-gradient(180deg, #ffffff 0%, #eef6fc 100%);
  box-shadow: 0 8px 18px rgba(15, 108, 191, 0.08);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar button:hover,
.path-local-ascend_ilearn .ascendrewards-index .aa-filter-bar a:hover,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-tab:hover {
  background: linear-gradient(180deg, #f4fbff 0%, #e5f1fb 100%);
  border-color: rgba(15, 108, 191, 0.32);
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-tab.active {
  background: linear-gradient(135deg,#00B3F0 0%,#00B3F0 70%,#2A8BCB 100%);
  color: #ffffff;
  border-color: transparent;
}

.path-local-ascend_ilearn .ascendrewards-index .leaderboard,
.path-local-ascend_ilearn .ascendrewards-index .recent-list,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-summary-row {
  display: grid;
  gap: 10px;
}

.path-local-ascend_ilearn .ascendrewards-index .leaderboard {
  list-style: none;
  margin: 0;
  padding: 0;
}

.path-local-ascend_ilearn .ascendrewards-index .leaderboard li {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(15, 108, 191, 0.12);
  border-radius: 0;
  clip-path: polygon(var(--aa-chamfer) 0, calc(100% - var(--aa-chamfer)) 0, 100% var(--aa-chamfer), 100% calc(100% - var(--aa-chamfer)), calc(100% - var(--aa-chamfer)) 100%, var(--aa-chamfer) 100%, 0 calc(100% - var(--aa-chamfer)), 0 var(--aa-chamfer));
  box-shadow: 0 8px 18px rgba(15, 108, 191, 0.06);
}

.path-local-ascend_ilearn .ascendrewards-index .leaderboard li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg,#00B3F0 0%,#00B3F0 70%,#2A8BCB 90%,#ffbf66 100%);
  opacity: 0.9;
}

.path-local-ascend_ilearn .ascendrewards-index .leaderboard li .pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  background: linear-gradient(135deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.12) 72%,rgba(42,139,203,.14) 100%);
  border-radius: 0;
  clip-path: polygon(var(--aa-chamfer) 0, calc(100% - var(--aa-chamfer)) 0, 100% var(--aa-chamfer), 100% calc(100% - var(--aa-chamfer)), calc(100% - var(--aa-chamfer)) 100%, var(--aa-chamfer) 100%, 0 calc(100% - var(--aa-chamfer)), 0 var(--aa-chamfer));
  font-size: 18px;
  font-weight: 800;
  color: var(--aa-accent);
  border: 1px solid rgba(15, 108, 191, 0.2);
  flex-shrink: 0;
}

.path-local-ascend_ilearn .ascendrewards-index .leaderboard li.current-user {
  background: linear-gradient(135deg,rgba(0,179,240,.18) 0%,rgba(0,179,240,.14) 72%,rgba(42,139,203,.16) 100%);
  border-color: rgba(15, 108, 191, 0.32);
}

.path-local-ascend_ilearn .ascendrewards-index .leaderboard li.current-user .pos {
  background: linear-gradient(135deg,#00B3F0 0%,#00B3F0 70%,#2A8BCB 100%);
  color: #ffffff;
}

.path-local-ascend_ilearn .ascendrewards-index .leaderboard .user-id-badge,
.path-local-ascend_ilearn .ascendrewards-index .leaderboard .user-id-pill {
  background: linear-gradient(135deg, #ffefb0 0%, #ffd85f 100%);
  color: #21304a;
  border: 1px solid rgba(15, 108, 191, 0.18);
  box-shadow: 0 4px 10px rgba(15, 108, 191, 0.08);
}

.path-local-ascend_ilearn .ascendrewards-index .badge-card {
  gap: 12px;
  align-items: flex-start;
}

.path-local-ascend_ilearn .ascendrewards-index .badge-card img,
.path-local-ascend_ilearn .ascendrewards-index .earned-badge-icon,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-chart-img {
  background: #ffffff;
  border: 1px solid rgba(15, 108, 191, 0.12);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-journey-card,
.path-local-ascend_ilearn .ascendrewards-index .coaching-box {
  padding: 20px;
}

.path-local-ascend_ilearn .ascendrewards-index .journey-title,
.path-local-ascend_ilearn .ascendrewards-index .aa-badge-title,
.path-local-ascend_ilearn .ascendrewards-index .aa-kpi-label,
.path-local-ascend_ilearn .ascendrewards-index .aa-kpi-value,
.path-local-ascend_ilearn .ascendrewards-index .aa-kpi-subtitle,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-summary-value,
.path-local-ascend_ilearn .ascendrewards-index .gameboard-summary-label,
.path-local-ascend_ilearn .ascendrewards-index .leaderboard li strong,
.path-local-ascend_ilearn .ascendrewards-index .leaderboard li .aa-xp-value {
  color: var(--aa-text);
}

.path-local-ascend_ilearn .ascendrewards-index .journey-progress-bar,
.path-local-ascend_ilearn .ascendrewards-index .xp-ring .bg-ring,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-chart-bar {
  background: linear-gradient(90deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.12) 72%,rgba(42,139,203,.14) 100%);
}

.path-local-ascend_ilearn .ascendrewards-index .journey-progress-fill,
.path-local-ascend_ilearn .ascendrewards-index .xp-ring .progress,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-tab.active,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-chart-bar {
  background: linear-gradient(90deg,#00B3F0 0%,#00B3F0 72%,#2A8BCB 92%,#6bbcff 100%);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-kpi-icon,
.path-local-ascend_ilearn .ascendrewards-index .section-title-icon {
  filter: saturate(0.92) contrast(0.96);
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-tabs {
  border-bottom-color: rgba(15, 108, 191, 0.16);
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-card,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .apex-metric-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: var(--aa-text);
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-head .aa-admin-table-cell,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-row {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-cell {
  color: var(--aa-text);
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.24);
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.24);
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-table-head .aa-admin-table-cell {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-select,
.path-local-ascend_ilearn .ascendrewards-admin:not(.ascendrewards-analytics) .aa-admin-btn-tall {
  box-shadow: 0 8px 18px rgba(15, 108, 191, 0.08);
}

.path-local-ascend_ilearn .ascendrewards-index .aa-panel-head.open .fa-chevron-down {
  color: var(--aa-accent);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes aaModalPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header */
.local-ascend-rewards-notification .apex-reward-header {
  position: relative;
  padding: 24px 24px 20px;
  background: linear-gradient(90deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.1) 72%,rgba(255,149,0,.08) 100%);
  border-bottom: 1px solid rgba(255, 149, 0, 0.2);
  overflow: hidden;
}

.local-ascend-rewards-notification .apex-reward-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 149, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 179, 240, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.local-ascend-rewards-notification .apex-reward-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 50%, #00B3F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.local-ascend-rewards-notification .apex-reward-subtitle {
  font-size: 0.9rem;
  color: #a5b4d6;
  text-align: center;
  margin: 4px 0 0;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* Progress Indicator */
.local-ascend-rewards-notification .apex-reward-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff9500 0%, #ffd700 50%, #00B3F0 100%);
  width: 100%;
  transform-origin: left;
  animation: progressShrink 25s linear forwards;
  border-radius: 0 0 20px 20px;
}

@keyframes progressShrink {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.local-ascend-rewards-notification .apex-reward-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 50%, #00B3F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.local-ascend-rewards-notification .apex-reward-subtitle {
  font-size: 0.9rem;
  color: #a5b4d6;
  text-align: center;
  margin: 4px 0 0;
  font-weight: 500;
}

.local-ascend-rewards-notification .apex-reward-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 149, 0, 0.1);
  border: 2px solid rgba(255, 149, 0, 0.3);
  border-radius: 50%;
  color: #ff9500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: bold;
}

.local-ascend-rewards-notification .apex-reward-close:hover {
  background: rgba(255, 149, 0, 0.2);
  border-color: #ff9500;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

/* Body */
.local-ascend-rewards-notification .apex-reward-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

.local-ascend-rewards-notification .apex-reward-body::-webkit-scrollbar {
  width: 8px;
}

.local-ascend-rewards-notification .apex-reward-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.local-ascend-rewards-notification .apex-reward-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 149, 0, 0.6) 0%, rgba(255, 149, 0, 0.3) 100%);
  border-radius: 4px;
}

/* Video Section */
.local-ascend-rewards-notification .apex-reward-video-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.1) 68%,rgba(255,0,170,.08) 86%,rgba(255,149,0,.08) 100%);
}

.local-ascend-rewards-notification .apex-reward-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.local-ascend-rewards-notification .apex-reward-fullscreen-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 149, 0, 0.5);
  border-radius: 8px;
  color: #ffd700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  z-index: 10;
}

.local-ascend-rewards-notification .apex-reward-fullscreen-btn:hover {
  background: rgba(255, 149, 0, 0.2);
  border-color: #ff9500;
  transform: scale(1.05);
}

.local-ascend-rewards-notification .apex-reward-fullscreen-btn::before,
.path-local-ascend_ilearn .apx-video-fullscreen-btn:empty::before {
  content: "\26F6";
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  color: currentColor;
}

/* Stats Grid */
.local-ascend-rewards-notification .apex-reward-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.local-ascend-rewards-notification .apex-reward-stat-card {
  background: linear-gradient(135deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.1) 72%,rgba(255,0,170,.08) 100%);
  border: 2px solid rgba(255, 149, 0, 0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.local-ascend-rewards-notification .apex-reward-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,#00B3F0 0%,#00B3F0 62%,#ff00aa 82%,#ff9500 100%);
}

.local-ascend-rewards-notification .apex-reward-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 149, 0, 0.6);
  box-shadow: 0 8px 25px rgba(255, 149, 0, 0.2);
}

.local-ascend-rewards-notification .apex-reward-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg,rgba(0,179,240,.26) 0%,rgba(0,179,240,.2) 72%,rgba(255,0,170,.16) 100%);
  border: 2px solid rgba(255, 149, 0, 0.4);
}

.local-ascend-rewards-notification .apex-reward-stat-icon svg {
  width: 24px;
  height: 24px;
}

.local-ascend-rewards-notification .apex-reward-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffd700;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.local-ascend-rewards-notification .apex-reward-stat-label {
  font-size: 0.8rem;
  color: #a5b4d6;
  margin: 4px 0 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Info Section */
.local-ascend-rewards-notification .apex-reward-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 149, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.local-ascend-rewards-notification .apex-reward-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.local-ascend-rewards-notification .apex-reward-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.local-ascend-rewards-notification .apex-reward-info-label {
  font-size: 0.8rem;
  color: #a5b4d6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.local-ascend-rewards-notification .apex-reward-info-value {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}

/* Description */
.local-ascend-rewards-notification .apex-reward-description {
  margin-bottom: 20px;
  position: relative;
}

.local-ascend-rewards-notification .apex-reward-description::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 2px;
  font-size: 1.2rem;
  opacity: 0.8;
}

.local-ascend-rewards-notification .apex-reward-description-title {
  font-size: 1rem;
  font-weight: 700;
  color: #00B3F0;
  margin: 0 0 8px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.local-ascend-rewards-notification .apex-reward-description-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #00B3F0, #0099cc);
  border-radius: 2px;
}

.local-ascend-rewards-notification .apex-reward-description-text {
  font-size: 0.9rem;
  color: #e9f0ff;
  line-height: 1.6;
  margin: 0 0 0 24px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid rgba(0, 179, 240, 0.4);
  border-radius: 0 8px 8px 0;
}

/* Activities */
.local-ascend-rewards-notification .apex-reward-activities {
  margin-bottom: 20px;
  position: relative;
}

.local-ascend-rewards-notification .apex-reward-activities::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 2px;
  font-size: 1.2rem;
  opacity: 0.8;
}

.local-ascend-rewards-notification .apex-reward-activities-title {
  font-size: 1rem;
  font-weight: 700;
  color: #00B3F0;
  margin: 0 0 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.local-ascend-rewards-notification .apex-reward-activities-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #00B3F0, #0099cc);
  border-radius: 2px;
}

.local-ascend-rewards-notification .apex-reward-activities-list {
  list-style: none;
  margin: 0 0 0 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid rgba(0, 179, 240, 0.4);
  border-radius: 0 8px 8px 0;
  max-height: 150px;
  overflow-y: auto;
}

.local-ascend-rewards-notification .apex-reward-activities-list::-webkit-scrollbar {
  width: 6px;
}

.local-ascend-rewards-notification .apex-reward-activities-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.local-ascend-rewards-notification .apex-reward-activities-list::-webkit-scrollbar-thumb {
  background: rgba(255, 149, 0, 0.5);
  border-radius: 3px;
}

.local-ascend-rewards-notification .apex-reward-activity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: #e9f0ff;
  transition: all 0.2s ease;
  position: relative;
}

.local-ascend-rewards-notification .apex-reward-activity-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  padding-left: 8px;
  margin-left: -8px;
  margin-right: -8px;
}

.local-ascend-rewards-notification .apex-reward-activity-item:last-child {
  border-bottom: none;
}

.local-ascend-rewards-notification .apex-reward-activity-item::before {
  content: '';
  color: #00ff88;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.local-ascend-rewards-notification .apex-reward-activity-item:hover::before {
  transform: scale(1.1);
}

/* Rank */
.local-ascend-rewards-notification .apex-reward-rank {
  background: linear-gradient(135deg,rgba(0,179,240,.16) 0%,rgba(0,179,240,.1) 72%,rgba(255,0,170,.08) 100%);
  border: 2px solid rgba(0, 179, 240, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.local-ascend-rewards-notification .apex-reward-rank::before {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  opacity: 0.6;
}

.local-ascend-rewards-notification .apex-reward-rank-text {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 1;
}

.local-ascend-rewards-notification .apex-reward-rank-change {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 4px 0 0;
  position: relative;
  z-index: 1;
}

.local-ascend-rewards-notification .apex-reward-rank-change.up {
  color: #00ff88;
}

.local-ascend-rewards-notification .apex-reward-rank-change.down {
  color: #ff4444;
}

/* Actions */
.local-ascend-rewards-notification .apex-reward-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 149, 0, 0.2);
  position: relative;
}

.local-ascend-rewards-notification .apex-reward-actions::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 149, 0, 0.6), transparent);
  border-radius: 1px;
}

.local-ascend-rewards-notification .apex-reward-btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  min-width: 160px;
  position: relative;
  overflow: hidden;
}

.local-ascend-rewards-notification .apex-reward-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.local-ascend-rewards-notification .apex-reward-btn:hover::before {
  left: 100%;
}

.local-ascend-rewards-notification .apex-reward-btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  color: #01142e;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.local-ascend-rewards-notification .apex-reward-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 149, 0, 0.4);
}

/* Level-up modal */
.local-ascend-rewards-notification .apex-levelup-backdrop{
    position:fixed;
    top:0;left:0;
    width:100%;height:100%;
    background:rgba(0,0,0,0.75);
    z-index:10000;
    display:none;
    backdrop-filter:blur(2px);
}

.local-ascend-rewards-notification .apex-levelup-backdrop.is-visible{
    display:block;
}

.local-ascend-rewards-notification .apex-levelup-modal{
    position:fixed;
    left:50%;top:50%;
    transform:translate(-50%,-50%);
    width:480px;
    max-width:90vw;
    max-height:75vh;
    background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 54%,#2A8BCB 74%,#8A8C8E 92%,#FFFFFF 100%);
    color:#e9f0ff;
    border:3px solid #2A8BCB;
    border-radius:16px;
    box-shadow:0 12px 48px rgba(0,0,0,0.6);
    z-index:10001;
    overflow:hidden;
    display:none;
    flex-direction:column;
}

.local-ascend-rewards-notification .apex-levelup-modal.is-visible{display:flex!important;}

.local-ascend-rewards-notification .apex-levelup-header{
    padding:20px;
    text-align:center;
    background:linear-gradient(90deg,#00B3F0 0%,#00B3F0 70%,#2A8BCB 92%,#6A6D75 100%);
    border-bottom:2px solid rgba(255,255,255,0.55);
    position:relative;
}

.local-ascend-rewards-notification .apex-levelup-close{
    position:absolute;
    top:10px;right:10px;
    background:rgba(0,0,0,0.7);
    border:2px solid #FF9500;
    color:#FFD700;
    font-size:20px;
    cursor:pointer;
    width:36px;height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    transition:all 0.3s;
    z-index:15;
}

.local-ascend-rewards-notification .apex-levelup-close:hover{
    background:rgba(255,149,0,0.3);
    color:#FFF;
    transform:scale(1.1);
}

.local-ascend-rewards-notification .apex-levelup-close:before{
    content:'\00d7';
    font-weight:400;
    line-height:1;
}

.local-ascend-rewards-notification .apex-levelup-title{
    font-size:1.5rem;
    font-weight:800;
    color:#FFD700;
    margin:0;
    text-shadow:0 2px 8px rgba(255,215,0,0.3);
}

.local-ascend-rewards-notification .apex-levelup-body{
    position:relative;
    background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 54%,#2A8BCB 74%,#8A8C8E 92%,#FFFFFF 100%);
    overflow:hidden;
    width:100%;
    max-width:420px;
    min-height:180px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
}

.local-ascend-rewards-notification .apex-levelup-video{
    width:100%;
    height:auto;
    max-height:44vh;
    object-fit:contain;
    display:block;
    background:#000;
}

.local-ascend-rewards-notification .apex-levelup-footer{
    padding:24px 20px;
    text-align:center;
    background:linear-gradient(90deg,#00B3F0 0%,#00B3F0 64%,#2A8BCB 86%,#6A6D75 100%);
    border-top:2px solid rgba(255,255,255,0.55);
}

.local-ascend-rewards-notification .apex-levelup-level{
    font-size:3rem;
    font-weight:900;
    background:linear-gradient(90deg,#FFFFFF 0%,#00B3F0 18%,#00B3F0 72%,#2A8BCB 90%,#FFFFFF 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    margin:0 0 12px 0;
    line-height:1;
    text-shadow:0 4px 12px rgba(0,83,125,0.45);
}

.local-ascend-rewards-notification .apex-levelup-subtitle{
    font-size:1rem;
    font-weight:600;
    color:#A5B4D6;
    margin:0;
}

@media (max-width:640px){
    .local-ascend-rewards-notification .apex-levelup-title{font-size:1.25rem;}
    .local-ascend-rewards-notification .apex-levelup-level{font-size:2.5rem;}
    .local-ascend-rewards-notification .apex-levelup-subtitle{font-size:0.9rem;}
    .local-ascend-rewards-notification .apex-levelup-body{max-width:320px;}
    .local-ascend-rewards-notification .apex-levelup-video{max-height:34vh;}
}

/* Utility */
.path-local-ascend_ilearn .aa-hidden{display:none !important;}

/* Shared icons and badges */
.path-local-ascend_ilearn .aa-section-icon{width:60px;height:60px;vertical-align:middle;margin-right:8px;object-fit:contain;}
.path-local-ascend_ilearn .aa-congrats-title{font-weight:800;font-size:18px;}

/* KPI refinements */
.path-local-ascend_ilearn .aa-kpi-icon{width:60px;height:60px;margin-bottom:12px;object-fit:contain;}
.path-local-ascend_ilearn .aa-kpi-value-top{margin-top:12px;}
.path-local-ascend_ilearn .aa-kpi-subtitle{font-size:14px;color:#94a3b8;margin-top:6px;}
.path-local-ascend_ilearn .aa-kpi-level{color:#FFD700;font-weight:800;}

/* Leaderboard tweaks */
.path-local-ascend_ilearn .aa-leaderboard-mode{color:#ec4899;font-size:14px;font-weight:600;}
.path-local-ascend_ilearn .banner-value-highlight{background:linear-gradient(90deg,#FFDD57,#FFD100);color:#01142E;padding:4px 12px;border-radius:8px;display:inline-block;}
.path-local-ascend_ilearn .aa-banner-sep{color:#64748b;}
.path-local-ascend_ilearn .aa-banner-muted{color:#94a3b8;}
.path-local-ascend_ilearn .leaderboard-view-actions{display:flex;gap:12px;margin-bottom:16px;}
.path-local-ascend_ilearn .leaderboard-view-btn{flex:1;padding:10px 16px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all 0.2s;}
.path-local-ascend_ilearn .leaderboard-view-btn-top{background:#01142E;border:2px solid #ec4899;color:#ec4899;}
.path-local-ascend_ilearn .leaderboard-view-btn-top.is-active{background:#ec4899;border:none;color:#fff;}
.path-local-ascend_ilearn .leaderboard-view-btn-context{background:#01142E;border:2px solid #00B3F0;color:#00B3F0;}
.path-local-ascend_ilearn .leaderboard-view-btn-context.is-active{background:#00B3F0;border:none;color:#fff;}
.path-local-ascend_ilearn .xp-display-right{margin-left:auto;}
.path-local-ascend_ilearn .xp-icon{flex-shrink:0;}
.path-local-ascend_ilearn .aa-xp-value{font-weight:700;color:#e6e9f0;min-width:80px;text-align:right;display:inline-block;margin-left:8px;}
.path-local-ascend_ilearn .leaderboard-current-user{margin-top:16px;border-top:2px solid rgba(255,0,170,0.08);padding-top:16px;padding-bottom:8px;}
.path-local-ascend_ilearn .aa-leaderboard-loading{text-align:center;padding:20px;}
.path-local-ascend_ilearn .leaderboard-control-frame{
  display:grid;
  gap:12px;
  margin-bottom:16px;
  padding:14px 16px;
  border-radius:14px;
  background:linear-gradient(180deg,rgba(2,23,47,0.9) 0%,rgba(1,20,46,0.82) 100%);
  border:1px solid rgba(125,211,252,0.35);
  box-shadow:0 10px 24px rgba(2,23,47,0.35);
}
.path-local-ascend_ilearn .leaderboard-control-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.path-local-ascend_ilearn .leaderboard-kv{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(148,163,184,0.25);
}
.path-local-ascend_ilearn .leaderboard-kv--muted{
  background:rgba(148,163,184,0.08);
}
.path-local-ascend_ilearn .leaderboard-control-frame .banner-label{
  color:#94a3b8;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  font-weight:700;
}
.path-local-ascend_ilearn .leaderboard-control-frame .banner-value{
  color:#e6e9f0;
  font-size:15px;
  font-weight:800;
}
.path-local-ascend_ilearn .leaderboard-control-frame .banner-value-highlight{
  background:rgba(125,211,252,0.2);
  color:#f8fcff;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(125,211,252,0.45);
}
.path-local-ascend_ilearn .leaderboard-control-frame .banner-context{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(0,179,240,0.14);
  border:1px solid rgba(0,179,240,0.4);
  color:#7dd3fc;
  font-size:12px;
  font-weight:700;
}
.path-local-ascend_ilearn .leaderboard-view-actions-inline{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-bottom:0;
}
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn{
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 14px;
  border-radius:10px;
  border:1px solid rgba(148,163,184,0.35);
  background:#01142E;
  color:#e2e8f0;
  font-size:13px;
  font-weight:700;
  transition:background 0.2s ease,border-color 0.2s ease,color 0.2s ease,transform 0.2s ease;
}
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn i{
  color:#7dd3fc;
}
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn:hover{
  border-color:#22d3ee;
  background:rgba(0,179,240,0.08);
  transform:translateY(-1px);
}
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn-top,
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn-context{
  border-width:1px;
}
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn.is-active,
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn-top.is-active,
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn-context.is-active{
  background:rgba(0,179,240,0.2);
  border:1px solid #22d3ee;
  color:#f8fcff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.08);
}
.path-local-ascend_ilearn .leaderboard-control-frame .leaderboard-view-btn.is-active i{
  color:#22d3ee;
}
@media (max-width:640px){
  .path-local-ascend_ilearn .leaderboard-control-frame .banner-context{
    margin-left:0;
  }
  .path-local-ascend_ilearn .leaderboard-view-actions-inline{
    grid-template-columns:1fr;
  }
}

/* Badges by course */
.path-local-ascend_ilearn .aa-course-group{margin-top:24px;}
.path-local-ascend_ilearn .aa-course-title{font-weight:800;margin-bottom:16px;font-size:18px;color:#F8FAFF;}
.path-local-ascend_ilearn .aa-category-block{margin-bottom:16px;}
.path-local-ascend_ilearn .aa-category-title{font-weight:700;margin-bottom:8px;font-size:14px;}
.path-local-ascend_ilearn .aa-category-progress{color:#FF00AA;}
.path-local-ascend_ilearn .aa-category-timeliness{color:#00B3F0;}
.path-local-ascend_ilearn .aa-category-quality{color:#FF9500;}
.path-local-ascend_ilearn .aa-category-mastery{color:#7A00FF;}
.path-local-ascend_ilearn .aa-category-competency{color:#00B3F0;}
.path-local-ascend_ilearn .aa-category-reliability{color:#2A8BCB;}
.path-local-ascend_ilearn .aa-category-academic{color:#6A6D75;}
.path-local-ascend_ilearn .aa-category-performance{color:#6A6D75;}
.path-local-ascend_ilearn .aa-category-other{color:#A5B4D6;}
.path-local-ascend_ilearn .badge-card{position:relative;}
.path-local-ascend_ilearn .aa-badge-count{position:absolute;right:8px;bottom:8px;background:linear-gradient(135deg,#FFD700 0%,#FFA500 100%);color:#0b1530;font-weight:800;font-size:12px;padding:4px 8px;border-radius:12px;box-shadow:0 2px 8px rgba(255,215,0,0.4);}
.path-local-ascend_ilearn .aa-badge-title{font-weight:700;}
.path-local-ascend_ilearn .aa-week-range{font-size:14px;font-weight:400;margin-left:8px;}

/* Gameboard */
.path-local-ascend_ilearn .gameboard-summary{background:#01142E;border-radius:16px;padding:24px;margin-bottom:20px;}
.path-local-ascend_ilearn .gameboard-summary-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;}
.path-local-ascend_ilearn .gameboard-summary-label{font-size:14px;color:#94a3b8;margin-bottom:4px;}
.path-local-ascend_ilearn .gameboard-summary-value{font-size:20px;font-weight:700;color:#ec4899;}
.path-local-ascend_ilearn .gameboard-summary-value-lg{font-size:28px;font-weight:800;color:#ec4899;}
.path-local-ascend_ilearn .gameboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.path-local-ascend_ilearn .gameboard-card{aspect-ratio:1;background:#01142E;border:3px solid #00B3F0;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.3s ease;position:relative;overflow:hidden;}
.path-local-ascend_ilearn .gameboard-card.picked{background:linear-gradient(180deg,#006FAF 0%,#008ED0 18%,#00B3F0 42%,#00B3F0 100%);cursor:default;}
.path-local-ascend_ilearn .gameboard-card-content{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;height:100%;justify-content:center;pointer-events:none;}
.path-local-ascend_ilearn .gameboard-card-icon{width:78%;height:68%;object-fit:contain;}
.path-local-ascend_ilearn .gameboard-card-value{font-size:20px;font-weight:800;color:#01142E;}
.path-local-ascend_ilearn .gameboard-card-badge{width:80%;height:80%;object-fit:contain;}
.path-local-ascend_ilearn .gameboard-card-hover{position:absolute;inset:0;background:linear-gradient(145deg,#6A6D75 0%,#7E838C 52%,#51545B 100%);display:none;align-items:center;justify-content:center;pointer-events:none;}
.path-local-ascend_ilearn .gameboard-card-hover-icon{width:80%;height:80%;object-fit:contain;}
.path-local-ascend_ilearn .gameboard-card:not(.picked):hover .gameboard-card-hover{display:flex;}

/* Badge modal helpers */
.path-local-ascend_ilearn .apx-coin-icon{width:32px;height:32px;object-fit:contain;}
.path-local-ascend_ilearn .apx-activity-failed{color:#ff4444;font-weight:600;}
.path-local-ascend_ilearn .apx-activity-passed{color:#00cc66;font-weight:600;}
.path-local-ascend_ilearn .apx-activity-improved{color:#4ECDC4;font-weight:600;}
.path-local-ascend_ilearn .apx-activity-indent{margin-left:20px;display:inline-block;}
.path-local-ascend_ilearn .apx-activities-list,
.path-local-ascend_ilearn .apx-badges-list{list-style:none;padding:0;margin:0;}
.path-local-ascend_ilearn .apx-activity-item{margin-left:20px;font-size:0.9em;color:#A5B4D6;margin-bottom:4px;}
.path-local-ascend_ilearn .apx-award-header{font-weight:700;font-size:0.95em;color:#FFD700;margin-top:8px;margin-bottom:6px;list-style:none;}
.path-local-ascend_ilearn .apx-award-spacer{height:12px;list-style:none;}
.path-local-ascend_ilearn .apx-award-count{margin-right:8px;display:inline-block;}

/* Admin dashboard form/table helpers */
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-search-tabs{display:flex;gap:10px;margin-bottom:20px;border-bottom:2px solid #ddd;padding-bottom:10px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-search-btn{padding:8px 16px;border:none;cursor:pointer;border-radius:4px;background-color:#ccc;color:#333;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-search-btn.is-active{background-color:#FF9500;color:#fff;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-form-row{display:flex;align-items:flex-end;gap:10px;margin-bottom:20px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-form-row-wrap{flex-wrap:wrap;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-form-group{margin:0;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-input-wide{width:300px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-input-medium{width:250px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-input-full{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table{width:100%;border-collapse:collapse;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-spaced{margin-top:10px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-cell{padding:10px;text-align:left;border:1px solid #ddd;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-head{background-color:#f5f5f5;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-head-cell{border-bottom:2px solid #ddd;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-row{border-bottom:1px solid #eee;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-table-cell-sm{font-size:12px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-form-panel{padding:20px;background:#f9f9f9;border-radius:8px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-btn-gift-coins{background:#007bff;color:#fff;padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-weight:bold;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-card-spaced{margin-bottom:30px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-card-top{margin-top:40px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-muted{color:#666;font-size:14px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-empty-note{color:#999;font-style:italic;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-award-badge{color:#000;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:bold;display:inline-block;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-award-badge-coins{background:#FFD700;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-btn-spaced{margin-left:10px;}
.path-local-ascend_ilearn .ascendrewards-admin .aa-admin-form-inline{display:inline;}

/* Audit page helpers */
.path-local-ascend_ilearn .aa-audit-filter-panel{margin-bottom:20px;padding:15px;background:#f9f9f9;border-radius:5px;}
.path-local-ascend_ilearn .aa-audit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;}
.path-local-ascend_ilearn .aa-audit-actions{margin-top:15px;}
.path-local-ascend_ilearn .aa-audit-table-wrap{margin-top:20px;}
.path-local-ascend_ilearn .aa-table-scroll{overflow-x:auto;}
.path-local-ascend_ilearn .aa-status-badge{padding:3px 8px;border-radius:3px;font-size:0.85em;font-weight:600;display:inline-block;}
.path-local-ascend_ilearn .aa-status-success{background:#28a745;color:#fff;}
.path-local-ascend_ilearn .aa-status-revoked{background:#dc3545;color:#fff;}
.path-local-ascend_ilearn .aa-status-debug{background:#6c757d;color:#fff;}
.path-local-ascend_ilearn .aa-status-error{background:#ffc107;color:#000;}
.path-local-ascend_ilearn .aa-status-other{background:#17a2b8;color:#fff;}
.path-local-ascend_ilearn .aa-audit-message{max-width:400px;word-wrap:break-word;}
.path-local-ascend_ilearn .aa-audit-summary{margin-top:30px;padding:15px;background:#f9f9f9;border-radius:5px;}
.path-local-ascend_ilearn .aa-audit-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;}
.path-local-ascend_ilearn .aa-audit-summary-card{padding:10px;background:#fff;border-radius:5px;text-align:center;}
.path-local-ascend_ilearn .aa-audit-summary-value{font-size:2em;font-weight:bold;}
.path-local-ascend_ilearn .aa-audit-summary-label{color:#666;}
.path-local-ascend_ilearn .aa-admin-input-full{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;}
.path-local-ascend_ilearn .aa-admin-table{width:100%;border-collapse:collapse;}
.path-local-ascend_ilearn .aa-admin-table-spaced{margin-top:10px;}
.path-local-ascend_ilearn .aa-admin-table-cell{padding:10px;text-align:left;border:1px solid #ddd;}
.path-local-ascend_ilearn .aa-admin-table-head{background-color:#f5f5f5;}
.path-local-ascend_ilearn .aa-admin-table-head-cell{border-bottom:2px solid #ddd;}
.path-local-ascend_ilearn .aa-admin-table-row{border-bottom:1px solid #eee;}
.path-local-ascend_ilearn .aa-admin-table-cell-sm{font-size:12px;}

/* Apex reward modal additions */
.local-ascend-rewards-notification .apex-reward-badge-name{text-align:center;margin-bottom:24px;}
.local-ascend-rewards-notification .apex-reward-badge-title{font-size:1.5rem;font-weight:800;color:#00B3F0;margin:0;text-shadow:0 2px 4px rgba(0,179,240,0.3);}
.local-ascend-rewards-notification .apex-reward-badge-subtitle{font-size:0.9rem;color:#a5b4d6;margin:4px 0 0;font-weight:500;}
.local-ascend-rewards-notification .apex-reward-medal-icon{width:24px;height:24px;}
.local-ascend-rewards-notification .apex-reward-activity-item-more{color:#ffd700;font-weight:600;}

/* Instructions page */
.path-local-ascend_ilearn .ascend-instructions{max-width:1180px;margin:0 auto;padding:12px 12px 28px;}
.path-local-ascend_ilearn .ascend-instructions__hero{background:linear-gradient(140deg,#00B3F0 0%,#00B3F0 56%,#0879B8 100%);border:1px solid rgba(0,179,240,0.35);border-radius:16px;padding:20px 22px;margin-bottom:18px;color:#e6f7ff;}
.path-local-ascend_ilearn .ascend-instructions__hero-title-wrap{display:flex;align-items:center;gap:12px;margin-bottom:10px;}
.path-local-ascend_ilearn .ascend-instructions__hero-icon{width:38px;height:38px;object-fit:contain;}
.path-local-ascend_ilearn .ascend-instructions__hero-title{margin:0;font-weight:800;letter-spacing:.2px;}
.path-local-ascend_ilearn .ascend-instructions__hero-text{margin:0 0 6px;font-size:1rem;}
.path-local-ascend_ilearn .ascend-instructions__hero-subtext{margin:0;color:#b7d8e8;}
.path-local-ascend_ilearn .ascend-instructions__section{background:#02172f;border:1px solid rgba(125,211,252,0.45);border-radius:12px;padding:16px 18px;margin-bottom:14px;color:#f8fcff;box-shadow:0 12px 28px rgba(2,23,47,0.28);}
.path-local-ascend_ilearn .ascend-instructions__section h3{margin:0 0 10px;}
.path-local-ascend_ilearn .ascend-instructions__section p{margin:0 0 10px;}
.path-local-ascend_ilearn .ascend-instructions__section ul{margin:0 0 10px;padding-left:20px;}
.path-local-ascend_ilearn .ascend-instructions__badge-groups{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.path-local-ascend_ilearn .ascend-instructions__category{background:#02172f;border:1px solid rgba(125,211,252,0.45);border-radius:12px;padding:14px;color:#f8fcff;box-shadow:0 12px 28px rgba(2,23,47,0.28);}
.path-local-ascend_ilearn .ascend-instructions__category h4{margin:0 0 6px;}
.path-local-ascend_ilearn .ascend-instructions__category-desc{margin:0 0 10px;color:#dbeafe;}
.path-local-ascend_ilearn .ascend-instructions__badge-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.path-local-ascend_ilearn .ascend-instructions__badge-card{border:1px solid rgba(125,211,252,0.45);border-radius:10px;padding:10px;background:#02172f;text-align:center;color:#f8fcff;box-shadow:0 10px 24px rgba(2,23,47,0.28);}
.path-local-ascend_ilearn .ascend-instructions__badge-card img{width:52px;height:52px;object-fit:contain;margin:0 auto 8px;}
.path-local-ascend_ilearn .ascend-instructions__badge-name{font-size:.92rem;font-weight:700;color:#ffffff;line-height:1.2;}
.path-local-ascend_ilearn .ascend-instructions__badge-description{font-size:.82rem;color:#e6f4ff;margin-top:6px;line-height:1.3;}
.path-local-ascend_ilearn .ascend-instructions__badge-repeatable{font-size:.74rem;color:#bfdbfe;margin-top:4px;}
.path-local-ascend_ilearn .ascend-instructions__badge-coins{margin-top:8px;font-weight:800;color:#ffffff;font-size:.85rem;}
.path-local-ascend_ilearn .ascend-instructions__features{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;}
.path-local-ascend_ilearn .ascend-instructions__feature-card{background:#02172f;border:1px solid rgba(125,211,252,0.45);border-radius:12px;padding:14px;color:#f8fcff;box-shadow:0 12px 28px rgba(2,23,47,0.28);}
.path-local-ascend_ilearn .ascend-instructions__feature-head{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.path-local-ascend_ilearn .ascend-instructions__feature-head img{width:30px;height:30px;object-fit:contain;}
.path-local-ascend_ilearn .ascend-instructions__cap-note{
  margin:12px 0;
  padding:12px 14px;
  border-radius:8px;
  background:rgba(0,179,240,.12);
  border:1px solid rgba(0,179,240,.28);
  color:#eaf8ff;
  font-weight:700;
}
.path-local-ascend_ilearn .ascend-instructions__feature-head h4{margin:0;}
.path-local-ascend_ilearn .ascend-instructions__feature-card ul{margin:0;padding-left:20px;}
.path-local-ascend_ilearn .ascend-instructions__feature-card li{margin:0 0 6px;}
.path-local-ascend_ilearn .ascend-instructions__actions{margin-top:14px;}
@media (max-width:992px){
    .path-local-ascend_ilearn .ascend-instructions__badge-groups{grid-template-columns:1fr;}
    .path-local-ascend_ilearn .ascend-instructions__features{grid-template-columns:1fr;}
}
@media (max-width:640px){
    .path-local-ascend_ilearn .ascend-instructions__badge-grid{grid-template-columns:1fr;}
}

/* Admin analytics page */
.path-local-ascend_ilearn .ascendrewards-analytics{
  color:#eaf2ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics h1,
.path-local-ascend_ilearn .ascendrewards-analytics h2,
.path-local-ascend_ilearn .ascendrewards-analytics h3,
.path-local-ascend_ilearn .ascendrewards-analytics h4{
  color:#f8fbff !important;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-muted{
  color:#b9c9e7;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-section-title,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-section-title-top{
  color:#f8fbff !important;
  margin:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-tabs{
  border-bottom:1px solid rgba(130,177,255,0.18);
  margin:20px 0 24px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-tab{
  background:rgba(6,18,45,0.78);
  color:#d6e3ff;
  border:1px solid rgba(130,177,255,0.2);
  box-shadow:0 10px 24px rgba(1,8,40,0.22);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-tab:hover{
  background:rgba(10,30,68,0.92);
  border-color:rgba(0,179,240,0.35);
  color:#ffffff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-tab.active{
  background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 68%,#FF00AA 100%);
  border-color:transparent;
  color:#07152d;
  box-shadow:0 16px 34px rgba(255,0,170,0.25);
}
.path-local-ascend_ilearn .aa-analytics-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(280px,.9fr);
  gap:24px;
  align-items:center;
  padding:28px 30px;
  margin-bottom:18px;
  border-radius:24px;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,179,240,0.22) 0%, rgba(0,179,240,0) 32%),
    radial-gradient(circle at 82% 24%, rgba(255,0,170,0.18) 0%, rgba(255,0,170,0) 30%),
    linear-gradient(140deg,#051533 0%,#071a45 50%,#10193b 100%);
  border:1px solid rgba(126,174,255,0.2);
  box-shadow:0 24px 70px rgba(1,8,40,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.path-local-ascend_ilearn .aa-analytics-hero::after{
  content:"";
  position:absolute;
  inset:auto -8% -44% auto;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,149,0,0.18) 0%, rgba(255,149,0,0) 70%);
  pointer-events:none;
}
.path-local-ascend_ilearn .aa-analytics-hero-copy{
  position:relative;
  z-index:1;
}
.path-local-ascend_ilearn .aa-analytics-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  margin-bottom:12px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(0,179,240,0.25);
  color:#8aeaff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.path-local-ascend_ilearn .aa-analytics-title{
  margin:0 0 12px;
  font-size:clamp(2rem, 3vw, 2.9rem);
  line-height:1.02;
  font-weight:900;
  letter-spacing:-0.03em;
}
.path-local-ascend_ilearn .aa-analytics-subtitle{
  max-width:760px;
  margin:0;
  font-size:1.02rem;
  line-height:1.7;
  color:#d7e4ff;
  font-weight:600;
}
.path-local-ascend_ilearn .aa-analytics-hero-art{
  position:relative;
  min-height:240px;
}
.path-local-ascend_ilearn .aa-analytics-orbit,
.path-local-ascend_ilearn .aa-analytics-signal,
.path-local-ascend_ilearn .aa-analytics-core{
  position:absolute;
}
.path-local-ascend_ilearn .aa-analytics-orbit{
  border-radius:50%;
  border:1px solid rgba(176,214,255,0.14);
  background:rgba(255,255,255,0.02);
  box-shadow:inset 0 0 30px rgba(255,255,255,0.03);
}
.path-local-ascend_ilearn .aa-analytics-orbit-a{
  width:230px;
  height:230px;
  right:10px;
  top:4px;
}
.path-local-ascend_ilearn .aa-analytics-orbit-b{
  width:166px;
  height:166px;
  right:42px;
  top:34px;
}
.path-local-ascend_ilearn .aa-analytics-orbit-c{
  width:96px;
  height:96px;
  right:77px;
  top:68px;
}
.path-local-ascend_ilearn .aa-analytics-core{
  right:102px;
  top:91px;
  width:52px;
  height:52px;
}
.path-local-ascend_ilearn .aa-analytics-core-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:2px solid rgba(0,179,240,0.5);
  box-shadow:0 0 22px rgba(0,179,240,0.2);
}
.path-local-ascend_ilearn .aa-analytics-core-ring-alt{
  inset:8px;
  border-color:rgba(255,0,170,0.45);
}
.path-local-ascend_ilearn .aa-analytics-core-dot{
  position:absolute;
  inset:18px;
  border-radius:50%;
  background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 68%,#FF9500 100%);
  box-shadow:0 0 24px rgba(255,149,0,0.45);
}
.path-local-ascend_ilearn .aa-analytics-signal{
  height:6px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(0,179,240,0) 0%, rgba(0,179,240,0.95) 50%, rgba(255,0,170,0) 100%);
  filter:drop-shadow(0 0 8px rgba(0,179,240,0.45));
}
.path-local-ascend_ilearn .aa-analytics-signal-a{
  width:116px;
  right:154px;
  top:42px;
  transform:rotate(16deg);
}
.path-local-ascend_ilearn .aa-analytics-signal-b{
  width:140px;
  right:2px;
  top:118px;
}
.path-local-ascend_ilearn .aa-analytics-signal-c{
  width:102px;
  right:126px;
  top:198px;
  transform:rotate(-20deg);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-alert{
  background:linear-gradient(135deg,rgba(219,244,255,0.96) 0%,rgba(242,248,255,0.98) 100%);
  border:1px solid rgba(0,111,156,0.28);
  color:#14213d;
  box-shadow:0 16px 34px rgba(1,8,40,0.22);
  font-weight:700;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-alert a{
  color:#003f7d;
  font-weight:800;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-alert-success{
  background:linear-gradient(135deg,rgba(220,252,231,0.96) 0%,rgba(240,253,244,0.98) 100%);
  border-color:rgba(22,101,52,0.32);
  color:#12351f;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-alert-error{
  background:linear-gradient(135deg,rgba(254,226,226,0.96) 0%,rgba(255,241,242,0.98) 100%);
  border-color:rgba(153,27,27,0.32);
  color:#471313;
}
.path-local-ascend_ilearn .ascendrewards-analytics .apex-metrics-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-bottom:26px;
}
.path-local-ascend_ilearn .aa-analytics-kpi-card{
  position:relative;
  overflow:hidden;
  padding:20px 20px 18px;
  border-radius:18px;
  border:1px solid rgba(132,180,255,0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(140deg, rgba(7,21,49,0.96) 0%, rgba(9,26,61,0.98) 100%);
  box-shadow:0 22px 50px rgba(1,8,40,0.28);
}
.path-local-ascend_ilearn .aa-analytics-kpi-card::after{
  content:"";
  position:absolute;
  inset:auto -15% -35% auto;
  width:140px;
  height:140px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,179,240,0.18) 0%, rgba(0,179,240,0) 68%);
  pointer-events:none;
}
.path-local-ascend_ilearn .aa-analytics-kpi-accent{
  width:56px;
  height:5px;
  margin-bottom:16px;
  border-radius:999px;
  background:linear-gradient(90deg,#00B3F0 0%,#00B3F0 62%,#FF00AA 82%,#FF9500 100%);
  box-shadow:0 0 18px rgba(255,0,170,0.28);
}
.path-local-ascend_ilearn .aa-analytics-kpi-label{
  color:#9fdfff;
  font-size:.82rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:10px;
}
.path-local-ascend_ilearn .aa-analytics-kpi-value{
  color:#ffffff;
  font-size:2.35rem;
  font-weight:900;
  line-height:1;
  letter-spacing:-0.03em;
}
.path-local-ascend_ilearn .aa-analytics-kpi-subtext{
  margin-top:10px;
  color:#d7e4ff;
  font-size:.92rem;
  font-weight:600;
}
.path-local-ascend_ilearn .aa-analytics-section-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}
.path-local-ascend_ilearn .aa-analytics-summary-grid{
  grid-template-columns:1fr;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(145deg, rgba(5,19,46,0.97) 0%, rgba(9,27,66,0.98) 100%);
  border:1px solid rgba(120,171,255,0.16);
  border-radius:20px;
  box-shadow:0 24px 60px rgba(1,8,40,0.28);
  padding:22px 22px 18px;
  margin-bottom:18px;
}
.path-local-ascend_ilearn .aa-analytics-card{
  position:relative;
  overflow:hidden;
  padding:22px 22px 18px;
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(145deg, rgba(5,19,46,0.97) 0%, rgba(9,27,66,0.98) 100%);
  border:1px solid rgba(120,171,255,0.16);
  box-shadow:0 24px 60px rgba(1,8,40,0.28);
}
.path-local-ascend_ilearn .aa-analytics-card::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:1px;
  background:linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 68%);
}
.path-local-ascend_ilearn .aa-analytics-card-wide{
  margin-bottom:18px;
}
.path-local-ascend_ilearn .aa-analytics-impact-card{
  margin-bottom:18px;
}
.path-local-ascend_ilearn .aa-analytics-summary-card{
  overflow:visible;
}
.path-local-ascend_ilearn .aa-analytics-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.path-local-ascend_ilearn .aa-analytics-section-kicker{
  margin-bottom:8px;
  color:#8dcff0;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.path-local-ascend_ilearn .aa-analytics-section-title{
  margin:0;
  font-size:1.3rem;
  font-weight:850;
  letter-spacing:-0.02em;
}
.path-local-ascend_ilearn .aa-analytics-note{
  margin:10px 0 0;
  max-width:860px;
  line-height:1.6;
  font-size:.95rem;
}
.path-local-ascend_ilearn .aa-analytics-section-icon{
  position:relative;
  flex:0 0 auto;
  width:54px;
  height:54px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.12);
  background:linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.14);
}
.path-local-ascend_ilearn .aa-analytics-section-icon::before,
.path-local-ascend_ilearn .aa-analytics-section-icon::after{
  content:"";
  position:absolute;
  border-radius:999px;
}
.path-local-ascend_ilearn .aa-analytics-section-icon::before{
  inset:13px 15px 24px;
}
.path-local-ascend_ilearn .aa-analytics-section-icon::after{
  left:15px;
  right:15px;
  bottom:13px;
  height:7px;
}
.path-local-ascend_ilearn .aa-analytics-section-icon-cyan::before{
  background:linear-gradient(90deg,#00B3F0,#7cf4ff);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-cyan::after{
  background:linear-gradient(90deg,#7cf4ff,#00B3F0);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-gold::before{
  background:linear-gradient(90deg,#FF9500,#FFD166);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-gold::after{
  background:linear-gradient(90deg,#FFD166,#FF9500);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-magenta::before{
  background:linear-gradient(90deg,#FF00AA,#ff81cf);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-magenta::after{
  background:linear-gradient(90deg,#ff81cf,#FF00AA);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-coral::before{
  background:linear-gradient(90deg,#ff8d6b,#FF9500);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-coral::after{
  background:linear-gradient(90deg,#FF9500,#ff8d6b);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-lime::before{
  background:linear-gradient(90deg,#6fe89d,#c6ff6e);
}
.path-local-ascend_ilearn .aa-analytics-section-icon-lime::after{
  background:linear-gradient(90deg,#c6ff6e,#6fe89d);
}
.path-local-ascend_ilearn .aa-analytics-metric-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}
.path-local-ascend_ilearn .aa-analytics-metric-list-compact{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.path-local-ascend_ilearn .aa-analytics-metric-tile{
  min-width:0;
  min-height:150px;
  padding:18px;
  border-radius:14px;
  border:1px solid rgba(132,180,255,0.16);
  background:linear-gradient(145deg,rgba(255,255,255,0.95) 0%,rgba(235,244,255,0.97) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.8);
}
.path-local-ascend_ilearn .aa-analytics-metric-label{
  color:#263a5c;
  font-size:.96rem;
  font-weight:800;
  line-height:1.35;
}
.path-local-ascend_ilearn .aa-analytics-metric-value{
  margin-top:14px;
  color:#061b3d;
  font-size:2rem;
  font-weight:900;
  line-height:1;
}
.path-local-ascend_ilearn .aa-analytics-metric-detail{
  margin:14px 0 0;
  color:#435475;
  font-size:.94rem;
  font-weight:600;
  line-height:1.45;
}
.path-local-ascend_ilearn .aa-analytics-table-wrap{
  overflow-x:auto;
}
.path-local-ascend_ilearn .aa-analytics-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-table-head{
  background:rgba(147,197,253,0.08);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-table-head .aa-admin-table-cell{
  color:#a8d4ff;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
  border-color:rgba(112,160,242,0.14) !important;
  background:rgba(147,197,253,0.04);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-table-cell{
  padding:14px 14px;
  color:#eef5ff;
  font-size:.96rem;
  border-color:rgba(112,160,242,0.12) !important;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-table-row{
  background:rgba(255,255,255,0.94);
  transition:background .18s ease, transform .18s ease;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-table-row:nth-child(even){
  background:rgba(242,248,255,0.96);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-table-row:hover{
  background:rgba(220,244,255,0.98);
}
.path-local-ascend_ilearn .aa-analytics-table-value{
  font-weight:850;
  color:#ffffff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-analytics-table .aa-admin-table-row .aa-admin-table-cell,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-analytics-table .aa-admin-table-row .aa-analytics-table-value,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-analytics-table .aa-admin-table-row td,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-analytics-table .aa-admin-table-row th{
  color:#293956 !important;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-analytics-table .aa-admin-table-row .aa-admin-table-cell a{
  color:#0f4f8f !important;
}
@media (max-width:1200px){
  .path-local-ascend_ilearn .ascendrewards-analytics .apex-metrics-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .path-local-ascend_ilearn .aa-analytics-section-grid{
    grid-template-columns:1fr;
  }
  .path-local-ascend_ilearn .aa-analytics-metric-list,
  .path-local-ascend_ilearn .aa-analytics-metric-list-compact{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:900px){
  .path-local-ascend_ilearn .aa-analytics-hero{
    grid-template-columns:1fr;
    padding:24px 22px;
  }
  .path-local-ascend_ilearn .aa-analytics-hero-art{
    min-height:210px;
  }
}
@media (max-width:640px){
  .path-local-ascend_ilearn .ascendrewards-analytics .apex-metrics-row{
    grid-template-columns:1fr;
  }
  .path-local-ascend_ilearn .aa-analytics-title{
    font-size:2rem;
  }
  .path-local-ascend_ilearn .aa-analytics-card-head{
    flex-direction:column;
  }
  .path-local-ascend_ilearn .aa-analytics-section-icon{
    width:46px;
    height:46px;
  }
  .path-local-ascend_ilearn .aa-analytics-metric-list,
  .path-local-ascend_ilearn .aa-analytics-metric-list-compact{
    grid-template-columns:1fr;
  }
  .path-local-ascend_ilearn .aa-analytics-metric-tile{
    min-height:0;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-table-cell{
    padding:12px 10px;
    font-size:.9rem;
  }
}

/* Admin key metrics page, aligned with the analytics visual system. */
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-metrics{
  color:#eaf2ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-metrics .aa-metrics-kpi-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card{
  min-height:198px;
  text-align:left;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card .aa-analytics-kpi-accent{
  margin-bottom:26px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-icon{
  position:absolute;
  top:20px;
  right:20px;
  min-height:0;
  margin:0;
  width:84px;
  height:84px;
  padding:8px;
  border-radius:18px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.12);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-icon img,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-icon .aa-admin-metric-icon-image{
  width:68px;
  height:68px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card .aa-analytics-kpi-label,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card .aa-analytics-kpi-value,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card .aa-analytics-kpi-subtext{
  position:relative;
  z-index:1;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card .aa-analytics-kpi-label{
  max-width:calc(100% - 100px);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card .aa-analytics-kpi-value{
  padding-right:78px;
  overflow-wrap:anywhere;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-section-grid{
  grid-template-columns:1.15fr 1fr;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-badge-icon{
  width:38px;
  height:38px;
  padding:3px;
  border-radius:10px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.1);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-chart-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(132px,1fr));
  gap:18px;
  align-items:end;
  margin:4px 0 0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-chart-col{
  min-width:0;
  padding:14px 12px;
  border-radius:16px;
  background:rgba(255,255,255,0.035);
  border:1px solid rgba(120,171,255,0.12);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-chart-bar{
  width:26px;
  min-height:40px;
  background:linear-gradient(180deg,#00B3F0 0%,#00B3F0 70%,#FF00AA 100%);
  box-shadow:0 12px 24px rgba(0,179,240,0.18);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-chart-img{
  width:92px;
  height:92px;
  margin-top:10px;
  border-radius:16px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-chart-label{
  color:#ffffff;
  font-weight:800;
  text-shadow:0 1px 8px rgba(0,0,0,0.35);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-chart-value{
  color:#ffffff;
  font-weight:850;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-action-row{
  align-items:flex-end;
  gap:14px;
  margin-top:4px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-action-field{
  flex:1 1 320px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-label{
  color:#d7e4ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-select{
  width:100%;
  max-width:560px;
  color:#eef5ff;
  background:rgba(6,18,45,0.9);
  border:1px solid rgba(130,177,255,0.24);
  border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-select:focus{
  border-color:rgba(0,179,240,0.58);
  box-shadow:0 0 0 3px rgba(0,179,240,0.14);
}
.path-local-ascend_ilearn .ascendrewards-analytics .btn-primary{
  background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 68%,#FF00AA 100%);
  border-color:transparent;
  color:#07152d;
  border-radius:10px;
  font-weight:850;
  box-shadow:0 14px 30px rgba(255,0,170,0.22);
}
.path-local-ascend_ilearn .ascendrewards-analytics .btn-primary:hover,
.path-local-ascend_ilearn .ascendrewards-analytics .btn-primary:focus{
  color:#07152d;
  filter:brightness(1.06);
}
@media (max-width:1200px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-metrics .aa-metrics-kpi-grid,
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-section-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:640px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card{
    min-height:0;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-icon{
    position:relative;
    top:auto;
    right:auto;
    margin-bottom:18px;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card .aa-analytics-kpi-label{
    max-width:none;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card .aa-analytics-kpi-value{
    padding-right:0;
    font-size:2rem;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-chart-row{
    grid-template-columns:repeat(auto-fit,minmax(116px,1fr));
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-action-row{
    align-items:stretch;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-btn-tall{
    width:100%;
  }
}

/* Admin user badges page, aligned with the analytics visual system. */
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-users{
  color:#eaf2ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-results-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-empty-card{
  margin-bottom:18px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-tabs{
  display:inline-flex;
  gap:8px;
  width:auto;
  max-width:100%;
  padding:6px;
  margin:2px 0 20px;
  border:1px solid rgba(130,177,255,0.18);
  border-radius:14px;
  background:rgba(6,18,45,0.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.06);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-tabs .aa-admin-search-btn{
  min-width:150px;
  padding:10px 16px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#d6e3ff;
  font-weight:850;
  box-shadow:none;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-tabs .aa-admin-search-btn:hover{
  background:rgba(10,30,68,0.92);
  border-color:rgba(0,179,240,0.28);
  color:#ffffff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-tabs .aa-admin-search-btn.is-active{
  background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 68%,#FF00AA 100%);
  border-color:transparent;
  color:#07152d;
  box-shadow:0 12px 28px rgba(255,0,170,0.22);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-form{
  display:flex;
  align-items:flex-end;
  gap:14px;
  margin:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-field{
  flex:1 1 420px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-input,
.path-local-ascend_ilearn .ascendrewards-analytics input.aa-users-search-input{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  color:#eef5ff;
  background:rgba(6,18,45,0.9);
  border:1px solid rgba(130,177,255,0.24);
  border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-input::placeholder{
  color:#8fa6cf;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-input:focus{
  border-color:rgba(0,179,240,0.58);
  box-shadow:0 0 0 3px rgba(0,179,240,0.14);
  outline:none;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-results-card .aa-analytics-section-title{
  overflow-wrap:anywhere;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-empty-card{
  padding:22px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-users-empty-note{
  margin:8px 0 0;
  color:#ffffff;
  font-size:1rem;
  font-weight:700;
}
@media (max-width:760px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-tabs{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-tabs .aa-admin-search-btn{
    width:100%;
    min-width:0;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-form{
    flex-direction:column;
    align-items:stretch;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-users-search-field{
    flex-basis:auto;
  }
}

/* Admin award badges page, aligned with the analytics visual system. */
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-award{
  color:#eaf2ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-action-card{
  max-width:980px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-form{
  margin:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-field-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:4px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-field{
  min-width:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-input,
.path-local-ascend_ilearn .ascendrewards-analytics input.aa-award-input{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  color:#eef5ff;
  background:rgba(6,18,45,0.9);
  border:1px solid rgba(130,177,255,0.24);
  border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-input::placeholder{
  color:#8fa6cf;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-input:focus{
  border-color:rgba(0,179,240,0.58);
  box-shadow:0 0 0 3px rgba(0,179,240,0.14);
  outline:none;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-action-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:22px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-revoke-btn{
  min-height:44px;
  padding:10px 16px;
  color:#ffd6e9;
  background:rgba(255,0,85,0.12);
  border:1px solid rgba(255,87,130,0.42);
  border-radius:10px;
  font-weight:850;
  box-shadow:0 12px 26px rgba(255,0,85,0.12);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-revoke-btn:hover,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-award-revoke-btn:focus{
  color:#ffffff;
  background:rgba(255,0,85,0.2);
  border-color:rgba(255,125,162,0.62);
}
@media (max-width:980px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-award-field-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:640px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-award-action-row{
    align-items:stretch;
    flex-direction:column;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-award-action-row .btn{
    width:100%;
  }
}

/* Admin gift rewards page, aligned with the analytics visual system. */
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-gifts{
  color:#eaf2ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-action-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-bottom:18px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-action-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-audit-card{
  margin-bottom:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-form{
  margin:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-field-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(130px,180px);
  gap:14px;
  align-items:end;
  margin-top:4px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-field{
  min-width:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-input,
.path-local-ascend_ilearn .ascendrewards-analytics input.aa-gifts-input{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  color:#eef5ff;
  background:rgba(6,18,45,0.9);
  border:1px solid rgba(130,177,255,0.24);
  border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-input::placeholder{
  color:#8fa6cf;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-input:focus{
  border-color:rgba(0,179,240,0.58);
  box-shadow:0 0 0 3px rgba(0,179,240,0.14);
  outline:none;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-submit{
  margin-top:20px;
  width:100%;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-empty-note{
  margin:8px 0 0;
  color:#ffffff;
  font-size:1rem;
  font-weight:700;
}
@media (max-width:1180px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-action-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:640px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-gifts-field-grid{
    grid-template-columns:1fr;
  }
}

/* Admin role exclusions page, aligned with the analytics visual system. */
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-exclusions{
  color:#eaf2ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-rules-card{
  margin-bottom:18px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-rules-form{
  margin:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:4px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-check{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:56px;
  margin:0;
  padding:14px;
  color:#eef5ff;
  font-weight:750;
  line-height:1.35;
  border-radius:14px;
  background:rgba(255,255,255,0.035);
  border:1px solid rgba(120,171,255,0.14);
  cursor:pointer;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-check input{
  position:static !important;
  flex:0 0 18px;
  width:18px !important;
  height:18px !important;
  margin:0 !important;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-check span{
  display:block;
  min-width:0;
  padding-left:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-check-single{
  margin:4px 0 16px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-note{
  margin:16px 0 18px;
  color:#d7e4ff;
  font-style:italic;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-specific-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-specific-card{
  margin-bottom:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-add-form{
  margin:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-add-row{
  display:flex;
  align-items:flex-end;
  gap:12px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-real-reward-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-real-reward-course-field{
  flex:1 1 320px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-real-reward-limit-field{
  flex:0 0 150px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-select,
.path-local-ascend_ilearn .ascendrewards-analytics select.aa-exclusions-select{
  flex:1 1 auto;
  min-width:0;
  min-height:44px;
  color:#eef5ff;
  background:rgba(6,18,45,0.9);
  border:1px solid rgba(130,177,255,0.24);
  border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-select:focus{
  border-color:rgba(0,179,240,0.58);
  box-shadow:0 0 0 3px rgba(0,179,240,0.14);
  outline:none;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-add-btn{
  min-height:44px;
  padding:10px 16px;
  color:#07152d;
  background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 68%,#FF00AA 100%);
  border:1px solid transparent;
  border-radius:10px;
  font-weight:850;
  white-space:nowrap;
  box-shadow:0 12px 28px rgba(255,0,170,0.18);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-add-btn:hover,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-add-btn:focus{
  color:#07152d;
  filter:brightness(1.06);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-list-block{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(120,171,255,0.14);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-list-title{
  margin:0 0 10px;
  color:#a8d4ff !important;
  font-size:.78rem;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-pill-form{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 8px;
  padding:10px 12px;
  color:#eef5ff;
  border-radius:12px;
  background:rgba(255,255,255,0.035);
  border:1px solid rgba(120,171,255,0.12);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-pill-form span{
  min-width:0;
  overflow-wrap:anywhere;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-remove-btn{
  flex:0 0 auto;
  padding:0;
  color:#8aeaff;
  font-weight:850;
  text-decoration:none;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-remove-btn:hover,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-remove-btn:focus{
  color:#ffffff;
  text-decoration:underline;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-empty{
  margin:0;
  color:#d7e4ff;
  font-weight:700;
}
@media (max-width:1180px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-specific-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:720px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-check-grid{
    grid-template-columns:1fr;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-add-row{
    flex-direction:column;
    align-items:stretch;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-real-reward-field{
    flex:1 1 auto;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-exclusions-add-btn{
    width:100%;
  }
}

/* Admin cleanup, debug, and audit pages, aligned with the analytics visual system. */
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-cleanup,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-debug,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-admin-page-audit{
  color:#eaf2ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-filter-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-results-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-step-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-state-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-filter-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-results-card{
  margin-bottom:18px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-form,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-filter-form,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-filter-form{
  margin:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-action-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-action-panel{
  padding:16px;
  border-radius:16px;
  background:rgba(255,255,255,0.035);
  border:1px solid rgba(120,171,255,0.14);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-action-title{
  margin:0 0 10px;
  color:#ffffff !important;
  font-size:1.05rem;
  font-weight:850;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-action-desc{
  min-height:88px;
  margin:0 0 16px;
  line-height:1.6;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-note{
  margin:18px 0 0;
  color:#d7e4ff;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-secondary-btn{
  min-height:44px;
  padding:10px 16px;
  color:#ffd6e9;
  background:rgba(255,0,85,0.12);
  border:1px solid rgba(255,87,130,0.42);
  border-radius:10px;
  font-weight:850;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-secondary-btn:hover,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-secondary-btn:focus{
  color:#ffffff;
  background:rgba(255,0,85,0.2);
  border-color:rgba(255,125,162,0.62);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-filter-grid,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-filter-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  gap:14px;
  align-items:end;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-filter-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) auto;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-filter-field,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-filter-field{
  min-width:0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-input,
.path-local-ascend_ilearn .ascendrewards-analytics input.aa-debug-input,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-input,
.path-local-ascend_ilearn .ascendrewards-analytics input.aa-audit-input{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  color:#eef5ff;
  background:rgba(6,18,45,0.9);
  border:1px solid rgba(130,177,255,0.24);
  border-radius:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-input::placeholder,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-input::placeholder{
  color:#8fa6cf;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-input:focus,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-input:focus{
  border-color:rgba(0,179,240,0.58);
  box-shadow:0 0 0 3px rgba(0,179,240,0.14);
  outline:none;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-status-panel{
  margin:12px 0 0;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-status-panel h3{
  margin:0 0 8px;
  color:inherit !important;
  font-size:1rem;
  font-weight:850;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-status-panel p{
  margin:0 0 8px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-definition-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-definition-text{
  margin:0;
  color:#ffffff;
  font-weight:750;
  line-height:1.55;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-reason{
  margin:16px 0;
  color:#d7e4ff;
  font-weight:700;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-empty-note,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-empty-note{
  margin:8px 0 0;
  color:#ffffff;
  font-size:1rem;
  font-weight:700;
}
.path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-message{
  max-width:420px;
  overflow-wrap:anywhere;
}
@media (max-width:1100px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-filter-grid,
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-filter-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:860px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-action-grid,
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-definition-grid{
    grid-template-columns:1fr;
  }
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-action-desc{
    min-height:0;
  }
}
@media (max-width:640px){
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-debug-filter-grid .btn,
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-audit-filter-grid .btn,
  .path-local-ascend_ilearn .ascendrewards-analytics .aa-cleanup-action-panel .btn{
    width:100%;
  }
}

/* Rewards index client theme. Keep this as the single final override layer. */
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn #page,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn #page-content,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn #region-main,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn #page.drawers .main-inner,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn .aa-wrap,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn .ascendrewards-index {
  background:#ffffff !important;
  background-image:none !important;
}

body#page-local-ascend_ilearn-index.path-local-ascend_ilearn #page.drawers .main-inner,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn #region-main,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn .aa-wrap,
body#page-local-ascend_ilearn-index.path-local-ascend_ilearn .ascendrewards-index {
  box-shadow:none !important;
  filter:none !important;
}

body#page-local-ascend_ilearn-index.path-local-ascend_ilearn .ascendrewards-index {
  --aa-client-blue:#00b3f0;
  --aa-client-text:#0e243d;
  --aa-client-shadow:2px 2px 5px rgba(0,0,0,.4);
  font-family:"Glober",Calibri,"Segoe UI",Tahoma,Arial,sans-serif;
}

/* Primary blue cards. */
body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-filter-bar,
  .aa-congrats,
  .section--instructions,
  .aa-balance-bar,
  .aa-rank-bar
) {
  background:#ced5db !important;
  background-image:none !important;
  border:0 !important;
  border-radius:12px !important;
  box-shadow:var(--aa-client-shadow) !important;
  clip-path:none !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions {
  display:flex;
  justify-content:center;
  width:100%;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions p {
  margin:0;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:58px;
  padding:8px 24px 8px 12px;
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  border:0;
  border-radius:999px;
  box-shadow:var(--aa-client-shadow) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:20px !important;
  font-weight:800;
  line-height:1.2;
  text-decoration:none !important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions a:hover {
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 11px 22px rgba(42,139,203,.34);
  filter:brightness(1.04);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions a:focus-visible {
  outline:3px solid rgba(0,179,240,.35);
  outline-offset:3px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions .instruction-icon {
  width:42px;
  height:42px;
  object-fit:contain;
  flex:0 0 42px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-balance-bar,
  .aa-rank-bar
) {
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-balance-bar,
  .aa-rank-bar
) * {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-balance-bar,
  .aa-rank-bar
) .rank-main {
  font-weight:900 !important;
  text-shadow:var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-filter-bar {
  background:linear-gradient(145deg,#CED5DB 0%,#ffffff 100%) !important;
  border-radius:12px !important;
  clip-path:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-filter-bar::before,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-filter-bar::after {
  display:none !important;
  content:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-balance-bar,
  .aa-rank-bar,
  .aa-kpis > .aa-card,
  .aa-kpis > .aa-rank-card,
  .aa-kpis > .aa-xp-card
)::before,
body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-balance-bar,
  .aa-rank-bar,
  .aa-kpis > .aa-card,
  .aa-kpis > .aa-rank-card,
  .aa-kpis > .aa-xp-card
)::after {
  display:none !important;
  content:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-filter-bar :is(
  select,
  button
) {
  border-radius:8px !important;
  clip-path:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-filter-bar,
  .aa-congrats,
  .section--instructions,
  .aa-balance-bar,
  .aa-rank-bar
) * {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats {
  background:linear-gradient(145deg,#CED5DB 0%,#ffffff 100%) !important;
  color:#000000 !important;
  -webkit-text-fill-color:#000000 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats * {
  color:#000000 !important;
  -webkit-text-fill-color:#000000 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats video {
  border:4px solid var(--aa-client-blue);
  border-top-color:#5fdcff;
  border-left-color:#32c9f7;
  border-right-color:#008ebd;
  border-bottom-color:#00769e;
  border-radius:14px;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.55),
    inset -2px -2px 0 rgba(0,83,120,.3),
    0 0 10px rgba(0,179,240,.45),
    3px 5px 10px rgba(0,75,105,.28);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats::before,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats::after {
  display:none !important;
  content:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .section--instructions,
  .aa-balance-bar,
  .aa-rank-bar,
  .aa-filter-bar
),
body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .section--instructions,
  .aa-balance-bar,
  .aa-rank-bar,
  .aa-filter-bar
) * {
  color:var(--aa-client-text) !important;
  -webkit-text-fill-color:var(--aa-client-text) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions,
body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions * {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar),
body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) * {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-filter-bar :is(select,button,a) {
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:8px 14px;
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  border:0 !important;
  border-radius:8px !important;
  box-shadow:var(--aa-client-shadow) !important;
  clip-path:none !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-family:Calibri,"Segoe UI",Tahoma,Arial,sans-serif !important;
  font-size:16px !important;
  line-height:1.2;
  font-weight:700;
  text-decoration:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-filter-bar select option {
  background:var(--aa-client-blue) !important;
  color:#ffffff !important;
  font-family:Calibri,"Segoe UI",Tahoma,Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:700;
}

/* KPI cards. */
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis {
  gap:18px;
  align-items:stretch;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(
  .aa-card,
  .aa-rank-card,
  .aa-xp-card
) {
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(72px,82px) minmax(0,1fr);
  grid-template-rows:auto auto minmax(0,1fr);
  align-items:center !important;
  justify-content:initial !important;
  gap:6px 16px;
  min-height:156px !important;
  padding:18px 18px 16px !important;
  overflow:hidden !important;
  text-align:left;
  background:
    radial-gradient(circle at 82% 18%,rgba(255,255,255,.28) 0,rgba(255,255,255,0) 118px),
    radial-gradient(circle at 14% 86%,rgba(158,220,243,.28) 0,rgba(158,220,243,0) 132px),
    linear-gradient(145deg,#00B3F0 0%,#00B3F0 64%,#2A8BCB 86%,#006FAF 100%) !important;
  border:0 !important;
  border-radius:14px !important;
  box-shadow:
    var(--aa-client-shadow),
    inset 0 1px 0 rgba(255,255,255,.34) !important;
  clip-path:none !important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(
  .aa-card,
  .aa-rank-card,
  .aa-xp-card
):hover {
  transform:translateY(-2px);
  filter:brightness(1.03);
  box-shadow:
    3px 6px 14px rgba(0,75,105,.26),
    inset 0 1px 0 rgba(255,255,255,.38) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(
  .aa-card,
  .aa-rank-card,
  .aa-xp-card
)::before {
  content:'' !important;
  position:absolute;
  inset:0;
  display:block !important;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,0) 46%);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(
  .aa-card,
  .aa-rank-card,
  .aa-xp-card
)::after {
  display:none !important;
  content:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .aa-kpi-label {
  position:relative;
  z-index:2;
  grid-column:2;
  grid-row:1;
  margin:0;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:clamp(.78rem,.9vw,.92rem);
  font-weight:900;
  line-height:1.15;
  letter-spacing:0;
  text-transform:uppercase;
  text-shadow:0 1px 2px rgba(0,68,105,.35) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .aa-kpi-icon {
  position:relative;
  z-index:2;
  grid-column:1;
  grid-row:1 / span 2;
  width:72px !important;
  height:72px !important;
  margin:0 !important;
  padding:9px;
  object-fit:contain;
  background:rgba(255,255,255,.16);
  border:0;
  border-radius:16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    0 10px 22px rgba(0,75,105,.2);
  filter:drop-shadow(0 6px 8px rgba(0,68,105,.22));
  flex-shrink:0;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(.aa-card,.aa-rank-card) .aa-kpi-icon {
  padding:0;
  background:transparent;
  object-fit:cover;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis :is(.aa-kpi-value,.rank-main) {
  position:relative;
  z-index:2;
  grid-column:2;
  grid-row:2;
  max-width:100%;
  margin:0;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:clamp(1.85rem,2.35vw,2.6rem) !important;
  font-weight:900 !important;
  line-height:.98;
  overflow-wrap:anywhere;
  text-shadow:var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > .aa-rank-card :is(.aa-kpi-value,.rank-main) {
  font-size:clamp(1.12rem,1.45vw,1.65rem) !important;
  line-height:1.2;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .aa-kpi-value-top {
  font-size:clamp(1.45rem,1.95vw,2.1rem) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis :is(.aa-muted,.aa-kpi-subtitle,.aa-kpi-level) {
  position:relative;
  z-index:2;
  grid-column:1 / -1;
  margin-top:6px;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:.82rem !important;
  font-weight:700;
  text-shadow:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .xp-ring-container {
  position:relative;
  z-index:2;
  grid-column:1;
  grid-row:1 / span 2;
  width:72px !important;
  height:72px !important;
  margin:0 !important;
  padding:8px;
  background:rgba(255,255,255,.16);
  border:0;
  border-radius:16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    0 10px 22px rgba(0,75,105,.2);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .xp-ring {
  display:block;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .xp-level {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:19px;
  font-weight:900 !important;
  text-shadow:0 1px 2px rgba(0,68,105,.35) !important;
}

/* Panels and their slanted headers. */
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-panel {
  overflow:hidden;
  background:linear-gradient(145deg,#CED5DB 0%,#ffffff 100%) !important;
  border:0 !important;
  border-radius:12px !important;
  box-shadow:var(--aa-client-shadow) !important;
  clip-path:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head {
  position:relative;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:0;
  min-height:96px;
  margin:0 0 12px !important;
  padding:0 !important;
  overflow:hidden;
  cursor:pointer;
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:var(--aa-client-shadow) !important;
  isolation:isolate;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-media {
  flex:0 0 220px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  min-height:96px;
  padding:0 16px;
  background:#ffffff !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:var(--aa-client-shadow) !important;
  clip-path:polygon(0 0,calc(100% - 54px) 0,100% 100%,0 100%) !important;
  position:relative;
  z-index:1;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-media img {
  display:block;
  width:auto !important;
  height:70px !important;
  max-width:150px;
  object-fit:contain;
  filter:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-text {
  flex:1 1 auto !important;
  display:flex !important;
  align-items:center;
  gap:10px;
  min-width:0 !important;
  min-height:0 !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 18px !important;
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
  clip-path:none !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:clamp(1.5rem,2vw,2.2rem) !important;
  font-weight:800 !important;
  line-height:1.1;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-text *,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head > .fa-chevron-down {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head > .fa-chevron-down {
  flex:0 0 auto;
  margin-right:14px;
  font-size:18px;
  transition:transform .3s;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head.open > .fa-chevron-down {
  transform:rotate(180deg);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-panel-content {
  background:#CED5DB !important;
  background-image:none !important;
  color:var(--aa-client-text) !important;
  -webkit-text-fill-color:var(--aa-client-text) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-panel-content * {
  color:var(--aa-client-text) !important;
  -webkit-text-fill-color:var(--aa-client-text) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-leaderboard-wrap,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-leaderboard-wrap > .aa-panel-content {
  background:linear-gradient(145deg,#CED5DB 0%,#ffffff 100%) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-leaderboard-wrap .leaderboard li {
  overflow:hidden;
  background:linear-gradient(135deg,#ffffff 0%,#ced5db 100%) !important;
  border:1px solid rgba(42,139,203,.28) !important;
  border-radius:12px !important;
  clip-path:none !important;
  box-shadow:0 4px 12px rgba(88,89,91,.14) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard li::before {
  width:5px;
  background:linear-gradient(180deg,#00B3F0 0%,#00B3F0 72%,#2A8BCB 92%,#6A6D75 100%) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard li:hover {
  background:linear-gradient(135deg,#ffffff 0%,#dce9f0 50%,#ced5db 100%) !important;
  border-color:#2A8BCB !important;
  transform:translateY(-1px);
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard li .pos {
  min-width:48px;
  height:48px;
  background:linear-gradient(135deg,#ced5db 0%,#ffffff 100%) !important;
  border:1px solid rgba(42,139,203,.35) !important;
  border-radius:10px !important;
  clip-path:none !important;
  color:#2A8BCB !important;
  -webkit-text-fill-color:#2A8BCB !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard li.current-user {
  background:linear-gradient(135deg,#e8f8fd 0%,#ced5db 55%,#ffffff 100%) !important;
  border:2px solid #00B3F0 !important;
  box-shadow:0 5px 16px rgba(0,179,240,.22) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard li.current-user .pos {
  background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 70%,#2A8BCB 100%) !important;
  border-color:#2A8BCB !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard :is(strong,.aa-xp-value) {
  color:#58595B !important;
  -webkit-text-fill-color:#58595B !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard .user-id-badge {
  background:linear-gradient(135deg,#ffffff 0%,#ced5db 100%) !important;
  border:1px solid #2A8BCB !important;
  border-radius:8px !important;
  color:#58595B !important;
  -webkit-text-fill-color:#58595B !important;
  box-shadow:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard-toolbar {
  padding:16px;
  margin-bottom:16px;
  background:linear-gradient(145deg,#CED5DB 0%,#ffffff 100%);
  border:1px solid rgba(42,139,203,.25);
  border-radius:12px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap :is(.leaderboard-chip,.leaderboard-view-btn) {
  border-radius:8px !important;
  clip-path:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard-view-btn {
  background:#ffffff !important;
  border:1px solid #2A8BCB !important;
  color:#2A8BCB !important;
  -webkit-text-fill-color:#2A8BCB !important;
  box-shadow:var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
.aa-leaderboard-wrap .leaderboard-view-btn.is-active {
  background:linear-gradient(135deg,#00B3F0 0%,#00B3F0 70%,#2A8BCB 100%) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-slat-head-leaderboard,
  .aa-slat-head-badges,
  .aa-slat-head-journey,
  .aa-slat-head-gameboard
) {
  border-radius:12px 12px 0 0 !important;
  overflow:hidden;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
:is(
  .aa-slat-head-leaderboard,
  .aa-slat-head-badges,
  .aa-slat-head-journey,
  .aa-slat-head-gameboard
) > .aa-slat-head-media {
  border-radius:12px 0 0 0 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index
:is(
  .aa-slat-head-leaderboard,
  .aa-slat-head-badges,
  .aa-slat-head-journey,
  .aa-slat-head-gameboard
) > .aa-slat-head-media {
  background:#ffffff !important;
  background-image:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store {
  padding:20px;
  background:linear-gradient(145deg,#CED5DB 0%,#ffffff 100%);
  border-radius:12px;
  color:#58595B;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-toolbar {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-eyebrow,
body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-category span {
  color:#58595B !important;
  font-weight:700;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-balance {
  margin-top:4px;
  color:#58595B !important;
  font-size:1.5rem;
  font-weight:900;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-category {
  display:grid;
  gap:6px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-controls {
  display:flex;
  align-items:end;
  gap:12px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-controls .ilearn-store-category:first-child {
  min-width:260px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-category-select,
body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-course-select,
body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-redeem {
  min-height:40px;
  padding:8px 14px;
  background:var(--aa-client-blue) !important;
  border:0;
  border-radius:8px;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-family:Calibri,"Segoe UI",Tahoma,Arial,sans-serif;
  font-size:16px;
  font-weight:700;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-category-select option,
body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-course-select option {
  background:var(--aa-client-blue);
  color:#ffffff;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-status {
  display:grid;
  gap:6px;
  padding:24px;
  border-radius:10px;
  background:#ffffff;
  color:#58595B !important;
  text-align:center;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  min-width:0;
  background:#ffffff;
  border:1px solid rgba(42,139,203,.25);
  border-radius:12px;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card-media {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:150px;
  padding:16px;
  background:linear-gradient(145deg,#CED5DB 0%,#ffffff 100%);
  color:var(--aa-client-blue) !important;
  font-size:54px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card-media img {
  width:100%;
  height:120px;
  object-fit:contain;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card-body {
  flex:1 1 auto;
  padding:16px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card :is(h4,p),
body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-face-value {
  color:#58595B !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card h4 {
  margin:0 0 8px;
  font-size:1.1rem;
  font-weight:900;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card p {
  margin:0 0 10px;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-face-value {
  font-weight:700;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card-footer {
  display:grid;
  gap:10px;
  padding:16px;
  border-top:1px solid rgba(42,139,203,.18);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card-footer strong {
  color:#58595B !important;
  font-size:1.2rem;
  font-weight:900;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-redeem:disabled {
  background:#8A8C8E !important;
  cursor:not-allowed;
  opacity:.75;
}

@media (max-width:700px) {
  body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-toolbar {
    align-items:stretch;
    flex-direction:column;
  }
  body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-controls {
    align-items:stretch;
    flex-direction:column;
  }
  body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-controls .ilearn-store-category:first-child {
    min-width:0;
  }
}

/* Remove decorative pseudo-elements from the learner card system. */
body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-panel,
  .aa-card,
  .aa-journey-card,
  .badge-card,
  .gameboard-card,
  .gameboard-summary
)::before,
body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-panel,
  .aa-card,
  .aa-journey-card,
  .badge-card,
  .gameboard-card,
  .gameboard-summary
)::after {
  display:none !important;
  content:none !important;
}

@media (max-width:820px) {
  body#page-local-ascend_ilearn-index .ascendrewards-index .section--instructions a {
    width:100%;
    padding-right:16px;
    font-size:17px !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(
    .aa-card,
    .aa-rank-card,
    .aa-xp-card
  ) {
    grid-template-columns:64px minmax(0,1fr);
    min-height:132px !important;
    padding:14px 14px 13px !important;
    gap:5px 12px;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .aa-kpi-label {
    font-size:clamp(.72rem,2.5vw,.86rem);
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis :is(.aa-kpi-icon,.xp-ring-container) {
    width:58px !important;
    height:58px !important;
    border-radius:13px;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis :is(.aa-kpi-value,.rank-main) {
    font-size:clamp(1.35rem,5vw,1.75rem) !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head {
    min-height:82px;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-media {
    flex-basis:152px !important;
    min-height:82px;
    clip-path:polygon(0 0,calc(100% - 36px) 0,100% 100%,0 100%) !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-media img {
    height:52.5px !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-text {
    padding:0 12px !important;
    font-size:clamp(1.1rem,4.8vw,1.4rem) !important;
  }
}

/* Themed opened panel content. */
body#page-local-ascend_ilearn-index .ascendrewards-index .badge-card,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-card,
body#page-local-ascend_ilearn-index .ascendrewards-index .coaching-box,
body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-summary,
body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card {
  background:linear-gradient(145deg,#CED5DB 0%,#ffffff 100%) !important;
  border:0 !important;
  border-radius:12px !important;
  box-shadow:var(--aa-client-shadow) !important;
  clip-path:none !important;
  color:var(--aa-client-text) !important;
  -webkit-text-fill-color:var(--aa-client-text) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .badge-card:hover,
body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card:not(.picked):hover {
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.22) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .badge-card :is(.aa-badge-title,.aa-muted),
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-card :is(.journey-title,.journey-stats,.journey-stats div,.journey-stats strong),
body#page-local-ascend_ilearn-index .ascendrewards-index .coaching-box :is(.coaching-header,p),
body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-summary :is(.gameboard-summary-label,.gameboard-summary-value) {
  color:var(--aa-client-text) !important;
  -webkit-text-fill-color:var(--aa-client-text) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .badge-card img,
body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card-badge {
  background:#ffffff !important;
  border:0 !important;
  border-radius:10px !important;
  box-shadow:var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .journey-svg {
  background:
    radial-gradient(circle at 18% 20%,rgba(0,179,240,.42) 0,rgba(0,179,240,0) 180px),
    radial-gradient(circle at 82% 78%,rgba(255,255,255,.16) 0,rgba(255,255,255,0) 150px),
    linear-gradient(145deg,#00B3F0 0%,#00B3F0 56%,#2A8BCB 84%,#0e243d 100%) !important;
  border-radius:12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -18px 42px rgba(0,28,55,.22),
    var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .journey-svg .journey-segment {
  filter:drop-shadow(0 2px 5px rgba(0,28,55,.28));
}

body#page-local-ascend_ilearn-index .ascendrewards-index .journey-svg .journey-segment-completed {
  filter:drop-shadow(0 0 8px rgba(0,179,240,.42));
}

body#page-local-ascend_ilearn-index .ascendrewards-index .journey-svg .journey-segment-pending {
  filter:drop-shadow(0 1px 4px rgba(255,255,255,.18));
}

body#page-local-ascend_ilearn-index .ascendrewards-index .journey-svg .waypoint-pending {
  filter:drop-shadow(0 0 6px rgba(220,233,240,.36));
}

body#page-local-ascend_ilearn-index .ascendrewards-index .journey-svg .waypoint-completed {
  filter:drop-shadow(0 0 10px rgba(255,255,255,.32));
}

body#page-local-ascend_ilearn-index .ascendrewards-index .journey-progress-bar {
  background:rgba(88,89,91,.18) !important;
}

/* Course Journey: darker blue surface treatment independent of the bright brand gradient. */
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-wrap > .aa-panel-content {
  padding:18px !important;
  background:linear-gradient(180deg,#06162C 0%,#082745 52%,#0B355C 100%) !important;
  border-radius:0 0 12px 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    var(--aa-client-shadow) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-wrap .aa-journey-card {
  background:linear-gradient(180deg,#07172F 0%,#09243F 48%,#0B3154 100%) !important;
  border:1px solid rgba(206,213,219,.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 12px 28px rgba(1,20,46,.34) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-wrap .aa-journey-card :is(
  .journey-title,
  .journey-stats,
  .journey-stats strong,
  .coaching-header
) {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-wrap .aa-journey-card :is(
  .journey-stats div,
  .coaching-box p,
  .aa-muted
) {
  color:#CED5DB !important;
  -webkit-text-fill-color:#CED5DB !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-wrap .journey-svg {
  background:
    radial-gradient(circle at 18% 18%,rgba(90,132,177,.32) 0,rgba(90,132,177,0) 170px),
    radial-gradient(circle at 86% 82%,rgba(206,213,219,.16) 0,rgba(206,213,219,0) 150px),
    linear-gradient(180deg,#031126 0%,#071F3A 48%,#0A3157 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -18px 42px rgba(0,8,24,.36),
    0 10px 22px rgba(1,20,46,.38) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-wrap .journey-progress-bar {
  background:rgba(206,213,219,.22) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-journey-wrap .coaching-box {
  background:linear-gradient(180deg,rgba(3,17,39,.9) 0%,rgba(8,37,67,.9) 100%) !important;
  border:1px solid rgba(206,213,219,.22) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card {
  border:2px solid rgba(42,139,203,.28) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card.picked {
  background:linear-gradient(180deg,#006FAF 0%,#008ED0 18%,#00B3F0 42%,#00B3F0 100%) !important;
  border:0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -14px 28px rgba(1,20,46,.18),
    0 14px 28px rgba(0,111,175,.3),
    var(--aa-client-shadow) !important;
  transform:none;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card-hover {
  background:
    radial-gradient(circle at 26% 18%,rgba(255,255,255,.32) 0,rgba(255,255,255,0) 38%),
    linear-gradient(145deg,#6A6D75 0%,#7E838C 52%,#51545B 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -18px 36px rgba(1,20,46,.22) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card:not(.picked):hover {
  background:#6A6D75 !important;
  border-color:rgba(255,255,255,.42) !important;
  box-shadow:
    0 14px 30px rgba(1,20,46,.26),
    var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card-hover-icon {
  width:82% !important;
  height:82% !important;
  object-fit:contain;
  filter:drop-shadow(0 10px 16px rgba(1,20,46,.32));
}

body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card.picked .gameboard-card-content {
  background:transparent !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card.picked .gameboard-card-icon {
  width:78% !important;
  height:68% !important;
  object-fit:contain;
  filter:drop-shadow(0 10px 16px rgba(1,20,46,.26));
}

body#page-local-ascend_ilearn-index .ascendrewards-index .gameboard-card-value {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:0 2px 8px rgba(1,20,46,.35);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-category-select,
body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-redeem {
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  border:0 !important;
  box-shadow:var(--aa-client-shadow) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-redeem:disabled {
  background:linear-gradient(145deg,#8A8C8E 0%,#6A6D75 100%) !important;
  box-shadow:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-card-media .ilearn-store-fallback-image {
  width:120px;
  height:120px;
  object-fit:contain;
}

/* Current instructions page and course badge panel theme. */
.path-local-ascend_ilearn .ascend-instructions__hero,
.path-local-ascend_ilearn .ascend-instructions__section,
.path-local-ascend_ilearn .ascend-instructions__category,
.path-local-ascend_ilearn .ascend-instructions__feature-card {
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  border:0 !important;
  border-radius:16px !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.4)) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

.path-local-ascend_ilearn .ascend-instructions__hero-subtext,
.path-local-ascend_ilearn .ascend-instructions__category-desc,
.path-local-ascend_ilearn .ascend-instructions__section :is(p,li),
.path-local-ascend_ilearn .ascend-instructions__feature-card li {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

.path-local-ascend_ilearn .ascend-instructions__badge-card {
  background:#ffffff9c !important;
  border:0 !important;
  border-radius:14px !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.4)) !important;
  color:#58595B !important;
  -webkit-text-fill-color:#58595B !important;
}

.path-local-ascend_ilearn .ascend-instructions__badge-card img {
  width:78px !important;
  height:78px !important;
  object-fit:contain;
  margin:0 auto 10px;
}

.path-local-ascend_ilearn .ascend-instructions__badge-card :is(.ascend-instructions__badge-name,.ascend-instructions__badge-description,.ascend-instructions__badge-repeatable,.ascend-instructions__badge-coins) {
  color:#58595B !important;
  -webkit-text-fill-color:#58595B !important;
}

.path-local-ascend_ilearn .ascend-instructions__feature-head img {
  width:48px !important;
  height:48px !important;
  object-fit:contain;
  border-radius:10px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index #a_all_badges .badge-card {
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  border:0 !important;
  border-radius:14px !important;
  box-shadow:var(--aa-client-shadow) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  justify-content:flex-start !important;
  padding-left:8px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index #a_all_badges .badge-card :is(.aa-badge-title,.aa-muted) {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index #a_all_badges .badge-card img {
  background:#ffffff5c !important;
  background-image:none !important;
  border-radius:10px !important;
  flex:0 0 100px !important;
  margin-left:0 !important;
  margin-right:8px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index #a_all_badges .aa-badge-count {
  top:auto !important;
  right:8px !important;
  bottom:8px !important;
}

/* Slimmer main accordion panels: Leaderboard through Store. */
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-panel {
  padding:12px 16px !important;
  margin-bottom:14px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head {
  min-height:64px !important;
  padding:0 14px 0 0 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-media {
  min-height:64px !important;
  width:112px !important;
  flex-basis:112px !important;
  justify-content:flex-start !important;
  box-sizing:border-box !important;
  padding:0 34px 0 12px !important;
  clip-path:polygon(0 0,calc(100% - 32px) 0,100% 100%,0 100%) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-media img,
body#page-local-ascend_ilearn-index .ascendrewards-index .section-title-icon {
  width:46px !important;
  height:46px !important;
  max-width:46px !important;
  max-height:46px !important;
  object-fit:contain !important;
  flex:0 0 46px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-text {
  font-size:22px !important;
  line-height:1.1 !important;
  text-shadow:var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-slat-head-text * {
  text-shadow:var(--aa-client-shadow) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-panel-content {
  margin-top:10px !important;
  padding:14px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats {
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats :is(.aa-congrats-title,.aa-muted) {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:var(--aa-client-shadow) !important;
}

/* Badge award modal refresh: 1:1 badge animation, journey-style blue surfaces. */
.path-local-ascend_ilearn .apx-modal-backdrop,
.local-ascend-rewards-notification .apex-reward-modal-backdrop {
  background:rgba(1,20,46,.74) !important;
  backdrop-filter:blur(10px) saturate(1.08) !important;
}

.path-local-ascend_ilearn .apx-modal,
.local-ascend-rewards-notification .apex-reward-modal {
  width:min(920px,94vw) !important;
  max-height:92vh !important;
  background:linear-gradient(145deg,#00B3F0 0%,#00B3F0 62%,#2A8BCB 86%,#006FAF 100%) !important;
  border:0 !important;
  border-radius:16px !important;
  box-shadow:0 22px 56px rgba(1,20,46,.45), inset 0 1px 0 rgba(255,255,255,.28) !important;
  color:#ffffff !important;
}

.path-local-ascend_ilearn .apx-modal-header,
.local-ascend-rewards-notification .apex-reward-header {
  min-height:74px !important;
  padding:18px 76px 16px 24px !important;
  background:linear-gradient(90deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.06) 100%) !important;
  border-bottom:1px solid rgba(255,255,255,.24) !important;
}

.path-local-ascend_ilearn .apx-modal-header::before {
  display:none !important;
}

.path-local-ascend_ilearn .apx-modal-title,
.local-ascend-rewards-notification .apex-reward-title {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  background:none !important;
  font-size:22px !important;
  line-height:1.1 !important;
  letter-spacing:0 !important;
  text-align:left !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.38)) !important;
}

.path-local-ascend_ilearn .apx-modal-subtitle,
.local-ascend-rewards-notification .apex-reward-subtitle {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-align:left !important;
  opacity:.94 !important;
}

.path-local-ascend_ilearn .apx-modal-progress,
.local-ascend-rewards-notification .apex-reward-progress {
  height:4px !important;
  background:#ffffff !important;
  opacity:.72 !important;
}

.path-local-ascend_ilearn .apx-modal-close,
.local-ascend-rewards-notification .apex-reward-close {
  top:18px !important;
  right:22px !important;
  width:40px !important;
  height:40px !important;
  background:#ffffff !important;
  border:0 !important;
  border-radius:8px !important;
  color:#006FAF !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.35)) !important;
}

.path-local-ascend_ilearn .apx-modal-close:hover,
.local-ascend-rewards-notification .apex-reward-close:hover {
  background:#eaf8ff !important;
  color:#01142E !important;
  transform:translateY(-1px) !important;
}

.path-local-ascend_ilearn .apx-modal-body,
.local-ascend-rewards-notification .apex-reward-body {
  display:grid !important;
  grid-template-columns:minmax(280px,360px) minmax(0,1fr) !important;
  gap:16px 18px !important;
  padding:18px !important;
  max-height:calc(92vh - 74px) !important;
  overflow-y:auto !important;
}

.path-local-ascend_ilearn .apx-video-container,
.local-ascend-rewards-notification .apex-reward-video-container {
  grid-column:1 !important;
  grid-row:1 / span 5 !important;
  width:100% !important;
  max-width:none !important;
  aspect-ratio:1 / 1 !important;
  margin:0 !important;
  border-radius:14px !important;
  background:#ffffff !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.35)) !important;
  border:1px solid rgba(255,255,255,.64) !important;
}

.path-local-ascend_ilearn .apx-badge-video,
.local-ascend-rewards-notification .apex-reward-video {
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  background:#ffffff !important;
}

.path-local-ascend_ilearn .apx-video-fullscreen-btn,
.local-ascend-rewards-notification .apex-reward-fullscreen-btn {
  width:38px !important;
  height:38px !important;
  right:10px !important;
  bottom:10px !important;
  background:rgba(1,20,46,.88) !important;
  border:1px solid rgba(255,255,255,.52) !important;
  border-radius:8px !important;
  color:#ffffff !important;
}

.path-local-ascend_ilearn .apx-video-fullscreen-btn svg,
.local-ascend-rewards-notification .apex-reward-fullscreen-btn svg {
  width:18px !important;
  height:18px !important;
  display:block !important;
}

.path-local-ascend_ilearn .apx-badge-name-section,
.local-ascend-rewards-notification .apex-reward-badge-name,
.path-local-ascend_ilearn .apx-stats-grid,
.local-ascend-rewards-notification .apex-reward-stats,
.path-local-ascend_ilearn .apx-info-section,
.local-ascend-rewards-notification .apex-reward-info,
.path-local-ascend_ilearn .apx-description-section,
.local-ascend-rewards-notification .apex-reward-description,
.path-local-ascend_ilearn .apx-achievement-section,
.path-local-ascend_ilearn .apx-activities-section,
.local-ascend-rewards-notification .apex-reward-activities,
.path-local-ascend_ilearn .apx-badges-section,
.path-local-ascend_ilearn .apx-rank-section,
.local-ascend-rewards-notification .apex-reward-rank,
.local-ascend-rewards-notification .apex-reward-actions {
  grid-column:2 !important;
}

.path-local-ascend_ilearn .apx-badge-name-section,
.local-ascend-rewards-notification .apex-reward-badge-name {
  text-align:left !important;
  margin:0 !important;
  padding:16px 18px !important;
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.24) !important;
  border-radius:12px !important;
}

.path-local-ascend_ilearn .apx-badge-name,
.local-ascend-rewards-notification .apex-reward-badge-title {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:24px !important;
  line-height:1.15 !important;
  letter-spacing:0 !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.38)) !important;
}

.path-local-ascend_ilearn .apx-badge-category,
.local-ascend-rewards-notification .apex-reward-badge-subtitle {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:.92 !important;
}

.path-local-ascend_ilearn .apx-stats-grid,
.local-ascend-rewards-notification .apex-reward-stats {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  margin:0 !important;
}

.path-local-ascend_ilearn .apx-stat-card,
.local-ascend-rewards-notification .apex-reward-stat-card,
.path-local-ascend_ilearn .apx-info-section,
.local-ascend-rewards-notification .apex-reward-info,
.path-local-ascend_ilearn .apx-description-text,
.path-local-ascend_ilearn .apx-activities-list,
.local-ascend-rewards-notification .apex-reward-activities-list,
.path-local-ascend_ilearn .apx-badges-list,
.path-local-ascend_ilearn .apx-rank-section,
.local-ascend-rewards-notification .apex-reward-rank {
  background:#ffffff !important;
  border:0 !important;
  border-radius:10px !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.35)) !important;
  color:#58595B !important;
  -webkit-text-fill-color:#58595B !important;
}

.path-local-ascend_ilearn .apx-stat-card,
.local-ascend-rewards-notification .apex-reward-stat-card {
  padding:14px !important;
}

.path-local-ascend_ilearn .apx-stat-card::before {
  background:#00B3F0 !important;
}

.path-local-ascend_ilearn .apx-stat-value,
.local-ascend-rewards-notification .apex-reward-stat-value {
  color:#006FAF !important;
  -webkit-text-fill-color:#006FAF !important;
  font-size:22px !important;
  line-height:1.1 !important;
  text-shadow:none !important;
}

.path-local-ascend_ilearn .apx-stat-label,
.local-ascend-rewards-notification .apex-reward-stat-label,
.path-local-ascend_ilearn .apx-info-label,
.local-ascend-rewards-notification .apex-reward-info-label {
  color:#58595B !important;
  -webkit-text-fill-color:#58595B !important;
  letter-spacing:0 !important;
}

.path-local-ascend_ilearn .apx-info-section,
.local-ascend-rewards-notification .apex-reward-info {
  padding:14px !important;
  margin:0 !important;
}

.path-local-ascend_ilearn .apx-info-value,
.local-ascend-rewards-notification .apex-reward-info-value,
.path-local-ascend_ilearn .apx-description-text,
.local-ascend-rewards-notification .apex-reward-description-text,
.path-local-ascend_ilearn .apx-activity-item,
.local-ascend-rewards-notification .apex-reward-activity-item,
.path-local-ascend_ilearn .apx-badge-item,
.path-local-ascend_ilearn .apx-rank-text,
.local-ascend-rewards-notification .apex-reward-rank-text {
  color:#58595B !important;
  -webkit-text-fill-color:#58595B !important;
}

.path-local-ascend_ilearn .apx-description-section,
.local-ascend-rewards-notification .apex-reward-description,
.path-local-ascend_ilearn .apx-activities-section,
.local-ascend-rewards-notification .apex-reward-activities,
.path-local-ascend_ilearn .apx-badges-section {
  margin:0 !important;
}

.path-local-ascend_ilearn .apx-description-section::before,
.path-local-ascend_ilearn .apx-activities-section::before,
.path-local-ascend_ilearn .apx-badges-section::before {
  display:none !important;
}

.path-local-ascend_ilearn .apx-description-title,
.local-ascend-rewards-notification .apex-reward-description-title,
.path-local-ascend_ilearn .apx-achievement-title,
.path-local-ascend_ilearn .apx-activities-title,
.local-ascend-rewards-notification .apex-reward-activities-title,
.path-local-ascend_ilearn .apx-badges-title {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  margin:0 0 8px !important;
  font-size:16px !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.38)) !important;
}

.path-local-ascend_ilearn .apx-description-title::before,
.path-local-ascend_ilearn .apx-achievement-title::before,
.path-local-ascend_ilearn .apx-activities-title::before,
.path-local-ascend_ilearn .apx-badges-title::before {
  display:none !important;
}

.path-local-ascend_ilearn .apx-description-text,
.local-ascend-rewards-notification .apex-reward-description-text,
.path-local-ascend_ilearn .apx-activities-list,
.local-ascend-rewards-notification .apex-reward-activities-list,
.path-local-ascend_ilearn .apx-badges-list {
  margin:0 !important;
  padding:12px 14px !important;
  border-left:0 !important;
  max-height:160px !important;
  overflow-y:auto !important;
}

.local-ascend-rewards-notification .apex-reward-actions {
  margin:0 !important;
  text-align:right !important;
}

.local-ascend-rewards-notification .apex-reward-btn-primary {
  background:#ffffff !important;
  border:0 !important;
  border-radius:8px !important;
  color:#006FAF !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.35)) !important;
}

@media (max-width:760px) {
  .path-local-ascend_ilearn .apx-modal,
  .local-ascend-rewards-notification .apex-reward-modal {
    width:min(540px,94vw) !important;
  }

  .path-local-ascend_ilearn .apx-modal-body,
  .local-ascend-rewards-notification .apex-reward-body {
    grid-template-columns:1fr !important;
  }

  .path-local-ascend_ilearn .apx-video-container,
  .local-ascend-rewards-notification .apex-reward-video-container,
  .path-local-ascend_ilearn .apx-badge-name-section,
  .local-ascend-rewards-notification .apex-reward-badge-name,
  .path-local-ascend_ilearn .apx-stats-grid,
  .local-ascend-rewards-notification .apex-reward-stats,
  .path-local-ascend_ilearn .apx-info-section,
  .local-ascend-rewards-notification .apex-reward-info,
  .path-local-ascend_ilearn .apx-description-section,
  .local-ascend-rewards-notification .apex-reward-description,
  .path-local-ascend_ilearn .apx-achievement-section,
  .path-local-ascend_ilearn .apx-activities-section,
  .local-ascend-rewards-notification .apex-reward-activities,
  .path-local-ascend_ilearn .apx-badges-section,
  .path-local-ascend_ilearn .apx-rank-section,
  .local-ascend-rewards-notification .apex-reward-rank,
  .local-ascend-rewards-notification .apex-reward-actions {
    grid-column:1 !important;
    grid-row:auto !important;
  }
}

/* Badge award modal layout correction: clear Moodle navbar and feature the 1:1 animation at the top. */
.path-local-ascend_ilearn .apx-modal-backdrop,
.local-ascend-rewards-notification .apex-reward-modal-backdrop {
  z-index:2147482998 !important;
}

.path-local-ascend_ilearn .apx-modal,
.local-ascend-rewards-notification .apex-reward-modal {
  top:72px !important;
  bottom:auto !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:min(720px,94vw) !important;
  max-width:94vw !important;
  max-height:calc(100vh - 90px) !important;
  z-index:2147482999 !important;
  overflow:hidden !important;
}

.path-local-ascend_ilearn .apx-modal-header,
.local-ascend-rewards-notification .apex-reward-header {
  min-height:58px !important;
  padding:12px 62px 10px 18px !important;
}

.path-local-ascend_ilearn .apx-modal-title,
.local-ascend-rewards-notification .apex-reward-title {
  font-size:20px !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
}

.path-local-ascend_ilearn .apx-modal-body,
.local-ascend-rewards-notification .apex-reward-body {
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:12px !important;
  padding:16px 18px 18px !important;
  max-height:calc(100vh - 148px) !important;
  overflow-y:auto !important;
  align-items:start !important;
}

.path-local-ascend_ilearn .apx-video-container,
.local-ascend-rewards-notification .apex-reward-video-container {
  grid-column:1 !important;
  grid-row:auto !important;
  justify-self:center !important;
  width:min(340px,100%) !important;
  max-width:100% !important;
  aspect-ratio:1 / 1 !important;
  margin:0 auto 2px !important;
}

.path-local-ascend_ilearn .apx-badge-name-section,
.local-ascend-rewards-notification .apex-reward-badge-name,
.path-local-ascend_ilearn .apx-stats-grid,
.local-ascend-rewards-notification .apex-reward-stats,
.path-local-ascend_ilearn .apx-info-section,
.local-ascend-rewards-notification .apex-reward-info,
.path-local-ascend_ilearn .apx-description-section,
.local-ascend-rewards-notification .apex-reward-description,
.path-local-ascend_ilearn .apx-achievement-section,
.path-local-ascend_ilearn .apx-activities-section,
.local-ascend-rewards-notification .apex-reward-activities,
.path-local-ascend_ilearn .apx-badges-section,
.path-local-ascend_ilearn .apx-rank-section,
.local-ascend-rewards-notification .apex-reward-rank,
.local-ascend-rewards-notification .apex-reward-actions {
  grid-column:1 !important;
  grid-row:auto !important;
  width:100% !important;
}

.path-local-ascend_ilearn .apx-badge-name-section,
.local-ascend-rewards-notification .apex-reward-badge-name {
  text-align:center !important;
  padding:14px 18px !important;
}

.path-local-ascend_ilearn .apx-badge-name,
.local-ascend-rewards-notification .apex-reward-badge-title {
  font-size:26px !important;
  line-height:1.15 !important;
}

.path-local-ascend_ilearn .apx-stats-grid,
.local-ascend-rewards-notification .apex-reward-stats {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

.path-local-ascend_ilearn .apx-info-section,
.local-ascend-rewards-notification .apex-reward-info {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px 14px !important;
}

.path-local-ascend_ilearn .apx-description-text,
.local-ascend-rewards-notification .apex-reward-description-text,
.path-local-ascend_ilearn .apx-activities-list,
.local-ascend-rewards-notification .apex-reward-activities-list,
.path-local-ascend_ilearn .apx-badges-list {
  max-height:124px !important;
}

.local-ascend-rewards-notification .apex-reward-actions {
  text-align:center !important;
}

@media (max-width:560px) {
  .path-local-ascend_ilearn .apx-modal,
  .local-ascend-rewards-notification .apex-reward-modal {
    top:64px !important;
    width:94vw !important;
    max-height:calc(100vh - 78px) !important;
  }

  .path-local-ascend_ilearn .apx-modal-body,
  .local-ascend-rewards-notification .apex-reward-body {
    padding:14px !important;
    max-height:calc(100vh - 138px) !important;
  }

  .path-local-ascend_ilearn .apx-video-container,
  .local-ascend-rewards-notification .apex-reward-video-container {
    width:min(300px,100%) !important;
  }

  .path-local-ascend_ilearn .apx-stats-grid,
  .local-ascend-rewards-notification .apex-reward-stats,
  .path-local-ascend_ilearn .apx-info-section,
  .local-ascend-rewards-notification .apex-reward-info {
    grid-template-columns:1fr !important;
  }

  .path-local-ascend_ilearn .apx-badge-name,
  .local-ascend-rewards-notification .apex-reward-badge-title {
    font-size:22px !important;
  }
}

/* Badge award modal visual pass: Journey-inspired blue shell with cleaner content panels. */
.path-local-ascend_ilearn .apx-modal-backdrop,
.local-ascend-rewards-notification .apex-reward-modal-backdrop {
  background:rgba(1,20,46,.56) !important;
  backdrop-filter:blur(6px) !important;
}

.path-local-ascend_ilearn .apx-modal,
.local-ascend-rewards-notification .apex-reward-modal {
  background:#d8e1e8 !important;
  border:1px solid rgba(255,255,255,.9) !important;
  border-radius:10px !important;
  box-shadow:0 18px 40px rgba(1,20,46,.32), 0 2px 8px rgba(1,20,46,.18) !important;
}

.path-local-ascend_ilearn .apx-modal-header,
.local-ascend-rewards-notification .apex-reward-header {
  background:linear-gradient(180deg,#00B3F0 0%,#00B3F0 70%,#0879B8 100%) !important;
  border-bottom:1px solid rgba(1,20,46,.16) !important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.28) !important;
}

.path-local-ascend_ilearn .apx-modal-header::before,
.local-ascend-rewards-notification .apex-reward-header::before {
  display:none !important;
}

.path-local-ascend_ilearn .apx-modal-title,
.local-ascend-rewards-notification .apex-reward-title {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  background:none !important;
  text-align:left !important;
  font-weight:800 !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.28)) !important;
}

.path-local-ascend_ilearn .apx-modal-subtitle,
.local-ascend-rewards-notification .apex-reward-subtitle {
  color:#e9f8ff !important;
  -webkit-text-fill-color:#e9f8ff !important;
  text-align:left !important;
  margin:2px 0 0 !important;
  font-size:13px !important;
  line-height:1.25 !important;
}

.path-local-ascend_ilearn .apx-modal-progress,
.local-ascend-rewards-notification .apex-reward-progress {
  height:4px !important;
  background:linear-gradient(90deg,#ffffff 0%,#00B3F0 24%,#00B3F0 76%,#ffcf43 100%) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

.path-local-ascend_ilearn .apx-modal-close,
.local-ascend-rewards-notification .apex-reward-close {
  top:12px !important;
  right:14px !important;
  width:36px !important;
  height:36px !important;
  background:#ffffff !important;
  border:0 !important;
  border-radius:8px !important;
  color:#006faf !important;
  box-shadow:0 3px 8px rgba(1,20,46,.24) !important;
}

.path-local-ascend_ilearn .apx-modal-close:hover,
.local-ascend-rewards-notification .apex-reward-close:hover {
  background:#f3fbff !important;
  color:#004c7c !important;
  transform:none !important;
  box-shadow:0 4px 12px rgba(1,20,46,.28) !important;
}

.path-local-ascend_ilearn .apx-modal-close svg,
.local-ascend-rewards-notification .apex-reward-close svg {
  width:20px !important;
  height:20px !important;
}

.path-local-ascend_ilearn .apx-modal-body,
.local-ascend-rewards-notification .apex-reward-body {
  background:linear-gradient(180deg,#cdd9e1 0%,#e7edf1 180px,#f2f6f8 100%) !important;
  border-top:1px solid rgba(255,255,255,.44) !important;
  scrollbar-color:#1596ca rgba(255,255,255,.55) !important;
}

.path-local-ascend_ilearn .apx-modal-body::-webkit-scrollbar,
.local-ascend-rewards-notification .apex-reward-body::-webkit-scrollbar {
  width:9px !important;
}

.path-local-ascend_ilearn .apx-modal-body::-webkit-scrollbar-track,
.local-ascend-rewards-notification .apex-reward-body::-webkit-scrollbar-track {
  background:rgba(255,255,255,.55) !important;
  border-radius:8px !important;
}

.path-local-ascend_ilearn .apx-modal-body::-webkit-scrollbar-thumb,
.local-ascend-rewards-notification .apex-reward-body::-webkit-scrollbar-thumb {
  background:#1596ca !important;
  border:2px solid rgba(255,255,255,.55) !important;
  border-radius:8px !important;
}

.path-local-ascend_ilearn .apx-video-container,
.local-ascend-rewards-notification .apex-reward-video-container {
  box-sizing:border-box !important;
  background:#ffffff !important;
  border:4px solid #ffffff !important;
  border-radius:8px !important;
  box-shadow:0 10px 22px rgba(1,93,145,.26), 0 0 0 1px rgba(1,93,145,.12) !important;
}

.path-local-ascend_ilearn .apx-badge-video,
.local-ascend-rewards-notification .apex-reward-video {
  border-radius:5px !important;
}

.path-local-ascend_ilearn .apx-video-fullscreen-btn,
.local-ascend-rewards-notification .apex-reward-fullscreen-btn {
  right:9px !important;
  bottom:9px !important;
  width:34px !important;
  height:34px !important;
  background:rgba(255,255,255,.94) !important;
  border:1px solid rgba(0,111,175,.18) !important;
  border-radius:8px !important;
  color:#006faf !important;
  box-shadow:0 3px 10px rgba(1,20,46,.22) !important;
}

.path-local-ascend_ilearn .apx-badge-name-section,
.local-ascend-rewards-notification .apex-reward-badge-name {
  background:linear-gradient(180deg,#00B3F0 0%,#00B3F0 70%,#0879B8 100%) !important;
  border:1px solid rgba(255,255,255,.56) !important;
  border-radius:8px !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.28)) !important;
}

.path-local-ascend_ilearn .apx-badge-name,
.local-ascend-rewards-notification .apex-reward-badge-title {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-weight:800 !important;
  margin:0 !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.28)) !important;
}

.path-local-ascend_ilearn .apx-badge-category,
.local-ascend-rewards-notification .apex-reward-badge-subtitle {
  color:#eaf8ff !important;
  -webkit-text-fill-color:#eaf8ff !important;
  margin:4px 0 0 !important;
  font-size:13px !important;
  line-height:1.25 !important;
}

.path-local-ascend_ilearn .apx-stat-card,
.local-ascend-rewards-notification .apex-reward-stat-card {
  display:grid !important;
  grid-template-columns:56px minmax(0,1fr) !important;
  grid-template-areas:"icon value" "icon label" !important;
  gap:2px 12px !important;
  align-items:center !important;
  min-height:84px !important;
  padding:14px 16px !important;
  background:linear-gradient(180deg,#00B3F0 0%,#00B3F0 70%,#0879B8 100%) !important;
  border:1px solid rgba(255,255,255,.58) !important;
  border-radius:8px !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.28)) !important;
  text-align:left !important;
}

.path-local-ascend_ilearn .apx-stat-card::before {
  display:none !important;
}

.path-local-ascend_ilearn .apx-stat-icon,
.local-ascend-rewards-notification .apex-reward-stat-icon {
  grid-area:icon !important;
  width:52px !important;
  height:52px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  background:rgba(255,255,255,.22) !important;
  border:1px solid rgba(255,255,255,.34) !important;
  border-radius:8px !important;
}

.path-local-ascend_ilearn .apx-stat-icon svg,
.local-ascend-rewards-notification .apex-reward-stat-icon svg,
.path-local-ascend_ilearn .apx-coin-icon,
.local-ascend-rewards-notification .apex-reward-medal-icon {
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
}

.path-local-ascend_ilearn .apx-stat-value,
.local-ascend-rewards-notification .apex-reward-stat-value {
  grid-area:value !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:24px !important;
  font-weight:800 !important;
  line-height:1.05 !important;
  margin:0 !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.25)) !important;
}

.path-local-ascend_ilearn .apx-stat-label,
.local-ascend-rewards-notification .apex-reward-stat-label {
  grid-area:label !important;
  color:#eaf8ff !important;
  -webkit-text-fill-color:#eaf8ff !important;
  font-size:12px !important;
  line-height:1.2 !important;
  margin:0 !important;
}

.path-local-ascend_ilearn .apx-info-section,
.local-ascend-rewards-notification .apex-reward-info,
.path-local-ascend_ilearn .apx-description-section,
.local-ascend-rewards-notification .apex-reward-description,
.path-local-ascend_ilearn .apx-activities-section,
.local-ascend-rewards-notification .apex-reward-activities,
.path-local-ascend_ilearn .apx-badges-section,
.path-local-ascend_ilearn .apx-rank-section,
.local-ascend-rewards-notification .apex-reward-rank {
  background:#ffffff !important;
  border:1px solid rgba(0,111,175,.12) !important;
  border-radius:8px !important;
  box-shadow:0 2px 7px rgba(1,20,46,.14) !important;
  padding:14px 16px !important;
}

.path-local-ascend_ilearn .apx-achievement-section {
  display:none !important;
}

.path-local-ascend_ilearn .apx-info-grid,
.local-ascend-rewards-notification .apex-reward-info-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px 18px !important;
  margin:0 !important;
}

.path-local-ascend_ilearn .apx-info-section,
.local-ascend-rewards-notification .apex-reward-info {
  display:block !important;
}

.path-local-ascend_ilearn .apx-info-item,
.local-ascend-rewards-notification .apex-reward-info-item {
  min-width:0 !important;
}

.path-local-ascend_ilearn .apx-info-label,
.local-ascend-rewards-notification .apex-reward-info-label,
.path-local-ascend_ilearn .apx-description-title,
.local-ascend-rewards-notification .apex-reward-description-title,
.path-local-ascend_ilearn .apx-activities-title,
.local-ascend-rewards-notification .apex-reward-activities-title,
.path-local-ascend_ilearn .apx-badges-title {
  color:#006faf !important;
  -webkit-text-fill-color:#006faf !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  margin:0 0 8px !important;
  text-shadow:none !important;
}

.path-local-ascend_ilearn .apx-info-value,
.local-ascend-rewards-notification .apex-reward-info-value {
  color:#2f3f4c !important;
  -webkit-text-fill-color:#2f3f4c !important;
  font-size:14px !important;
  line-height:1.35 !important;
  overflow-wrap:anywhere !important;
}

.path-local-ascend_ilearn .apx-description-text,
.local-ascend-rewards-notification .apex-reward-description-text,
.path-local-ascend_ilearn .apx-activities-list,
.local-ascend-rewards-notification .apex-reward-activities-list,
.path-local-ascend_ilearn .apx-badges-list {
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#2f3f4c !important;
  -webkit-text-fill-color:#2f3f4c !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1.45 !important;
}

.path-local-ascend_ilearn .apx-activity-item,
.local-ascend-rewards-notification .apex-reward-activity-item,
.path-local-ascend_ilearn .apx-badge-item {
  color:#2f3f4c !important;
  -webkit-text-fill-color:#2f3f4c !important;
  padding:7px 0 !important;
  border-top:1px solid rgba(0,111,175,.12) !important;
}

.path-local-ascend_ilearn .apx-activity-item:first-child,
.local-ascend-rewards-notification .apex-reward-activity-item:first-child,
.path-local-ascend_ilearn .apx-badge-item:first-child {
  border-top:0 !important;
  padding-top:0 !important;
}

.path-local-ascend_ilearn .apx-rank-text,
.local-ascend-rewards-notification .apex-reward-rank-text,
.local-ascend-rewards-notification .apex-reward-rank-change {
  color:#2f3f4c !important;
  -webkit-text-fill-color:#2f3f4c !important;
}

.local-ascend-rewards-notification .apex-reward-btn-primary {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:40px !important;
  padding:10px 18px !important;
  background:linear-gradient(180deg,#00B3F0 0%,#00B3F0 70%,#0879B8 100%) !important;
  border:1px solid rgba(255,255,255,.7) !important;
  border-radius:8px !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-weight:800 !important;
}

@media (max-width:560px) {
  .path-local-ascend_ilearn .apx-modal-title,
  .local-ascend-rewards-notification .apex-reward-title {
    font-size:18px !important;
  }

  .path-local-ascend_ilearn .apx-stats-grid,
  .local-ascend-rewards-notification .apex-reward-stats,
  .path-local-ascend_ilearn .apx-info-grid,
  .local-ascend-rewards-notification .apex-reward-info-grid {
    grid-template-columns:1fr !important;
  }

  .path-local-ascend_ilearn .apx-stat-card,
  .local-ascend-rewards-notification .apex-reward-stat-card {
    min-height:76px !important;
  }
}

/* Badge modal requested refinements: coin asset, leaderboard XP icon treatment, blue blocks and fixed font colors. */
.path-local-ascend_ilearn .apx-stat-card:first-child .apx-stat-icon,
.local-ascend-rewards-notification .apex-reward-stat-card:first-child .apex-reward-stat-icon {
  width:48px !important;
  height:48px !important;
  background:transparent !important;
  border:0 !important;
}

.path-local-ascend_ilearn .apx-stat-card:first-child .apx-stat-icon svg,
.local-ascend-rewards-notification .apex-reward-stat-card:first-child .apex-reward-stat-icon svg {
  width:40px !important;
  height:40px !important;
}

.path-local-ascend_ilearn .apx-info-section,
.local-ascend-rewards-notification .apex-reward-info,
.path-local-ascend_ilearn .apx-description-section,
.local-ascend-rewards-notification .apex-reward-description,
.path-local-ascend_ilearn .apx-activities-section,
.local-ascend-rewards-notification .apex-reward-activities,
.path-local-ascend_ilearn .apx-badges-section,
.path-local-ascend_ilearn .apx-rank-section,
.local-ascend-rewards-notification .apex-reward-rank {
  background:linear-gradient(180deg,#00B3F0 0%,#00B3F0 70%,#0879B8 100%) !important;
  border:1px solid rgba(255,255,255,.58) !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.28)) !important;
}

.path-local-ascend_ilearn .apx-modal-title,
.local-ascend-rewards-notification .apex-reward-title,
.path-local-ascend_ilearn .apx-badge-name,
.local-ascend-rewards-notification .apex-reward-badge-title,
.path-local-ascend_ilearn .apx-stat-value,
.local-ascend-rewards-notification .apex-reward-stat-value,
.path-local-ascend_ilearn .apx-info-label,
.local-ascend-rewards-notification .apex-reward-info-label,
.path-local-ascend_ilearn .apx-description-title,
.local-ascend-rewards-notification .apex-reward-description-title,
.path-local-ascend_ilearn .apx-activities-title,
.local-ascend-rewards-notification .apex-reward-activities-title,
.path-local-ascend_ilearn .apx-badges-title,
.path-local-ascend_ilearn .apx-activity-failed,
.path-local-ascend_ilearn .apx-activity-passed,
.path-local-ascend_ilearn .apx-activity-improved,
.path-local-ascend_ilearn .apx-award-header {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}

.path-local-ascend_ilearn .apx-modal-subtitle,
.local-ascend-rewards-notification .apex-reward-subtitle,
.path-local-ascend_ilearn .apx-badge-category,
.local-ascend-rewards-notification .apex-reward-badge-subtitle,
.path-local-ascend_ilearn .apx-stat-label,
.local-ascend-rewards-notification .apex-reward-stat-label,
.path-local-ascend_ilearn .apx-info-value,
.local-ascend-rewards-notification .apex-reward-info-value,
.path-local-ascend_ilearn .apx-description-text,
.local-ascend-rewards-notification .apex-reward-description-text,
.path-local-ascend_ilearn .apx-activities-list,
.local-ascend-rewards-notification .apex-reward-activities-list,
.path-local-ascend_ilearn .apx-badges-list,
.path-local-ascend_ilearn .apx-activity-item,
.local-ascend-rewards-notification .apex-reward-activity-item,
.path-local-ascend_ilearn .apx-badge-item,
.path-local-ascend_ilearn .apx-rank-text,
.local-ascend-rewards-notification .apex-reward-rank-text,
.local-ascend-rewards-notification .apex-reward-rank-change {
  color:#CED5DB !important;
  -webkit-text-fill-color:#CED5DB !important;
}

.path-local-ascend_ilearn .apx-description-text,
.local-ascend-rewards-notification .apex-reward-description-text,
.path-local-ascend_ilearn .apx-activities-list,
.local-ascend-rewards-notification .apex-reward-activities-list,
.path-local-ascend_ilearn .apx-badges-list {
  background:transparent !important;
}

.path-local-ascend_ilearn .apx-activity-item,
.local-ascend-rewards-notification .apex-reward-activity-item,
.path-local-ascend_ilearn .apx-badge-item {
  border-top:1px solid rgba(255,255,255,.22) !important;
}

/* Badge modal final contrast polish. */
.path-local-ascend_ilearn .apx-modal-subtitle,
.local-ascend-rewards-notification .apex-reward-subtitle,
.path-local-ascend_ilearn .apx-badge-category,
.local-ascend-rewards-notification .apex-reward-badge-subtitle,
.path-local-ascend_ilearn .apx-stat-label,
.local-ascend-rewards-notification .apex-reward-stat-label,
.path-local-ascend_ilearn .apx-info-value,
.local-ascend-rewards-notification .apex-reward-info-value,
.path-local-ascend_ilearn .apx-description-text,
.local-ascend-rewards-notification .apex-reward-description-text,
.path-local-ascend_ilearn .apx-activities-list,
.local-ascend-rewards-notification .apex-reward-activities-list,
.path-local-ascend_ilearn .apx-badges-list,
.path-local-ascend_ilearn .apx-activity-item,
.local-ascend-rewards-notification .apex-reward-activity-item,
.path-local-ascend_ilearn .apx-badge-item,
.path-local-ascend_ilearn .apx-rank-text,
.local-ascend-rewards-notification .apex-reward-rank-text,
.local-ascend-rewards-notification .apex-reward-rank-change {
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
}

.path-local-ascend_ilearn .apx-video-container,
.local-ascend-rewards-notification .apex-reward-video-container {
  border:4px solid #00B3F0 !important;
  box-shadow:0 10px 22px rgba(0,179,240,.28), 0 0 0 1px rgba(255,255,255,.5) !important;
}

/* Badge modal floating media polish. */
.path-local-ascend_ilearn .apx-modal,
.local-ascend-rewards-notification .apex-reward-modal {
  border:0 !important;
  box-shadow:0 26px 58px rgba(1,20,46,.34), 0 10px 22px rgba(1,20,46,.18) !important;
}

.path-local-ascend_ilearn .apx-video-container,
.local-ascend-rewards-notification .apex-reward-video-container {
  border:0 !important;
  border-radius:16px !important;
  background:#ffffff !important;
  box-shadow:
    0 28px 48px rgba(1,20,46,.32),
    0 14px 22px rgba(0,179,240,.22),
    0 2px 8px rgba(255,255,255,.72) inset !important;
}

.path-local-ascend_ilearn .apx-badge-video,
.local-ascend-rewards-notification .apex-reward-video {
  border-radius:16px !important;
}

/* Reward animation is now 16:9; keep congrats videos responsive and correctly framed. */
.path-local-ascend_ilearn .aa-congrats video,
.path-local-ascend_ilearn .ascendrewards-admin .aa-congrats video,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats video {
  display:block !important;
  width:min(760px,100%) !important;
  max-width:100% !important;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  max-height:min(48vh,430px) !important;
  object-fit:contain !important;
  border-radius:14px !important;
  margin:0 auto !important;
}

.path-local-ascend_ilearn .aa-congrats,
.path-local-ascend_ilearn .ascendrewards-admin .aa-congrats,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats {
  align-items:center !important;
}

@media (max-width:760px) {
  .path-local-ascend_ilearn .aa-congrats video,
  .path-local-ascend_ilearn .ascendrewards-admin .aa-congrats video,
  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats video {
    width:100% !important;
    max-height:38vh !important;
  }
}

/* KPI polish for the refreshed 1:1 balance, rank and KPI artwork. */
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-balance-rank-container {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
  margin:0 0 18px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) {
  display:grid !important;
  grid-template-columns:112px minmax(0,1fr) !important;
  align-items:center !important;
  justify-content:initial !important;
  gap:18px !important;
  min-height:138px !important;
  padding:20px 24px !important;
  text-align:left !important;
  border-radius:14px !important;
  overflow:hidden !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) img {
  width:104px !important;
  height:104px !important;
  max-width:104px !important;
  max-height:104px !important;
  object-fit:contain !important;
  margin:0 !important;
  filter:drop-shadow(0 9px 12px rgba(1,20,46,.24)) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) > div {
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:6px !important;
  min-width:0 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) .aa-muted {
  min-height:0 !important;
  margin:0 !important;
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) .rank-main {
  min-height:0 !important;
  justify-content:flex-start !important;
  text-align:left !important;
  color:#FFFFFF !important;
  -webkit-text-fill-color:#FFFFFF !important;
  font-size:30px !important;
  font-weight:900 !important;
  line-height:1.05 !important;
  letter-spacing:0 !important;
  overflow-wrap:anywhere !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-rank-bar .rank-main {
  font-size:24px !important;
  line-height:1.14 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis {
  gap:16px !important;
  margin:14px 0 18px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(.aa-card,.aa-rank-card,.aa-xp-card) {
  grid-template-columns:76px minmax(0,1fr) !important;
  gap:5px 14px !important;
  min-height:128px !important;
  padding:16px 17px 15px !important;
  border-radius:12px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis :is(.aa-kpi-icon,.xp-ring-container) {
  width:70px !important;
  height:70px !important;
  max-width:70px !important;
  max-height:70px !important;
  border-radius:14px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(.aa-card,.aa-rank-card) .aa-kpi-icon {
  padding:0 !important;
  background:transparent !important;
  object-fit:contain !important;
  filter:drop-shadow(0 8px 10px rgba(1,20,46,.22)) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .xp-ring-container {
  padding:6px !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .aa-kpi-label {
  font-size:12px !important;
  line-height:1.18 !important;
  letter-spacing:0 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis :is(.aa-kpi-value,.rank-main) {
  font-size:26px !important;
  line-height:1.04 !important;
  letter-spacing:0 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > .aa-rank-card :is(.aa-kpi-value,.rank-main) {
  font-size:18px !important;
  line-height:1.16 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis :is(.aa-muted,.aa-kpi-subtitle,.aa-kpi-level) {
  font-size:12px !important;
  line-height:1.25 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-filter-bar h3 {
  margin:0 0 12px !important;
  color:var(--aa-client-text) !important;
  -webkit-text-fill-color:var(--aa-client-text) !important;
  font-size:22px !important;
  font-weight:800 !important;
  line-height:1.1 !important;
  letter-spacing:0 !important;
  text-shadow:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .aa-kpi-icon {
  padding:8px !important;
  background:#CED5DB !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    0 8px 18px rgba(1,20,46,.24) !important;
  object-fit:contain !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(.aa-card,.aa-rank-card) .aa-kpi-icon {
  padding:8px !important;
  background:#CED5DB !important;
  background-image:none !important;
  object-fit:contain !important;
  filter:none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    0 8px 18px rgba(1,20,46,.24) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .xp-ring-container {
  padding:8px !important;
  background:#CED5DB !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    0 8px 18px rgba(1,20,46,.24) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .xp-ring .bg-ring {
  stroke:#edf4f8 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .xp-ring .progress {
  stroke:url(#xpGradient) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis .xp-level {
  color:#006FAF !important;
  -webkit-text-fill-color:#006FAF !important;
  text-shadow:none !important;
}

/* KPI gradient direction refresh: vertical dark-blue top band into prominent brand blue. */
body#page-local-ascend_ilearn-index .ascendrewards-index {
  --aa-kpi-blue-gradient:linear-gradient(180deg,#006FAF 0%,#008ED0 18%,#00B3F0 42%,#00B3F0 100%);
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar),
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(.aa-card,.aa-rank-card,.aa-xp-card) {
  background:var(--aa-kpi-blue-gradient) !important;
  background-image:var(--aa-kpi-blue-gradient) !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(.aa-card,.aa-rank-card,.aa-xp-card)::before {
  background:linear-gradient(180deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,.08) 26%,rgba(255,255,255,0) 60%) !important;
}

.path-local-ascend_ilearn .aa-analytics-kpi-card,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card {
  background:
    linear-gradient(180deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,.04) 34%,rgba(255,255,255,0) 72%),
    linear-gradient(180deg,#006FAF 0%,#008ED0 18%,#00B3F0 42%,#00B3F0 100%) !important;
  border-color:rgba(255,255,255,.28) !important;
}

.path-local-ascend_ilearn .aa-analytics-kpi-card::after,
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card::after {
  background:radial-gradient(circle,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 68%) !important;
}

.path-local-ascend_ilearn .aa-analytics-kpi-card :is(.aa-analytics-kpi-label,.aa-analytics-kpi-value,.aa-analytics-kpi-subtext),
.path-local-ascend_ilearn .ascendrewards-analytics .aa-metrics-kpi-card :is(.aa-analytics-kpi-label,.aa-analytics-kpi-value,.aa-analytics-kpi-subtext) {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

/* Form controls: dropdowns and buttons use the same vertical brand gradient. */
.path-local-ascend_ilearn,
body#page-local-ascend_ilearn-index .ascendrewards-index {
  --aa-control-blue:#006FAF;
  --aa-control-gradient:linear-gradient(180deg,#006FAF 0%,#008ED0 18%,#00B3F0 42%,#00B3F0 100%);
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  select,
  .aa-filter-bar select,
  .ilearn-store-course-select,
  .ilearn-store-category-select
),
.path-local-ascend_ilearn .ascendrewards-admin :is(
  select,
  .aa-admin-select,
  select.aa-admin-input-full,
  .aa-exclusions-select,
  select.custom-select,
  select.form-control
) {
  display:inline-block !important;
  min-height:42px !important;
  padding:8px 36px 8px 12px !important;
  background:var(--aa-control-gradient) !important;
  background-image:var(--aa-control-gradient) !important;
  border:0 !important;
  border-radius:8px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.28)) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-family:Calibri,"Segoe UI",Tahoma,Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  cursor:pointer !important;
  appearance:auto !important;
  -webkit-appearance:menulist !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  select,
  .aa-filter-bar select,
  .ilearn-store-course-select,
  .ilearn-store-category-select
) option,
.path-local-ascend_ilearn .ascendrewards-admin :is(
  select,
  .aa-admin-select,
  select.aa-admin-input-full,
  .aa-exclusions-select,
  select.custom-select,
  select.form-control
) option {
  background:#006FAF !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-weight:800 !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-filter-bar button,
  .aa-filter-bar a,
  input[type="submit"],
  input[type="button"],
  .ilearn-store-redeem,
  .leaderboard-view-btn
),
.path-local-ascend_ilearn .ascendrewards-admin :is(
  input[type="submit"],
  input[type="button"],
  .btn,
  .btn-primary,
  .btn-secondary,
  .aa-admin-btn-tall,
  .aa-exclusions-add-btn,
  .aa-exclusions-remove-btn,
  .aa-award-revoke-btn,
  .aa-cleanup-secondary-btn,
  .aa-admin-search-btn
) {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:8px 16px !important;
  background:var(--aa-control-gradient) !important;
  background-image:var(--aa-control-gradient) !important;
  border:0 !important;
  border-radius:8px !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.28)) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-family:Calibri,"Segoe UI",Tahoma,Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
}

body#page-local-ascend_ilearn-index .ascendrewards-index :is(
  .aa-filter-bar button,
  .aa-filter-bar a,
  input[type="submit"],
  input[type="button"],
  .ilearn-store-redeem,
  .leaderboard-view-btn
):hover,
.path-local-ascend_ilearn .ascendrewards-admin :is(
  input[type="submit"],
  input[type="button"],
  .btn,
  .btn-primary,
  .btn-secondary,
  .aa-admin-btn-tall,
  .aa-exclusions-add-btn,
  .aa-exclusions-remove-btn,
  .aa-award-revoke-btn,
  .aa-cleanup-secondary-btn,
  .aa-admin-search-btn
):hover {
  filter:brightness(1.04);
  transform:translateY(-1px);
}

body#page-local-ascend_ilearn-index .ascendrewards-index .ilearn-store-redeem:disabled {
  background:linear-gradient(180deg,#8A8C8E 0%,#6A6D75 100%) !important;
  background-image:linear-gradient(180deg,#8A8C8E 0%,#6A6D75 100%) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  box-shadow:none !important;
  opacity:.74;
}

@media (max-width:760px) {
  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-balance-rank-container {
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) {
    grid-template-columns:86px minmax(0,1fr) !important;
    min-height:112px !important;
    padding:14px 16px !important;
    gap:14px !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) img {
    width:78px !important;
    height:78px !important;
    max-width:78px !important;
    max-height:78px !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index :is(.aa-balance-bar,.aa-rank-bar) .rank-main {
    font-size:24px !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-rank-bar .rank-main {
    font-size:20px !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis > :is(.aa-card,.aa-rank-card,.aa-xp-card) {
    grid-template-columns:64px minmax(0,1fr) !important;
    min-height:118px !important;
    padding:14px !important;
    gap:5px 12px !important;
  }

  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-kpis :is(.aa-kpi-icon,.xp-ring-container) {
    width:58px !important;
    height:58px !important;
    max-width:58px !important;
    max-height:58px !important;
  }
}

/* Reward animation 16:9 correction: centered media for the constrained Moodle block. */
.path-local-ascend_ilearn .aa-congrats,
.path-local-ascend_ilearn .ascendrewards-admin .aa-congrats,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:16px !important;
  padding:22px 24px !important;
  text-align:center !important;
}

.path-local-ascend_ilearn .aa-congrats video,
.path-local-ascend_ilearn .ascendrewards-admin .aa-congrats video,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats video {
  width:min(100%,760px) !important;
  max-width:760px !important;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  max-height:min(54vh,428px) !important;
  object-fit:cover !important;
  border:0 !important;
  border-radius:16px !important;
  margin:0 auto !important;
  background:#ffffff !important;
  box-shadow:0 20px 42px rgba(1,20,46,.26), 0 6px 16px rgba(1,20,46,.16) !important;
}

.path-local-ascend_ilearn .aa-congrats > div,
.path-local-ascend_ilearn .ascendrewards-admin .aa-congrats > div,
body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats > div {
  min-width:0 !important;
  width:100% !important;
}

@media (max-width:720px) {
  .path-local-ascend_ilearn .aa-congrats,
  .path-local-ascend_ilearn .ascendrewards-admin .aa-congrats,
  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats {
    padding:14px !important;
  }

  .path-local-ascend_ilearn .aa-congrats video,
  .path-local-ascend_ilearn .ascendrewards-admin .aa-congrats video,
  body#page-local-ascend_ilearn-index .ascendrewards-index .aa-congrats video {
    max-width:100% !important;
    max-height:none !important;
    margin:0 auto !important;
  }
}

/* Level-up videos are 16:9 and must not inherit the 1:1 badge animation treatment. */
.local-ascend-rewards-notification .apex-levelup-modal {
  width:min(760px,calc(100vw - 32px)) !important;
  max-width:760px !important;
  max-height:calc(100vh - 88px) !important;
}

.local-ascend-rewards-notification .apex-levelup-body {
  width:100% !important;
  max-width:none !important;
  min-height:0 !important;
  aspect-ratio:16 / 9 !important;
  max-height:min(54vh,428px) !important;
  background:#ffffff !important;
  border-radius:0 !important;
}

.local-ascend-rewards-notification .apex-levelup-video {
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  aspect-ratio:16 / 9 !important;
  object-fit:cover !important;
  background:#ffffff !important;
}

@media (max-width:720px) {
  .local-ascend-rewards-notification .apex-levelup-modal {
    width:calc(100vw - 24px) !important;
    max-height:calc(100vh - 48px) !important;
  }

  .local-ascend-rewards-notification .apex-levelup-body {
    max-height:none !important;
  }
}

/* Level-up modal final pass: preserve animation framing and match the Ascend theme shell. */
.local-ascend-rewards-notification .apex-levelup-backdrop {
  background:rgba(1,20,46,.74) !important;
  backdrop-filter:blur(10px) saturate(1.08) !important;
}

.local-ascend-rewards-notification .apex-levelup-modal {
  width:min(860px,calc(100vw - 32px)) !important;
  max-width:860px !important;
  max-height:calc(100vh - 32px) !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.04) 34%,rgba(255,255,255,0) 72%),
    linear-gradient(180deg,#006FAF 0%,#008ED0 18%,#00B3F0 42%,#00B3F0 100%) !important;
  border:0 !important;
  border-radius:16px !important;
  box-shadow:0 22px 56px rgba(1,20,46,.45), inset 0 1px 0 rgba(255,255,255,.28) !important;
  color:#ffffff !important;
  overflow:hidden !important;
}

.local-ascend-rewards-notification .apex-levelup-header {
  min-height:68px !important;
  padding:18px 76px 16px 24px !important;
  background:linear-gradient(90deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.06) 100%) !important;
  border-bottom:1px solid rgba(255,255,255,.24) !important;
  text-align:left !important;
}

.local-ascend-rewards-notification .apex-levelup-title {
  margin:0 !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  background:none !important;
  font-family:Calibri,"Segoe UI",Tahoma,Arial,sans-serif !important;
  font-size:24px !important;
  font-weight:900 !important;
  line-height:1.12 !important;
  letter-spacing:0 !important;
  text-align:left !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.38)) !important;
}

.local-ascend-rewards-notification .apex-levelup-close {
  top:14px !important;
  right:18px !important;
  width:40px !important;
  height:40px !important;
  background:#ffffff !important;
  border:0 !important;
  border-radius:8px !important;
  color:#006FAF !important;
  box-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.35)) !important;
}

.local-ascend-rewards-notification .apex-levelup-close:hover {
  background:#eaf8ff !important;
  color:#01142E !important;
  transform:translateY(-1px) !important;
}

.local-ascend-rewards-notification .apex-levelup-close::before {
  color:currentColor !important;
  font-size:24px !important;
  font-weight:800 !important;
  line-height:1 !important;
}

.local-ascend-rewards-notification .apex-levelup-body {
  width:100% !important;
  max-width:none !important;
  min-height:0 !important;
  max-height:calc(100vh - 224px) !important;
  aspect-ratio:auto !important;
  padding:12px !important;
  margin:0 !important;
  background:#01142E !important;
  border-bottom:1px solid rgba(255,255,255,.24) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}

.local-ascend-rewards-notification .apex-levelup-video {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:calc(100vh - 248px) !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#01142E !important;
  border:0 !important;
  border-radius:12px !important;
  box-shadow:0 16px 32px rgba(1,20,46,.28) !important;
}

.local-ascend-rewards-notification .apex-levelup-footer {
  padding:18px 24px 22px !important;
  background:linear-gradient(90deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,.05) 100%) !important;
  border-top:0 !important;
  text-align:center !important;
}

.local-ascend-rewards-notification .apex-levelup-level {
  margin:0 0 8px !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  background:none !important;
  font-family:Calibri,"Segoe UI",Tahoma,Arial,sans-serif !important;
  font-size:40px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.38)) !important;
}

.local-ascend-rewards-notification .apex-levelup-subtitle {
  margin:0 !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-family:Calibri,"Segoe UI",Tahoma,Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.25 !important;
  text-shadow:var(--aa-client-shadow,2px 2px 5px rgba(0,0,0,.28)) !important;
}

@media (max-width:720px) {
  .local-ascend-rewards-notification .apex-levelup-modal {
    width:calc(100vw - 24px) !important;
    max-height:calc(100vh - 24px) !important;
  }

  .local-ascend-rewards-notification .apex-levelup-header {
    min-height:60px !important;
    padding:16px 64px 14px 18px !important;
  }

  .local-ascend-rewards-notification .apex-levelup-title {
    font-size:21px !important;
  }

  .local-ascend-rewards-notification .apex-levelup-close {
    top:10px !important;
    right:12px !important;
  }

  .local-ascend-rewards-notification .apex-levelup-body {
    padding:8px !important;
    max-height:calc(100vh - 190px) !important;
  }

  .local-ascend-rewards-notification .apex-levelup-video {
    max-height:calc(100vh - 206px) !important;
    border-radius:10px !important;
  }

  .local-ascend-rewards-notification .apex-levelup-footer {
    padding:14px 18px 18px !important;
  }

  .local-ascend-rewards-notification .apex-levelup-level {
    font-size:32px !important;
  }
}

/* Live navbar-safe level-up modal sizing. Keep the full shell below Moodle's fixed top navigation. */
.local-ascend-rewards-notification .apex-levelup-backdrop {
  position:fixed !important;
  inset:0 !important;
  z-index:2147483000 !important;
}

.local-ascend-rewards-notification .apex-levelup-modal {
  --aa-levelup-top-gap:clamp(72px, 10vh, 96px);
  position:fixed !important;
  top:var(--aa-levelup-top-gap) !important;
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  width:min(760px, calc(100vw - 48px)) !important;
  max-width:760px !important;
  max-height:calc(100dvh - var(--aa-levelup-top-gap) - 20px) !important;
  z-index:2147483001 !important;
  border-radius:14px !important;
}

.local-ascend-rewards-notification .apex-levelup-header {
  flex:0 0 auto !important;
  min-height:54px !important;
  padding:14px 68px 12px 22px !important;
}

.local-ascend-rewards-notification .apex-levelup-title {
  font-size:22px !important;
  line-height:1.15 !important;
}

.local-ascend-rewards-notification .apex-levelup-close {
  top:9px !important;
  right:14px !important;
  width:36px !important;
  height:36px !important;
}

.local-ascend-rewards-notification .apex-levelup-body {
  flex:1 1 auto !important;
  min-height:0 !important;
  padding:16px !important;
  max-height:calc(100dvh - var(--aa-levelup-top-gap) - 142px) !important;
}

.local-ascend-rewards-notification .apex-levelup-video {
  width:92% !important;
  height:auto !important;
  max-width:92% !important;
  max-height:92% !important;
  object-fit:contain !important;
}

.local-ascend-rewards-notification .apex-levelup-footer {
  flex:0 0 auto !important;
  padding:14px 22px 18px !important;
}

.local-ascend-rewards-notification .apex-levelup-level {
  font-size:32px !important;
  margin-bottom:6px !important;
}

.local-ascend-rewards-notification .apex-levelup-subtitle {
  font-size:14px !important;
  line-height:1.2 !important;
}

@media (max-height:720px) {
  .local-ascend-rewards-notification .apex-levelup-modal {
    --aa-levelup-top-gap:64px;
    width:min(680px, calc(100vw - 48px)) !important;
    max-height:calc(100dvh - var(--aa-levelup-top-gap) - 16px) !important;
  }

  .local-ascend-rewards-notification .apex-levelup-header {
    min-height:48px !important;
    padding:12px 62px 10px 18px !important;
  }

  .local-ascend-rewards-notification .apex-levelup-title {
    font-size:20px !important;
  }

  .local-ascend-rewards-notification .apex-levelup-footer {
    padding:12px 18px 14px !important;
  }

  .local-ascend-rewards-notification .apex-levelup-body {
    padding:12px !important;
    max-height:calc(100dvh - var(--aa-levelup-top-gap) - 122px) !important;
  }

  .local-ascend-rewards-notification .apex-levelup-level {
    font-size:28px !important;
  }
}

@media (max-width:720px) {
  .local-ascend-rewards-notification .apex-levelup-modal {
    --aa-levelup-top-gap:64px;
    width:calc(100vw - 24px) !important;
    max-height:calc(100dvh - var(--aa-levelup-top-gap) - 12px) !important;
  }

  .local-ascend-rewards-notification .apex-levelup-video {
    width:94% !important;
    max-width:94% !important;
    max-height:94% !important;
  }
}

