/* DOMA Academy — unified Purple & Champagne Gold Glassmorphism.
   Visual-only shared layer for the public learning site, course workspaces,
   grade/payment request flows, Kids pages, and Admin interface. */
:root{
  color-scheme:dark;
  --dpg-bg:#170f22;
  --dpg-bg-2:#241632;
  --dpg-glass:rgba(89,55,108,.62);
  --dpg-glass-strong:rgba(66,42,86,.82);
  --dpg-glass-soft:rgba(111,76,132,.32);
  --dpg-edge:rgba(225,193,233,.38);
  --dpg-edge-gold:rgba(255,218,174,.5);
  --dpg-text:#fff4e8;
  --dpg-muted:#e4d5e8;
  --dpg-muted-2:#c9b6d3;
  --dpg-gold:#ffe5bd;
  --dpg-gold-2:#e8b974;
  --dpg-gold-3:#c98248;
  --dpg-purple:#b894e9;
  --dpg-shadow:0 24px 68px rgba(13,5,24,.38);
}
html{background:var(--dpg-bg)!important;scroll-behavior:smooth}
html body{
  color:var(--dpg-text)!important;
  background:
    radial-gradient(ellipse 540px 390px at 9% 0%,rgba(167,118,196,.24),transparent 72%),
    radial-gradient(ellipse 500px 400px at 100% 16%,rgba(255,203,153,.10),transparent 72%),
    radial-gradient(ellipse 620px 430px at 50% 100%,rgba(127,83,159,.18),transparent 72%),
    linear-gradient(145deg,#170f22 0%,#21142e 52%,#130d1d 100%)!important;
  background-attachment:fixed!important;
}
html body :is(h1,h2,h3,h4,h5){color:var(--dpg-text)!important}
html body :is(p,.muted,.small,.small-print,.field-help,.desc,.page-head p,.a1-hero-copy p,.a1-hero-card p,.mf-course-footnote,.mf-course-status,.footer){
  color:var(--dpg-muted)!important;
}
html body a{color:var(--dpg-gold)!important}
html body a:hover{color:#fff!important}
html body ::selection{background:rgba(232,185,116,.42);color:#fff!important}

/* Shared glass navigation and page headers. */
html body :is(.topbar,nav.nav,.nav.topbar,.course-top-controls,.student-sidebar,#mobileCourseMenu,.kid-menu-dialog,.sidebar){
  color:var(--dpg-text)!important;
  background:linear-gradient(135deg,rgba(112,77,133,.78),rgba(49,31,68,.9))!important;
  border-color:var(--dpg-edge-gold)!important;
  box-shadow:0 14px 38px rgba(12,5,23,.22),inset 0 1px 0 rgba(255,255,255,.14)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
html body :is(.topbar,.nav.topbar){border-bottom:1px solid rgba(255,218,174,.22)!important}
html body .course-top-controls{
  background:linear-gradient(135deg,rgba(53,35,70,.88),rgba(30,20,45,.94))!important;
  border:0!important;
}
html body :is(.hero,.a1-hero){
  color:var(--dpg-text)!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,207,157,.16),transparent 45%),
    radial-gradient(ellipse at 90% 100%,rgba(170,128,202,.2),transparent 48%),
    linear-gradient(135deg,rgba(80,52,102,.62),rgba(37,24,54,.78))!important;
  border:1px solid var(--dpg-edge-gold)!important;
  border-radius:28px!important;
  box-shadow:var(--dpg-shadow),inset 0 1px 0 rgba(255,255,255,.16)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
}
html body :is(.hero,.a1-hero) :is(h1,h2,h3){color:var(--dpg-text)!important}
html body :is(.a1-hero-card,.hero-card,.mascot-stage,.kid-course-start-card){
  color:var(--dpg-text)!important;
  background:linear-gradient(145deg,rgba(164,118,181,.36),rgba(55,35,76,.76))!important;
  border:1px solid var(--dpg-edge-gold)!important;
  border-radius:22px!important;
  box-shadow:0 18px 42px rgba(12,5,23,.28),inset 0 1px 0 rgba(255,255,255,.16)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
html body :is(.brand-mark,.kid-welcome-icon,.kid-menu-trigger-icon,.a1-level,.level-code){
  color:var(--dpg-gold)!important;
  border:1px solid var(--dpg-edge-gold)!important;
  background:linear-gradient(145deg,rgba(255,219,174,.18),rgba(116,78,143,.42))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 7px 18px rgba(16,7,28,.2)!important;
}
html body :is(.eyebrow,.a1-eyebrow,.mf-course-kicker,.kids-levels-heading .eyebrow,.page-head .eyebrow){
  color:var(--dpg-gold)!important;
}
html body :is(.pill,.tag,.a1-level,.stage,.mf-course-kicker,.level-chip,.picture-quiz-pill,.listen-quiz-pill){
  color:#ffe6c4!important;
  border:1px solid rgba(255,218,174,.38)!important;
  background:linear-gradient(135deg,rgba(255,218,174,.14),rgba(150,106,176,.23))!important;
}
html body :is(.live-dot,.dot,.mf-grade-live-dot){background:var(--dpg-gold-2)!important;box-shadow:0 0 9px rgba(232,185,116,.76)!important}

/* Reusable translucent cards across homepage, both courses, learning tools,
   request summaries, lessons, quizzes, and standalone Kids pages. */
html body :is(
  .card,.feature,.tool,.plan,.dash,.stat,.notification,.workspace-card,
  .upgrade-card,.home-shortcut,.quick-card,.student-home-card,.student-gami-card,
  .student-plus5-card,.doma-v2-card,.doma-v2-sub,.how-card,
  .mf-english-course-hero,.mf-kids-entry-card,.mf-course-level,.mf-course-unit,
  .mf-course-content,.mf-placement-panel,.mf-placement-question,.mf-placement-option,
  .doma-subscription-center,.doma-subscription-card,.doma-progress-sync,
  .stat,.unit,.lesson,.lab-card,.video-card,.quiz-mini,.recording-panel,
  .mf-play-dialogue,.sentence-bank,.achievement,.mf-video-note,
  .track-card,.quiz-shell,.request-card,.demo-lesson,.demo-game,
  .kid-content-tile,.kid-practice-card,.kid-request-summary,.kid-request-facts>div,
  .kid-letter-card,.kid-lesson-welcome,.kid-lesson-panel,
  .picture-quiz-section,.listen-quiz-section,.letter-card,
  .choice-card,.level-card,.notice,.kid-menu-unit,.kid-menu-item,
  .prep-unit,.prep-lesson,.curriculum-detail,.assessment-box,
  .grammar-map .mini-card,.doma-battle-card,.pro5-card,.hw-stat,
  .workspace-card,.student-sidebar,.student-content
){
  color:var(--dpg-text)!important;
  border:1px solid rgba(225,193,233,.30)!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.10),transparent 54%),
    linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72))!important;
  box-shadow:0 16px 38px rgba(12,5,23,.25),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
}
html body :is(
  .card,.feature,.tool,.plan,.dash,.stat,.notification,.workspace-card,
  .upgrade-card,.home-shortcut,.quick-card,.student-home-card,.student-gami-card,
  .doma-v2-card,.doma-v2-sub,.how-card,.mf-course-level,.mf-course-unit,
  .mf-course-content,.doma-subscription-card,.doma-progress-sync,
  .unit,.lesson,.lab-card,.video-card,.quiz-mini,.recording-panel,
  .track-card,.quiz-shell,.request-card,.demo-lesson,.demo-game,
  .kid-content-tile,.kid-practice-card,.kid-request-summary,.kid-letter-card,
  .kid-lesson-welcome,.kid-lesson-panel,.picture-quiz-section,.listen-quiz-section,
  .letter-card,.choice-card,.level-card,.notice,.kid-menu-unit,.kid-menu-item,
  .prep-unit,.prep-lesson,.curriculum-detail,.assessment-box,.doma-battle-card
):hover{
  border-color:rgba(255,218,174,.58)!important;
  box-shadow:0 20px 44px rgba(12,5,23,.31),0 0 22px rgba(232,185,116,.08),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
html body :is(.stat strong,.mf-course-price-row strong,.kid-request-facts strong,.grade-meta strong,.level-code){
  color:var(--dpg-gold)!important;
}
html body :is(.unit h2,.lesson h3,.tool h3,.box h3,.choice-card h2,.level-card h2,.track-card h3,.request-card h3){
  color:var(--dpg-text)!important;
}
html body :is(.small,.muted,.desc,.choice-card p,.level-card p,.notice,.field-help,.kid-bilingual-ar,.kid-word-ar,.small-print){
  color:var(--dpg-muted-2)!important;
}

/* Main homepage: grade picker, how-it-works, course cards, pricing and FAQ. */
html body :is(section#how-it-works,section#grades,section#pricing,section#faq,.mf-english-course-section,.home-upgrade,footer.footer){
  background:transparent!important;
  border-color:rgba(255,218,174,.16)!important;
}
html body #gradeGrid .grade{
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  border:1px solid rgba(255,218,174,.38)!important;border-radius:22px!important;
  background:linear-gradient(145deg,rgba(118,80,139,.55),rgba(43,29,62,.82))!important;
  box-shadow:0 18px 38px rgba(12,5,23,.28),inset 0 1px 0 rgba(255,255,255,.15)!important;
}
html body #gradeGrid .grade-cover{
  background:
    radial-gradient(circle at 88% 10%,rgba(255,218,174,.18),transparent 42%),
    linear-gradient(135deg,rgba(111,75,133,.82),rgba(47,30,66,.94))!important;
  border-bottom:1px solid rgba(255,218,174,.18)!important;
}
html body #gradeGrid .grade-body{background:transparent!important;color:var(--dpg-text)!important}
html body #gradeGrid :is(.grade h3,.grade h4,.mf-pastel-grade-title,.grade-body p,.mf-pastel-grade-subtitle){color:var(--dpg-text)!important}
html body #gradeGrid :is(.grade-meta,.mf-pastel-grade-price){color:var(--dpg-gold)!important}
html body :is(.mf-english-course-hero,.mf-kids-entry-card){
  border-color:rgba(255,218,174,.52)!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,210,162,.16),transparent 50%),
    linear-gradient(135deg,rgba(111,73,134,.67),rgba(43,29,64,.91))!important;
}
html body .mf-course-art{background:linear-gradient(145deg,rgba(255,218,174,.10),rgba(109,71,135,.28))!important}
html body :is(.mf-course-kicker,.mf-course-levels,.mf-course-tagline,.mf-course-arabic){color:#f2dfed!important}
html body :is(.mf-course-price-row strong,.mf-english-course-price strong){color:var(--dpg-gold)!important}
html body :is(.mf-course-level .btn,.mf-english-course-price .btn){border-color:var(--dpg-edge-gold)!important}

/* Grade access, placement, Kids enrolment and payment request dialogs. */
html body #gradeModal.modal{
  background:rgba(19,10,30,.78)!important;
  -webkit-backdrop-filter:blur(15px)!important;backdrop-filter:blur(15px)!important;
}
html body #gradeModal .modalbox{
  color:var(--dpg-text)!important;
  border:1px solid rgba(255,218,174,.48)!important;border-radius:25px!important;
  background:
    radial-gradient(ellipse at 35% 0%,rgba(255,202,157,.20),transparent 55%),
    linear-gradient(145deg,rgba(111,74,132,.88),rgba(42,28,61,.97))!important;
  box-shadow:0 28px 76px rgba(7,3,15,.54),inset 0 1px 0 rgba(255,255,255,.19)!important;
  -webkit-backdrop-filter:blur(26px) saturate(145%)!important;backdrop-filter:blur(26px) saturate(145%)!important;
}
html body #gradeModal :is(.modalhead,#gradeModalTitle){color:var(--dpg-gold)!important}
html body #gradeModal .close{
  color:var(--dpg-gold)!important;border:1px solid var(--dpg-edge-gold)!important;
  background:rgba(255,218,174,.11)!important;border-radius:11px!important;
}
html body :is(.doma-subscription-center,.doma-subscription-card,.doma-progress-sync){
  border-color:rgba(255,218,174,.32)!important;
}
html body :is(.doma-subscription-card .doma-sub-plan,.doma-subscription-card h4,.doma-progress-sync h4){color:var(--dpg-gold)!important}
html body :is(.doma-subscription-card .doma-sub-status,.doma-subscription-center p,.doma-progress-sync p){color:var(--dpg-muted)!important}

/* Kids course path selection, child enrolment and activity pages. */
html body :is(.choice-card,.level-card,.track-card,.request-card,.quiz-shell,.demo-lesson,.demo-game,.kid-content-tile,.kid-practice-card,.kid-request-summary,.kid-lesson-welcome,.kid-lesson-panel,.kid-menu-dialog,.kid-menu-unit,.kid-menu-item,.picture-quiz-section,.listen-quiz-section,.letter-card,.kid-letter-card){
  border-color:rgba(255,218,174,.34)!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,207,159,.10),transparent 52%),
    linear-gradient(145deg,rgba(112,76,135,.46),rgba(44,29,62,.78))!important;
}
html body :is(.kid-menu-overlay,.kid-course-menu-overlay,#kidCourseMenuOverlay){
  background:rgba(16,8,25,.78)!important;
  -webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important;
}
html body :is(.kid-menu-dialog,.kid-menu-dialog-header,.kid-menu-summary,.kid-menu-scroll){
  border-color:rgba(255,218,174,.32)!important;
}
html body :is(.kid-menu-item:hover,.kid-menu-item:focus-visible,.kid-menu-item.active,.kid-menu-item[aria-current="page"]){
  border-color:rgba(255,218,174,.74)!important;
  background:linear-gradient(135deg,rgba(255,218,174,.17),rgba(146,102,174,.40))!important;
}
html body :is(.picture-quiz-track,.listen-quiz-track,.progress-track,.progressbar){
  background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,218,174,.22)!important;
}
html body :is(.picture-quiz-track span,.listen-quiz-track span,.progress-track span,.progressbar span){
  background:linear-gradient(90deg,#c98248,#e8b974,#ffe5bd)!important;
  box-shadow:0 0 12px rgba(232,185,116,.20)!important;
}
html body :is(.picture-quiz-option,.listen-quiz-option,.sound-button,.kid-audio-button,.picture-quiz-hear,.listen-quiz-play,.listen-quiz-next){
  color:var(--dpg-text)!important;
  border:1px solid rgba(255,218,174,.34)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(88,56,111,.46))!important;
}
html body :is(.picture-quiz-option.is-correct,.listen-quiz-option.is-correct,.sound-button:focus-visible,.kid-audio-button:focus-visible){
  border-color:rgba(255,218,174,.86)!important;
  background:linear-gradient(135deg,rgba(255,218,174,.24),rgba(84,129,104,.30))!important;
}
html body :is(.kid-menu-eyebrow,.kid-menu-unit-number,.kid-menu-item-status.done,.picture-quiz-option-letter,.listen-quiz-letter){color:var(--dpg-gold)!important}

/* CEFR A1–C2 hubs and learning-tool workspaces. */
html body .a1-hero-card :is(.a1-logo,.a1-hero-card h2,.a1-hero-card span){color:var(--dpg-gold)!important}
html body :is(.student-layout>.student-sidebar,.student-layout>.student-content,.student-sidebar,.student-content){
  border-color:rgba(255,218,174,.28)!important;
}
html body .student-sidebar nav button{
  color:var(--dpg-muted)!important;border:1px solid transparent!important;
  background:transparent!important;border-radius:13px!important;
}
html body .student-sidebar nav button.active,
html body .student-sidebar nav button:hover{
  color:var(--dpg-gold)!important;border-color:rgba(255,218,174,.46)!important;
  background:linear-gradient(135deg,rgba(255,218,174,.14),rgba(127,84,151,.34))!important;
}
html body :is(.mobile-menu-toggle,.course-back-arrow,.mobile-menu-close,.kid-menu-trigger){
  color:var(--dpg-gold)!important;border:1px solid rgba(255,218,174,.5)!important;
  background:linear-gradient(135deg,rgba(255,218,174,.15),rgba(106,70,133,.62))!important;
  box-shadow:0 9px 22px rgba(10,4,19,.24),inset 0 1px 0 rgba(255,255,255,.15)!important;
}

/* Inputs, selectors and file-upload controls across all public request flows. */
html body :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.field,.field-wrap input,.field-wrap select){
  color:var(--dpg-text)!important;
  border:1px solid rgba(225,193,233,.42)!important;border-radius:13px!important;
  background:linear-gradient(135deg,rgba(54,35,73,.64),rgba(37,25,53,.82))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
  outline:none!important;
}
html body :is(input,textarea,select,.field):focus{
  border-color:rgba(255,218,174,.82)!important;
  box-shadow:0 0 0 3px rgba(232,185,116,.13),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
html body :is(input,textarea,.field)::placeholder{color:rgba(241,221,240,.70)!important;opacity:1!important}
html body select option{color:#fff4e8!important;background:#2d1d3a!important}
html body input[type="file"]::file-selector-button{
  color:#4b2d46!important;border:1px solid rgba(255,237,207,.82)!important;border-radius:9px!important;
  background:linear-gradient(135deg,#ffe5bd,#e8b974)!important;padding:7px 11px!important;font-weight:850!important;
}

/* Shared button language: champagne primary, translucent secondary. */
html body :is(.btn,.btn-primary,.btn-soft,.btn-mint,.btn.primary,.btn.secondary,.primary,.secondary,.ghost,.mobile-menu-toggle,.mobile-menu-close,.course-back-arrow,.kid-menu-trigger,.sound-button,.kid-audio-button,.picture-quiz-option,.listen-quiz-option,.picture-quiz-hear,.listen-quiz-play,.listen-quiz-next,.nav-btn){
  border-radius:13px!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
html body :is(.btn-primary,.btn.primary,.primary,.grade-open-button,.mf-course-price-row .btn,.mf-english-course-price .btn,.kid-course-start-button,.kid-menu-footer-primary){
  color:#4b2d46!important;-webkit-text-fill-color:#4b2d46!important;
  border:1px solid rgba(255,237,207,.92)!important;
  background:linear-gradient(135deg,#ffe5bd 0%,#e8b974 55%,#c98248 100%)!important;
  box-shadow:0 10px 24px rgba(35,15,37,.29),inset 0 1px 0 rgba(255,255,255,.62),0 0 20px rgba(244,190,128,.14)!important;
}
html body :is(.btn-soft,.btn.secondary,.secondary,.ghost,.btn:not(.btn-primary):not(.primary):not(.danger),.kid-menu-footer-secondary){
  color:var(--dpg-gold)!important;
  border:1px solid rgba(255,218,174,.42)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(82,53,104,.48))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 20px rgba(12,5,23,.16)!important;
}
html body :is(.btn:hover,.btn-primary:hover,.btn-soft:hover,.btn.primary:hover,.btn.secondary:hover,.primary:hover,.secondary:hover,.ghost:hover,.grade-open-button:hover){
  transform:translateY(-1px)!important;border-color:rgba(255,237,207,.88)!important;
}
html body :is(.btn.danger,.danger,.btn-danger){color:#fff!important;border-color:rgba(255,145,157,.45)!important;background:linear-gradient(135deg,#a84b5a,#713044)!important}

/* Notifications, empty states and progress feedback. */
html body :is(.empty,.notice,.status,.field-help,.mf-course-status,.home-status,.doma-sub-status){
  border-color:rgba(225,193,233,.28)!important;
}
html body :is(.good,.ok,.doma-status-ok,.status-ok){color:#baf3d0!important}
html body :is(.warn,.doma-status-warn,.status-warn){color:#ffe0ad!important}
html body :is(.bad,.error,.doma-status-error,.status-error){color:#ffc0c8!important}

/* Admin pages use the same glass depth and champagne actions without changing data layout. */
html body :is(.login-card,#loginForm,.content .card,.content .section,.content .info-box,
  .content .doma-final-admin-card,.content .doma-pro6-admin-card,.content .pro7-admin-kpi,
  .content .admin-upgrade-card,.content .student-pro-stat,.content .empty,.table-wrap,
  #sidebar.sidebar,.sidebar .side-logo,.content .toolbar,.content .form-row){
  color:var(--dpg-text)!important;
  border-color:rgba(255,218,174,.32)!important;
  background:linear-gradient(145deg,rgba(111,74,132,.46),rgba(38,26,54,.80))!important;
  box-shadow:0 15px 36px rgba(9,4,18,.22),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;
  backdrop-filter:blur(18px) saturate(140%)!important;
}
html body .content{background:transparent!important}
html body .content table{color:var(--dpg-text)!important;border-color:rgba(255,218,174,.24)!important}
html body .content :is(th,td){border-color:rgba(255,218,174,.18)!important;color:var(--dpg-muted)!important}
html body .content th{color:var(--dpg-gold)!important;background:rgba(255,218,174,.08)!important}
html body .sidebar .nav-btn.active,html body .sidebar .nav-btn:hover{
  color:var(--dpg-gold)!important;border-color:rgba(255,218,174,.42)!important;
  background:linear-gradient(135deg,rgba(255,218,174,.13),rgba(112,76,134,.45))!important;
}
html body .login-card :is(.logo,h1),html body .content :is(.section h2,.section h3,.card h3){color:var(--dpg-gold)!important}

/* Compact screens: preserve readable spacing and prevent horizontal overflow. */
html,body{max-width:100%;overflow-x:hidden}
@media(max-width:700px){
  html body :is(.choice-card,.level-card,.track-card,.request-card,.quiz-shell,.kid-content-tile,.kid-practice-card,.kid-lesson-welcome,.kid-lesson-panel,.picture-quiz-section,.listen-quiz-section){border-radius:19px!important}
  html body :is(.modalbox,#gradeModal .modalbox){max-width:calc(100vw - 18px)!important}
  html body :is(.form-grid,.formgrid,.doma-subscription-grid){grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){
  html body *{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}


/* =========================================================
   DOMA STUDENT AREA — FINAL SPACE / PURPLE GLASS OVERRIDE
   Scope: the authenticated student drawer only.
   Visual-only: preserves routes, subscription state and learning logic.
========================================================= */
html body #drawer{
  --student-space-bg:#120d1e;
  --student-space-panel:rgba(83,58,112,.42);
  --student-space-panel-strong:rgba(54,38,77,.76);
  --student-space-edge:rgba(225,193,233,.34);
  --student-space-gold:#ffe5bd;
  --student-space-purple:#b894e9;
  --student-space-text:#fff4e8;
  --student-space-muted:#d5c5dc;
  background:
    radial-gradient(ellipse at 12% 8%,rgba(157,111,199,.22),transparent 34%),
    radial-gradient(ellipse at 88% 12%,rgba(232,185,116,.12),transparent 31%),
    radial-gradient(ellipse at 50% 100%,rgba(93,65,134,.19),transparent 46%),
    rgba(7,5,15,.82)!important;
  color:var(--student-space-text)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
html body #drawer .drawer-shell{
  color:var(--student-space-text)!important;
  background:
    radial-gradient(ellipse at 85% 0%,rgba(175,132,208,.10),transparent 38%),
    linear-gradient(145deg,rgba(41,29,59,.91),rgba(19,15,32,.95) 58%,rgba(33,23,47,.92))!important;
  border:1px solid rgba(255,218,174,.42)!important;
  box-shadow:0 32px 100px rgba(4,2,12,.62),inset 0 1px 0 rgba(255,255,255,.13),0 0 48px rgba(158,116,203,.10)!important;
  -webkit-backdrop-filter:blur(28px) saturate(150%)!important;
  backdrop-filter:blur(28px) saturate(150%)!important;
}
html body #drawer .drawer-side{
  color:var(--student-space-text)!important;
  background:linear-gradient(180deg,rgba(31,23,47,.96),rgba(21,17,35,.97) 58%,rgba(37,25,48,.96))!important;
  border-right:1px solid rgba(225,193,233,.24)!important;
}
html body #drawer .drawer-brand{
  border-bottom-color:rgba(255,218,174,.18)!important;
}
html body #drawer .drawer-brand .mark{
  background:linear-gradient(145deg,rgba(184,148,233,.30),rgba(58,42,82,.66))!important;
  border:1px solid rgba(255,218,174,.48)!important;
  box-shadow:0 8px 25px rgba(4,2,12,.32),0 0 22px rgba(184,148,233,.15)!important;
}
html body #drawer .drawer-brand .mark svg path:first-child{stroke:#ffe5bd!important}
html body #drawer .drawer-brand .mark svg path:last-child{stroke:#fff4e8!important}
html body #drawer .drawer-brand .brand,
html body #drawer .drawer-brand .brand>span{color:var(--student-space-text)!important}
html body #drawer .drawer-brand .brand small{color:#d8c6e7!important}
html body #drawer .user-card,
html body #drawer .student-command-card{
  color:var(--student-space-text)!important;
  background:linear-gradient(135deg,rgba(184,148,233,.17),rgba(255,255,255,.035) 55%,rgba(232,185,116,.07))!important;
  border:1px solid rgba(225,193,233,.32)!important;
  border-radius:15px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 12px 28px rgba(5,3,15,.18)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
}
html body #drawer .user-card strong,
html body #drawer .student-command-card strong{color:#fff4e8!important}
html body #drawer .user-card span,
html body #drawer .student-command-card span{color:#d5c5dc!important}
html body #drawer .user-card span:last-child,
html body #drawer .student-command-card small{color:#ffe0ad!important}
html body #drawer .student-nav-heading{
  color:#ffe0ad!important;
  border-top:1px solid rgba(225,193,233,.18)!important;
  letter-spacing:1.5px!important;
}
html body #drawer .drawer-side>.side-link{
  color:#e2d5e9!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.018)!important;
  box-shadow:none!important;
}
html body #drawer .drawer-side>.side-link:hover{
  color:#fff8ee!important;
  border-color:rgba(255,218,174,.34)!important;
  background:linear-gradient(110deg,rgba(184,148,233,.19),rgba(255,218,174,.07))!important;
  box-shadow:0 8px 22px rgba(8,4,18,.18)!important;
}
html body #drawer .drawer-side>.side-link.active{
  color:#fff8ee!important;
  border-color:rgba(255,218,174,.52)!important;
  background:linear-gradient(110deg,rgba(184,148,233,.27),rgba(232,185,116,.12))!important;
  box-shadow:inset 3px 0 0 #e8b974,0 8px 24px rgba(8,4,18,.20)!important;
}
html body #drawer #studentNavLogout{
  color:#ffd1d4!important;
  background:rgba(190,82,105,.08)!important;
  border-color:rgba(244,150,165,.20)!important;
}
html body #drawer .drawer-main{background:transparent!important}
html body #drawer .drawer-top{
  color:var(--student-space-text)!important;
  background:linear-gradient(90deg,rgba(184,148,233,.075),rgba(255,218,174,.055),rgba(184,148,233,.045))!important;
  border-bottom:1px solid rgba(225,193,233,.24)!important;
  -webkit-backdrop-filter:blur(20px) saturate(145%)!important;
  backdrop-filter:blur(20px) saturate(145%)!important;
}
html body #drawer .drawer-top h2{color:#fff4e8!important}
html body #drawer .drawer-top p{color:#d5c5dc!important}
html body #drawer .drawer-top .btn.secondary{
  color:#ffe5bd!important;
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,218,174,.34)!important;
}
html body #drawer .drawer-body{
  color:var(--student-space-text)!important;
  background:
    radial-gradient(ellipse at 92% 0%,rgba(184,148,233,.095),transparent 34%),
    radial-gradient(ellipse at 8% 38%,rgba(232,185,116,.055),transparent 36%),
    transparent!important;
  scrollbar-color:rgba(184,148,233,.46) transparent!important;
}
html body #drawer .drawer-body::-webkit-scrollbar-thumb{background:rgba(184,148,233,.48)!important}
html body #drawer .drawer-body :is(h1,h2,h3,h4,h5){color:#fff4e8!important}
html body #drawer .drawer-body :is(p,.muted,.small,.desc,small,label,.field-help){color:#d5c5dc!important}
html body #drawer .drawer-body .eyebrow{color:#ffe0ad!important}
html body #drawer .drawer-body :is(
  .dash-pro-card,.workspace-card,.student-home-card,.student-gami-card,
  .student-plus5-card,.student-home-list-row,.student-achievement,.student-week-day,
  .doma-subscription-card,.daily100-student-wrap,.daily100-student-item,
  .hw-card,.hw-card-pro,.hw-stat,.cert,.notification,.profile-avatar-wrap,
  .lesson-player,.lesson-list,.lesson-content,.lesson-notes,.lesson-toolbar-pro,
  .question,.assessment-box,.prep-unit,.prep-lesson,.grammar-map .mini-card,
  .doma-battle-card,.quick-card,.home-continue-card,.home-feature-card,
  .home-quick,.student-home-insight,.student-gami-stat,.student-gami-row,
  .student-gami-badge,.plus5-stat,.plus5-item,.progress-mini,.stat,
  .upgrade-metric,.activity-row,.listrow,.local-insight,.student-home-two,
  .student-gami-progress,.track-card,.quiz-shell,.demo-lesson,.demo-game
){
  color:var(--student-space-text)!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,218,174,.075),transparent 55%),
    linear-gradient(145deg,rgba(112,82,145,.31),rgba(43,31,65,.63))!important;
  border:1px solid rgba(225,193,233,.30)!important;
  box-shadow:0 16px 38px rgba(5,3,15,.24),inset 0 1px 0 rgba(255,255,255,.11)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;
  backdrop-filter:blur(18px) saturate(140%)!important;
}
html body #drawer .drawer-body .student-home-grid .student-home-card{
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,218,174,.08),transparent 55%),
    linear-gradient(145deg,rgba(112,82,145,.34),rgba(43,31,65,.68))!important;
  border-color:rgba(225,193,233,.34)!important;
  border-radius:17px!important;
}
html body #drawer .drawer-body :is(.student-home-list-row,.student-home-insight,.student-week-day,.student-achievement,.student-gami-stat,.student-gami-row,.student-gami-badge,.plus5-stat,.plus5-item,.progress-mini,.student-home-two){
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(225,193,233,.22)!important;
}
html body #drawer .drawer-body :is(.student-home-value,.student-home-card strong,.stat strong,.progress-mini b,.student-command-card strong){
  color:#ffe5bd!important;
}
html body #drawer .drawer-body :is(.student-home-bar,.student-gami-progress,.bar,.rbar,.progress-track,.progressbar){
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(225,193,233,.20)!important;
}
html body #drawer .drawer-body :is(.student-home-bar i,.student-gami-progress>i,.bar i,.rbar i,.progress-track span,.progressbar span){
  background:linear-gradient(90deg,#9a79d1,#c0a0ed,#e8b974,#ffe5bd)!important;
  box-shadow:0 0 12px rgba(184,148,233,.20)!important;
}
html body #drawer .drawer-body .progress-ring{
  background:conic-gradient(#b894e9 calc(var(--p,0)*1%),rgba(225,193,233,.13) 0)!important;
}
html body #drawer .drawer-body .progress-ring::after{background:rgba(31,23,47,.98)!important}
html body #drawer .drawer-body :is(.pill,.tag,.streak-badge,.curriculum-count,.student-home-pill){
  color:#ffe5bd!important;
  background:linear-gradient(135deg,rgba(255,218,174,.13),rgba(184,148,233,.16))!important;
  border-color:rgba(255,218,174,.32)!important;
}
html body #drawer .drawer-body :is(.btn.primary,.btn-primary,.primary){
  color:#4b2d46!important;-webkit-text-fill-color:#4b2d46!important;
  background:linear-gradient(135deg,#ffe5bd,#e8b974 58%,#c98248)!important;
  border-color:rgba(255,237,207,.88)!important;
  box-shadow:0 10px 24px rgba(35,15,37,.24),inset 0 1px 0 rgba(255,255,255,.58)!important;
}
html body #drawer .drawer-body :is(.btn.secondary,.btn-soft,.ghost,.btn:not(.primary):not(.danger)){
  color:#ffe5bd!important;
  background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(90,65,119,.34))!important;
  border-color:rgba(225,193,233,.34)!important;
}
html body #drawer .drawer-body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.field){
  color:#fff4e8!important;
  background:linear-gradient(135deg,rgba(47,34,68,.76),rgba(32,25,49,.88))!important;
  border-color:rgba(225,193,233,.34)!important;
}
html body #drawer .drawer-body :is(input,textarea,.field)::placeholder{color:rgba(213,197,220,.75)!important}
html body #drawer .drawer-body :is(.notice,.status,.scorebox,.student-home-alert,.hw-feedback,.empty){
  color:#f4e9f4!important;
  background:linear-gradient(135deg,rgba(184,148,233,.13),rgba(255,218,174,.055))!important;
  border-color:rgba(225,193,233,.28)!important;
}
html body #drawer .drawer-body :is(.success,.good,.ok){color:#baf3d0!important}
html body #drawer .drawer-body :is(.error,.bad){color:#ffc0c8!important}
html body #drawer #mrStudentBottomNav{
  background:linear-gradient(180deg,rgba(45,34,65,.91),rgba(22,17,38,.98))!important;
  border-top:1px solid rgba(225,193,233,.28)!important;
  box-shadow:0 -10px 32px rgba(5,3,15,.24)!important;
  -webkit-backdrop-filter:blur(26px) saturate(155%)!important;
  backdrop-filter:blur(26px) saturate(155%)!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab{
  color:#d5c5dc!important;
  background:rgba(255,255,255,.025)!important;
  border-color:transparent!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab.active{
  color:#fff4e8!important;
  background:linear-gradient(145deg,rgba(184,148,233,.24),rgba(232,185,116,.11))!important;
  border-color:rgba(255,218,174,.34)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 4px 18px rgba(184,148,233,.10)!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab.active svg{color:#ffe0ad!important;filter:drop-shadow(0 0 7px rgba(232,185,116,.23))!important}
@media(max-width:700px){
  html body #drawer .drawer-side{
    background:linear-gradient(165deg,rgba(31,23,47,.99),rgba(18,15,32,.99) 58%,rgba(37,25,48,.99))!important;
    border-right-color:rgba(225,193,233,.32)!important;
    box-shadow:0 25px 70px rgba(4,2,12,.62),12px 0 40px rgba(184,148,233,.06)!important;
  }
  html body #drawer .drawer-body :is(.student-home-grid,.home-learning-grid,.dashboard-grid-pro){
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body #drawer .drawer-body :is(.doma-subscription-grid,.progress-summary){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* =========================================================
   SPACE EXPLORER — STUDENT TOOLS / PRACTICE HUB / MORE
   Final component-level skin for all authenticated student tools.
   Visual-only: no data, navigation, scoring or activity logic changes.
========================================================= */
html body #drawer{
  --sx-bg:#050a19;
  --sx-bg2:#0b1530;
  --sx-panel:rgba(19,34,73,.66);
  --sx-panel2:rgba(12,25,55,.84);
  --sx-edge:rgba(112,159,255,.32);
  --sx-edge-hi:rgba(122,218,255,.58);
  --sx-text:#eef5ff;
  --sx-muted:#b9cbea;
  --sx-cyan:#91f0ff;
  --sx-blue:#76bfff;
  --sx-violet:#a58aff;
  color:var(--sx-text)!important;
  background:
    radial-gradient(ellipse at 12% 7%,rgba(65,112,220,.24),transparent 34%),
    radial-gradient(ellipse at 88% 10%,rgba(120,104,230,.18),transparent 31%),
    radial-gradient(ellipse at 50% 100%,rgba(37,115,179,.16),transparent 46%),
    rgba(3,7,19,.84)!important;
}
html body #drawer .drawer-shell{
  color:var(--sx-text)!important;
  background:
    radial-gradient(ellipse at 84% 0%,rgba(110,151,255,.105),transparent 38%),
    linear-gradient(145deg,rgba(14,25,58,.94),rgba(5,12,31,.97) 58%,rgba(13,20,49,.95))!important;
  border:1px solid rgba(126,175,255,.42)!important;
  box-shadow:0 32px 100px rgba(0,0,0,.62),inset 0 1px 0 rgba(222,238,255,.13),0 0 48px rgba(76,143,255,.12)!important;
}
html body #drawer .drawer-side{
  color:var(--sx-text)!important;
  background:linear-gradient(180deg,rgba(9,19,43,.97),rgba(7,15,36,.98) 58%,rgba(13,22,49,.97))!important;
  border-right:1px solid rgba(112,159,255,.25)!important;
  scrollbar-color:rgba(112,178,255,.48) transparent!important;
}
html body #drawer .drawer-brand{border-bottom-color:rgba(112,159,255,.20)!important}
html body #drawer .drawer-brand .mark{
  background:linear-gradient(145deg,rgba(103,193,255,.24),rgba(76,83,174,.35))!important;
  border:1px solid rgba(145,220,255,.48)!important;
  box-shadow:0 8px 25px rgba(0,0,0,.30),0 0 22px rgba(76,154,255,.16)!important;
}
html body #drawer .drawer-brand .mark svg path:first-child{stroke:#91f0ff!important}
html body #drawer .drawer-brand .mark svg path:last-child{stroke:#edf4ff!important}
html body #drawer .drawer-brand .brand,
html body #drawer .drawer-brand .brand>span{color:#eef5ff!important}
html body #drawer .drawer-brand .brand small{color:#a9c8f0!important}
html body #drawer .user-card,
html body #drawer .student-command-card{
  color:var(--sx-text)!important;
  background:linear-gradient(135deg,rgba(70,129,205,.20),rgba(255,255,255,.035) 55%,rgba(119,102,217,.13))!important;
  border:1px solid rgba(112,159,255,.30)!important;
  border-radius:15px!important;
  box-shadow:inset 0 1px 0 rgba(225,241,255,.10),0 12px 28px rgba(0,0,0,.20)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
}
html body #drawer .user-card strong,
html body #drawer .student-command-card strong{color:#f1f7ff!important}
html body #drawer .user-card span,
html body #drawer .student-command-card span{color:#b9cbea!important}
html body #drawer .user-card span:last-child,
html body #drawer .student-command-card small{color:#91eaff!important}
html body #drawer .student-nav-heading{
  color:#91eaff!important;
  border-top:1px solid rgba(112,159,255,.19)!important;
}
html body #drawer .drawer-side>.side-link{
  color:#c9d9f5!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.018)!important;
  box-shadow:none!important;
}
html body #drawer .drawer-side>.side-link:hover{
  color:#f4f8ff!important;
  border-color:rgba(112,190,255,.35)!important;
  background:linear-gradient(110deg,rgba(66,146,226,.18),rgba(153,126,255,.11))!important;
}
html body #drawer .drawer-side>.side-link.active{
  color:#f5fbff!important;
  border-color:rgba(112,190,255,.48)!important;
  background:linear-gradient(110deg,rgba(60,151,225,.25),rgba(141,116,255,.14))!important;
  box-shadow:inset 3px 0 0 #65dfff,0 8px 24px rgba(0,0,0,.20)!important;
}
html body #drawer #studentNavLogout{
  color:#ffc8d2!important;
  background:rgba(190,82,125,.075)!important;
  border-color:rgba(244,150,185,.18)!important;
}
html body #drawer .drawer-top{
  color:var(--sx-text)!important;
  background:linear-gradient(90deg,rgba(94,147,255,.075),rgba(94,210,255,.065),rgba(149,123,255,.055))!important;
  border-bottom:1px solid rgba(112,159,255,.25)!important;
}
html body #drawer .drawer-top h2{color:#f2f7ff!important}
html body #drawer .drawer-top p{color:#b9cbea!important}
html body #drawer .drawer-body{
  color:var(--sx-text)!important;
  background:
    radial-gradient(ellipse at 92% 0%,rgba(65,145,235,.095),transparent 34%),
    radial-gradient(ellipse at 8% 38%,rgba(141,115,255,.07),transparent 36%),
    transparent!important;
  scrollbar-color:rgba(104,178,255,.46) transparent!important;
}
html body #drawer .drawer-body::-webkit-scrollbar-thumb{background:rgba(104,178,255,.48)!important}
html body #drawer .drawer-body :is(h1,h2,h3,h4,h5,strong,b){color:#eef5ff!important}
html body #drawer .drawer-body :is(p,.muted,.small,.desc,small,label,.field-help){color:#b9cbea!important}
html body #drawer .drawer-body .eyebrow,
html body #drawer .drawer-body :is(.doma-bs-kicker,.doma-mr-kicker,.doma-movie-scene-tag){color:#91eaff!important}
html body #drawer .drawer-body a{color:#91eaff!important}

/* The modules below each had their own legacy background and border rules. */
html body #drawer .drawer-body :is(
  .student-plus5-card,.student-gami-card,.pro5-card,
  .doma-bs-hero,.doma-bs-card,.doma-bs-question,.doma-bs-summary,
  .doma-mr-hero,.doma-mr-card,.doma-movie-stage,.doma-movie-dialogue,
  .doma-movie-q,.doma-movie-choice,.doma-roulette-card,.doma-roulette-result,
  .doma-battle-card,.doma-battle-question,.doma-battle-result,
  .doma-battle-status,.doma-battle-player,.doma-battle-side,
  .doma-battle-history-row,.doma-battle-achievement,
  .mr-practice-intro,.mr-practice-card,
  .doma-subscription-card,.hw-page-head,.cert,.listrow,
  .daily100-student-wrap,.daily100-student-item
){
  color:var(--sx-text)!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(116,175,255,.12),transparent 56%),
    linear-gradient(145deg,rgba(25,47,94,.73),rgba(8,21,51,.86))!important;
  border:1px solid rgba(112,159,255,.32)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.24),inset 0 1px 0 rgba(225,241,255,.11)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;
  backdrop-filter:blur(18px) saturate(140%)!important;
}
html body #drawer .drawer-body :is(.student-plus5-card,.student-gami-card,.pro5-card,.doma-bs-hero,.doma-bs-card,.doma-mr-hero,.doma-mr-card,.doma-battle-card,.mr-practice-intro,.mr-practice-card,.doma-roulette-card){border-radius:18px!important}
html body #drawer .drawer-body :is(.plus5-item,.plus5-stat,.plus5-q,.plus5-answer,.plus5-msg.bot,.plus5-chat,.pro5-row,.pro5-reward,.pro5-day div,.pro5-note,.pro5-assistant,.pro5-kpi div,.student-gami-stat,.student-gami-row,.student-gami-badge,.student-gami-me,.doma-bs-stat,.doma-bs-answer,.doma-bs-result,.doma-movie-subtitle,.doma-battle-row,.doma-battle-history-row,.doma-battle-achievement,.doma-roulette-item,.student-home-list-row,.student-achievement,.student-week-day,.plus5-list .empty){
  color:#eaf4ff!important;
  background:linear-gradient(145deg,rgba(83,125,195,.13),rgba(255,255,255,.035))!important;
  border-color:rgba(112,159,255,.24)!important;
}
html body #drawer .drawer-body :is(.plus5-msg.user,.pro5-msg.user){background:linear-gradient(120deg,rgba(65,164,230,.23),rgba(119,111,226,.17))!important;border:1px solid rgba(112,190,255,.27)!important;color:#f2f8ff!important}
html body #drawer .drawer-body :is(.plus5-msg.bot,.pro5-msg.bot){background:linear-gradient(120deg,rgba(105,135,217,.16),rgba(255,255,255,.045))!important;border:1px solid rgba(112,159,255,.22)!important;color:#eaf4ff!important}
html body #drawer .drawer-body :is(.student-plus5-muted,.student-gami-muted,.pro5-muted,.plus5-small,.doma-bs-hint,.doma-bs-meta,.doma-movie-line,.doma-movie-ar,.doma-battle-muted,.doma-battle-note,.doma-roulette-item span,.doma-roulette-result p,.doma-movie-choice span,.pro5-row small,.pro5-row span,.mr-practice-footer){
  color:#b9cbea!important;
}
html body #drawer .drawer-body :is(.student-plus5-card h3,.student-gami-card h3,.pro5-card h3,.doma-bs-hero h3,.doma-mr-hero h3,.doma-movie-line,.doma-roulette-result h3){color:#f0f6ff!important}
html body #drawer .drawer-body :is(.plus5-stat b,.pro5-kpi b,.student-gami-stat b,.student-home-value,.student-home-card strong,.stat strong,.progress-mini b,.doma-bs-summary .score,.doma-battle-code){
  color:#91f0ff!important;
}

/* Practice Hub entry cards and the separate custom student tools. */
html body #drawer #mrStudentPracticeHub .mr-practice-intro{
  background:radial-gradient(ellipse at 85% 0%,rgba(133,111,255,.20),transparent 45%),linear-gradient(135deg,rgba(20,48,97,.88),rgba(8,21,53,.94))!important;
  border-color:rgba(112,190,255,.36)!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-intro h3{color:#f2f7ff!important}
html body #drawer #mrStudentPracticeHub .mr-practice-intro p,
html body #drawer #mrStudentPracticeHub .mr-practice-footer{color:#b9cbea!important}
html body #drawer #mrStudentPracticeHub .mr-practice-card{
  color:#eef5ff!important;
  background:linear-gradient(145deg,rgba(25,59,112,.72),rgba(8,24,56,.86))!important;
  border:1px solid rgba(112,159,255,.32)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(225,241,255,.10)!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-card:hover{
  background:linear-gradient(145deg,rgba(31,104,163,.56),rgba(52,52,127,.43))!important;
  border-color:rgba(115,224,255,.60)!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-icon{
  color:#91f0ff!important;
  border-color:rgba(112,190,255,.38)!important;
  background:linear-gradient(145deg,rgba(69,157,224,.27),rgba(126,103,221,.25))!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-card span:last-child{color:#b9cbea!important}

/* Build Your Sentence: chips, answer lane and result state. */
html body #drawer .drawer-body .doma-bs-stat,
html body #drawer .drawer-body .doma-bs-chip{
  color:#eaf5ff!important;
  background:linear-gradient(135deg,rgba(67,119,192,.24),rgba(95,81,177,.20))!important;
  border:1px solid rgba(112,190,255,.34)!important;
}
html body #drawer .drawer-body .doma-bs-chip:hover,
html body #drawer .drawer-body .doma-bs-chip.doma-bs-picked{
  color:#fff!important;
  background:linear-gradient(135deg,rgba(58,153,210,.42),rgba(120,104,221,.38))!important;
  border-color:rgba(145,240,255,.66)!important;
}
html body #drawer .drawer-body .doma-bs-chip.used{opacity:.35!important}
html body #drawer .drawer-body .doma-bs-progress{background:rgba(112,159,255,.17)!important}
html body #drawer .drawer-body .doma-bs-progress i{background:linear-gradient(90deg,#63cfff,#8e8dff,#91f0ff)!important}
html body #drawer .drawer-body .doma-bs-answer{
  background:rgba(5,14,36,.70)!important;border-color:rgba(112,190,255,.42)!important;
}
html body #drawer .drawer-body .doma-bs-answer:before{color:#91eaff!important}
html body #drawer .drawer-body .doma-bs-result.good{background:rgba(37,133,108,.16)!important;border-color:rgba(100,225,188,.42)!important}
html body #drawer .drawer-body .doma-bs-result.bad{background:rgba(152,73,111,.16)!important;border-color:rgba(255,139,182,.38)!important}
html body #drawer .drawer-body .doma-bs-translation{color:#c6d9f5!important}

/* Movie Scene and Skill Roulette visual controls. */
html body #drawer .drawer-body :is(.doma-movie-stage,.doma-movie-dialogue){
  background:radial-gradient(ellipse at 85% 0%,rgba(117,111,255,.16),transparent 45%),linear-gradient(145deg,rgba(16,45,87,.84),rgba(6,17,42,.94))!important;
  border-color:rgba(112,159,255,.36)!important;
}
html body #drawer .drawer-body .doma-movie-choice:hover,
html body #drawer .drawer-body .doma-movie-choice.active,
html body #drawer .drawer-body .doma-movie-option:hover,
html body #drawer .drawer-body .doma-movie-option.sel{
  color:#f3f9ff!important;background:linear-gradient(120deg,rgba(49,151,207,.30),rgba(122,106,218,.25))!important;
  border-color:rgba(112,210,255,.56)!important;
}
html body #drawer .drawer-body .doma-roulette-wheel{
  border-color:rgba(112,190,255,.52)!important;
  background:conic-gradient(#267fc1 0deg 45deg,#19285b 45deg 90deg,#725fd0 90deg 135deg,#10274b 135deg 180deg,#267fc1 180deg 225deg,#19285b 225deg 270deg,#725fd0 270deg 315deg,#10274b 315deg 360deg)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.38),0 0 32px rgba(71,166,255,.15)!important;
}
html body #drawer .drawer-body .doma-roulette-wheel:before{background:#07152e!important;border-color:rgba(112,190,255,.60)!important}
html body #drawer .drawer-body .doma-roulette-wheel:after{color:#91f0ff!important}
html body #drawer .drawer-body .doma-roulette-pointer{border-top-color:#91f0ff!important}
html body #drawer .drawer-body .doma-roulette-result{
  background:linear-gradient(135deg,rgba(33,63,117,.74),rgba(8,20,47,.91))!important;
  border-color:rgba(112,190,255,.42)!important;
}

/* More, Tools and progress modules: cards, rows, counters and interactive states. */
html body #drawer .drawer-body :is(.pro5-chip,.activity-chip,.doma-bs-stat,.streak-badge,.curriculum-count,.student-home-pill){
  color:#bfeeff!important;background:rgba(56,139,207,.16)!important;border-color:rgba(112,190,255,.30)!important;
}
html body #drawer .drawer-body :is(.pro5-day .on,.pro5-unread,.student-gami-me){
  background:linear-gradient(120deg,rgba(44,151,210,.25),rgba(116,104,223,.19))!important;
  border-color:rgba(112,190,255,.42)!important;
}
html body #drawer .drawer-body :is(.plus5-bar,.pro5-progress,.student-gami-progress,.student-gami-skill .bar,.bar,.rbar,.student-home-bar,.progress-track,.progressbar,.hw-progress-bar){
  background:rgba(103,157,208,.18)!important;border-color:rgba(112,159,255,.22)!important;
}
html body #drawer .drawer-body :is(.plus5-bar i,.pro5-progress i,.student-gami-progress>i,.student-gami-skill .bar i,.bar i,.rbar i,.student-home-bar i,.progress-track span,.progressbar span,.hw-progress-bar i){
  background:linear-gradient(90deg,#4db9f4,#8b8bff,#91f0ff)!important;
}
html body #drawer .drawer-body :is(.doma-v2-row,.pro5-row,.listrow,.table-list .listrow){
  color:#eaf4ff!important;background:linear-gradient(145deg,rgba(50,87,145,.20),rgba(255,255,255,.025))!important;
  border-color:rgba(112,159,255,.23)!important;
}
html body #drawer .drawer-body :is(.pro5-note,.pro5-input,.pro5-textarea){
  color:#eef5ff!important;background:linear-gradient(135deg,rgba(7,22,50,.85),rgba(17,28,62,.80))!important;
  border-color:rgba(112,159,255,.34)!important;
}
html body #drawer .drawer-body :is(.pro5-empty,.doma-bs-empty,.empty){
  color:#c6d9f5!important;background:linear-gradient(135deg,rgba(30,66,116,.20),rgba(255,255,255,.025))!important;
  border-color:rgba(112,159,255,.26)!important;
}
html body #drawer .drawer-body :is(.student-home-bar,.plus5-bar,.pro5-progress,.student-gami-progress,.hw-progress-bar){overflow:hidden!important}
html body #drawer .drawer-body .progress-ring{
  background:conic-gradient(#64cfff calc(var(--p,0)*1%),rgba(112,159,255,.16) 0)!important;
}
html body #drawer .drawer-body .progress-ring::after{background:#0a1735!important}
html body #drawer .drawer-body :is(.btn.primary,.btn-primary,.primary){
  color:#07142d!important;-webkit-text-fill-color:#07142d!important;
  background:linear-gradient(120deg,#91f0ff 0%,#76bfff 48%,#a58aff 100%)!important;
  border-color:rgba(213,237,255,.82)!important;
  box-shadow:0 9px 23px rgba(56,137,238,.22),inset 0 1px 0 rgba(255,255,255,.55)!important;
}
html body #drawer .drawer-body :is(.btn.secondary,.btn-soft,.ghost,.btn:not(.primary):not(.danger)){
  color:#d8eaff!important;
  background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(51,83,144,.28))!important;
  border-color:rgba(112,159,255,.34)!important;
}
html body #drawer .drawer-body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.field,.pro5-input){
  color:#eef5ff!important;
  background:linear-gradient(135deg,rgba(7,22,50,.88),rgba(18,30,65,.92))!important;
  border-color:rgba(112,159,255,.35)!important;
}
html body #drawer .drawer-body :is(input,textarea,.field)::placeholder{color:rgba(185,203,234,.76)!important}
html body #drawer .drawer-body select option{color:#eef5ff!important;background:#0b1735!important}
html body #drawer .drawer-body :is(.notice,.status,.scorebox,.student-home-alert,.hw-feedback,.doma-roulette-result,.doma-battle-status){
  color:#dcecff!important;background:linear-gradient(135deg,rgba(58,124,194,.16),rgba(255,255,255,.035))!important;
  border-color:rgba(112,159,255,.30)!important;
}
html body #drawer .drawer-body :is(.success,.good,.ok){color:#a7f2d5!important}
html body #drawer .drawer-body :is(.error,.bad){color:#ffbdce!important}
html body #drawer .drawer-body table{color:#eaf4ff!important}
html body #drawer .drawer-body :is(th,td){border-color:rgba(112,159,255,.20)!important;color:#d7e5fb!important}
html body #drawer .drawer-body th{color:#91eaff!important;background:rgba(85,144,218,.10)!important}

/* Battle Mode opens in its own modal, outside the student drawer. */
html body #domaBattleModal{
  background:rgba(2,7,22,.84)!important;
  -webkit-backdrop-filter:blur(20px) saturate(145%)!important;
  backdrop-filter:blur(20px) saturate(145%)!important;
}
html body #domaBattleModal .doma-battle-shell{
  color:#eef5ff!important;
  background:radial-gradient(ellipse at 85% 0%,rgba(104,112,255,.16),transparent 42%),linear-gradient(145deg,rgba(14,28,64,.96),rgba(5,13,34,.98))!important;
  border:1px solid rgba(112,159,255,.42)!important;
  box-shadow:0 32px 90px rgba(0,0,0,.64),inset 0 1px 0 rgba(225,241,255,.12),0 0 34px rgba(73,155,255,.12)!important;
}
html body #domaBattleModal .doma-battle-head{
  background:linear-gradient(100deg,rgba(65,125,204,.15),rgba(130,111,235,.10))!important;
  border-bottom-color:rgba(112,159,255,.25)!important;
}
html body #domaBattleModal :is(.doma-battle-head h2,.doma-battle-card h3,.doma-battle-result h2){color:#f2f7ff!important}
html body #domaBattleModal .doma-battle-head p,
html body #domaBattleModal .doma-battle-muted,
html body #domaBattleModal .doma-battle-note{color:#b9cbea!important}
html body #domaBattleModal :is(.doma-battle-card,.doma-battle-question,.doma-battle-side,.doma-battle-status,.doma-battle-history-row,.doma-battle-player,.doma-battle-achievement,.doma-battle-row,.doma-battle-result){
  color:#eaf4ff!important;
  background:linear-gradient(145deg,rgba(25,50,101,.72),rgba(7,20,50,.88))!important;
  border-color:rgba(112,159,255,.31)!important;
  box-shadow:inset 0 1px 0 rgba(225,241,255,.08),0 12px 30px rgba(0,0,0,.20)!important;
}
html body #domaBattleModal .doma-battle-code{
  color:#91f0ff!important;background:rgba(4,13,36,.78)!important;border-color:rgba(112,190,255,.48)!important;
}
html body #domaBattleModal :is(.doma-battle-player.active,.doma-battle-option.selected,.doma-battle-history-row.me){
  background:linear-gradient(135deg,rgba(58,154,217,.25),rgba(127,109,228,.20))!important;border-color:rgba(112,210,255,.52)!important;
}
html body #domaBattleModal .doma-battle-vs,
html body #domaBattleModal .doma-battle-qnum{color:#91f0ff!important}
html body #domaBattleModal :is(input,select,textarea,.field){
  color:#eef5ff!important;background:rgba(5,19,46,.84)!important;border-color:rgba(112,159,255,.34)!important;
}
html body #domaBattleModal .btn.primary{
  color:#07142d!important;background:linear-gradient(120deg,#91f0ff,#76bfff 48%,#a58aff)!important;border-color:rgba(213,237,255,.82)!important;
}
html body #domaBattleModal .btn.secondary{
  color:#d8eaff!important;background:rgba(255,255,255,.06)!important;border-color:rgba(112,159,255,.34)!important;
}

/* Mobile navigation and narrow screens keep the same Space Explorer surface. */
html body #drawer #mrStudentBottomNav{
  background:linear-gradient(180deg,rgba(11,27,62,.93),rgba(4,12,33,.98))!important;
  border-top:1px solid rgba(112,159,255,.30)!important;
  box-shadow:0 -10px 32px rgba(0,0,0,.25)!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab{
  color:#b9cbea!important;background:rgba(255,255,255,.025)!important;border-color:transparent!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab.active{
  color:#f2f8ff!important;background:linear-gradient(145deg,rgba(52,147,213,.25),rgba(127,112,231,.20))!important;
  border-color:rgba(112,190,255,.38)!important;box-shadow:inset 0 1px 0 rgba(225,241,255,.10),0 4px 18px rgba(65,150,255,.12)!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab.active svg{color:#91f0ff!important;filter:drop-shadow(0 0 7px rgba(85,210,255,.24))!important}
@media(max-width:700px){
  html body #drawer .drawer-side{background:linear-gradient(165deg,rgba(10,22,51,.99),rgba(5,14,35,.99) 58%,rgba(13,22,54,.99))!important;border-right-color:rgba(112,159,255,.30)!important}
  html body #drawer .drawer-body :is(.pro5-grid,.student-plus5-grid,.student-gami-grid,.doma-roulette-wrap){grid-template-columns:minmax(0,1fr)!important}
  html body #drawer .drawer-body :is(.plus5-statgrid,.pro5-kpi,.student-gami-stats,.student-gami-badges,.mr-practice-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){
  html body #drawer .drawer-body *{transition:none!important;animation:none!important}
}


/* Final sweep: every remaining student-only card used by More, Account,
   Notifications, Live Classes, Support and legacy tool subviews. */
html body #drawer .drawer-body [class*="-card"],
html body #drawer .drawer-body [class*="-panel"],
html body #drawer .drawer-body :is(
  .notification,.profile-avatar-wrap,.profile-grid .workspace-card,
  .dash-pro-card,.workspace-card,.quick-card,.home-quick,
  .continue-lesson,.global-result,.doma-v2-card,.doma-v2-sub,
  .student-home-insight,.student-home-two,.student-gami-center,
  .lesson-player,.lesson-list,.lesson-content,.lesson-notes,
  .lesson-toolbar-pro,.hw-card,.hw-card-pro,.hw-stat,.cert,
  .listrow,.table-list,.assessment-box,.prep-unit,.prep-lesson
){
  color:#eef5ff!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(116,175,255,.10),transparent 56%),
    linear-gradient(145deg,rgba(25,47,94,.67),rgba(8,21,51,.82))!important;
  border-color:rgba(112,159,255,.30)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.20),inset 0 1px 0 rgba(225,241,255,.09)!important;
  -webkit-backdrop-filter:blur(17px) saturate(140%)!important;
  backdrop-filter:blur(17px) saturate(140%)!important;
}
html body #drawer .drawer-body .notification.unread{
  border-color:rgba(112,210,255,.55)!important;
  box-shadow:inset 3px 0 0 #63dfff,0 12px 30px rgba(0,0,0,.18)!important;
}
html body #drawer .drawer-body .profile-avatar{
  color:#f2f7ff!important;
  background:linear-gradient(135deg,#4ab9e8,#6874dc 58%,#9a80f2)!important;
  border-color:rgba(150,220,255,.58)!important;
}
html body #drawer .drawer-body .cert-code{
  color:#91f0ff!important;background:rgba(5,17,43,.80)!important;
  border-color:rgba(112,190,255,.40)!important;
}
html body #drawer .drawer-body .listrow .listrow-main :is(strong,b){color:#eef5ff!important}
html body #drawer .drawer-body .listrow .listrow-main :is(span,small){color:#b9cbea!important}
html body #drawer .drawer-body .quick-card:hover,
html body #drawer .drawer-body .home-quick:hover{
  border-color:rgba(112,210,255,.55)!important;
  background:linear-gradient(135deg,rgba(61,153,214,.25),rgba(113,102,224,.18))!important;
}
html body #drawer .drawer-body .profile-avatar-wrap :is(span,p){color:#b9cbea!important}


/* =========================================================
   SPACE EXPLORER — COMPLETE STUDENT SUBSCRIPTION REQUEST FLOW
   Applies to the Grade Access and Mr. Fluent English payment
   request screens rendered inside #gradeModal.
   Visual-only; keeps the existing request/upload logic intact.
========================================================= */
html body #gradeModal.modal{
  z-index:9500!important;
  padding:clamp(8px,2.4vw,26px)!important;
  align-items:center!important;
  justify-content:center!important;
  background:
    radial-gradient(ellipse at 14% 12%,rgba(59,142,225,.22),transparent 34%),
    radial-gradient(ellipse at 88% 16%,rgba(125,106,238,.18),transparent 31%),
    radial-gradient(ellipse at 50% 100%,rgba(46,109,186,.16),transparent 46%),
    rgba(2,6,19,.88)!important;
  -webkit-backdrop-filter:blur(22px) saturate(150%)!important;
  backdrop-filter:blur(22px) saturate(150%)!important;
}
html body #gradeModal.modal .modalbox{
  position:relative!important;
  isolation:isolate!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  width:min(820px,100%)!important;
  max-width:820px!important;
  max-height:min(92dvh,920px)!important;
  padding:clamp(18px,3vw,30px)!important;
  color:#eef5ff!important;
  border:1px solid rgba(112,178,255,.52)!important;
  border-radius:26px!important;
  background:
    radial-gradient(ellipse at 82% 0%,rgba(111,110,245,.20),transparent 40%),
    radial-gradient(ellipse at 5% 22%,rgba(64,160,231,.14),transparent 38%),
    linear-gradient(145deg,rgba(15,31,72,.97),rgba(5,14,37,.985) 56%,rgba(13,20,52,.98))!important;
  box-shadow:0 34px 100px rgba(0,0,0,.68),inset 0 1px 0 rgba(223,239,255,.16),0 0 48px rgba(68,140,255,.16)!important;
  -webkit-backdrop-filter:blur(30px) saturate(155%)!important;
  backdrop-filter:blur(30px) saturate(155%)!important;
  scrollbar-color:rgba(112,178,255,.48) transparent!important;
}
html body #gradeModal.modal .modalbox::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:0!important;
  pointer-events:none!important;
  opacity:.44!important;
  background-image:
    radial-gradient(1.4px 1.4px at 9% 12%,rgba(231,243,255,.85) 99%,transparent 100%),
    radial-gradient(1px 1px at 27% 32%,rgba(169,203,255,.76) 99%,transparent 100%),
    radial-gradient(1.3px 1.3px at 76% 18%,rgba(220,232,255,.7) 99%,transparent 100%),
    radial-gradient(1px 1px at 91% 63%,rgba(151,181,255,.76) 99%,transparent 100%),
    radial-gradient(1.2px 1.2px at 48% 85%,rgba(196,187,255,.7) 99%,transparent 100%);
  background-size:260px 220px,340px 290px,300px 250px,380px 330px,310px 280px!important;
}
html body #gradeModal .modalhead{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin:0 0 13px!important;
  padding:0 0 15px!important;
  border-bottom:1px solid rgba(112,159,255,.25)!important;
}
html body #gradeModal #gradeModalTitle{
  margin:0!important;
  color:#f1f7ff!important;
  font-size:clamp(20px,3vw,27px)!important;
  font-weight:900!important;
  letter-spacing:-.4px!important;
  line-height:1.25!important;
  text-shadow:0 0 24px rgba(91,154,255,.20)!important;
}
html body #gradeModal .modalhead .close{
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  color:#d9eaff!important;
  border:1px solid rgba(112,190,255,.38)!important;
  border-radius:12px!important;
  background:linear-gradient(145deg,rgba(53,106,180,.27),rgba(114,99,206,.20))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 7px 20px rgba(0,0,0,.18)!important;
}
html body #gradeModal #gradeModalText{
  margin:0 0 18px!important;
  color:#bfd2ef!important;
  font-size:12px!important;
  line-height:1.7!important;
}
html body #gradeModal #gradeModalBody{
  position:relative!important;
  display:block!important;
  width:100%!important;
  color:#eef5ff!important;
}
html body #gradeModal #gradeModalBody>.card.feature,
html body #gradeModal #gradeModalBody .card.feature{
  min-width:0!important;
  color:#eef5ff!important;
  border:1px solid rgba(112,159,255,.34)!important;
  border-radius:19px!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(105,177,255,.12),transparent 58%),
    linear-gradient(145deg,rgba(27,54,105,.74),rgba(8,23,56,.88))!important;
  box-shadow:0 14px 34px rgba(0,0,0,.23),inset 0 1px 0 rgba(225,241,255,.10)!important;
  -webkit-backdrop-filter:blur(19px) saturate(145%)!important;
  backdrop-filter:blur(19px) saturate(145%)!important;
}
html body #gradeModal #gradeModalBody>.card.feature{
  padding:clamp(14px,2.2vw,22px)!important;
}
html body #gradeModal #gradeModalBody .formgrid,
html body #gradeModal #gradeModalBody .grid3{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
html body #gradeModal #gradeModalBody .formgrid>.full,
html body #gradeModal #gradeModalBody .grid3>.full{
  grid-column:1/-1!important;
}
html body #gradeModal #gradeModalBody .card.feature h3{
  margin:7px 0 5px!important;
  color:#91eaff!important;
  font-size:clamp(17px,2.6vw,23px)!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
html body #gradeModal #gradeModalBody .card.feature p{
  color:#c0d2ef!important;
  font-size:11px!important;
  line-height:1.7!important;
}
html body #gradeModal #gradeModalBody .pill{
  color:#bfeeff!important;
  border:1px solid rgba(112,190,255,.34)!important;
  border-radius:999px!important;
  background:linear-gradient(120deg,rgba(60,152,217,.20),rgba(129,110,226,.15))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html body #gradeModal #gradeModalBody :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.field){
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  padding:12px 13px!important;
  color:#f0f6ff!important;
  border:1px solid rgba(112,159,255,.38)!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,rgba(5,20,49,.88),rgba(18,34,73,.88))!important;
  box-shadow:inset 0 1px 0 rgba(225,241,255,.05)!important;
}
html body #gradeModal #gradeModalBody :is(input,select,textarea,.field):focus{
  outline:none!important;
  border-color:rgba(145,230,255,.82)!important;
  box-shadow:0 0 0 3px rgba(76,174,239,.14),inset 0 1px 0 rgba(225,241,255,.08)!important;
}
html body #gradeModal #gradeModalBody :is(input,textarea,.field)::placeholder{
  color:rgba(185,203,234,.76)!important;opacity:1!important;
}
html body #gradeModal #gradeModalBody input[type=file]{
  min-height:54px!important;
  padding:8px!important;
  color:#c9dcf5!important;
  border:1px dashed rgba(112,190,255,.48)!important;
  background:linear-gradient(135deg,rgba(9,27,62,.86),rgba(30,39,83,.72))!important;
}
html body #gradeModal #gradeModalBody input[type=file]::file-selector-button{
  margin-right:10px!important;
  padding:8px 12px!important;
  color:#07142d!important;
  border:1px solid rgba(213,237,255,.82)!important;
  border-radius:10px!important;
  background:linear-gradient(120deg,#91f0ff,#76bfff 48%,#a58aff)!important;
  font-weight:850!important;
}
html body #gradeModal #gradeModalBody .account-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:9px!important;
  flex-wrap:wrap!important;
  margin-top:16px!important;
}
html body #gradeModal #gradeModalBody .account-actions .btn{
  min-height:43px!important;
  padding:10px 16px!important;
  border-radius:12px!important;
  font-weight:850!important;
}
html body #gradeModal #gradeModalBody .btn.primary{
  color:#07142d!important;-webkit-text-fill-color:#07142d!important;
  border:1px solid rgba(213,237,255,.86)!important;
  background:linear-gradient(120deg,#91f0ff 0%,#76bfff 48%,#a58aff 100%)!important;
  box-shadow:0 9px 24px rgba(55,142,240,.25),inset 0 1px 0 rgba(255,255,255,.52)!important;
}
html body #gradeModal #gradeModalBody .btn.secondary{
  color:#dceaff!important;
  border:1px solid rgba(112,159,255,.38)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(51,83,144,.30))!important;
}
html body #gradeModal #gradeModalBody .status,
html body #gradeModal #gradeModalBody .notice{
  color:#dcecff!important;
  border:1px solid rgba(112,159,255,.30)!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,rgba(58,124,194,.17),rgba(126,111,224,.10))!important;
  padding:12px 14px!important;
  font-size:11px!important;
  line-height:1.7!important;
}
html body #gradeModal #gradeModalBody .status.success{
  color:#baf3d0!important;border-color:rgba(104,218,174,.42)!important;background:rgba(34,132,105,.15)!important;
}
html body #gradeModal #gradeModalBody .status.error{
  color:#ffc3d0!important;border-color:rgba(255,129,159,.40)!important;background:rgba(157,51,89,.15)!important;
}
html body #gradeModal #gradeModalBody :is(.empty,.field-help){color:#b9cbea!important}
html body #gradeModal #gradeModalBody :focus-visible{
  outline:2px solid rgba(145,230,255,.82)!important;outline-offset:3px!important;
}
@media(max-width:700px){
  html body #gradeModal.modal{
    padding:8px!important;
    align-items:center!important;
  }
  html body #gradeModal.modal .modalbox{
    width:100%!important;max-width:100%!important;
    max-height:calc(100dvh - 16px)!important;
    padding:17px 14px 18px!important;
    border-radius:21px!important;
  }
  html body #gradeModal #gradeModalText{font-size:11px!important;margin-bottom:14px!important}
  html body #gradeModal #gradeModalBody .formgrid,
  html body #gradeModal #gradeModalBody .grid3{
    grid-template-columns:minmax(0,1fr)!important;gap:9px!important;
  }
  html body #gradeModal #gradeModalBody .formgrid>.full,
  html body #gradeModal #gradeModalBody .grid3>.full{grid-column:1!important}
  html body #gradeModal #gradeModalBody .card.feature{padding:14px!important;border-radius:16px!important}
  html body #gradeModal #gradeModalBody .account-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
  html body #gradeModal #gradeModalBody .account-actions .btn{width:100%!important;white-space:normal!important}
}

/* =========================================================
   DOMA FINAL UNIFIED THEME — DARK PURPLE / GLASS / CHAMPAGNE GOLD v70
   Shared visual layer for homepage, grade flow, payment/receipt,
   English A1-C2, Kids routes/activities, student pages and Admin.
   No application logic or text is changed.
========================================================= */
:root{
  color-scheme:dark;
  --dpg-bg:#140d1d;--dpg-bg-2:#21142c;
  --dpg-glass:rgba(93,63,116,.56);--dpg-glass-strong:rgba(55,37,73,.86);
  --dpg-glass-soft:rgba(132,96,153,.25);--dpg-edge:rgba(230,201,239,.34);
  --dpg-edge-gold:rgba(255,220,177,.48);--dpg-text:#fff5e9;
  --dpg-muted:#e4d5e8;--dpg-muted-2:#cebcd6;
  --dpg-gold:#ffe5bd;--dpg-gold-2:#e8b974;--dpg-gold-3:#c98248;--dpg-purple:#b894e9;
}
html,html body{
  color:var(--dpg-text)!important;
  background:
    radial-gradient(ellipse 560px 420px at 9% 0%,rgba(168,119,196,.22),transparent 72%),
    radial-gradient(ellipse 510px 430px at 100% 14%,rgba(255,205,157,.095),transparent 72%),
    radial-gradient(ellipse 650px 470px at 52% 100%,rgba(125,82,157,.17),transparent 72%),
    linear-gradient(145deg,#140d1d 0%,#21142c 53%,#110b19 100%)!important;
  background-attachment:fixed!important;
}
html body :is(h1,h2,h3,h4,h5,strong,b){color:var(--dpg-text)!important}
html body :is(p,.muted,.small,.desc,.small-print,.field-help,label,.page-head p){color:var(--dpg-muted)!important}
html body a{color:var(--dpg-gold)!important}
html body ::selection{background:rgba(232,185,116,.40)!important;color:#fff!important}

/* Public home, grade tiles, how-it-works and course entry panels. */
html body :is(.topbar,nav.nav,.nav.topbar,.course-top-controls,.student-sidebar,.sidebar,#mobileCourseMenu,.kid-menu-dialog){
  color:var(--dpg-text)!important;background:linear-gradient(135deg,rgba(112,77,133,.80),rgba(44,29,61,.94))!important;
  border-color:var(--dpg-edge-gold)!important;box-shadow:0 14px 38px rgba(12,5,23,.25),inset 0 1px 0 rgba(255,255,255,.14)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;backdrop-filter:blur(22px) saturate(145%)!important;
}
html body :is(.hero,.a1-hero,.mf-english-course-hero,.mf-kids-entry-card){
  color:var(--dpg-text)!important;
  background:radial-gradient(ellipse at 12% 0%,rgba(255,207,157,.15),transparent 47%),radial-gradient(ellipse at 90% 100%,rgba(170,128,202,.18),transparent 48%),linear-gradient(135deg,rgba(80,52,102,.67),rgba(37,24,54,.86))!important;
  border:1px solid var(--dpg-edge-gold)!important;border-radius:26px!important;box-shadow:0 22px 58px rgba(13,5,24,.34),inset 0 1px 0 rgba(255,255,255,.15)!important;
  -webkit-backdrop-filter:blur(21px) saturate(140%)!important;backdrop-filter:blur(21px) saturate(140%)!important;
}
html body :is(.card,.feature,.tool,.plan,.dash,.stat,.notification,.workspace-card,.upgrade-card,.home-shortcut,.quick-card,
  .student-home-card,.student-gami-card,.student-plus5-card,.doma-v2-card,.doma-v2-sub,.how-card,.mf-course-level,.mf-course-unit,
  .mf-course-content,.mf-placement-panel,.mf-placement-question,.mf-placement-option,.doma-subscription-center,.doma-subscription-card,
  .doma-progress-sync,.unit,.lesson,.lab-card,.video-card,.quiz-mini,.recording-panel,.mf-play-dialogue,.sentence-bank,.achievement,
  .mf-video-note,.track-card,.quiz-shell,.request-card,.demo-lesson,.demo-game,.kid-content-tile,.kid-practice-card,.kid-request-summary,
  .kid-request-facts>div,.kid-letter-card,.kid-lesson-welcome,.kid-lesson-panel,.picture-quiz-section,.listen-quiz-section,
  .letter-card,.choice-card,.level-card,.notice,.kid-menu-unit,.kid-menu-item,.prep-unit,.prep-lesson,.curriculum-detail,
  .assessment-box,.grammar-map .mini-card,.doma-battle-card,.pro5-card,.hw-stat,.student-content,.student-layout>.student-sidebar,
  .student-layout>.student-content){
  color:var(--dpg-text)!important;border:1px solid rgba(225,193,233,.32)!important;
  background:radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.09),transparent 54%),linear-gradient(145deg,rgba(117,79,139,.44),rgba(44,29,62,.77))!important;
  box-shadow:0 16px 38px rgba(12,5,23,.26),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(138%)!important;backdrop-filter:blur(18px) saturate(138%)!important;
}
html body :is(.grade,.grade-card,#gradeGrid .grade){
  color:var(--dpg-text)!important;border:1px solid rgba(255,218,174,.42)!important;
  background:linear-gradient(145deg,rgba(118,80,139,.58),rgba(43,29,62,.86))!important;
  box-shadow:0 18px 38px rgba(12,5,23,.28),inset 0 1px 0 rgba(255,255,255,.15)!important;
}
html body :is(.grade-cover,.grade-art,.mf-course-art){background:radial-gradient(circle at 88% 10%,rgba(255,218,174,.17),transparent 42%),linear-gradient(135deg,rgba(111,75,133,.82),rgba(47,30,66,.94))!important}
html body :is(.grade-meta,.mf-pastel-grade-price,.stat strong,.mf-course-price-row strong,.kid-request-facts strong,.grade h3,.grade h4,.a1-level,.level-code){color:var(--dpg-gold)!important}
html body :is(section#how-it-works,section#grades,section#pricing,section#faq,.mf-english-course-section,.home-upgrade,footer.footer){background:transparent!important}

/* Authenticated student shell: replace the previous blue Space Explorer skin. */
html body #drawer{
  --sx-bg:#140d1d;--sx-bg2:#21142c;--sx-panel:rgba(93,63,116,.56);--sx-panel2:rgba(55,37,73,.86);
  --sx-edge:rgba(230,201,239,.34);--sx-edge-hi:rgba(255,220,177,.55);--sx-text:#fff5e9;--sx-muted:#e4d5e8;
  --sx-cyan:#ffe5bd;--sx-blue:#e8b974;--sx-violet:#b894e9;color:#fff5e9!important;
  background:radial-gradient(ellipse at 12% 7%,rgba(157,111,199,.22),transparent 34%),radial-gradient(ellipse at 88% 10%,rgba(232,185,116,.12),transparent 31%),radial-gradient(ellipse at 50% 100%,rgba(93,65,134,.19),transparent 46%),rgba(7,5,15,.84)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;backdrop-filter:blur(22px) saturate(145%)!important;
}
html body #drawer .drawer-shell{
  color:#fff5e9!important;background:radial-gradient(ellipse at 84% 0%,rgba(175,132,208,.11),transparent 38%),linear-gradient(145deg,rgba(41,29,59,.94),rgba(19,15,32,.97) 58%,rgba(33,23,47,.95))!important;
  border:1px solid rgba(255,218,174,.44)!important;box-shadow:0 32px 100px rgba(4,2,12,.62),inset 0 1px 0 rgba(255,255,255,.14),0 0 48px rgba(158,116,203,.10)!important;
  -webkit-backdrop-filter:blur(28px) saturate(150%)!important;backdrop-filter:blur(28px) saturate(150%)!important;
}
html body #drawer .drawer-side{color:#fff5e9!important;background:linear-gradient(180deg,rgba(31,23,47,.97),rgba(21,17,35,.985) 58%,rgba(37,25,48,.97))!important;border-right:1px solid rgba(225,193,233,.25)!important;scrollbar-color:rgba(184,148,233,.46) transparent!important}
html body #drawer .drawer-brand{border-bottom-color:rgba(255,218,174,.20)!important}
html body #drawer .drawer-brand .mark{background:linear-gradient(145deg,rgba(184,148,233,.30),rgba(58,42,82,.68))!important;border:1px solid rgba(255,218,174,.48)!important;box-shadow:0 8px 25px rgba(4,2,12,.32),0 0 22px rgba(184,148,233,.15)!important}
html body #drawer .drawer-brand .mark svg path:first-child{stroke:#ffe5bd!important}
html body #drawer .drawer-brand .mark svg path:last-child{stroke:#fff4e8!important}
html body #drawer .drawer-brand .brand,html body #drawer .drawer-brand .brand>span{color:#fff5e9!important}
html body #drawer .drawer-brand .brand small{color:#d8c6e7!important}
html body #drawer :is(.user-card,.student-command-card){color:#fff5e9!important;background:linear-gradient(135deg,rgba(184,148,233,.17),rgba(255,255,255,.035) 55%,rgba(232,185,116,.08))!important;border:1px solid rgba(225,193,233,.34)!important;border-radius:15px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 12px 28px rgba(5,3,15,.18)!important}
html body #drawer :is(.user-card strong,.student-command-card strong){color:#fff5e9!important}
html body #drawer :is(.user-card span,.student-command-card span){color:#e4d5e8!important}
html body #drawer .student-nav-heading{color:#ffe0ad!important;border-top:1px solid rgba(225,193,233,.19)!important}
html body #drawer .drawer-side>.side-link{color:#e2d5e9!important;border:1px solid transparent!important;border-radius:12px!important;background:rgba(255,255,255,.018)!important;box-shadow:none!important}
html body #drawer .drawer-side>.side-link:hover{color:#fff8ee!important;border-color:rgba(255,218,174,.38)!important;background:linear-gradient(110deg,rgba(184,148,233,.19),rgba(255,218,174,.08))!important}
html body #drawer .drawer-side>.side-link.active{color:#fff8ee!important;border-color:rgba(255,218,174,.54)!important;background:linear-gradient(110deg,rgba(184,148,233,.27),rgba(232,185,116,.13))!important;box-shadow:inset 3px 0 0 #e8b974,0 8px 24px rgba(8,4,18,.20)!important}
html body #drawer #studentNavLogout{color:#ffd1d4!important;background:rgba(190,82,105,.08)!important;border-color:rgba(244,150,165,.20)!important}
html body #drawer .drawer-main{background:transparent!important}
html body #drawer .drawer-top{color:#fff5e9!important;background:linear-gradient(90deg,rgba(184,148,233,.075),rgba(255,218,174,.06),rgba(184,148,233,.05))!important;border-bottom:1px solid rgba(225,193,233,.24)!important;-webkit-backdrop-filter:blur(20px) saturate(145%)!important;backdrop-filter:blur(20px) saturate(145%)!important}
html body #drawer .drawer-top :is(h2,h3){color:#fff5e9!important}
html body #drawer .drawer-top p{color:#e4d5e8!important}
html body #drawer .drawer-top .btn.secondary{color:#ffe5bd!important;background:rgba(255,255,255,.055)!important;border-color:rgba(255,218,174,.36)!important}
html body #drawer .drawer-body{color:#fff5e9!important;background:radial-gradient(ellipse at 92% 0%,rgba(184,148,233,.095),transparent 34%),radial-gradient(ellipse at 8% 38%,rgba(232,185,116,.055),transparent 36%),transparent!important;scrollbar-color:rgba(184,148,233,.46) transparent!important}
html body #drawer .drawer-body::-webkit-scrollbar-thumb{background:rgba(184,148,233,.48)!important}
html body #drawer .drawer-body :is(h1,h2,h3,h4,h5,strong,b){color:#fff5e9!important}
html body #drawer .drawer-body :is(p,.muted,.small,.desc,small,label,.field-help){color:#e4d5e8!important}
html body #drawer .drawer-body :is(.eyebrow,.doma-bs-kicker,.doma-mr-kicker,.doma-movie-scene-tag){color:#ffe0ad!important}
html body #drawer .drawer-body a{color:#ffe5bd!important}
html body #drawer .drawer-body [class*="-card"],html body #drawer .drawer-body [class*="-panel"],
html body #drawer .drawer-body :is(.card,.feature,.tool,.plan,.dash,.stat,.notification,.workspace-card,.student-home-card,
  .student-home-list-row,.student-achievement,.student-week-day,.student-gami-card,.student-plus5-card,.doma-subscription-card,
  .daily100-student-wrap,.daily100-student-item,.hw-card,.hw-card-pro,.hw-stat,.cert,.lesson-player,.lesson-list,.lesson-content,
  .lesson-notes,.lesson-toolbar-pro,.question,.assessment-box,.prep-unit,.prep-lesson,.grammar-map .mini-card,.doma-battle-card,
  .quick-card,.home-continue-card,.home-feature-card,.home-quick,.student-home-insight,.student-gami-stat,.student-gami-row,
  .student-gami-badge,.plus5-stat,.plus5-item,.progress-mini,.upgrade-metric,.activity-row,.listrow,.local-insight,
  .student-home-two,.student-gami-progress,.track-card,.quiz-shell,.demo-lesson,.demo-game,.doma-bs-hero,.doma-bs-card,
  .doma-bs-question,.doma-bs-summary,.doma-mr-hero,.doma-mr-card,.doma-movie-stage,.doma-movie-dialogue,.doma-movie-q,
  .doma-movie-choice,.doma-roulette-card,.doma-roulette-result,.doma-battle-question,.doma-battle-result,.doma-battle-status,
  .doma-battle-player,.doma-battle-side,.doma-battle-history-row,.doma-battle-achievement,.mr-practice-intro,.mr-practice-card){
  color:#fff5e9!important;border:1px solid rgba(225,193,233,.32)!important;
  background:radial-gradient(ellipse at 10% 0%,rgba(255,218,174,.075),transparent 55%),linear-gradient(145deg,rgba(112,82,145,.38),rgba(43,31,65,.72))!important;
  box-shadow:0 16px 38px rgba(5,3,15,.24),inset 0 1px 0 rgba(255,255,255,.11)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;backdrop-filter:blur(18px) saturate(140%)!important;
}
html body #drawer .drawer-body :is(.student-home-value,.student-home-card strong,.stat strong,.progress-mini b,.plus5-stat b,.pro5-kpi b,.student-gami-stat b,.doma-bs-summary .score,.doma-battle-code){color:#ffe5bd!important}
html body #drawer .drawer-body :is(.student-home-bar,.student-gami-progress,.bar,.rbar,.progress-track,.progressbar,.plus5-bar,.pro5-progress,.hw-progress-bar){background:rgba(255,255,255,.10)!important;border-color:rgba(225,193,233,.20)!important}
html body #drawer .drawer-body :is(.student-home-bar i,.student-gami-progress>i,.bar i,.rbar i,.progress-track span,.progressbar span,.plus5-bar i,.pro5-progress i,.hw-progress-bar i){background:linear-gradient(90deg,#b894e9,#d3b5f0,#e8b974,#ffe5bd)!important;box-shadow:0 0 12px rgba(232,185,116,.18)!important}
html body #drawer .drawer-body .progress-ring{background:conic-gradient(#b894e9 calc(var(--p,0)*1%),rgba(225,193,233,.13) 0)!important}
html body #drawer .drawer-body .progress-ring::after{background:rgba(31,23,47,.98)!important}
html body #drawer .drawer-body :is(.pill,.tag,.streak-badge,.curriculum-count,.student-home-pill,.pro5-chip,.activity-chip){color:#ffe5bd!important;background:linear-gradient(135deg,rgba(255,218,174,.13),rgba(184,148,233,.16))!important;border-color:rgba(255,218,174,.34)!important}
html body #drawer .drawer-body :is(.btn.primary,.btn-primary,.primary,.kid-menu-footer-primary){
  color:#4b2d46!important;-webkit-text-fill-color:#4b2d46!important;background:linear-gradient(135deg,#ffe5bd 0%,#e8b974 56%,#c98248 100%)!important;
  border:1px solid rgba(255,237,207,.92)!important;box-shadow:0 10px 24px rgba(35,15,37,.25),inset 0 1px 0 rgba(255,255,255,.60)!important;
}
html body #drawer .drawer-body :is(.btn.secondary,.btn-soft,.ghost,.btn:not(.primary):not(.danger),.kid-menu-footer-secondary){color:#ffe5bd!important;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(90,65,119,.42))!important;border-color:rgba(255,218,174,.38)!important}
html body #drawer .drawer-body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.field,.pro5-input,.pro5-textarea){color:#fff5e9!important;background:linear-gradient(135deg,rgba(47,34,68,.82),rgba(32,25,49,.92))!important;border-color:rgba(225,193,233,.38)!important}
html body #drawer .drawer-body :is(input,textarea,.field)::placeholder{color:rgba(228,213,232,.75)!important}
html body #drawer .drawer-body select option{color:#fff5e9!important;background:#2d1d3a!important}
html body #drawer .drawer-body :is(.notice,.status,.scorebox,.student-home-alert,.hw-feedback,.empty,.pro5-empty,.doma-bs-empty){color:#f4e9f4!important;background:linear-gradient(135deg,rgba(184,148,233,.13),rgba(255,218,174,.055))!important;border-color:rgba(225,193,233,.30)!important}
html body #drawer .drawer-body :is(.success,.good,.ok){color:#baf3d0!important}
html body #drawer .drawer-body :is(.error,.bad){color:#ffc0c8!important}
html body #drawer .drawer-body :is(th,td){border-color:rgba(225,193,233,.22)!important;color:#e4d5e8!important}
html body #drawer .drawer-body th{color:#ffe5bd!important;background:rgba(255,218,174,.08)!important}
html body #drawer #mrStudentBottomNav{background:linear-gradient(180deg,rgba(45,34,65,.93),rgba(22,17,38,.99))!important;border-top:1px solid rgba(225,193,233,.30)!important;box-shadow:0 -10px 32px rgba(5,3,15,.25)!important;-webkit-backdrop-filter:blur(26px) saturate(155%)!important;backdrop-filter:blur(26px) saturate(155%)!important}
html body #drawer #mrStudentBottomNav .mr-student-tab{color:#e4d5e8!important;background:rgba(255,255,255,.025)!important;border-color:transparent!important}
html body #drawer #mrStudentBottomNav .mr-student-tab.active{color:#fff5e9!important;background:linear-gradient(145deg,rgba(184,148,233,.24),rgba(232,185,116,.13))!important;border-color:rgba(255,218,174,.38)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 4px 18px rgba(184,148,233,.10)!important}
html body #drawer #mrStudentBottomNav .mr-student-tab.active svg{color:#ffe0ad!important;filter:drop-shadow(0 0 7px rgba(232,185,116,.22))!important}

/* English A1-C2 workspaces and Kids level routes / lessons / activities. */
html body :is(.a1-hero-card,.hero-card,.mascot-stage,.kid-course-start-card,.kid-lesson-welcome,.kid-lesson-panel,.choice-card,
  .level-card,.track-card,.request-card,.quiz-shell,.demo-lesson,.demo-game,.kid-content-tile,.kid-practice-card,
  .kid-request-summary,.kid-letter-card,.picture-quiz-section,.listen-quiz-section,.letter-card,.kid-menu-dialog,
  .kid-menu-unit,.kid-menu-item,.student-sidebar,.student-content,.box,.stat){
  color:#fff5e9!important;border-color:rgba(225,193,233,.34)!important;
  background:linear-gradient(145deg,rgba(112,76,135,.48),rgba(44,29,62,.82))!important;
  box-shadow:0 15px 36px rgba(12,5,23,.24),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;backdrop-filter:blur(18px) saturate(140%)!important;
}
html body :is(.kid-menu-overlay,.kid-course-menu-overlay,#kidCourseMenuOverlay,.kid-menu-overlay){background:rgba(16,8,25,.80)!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important}
html body :is(.kid-menu-item:hover,.kid-menu-item:focus-visible,.kid-menu-item.active,.kid-menu-item[aria-current=page]){color:#fff5e9!important;border-color:rgba(255,218,174,.72)!important;background:linear-gradient(135deg,rgba(255,218,174,.17),rgba(146,102,174,.40))!important}
html body :is(.kid-menu-item-status.done,.kid-menu-eyebrow,.kid-menu-unit-number,.picture-quiz-option-letter,.listen-quiz-letter,.a1-eyebrow,.eyebrow,.mf-course-kicker,.sidebar-caption){color:#ffe5bd!important}
html body :is(.picture-quiz-option,.listen-quiz-option,.sound-button,.kid-audio-button,.picture-quiz-hear,.listen-quiz-play,.listen-quiz-next){color:#fff5e9!important;border:1px solid rgba(255,218,174,.38)!important;background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(88,56,111,.50))!important}
html body :is(.picture-quiz-option.is-correct,.listen-quiz-option.is-correct,.sound-button:focus-visible,.kid-audio-button:focus-visible){border-color:rgba(255,218,174,.86)!important;background:linear-gradient(135deg,rgba(255,218,174,.24),rgba(84,129,104,.30))!important}
html body :is(.progress-track,.progressbar,.picture-quiz-track,.listen-quiz-track){background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,218,174,.22)!important}
html body :is(.progress-track span,.progressbar span,.picture-quiz-track span,.listen-quiz-track span){background:linear-gradient(90deg,#c98248,#e8b974,#ffe5bd)!important;box-shadow:0 0 12px rgba(232,185,116,.20)!important}

/* Grade subscription request, Mobile Cash payment and receipt upload modal. */
html body #gradeModal.modal{
  z-index:9500!important;padding:clamp(8px,2.4vw,26px)!important;align-items:center!important;justify-content:center!important;
  background:radial-gradient(ellipse at 14% 12%,rgba(157,111,199,.22),transparent 34%),radial-gradient(ellipse at 88% 16%,rgba(232,185,116,.12),transparent 31%),radial-gradient(ellipse at 50% 100%,rgba(93,65,134,.18),transparent 46%),rgba(12,6,19,.84)!important;
  -webkit-backdrop-filter:blur(22px) saturate(150%)!important;backdrop-filter:blur(22px) saturate(150%)!important;
}
html body #gradeModal.modal .modalbox{
  position:relative!important;isolation:isolate!important;overflow-x:hidden!important;overflow-y:auto!important;width:min(820px,100%)!important;max-width:820px!important;max-height:min(92dvh,920px)!important;
  padding:clamp(18px,3vw,30px)!important;color:#fff5e9!important;border:1px solid rgba(255,218,174,.50)!important;border-radius:26px!important;
  background:radial-gradient(ellipse at 82% 0%,rgba(184,148,233,.18),transparent 40%),radial-gradient(ellipse at 5% 22%,rgba(232,185,116,.10),transparent 38%),linear-gradient(145deg,rgba(67,45,83,.97),rgba(31,20,45,.985) 56%,rgba(44,28,59,.98))!important;
  box-shadow:0 34px 100px rgba(7,3,15,.66),inset 0 1px 0 rgba(255,255,255,.17),0 0 42px rgba(184,148,233,.11)!important;
  -webkit-backdrop-filter:blur(30px) saturate(155%)!important;backdrop-filter:blur(30px) saturate(155%)!important;scrollbar-color:rgba(184,148,233,.48) transparent!important;
}
html body #gradeModal.modal .modalbox::before{content:""!important;position:absolute!important;z-index:-1!important;inset:0!important;pointer-events:none!important;opacity:.30!important;background-image:radial-gradient(1.4px 1.4px at 9% 12%,rgba(255,238,214,.80) 99%,transparent 100%),radial-gradient(1px 1px at 27% 32%,rgba(205,178,235,.76) 99%,transparent 100%),radial-gradient(1.3px 1.3px at 76% 18%,rgba(255,226,191,.70) 99%,transparent 100%),radial-gradient(1px 1px at 91% 63%,rgba(184,148,233,.76) 99%,transparent 100%);background-size:260px 220px,340px 290px,300px 250px,380px 330px!important}
html body #gradeModal .modalhead{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:0 0 13px!important;padding:0 0 15px!important;border-bottom:1px solid rgba(255,218,174,.25)!important}
html body #gradeModal #gradeModalTitle{margin:0!important;color:#ffe5bd!important;font-size:clamp(20px,3vw,27px)!important;font-weight:900!important;line-height:1.25!important}
html body #gradeModal .modalhead .close{flex:0 0 38px!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important;color:#ffe5bd!important;border:1px solid rgba(255,218,174,.40)!important;border-radius:12px!important;background:linear-gradient(145deg,rgba(255,218,174,.14),rgba(116,78,143,.42))!important}
html body #gradeModal #gradeModalText{margin:0 0 18px!important;color:#e4d5e8!important;font-size:12px!important;line-height:1.7!important}
html body #gradeModal #gradeModalBody{position:relative!important;display:block!important;width:100%!important;color:#fff5e9!important}
html body #gradeModal #gradeModalBody .card.feature{min-width:0!important;padding:clamp(14px,2.2vw,22px)!important;color:#fff5e9!important;border:1px solid rgba(255,218,174,.38)!important;border-radius:19px!important;background:radial-gradient(ellipse at 12% 0%,rgba(255,208,157,.10),transparent 58%),linear-gradient(145deg,rgba(117,79,139,.50),rgba(44,29,62,.86))!important;box-shadow:0 14px 34px rgba(12,5,23,.25),inset 0 1px 0 rgba(255,255,255,.12)!important}
html body #gradeModal #gradeModalBody :is(.formgrid,.grid3){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
html body #gradeModal #gradeModalBody :is(.formgrid,.grid3)>.full{grid-column:1/-1!important}
html body #gradeModal #gradeModalBody .card.feature h3{margin:7px 0 5px!important;color:#ffe5bd!important;font-size:clamp(17px,2.6vw,23px)!important}
html body #gradeModal #gradeModalBody .card.feature p{color:#e4d5e8!important;font-size:11px!important;line-height:1.7!important}
html body #gradeModal #gradeModalBody :is(.pill,.tag){color:#ffe5bd!important;border:1px solid rgba(255,218,174,.36)!important;background:linear-gradient(120deg,rgba(255,218,174,.16),rgba(184,148,233,.18))!important}
html body #gradeModal #gradeModalBody :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.field){width:100%!important;min-width:0!important;min-height:46px!important;box-sizing:border-box!important;padding:12px 13px!important;color:#fff5e9!important;border:1px solid rgba(225,193,233,.42)!important;border-radius:13px!important;background:linear-gradient(135deg,rgba(54,35,73,.76),rgba(37,25,53,.91))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important}
html body #gradeModal #gradeModalBody :is(input,select,textarea,.field):focus{outline:none!important;border-color:rgba(255,218,174,.84)!important;box-shadow:0 0 0 3px rgba(232,185,116,.14),inset 0 1px 0 rgba(255,255,255,.10)!important}
html body #gradeModal #gradeModalBody :is(input,textarea,.field)::placeholder{color:rgba(228,213,232,.75)!important;opacity:1!important}
html body #gradeModal #gradeModalBody input[type=file]{min-height:54px!important;padding:8px!important;color:#e4d5e8!important;border:1px dashed rgba(255,218,174,.52)!important;background:linear-gradient(135deg,rgba(54,35,73,.72),rgba(37,25,53,.88))!important}
html body #gradeModal #gradeModalBody input[type=file]::file-selector-button{margin-right:10px!important;padding:8px 12px!important;color:#4b2d46!important;border:1px solid rgba(255,237,207,.90)!important;border-radius:10px!important;background:linear-gradient(135deg,#ffe5bd 0%,#e8b974 58%,#c98248 100%)!important;font-weight:850!important}
html body #gradeModal #gradeModalBody .account-actions{display:flex!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important;margin-top:16px!important}
html body #gradeModal #gradeModalBody .account-actions .btn{min-height:43px!important;padding:10px 16px!important;border-radius:12px!important;font-weight:850!important}
html body #gradeModal #gradeModalBody .btn.primary{color:#4b2d46!important;-webkit-text-fill-color:#4b2d46!important;border:1px solid rgba(255,237,207,.92)!important;background:linear-gradient(135deg,#ffe5bd,#e8b974 56%,#c98248)!important;box-shadow:0 10px 24px rgba(35,15,37,.28),inset 0 1px 0 rgba(255,255,255,.60)!important}
html body #gradeModal #gradeModalBody .btn.secondary{color:#ffe5bd!important;border:1px solid rgba(255,218,174,.42)!important;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(82,53,104,.50))!important}
html body #gradeModal #gradeModalBody :is(.status,.notice){color:#f4e9f4!important;border:1px solid rgba(225,193,233,.30)!important;border-radius:13px!important;background:linear-gradient(135deg,rgba(184,148,233,.14),rgba(255,218,174,.06))!important;padding:12px 14px!important;font-size:11px!important;line-height:1.7!important}
html body #gradeModal #gradeModalBody .status.success{color:#baf3d0!important;border-color:rgba(104,218,174,.42)!important;background:rgba(34,132,105,.15)!important}
html body #gradeModal #gradeModalBody .status.error{color:#ffc3d0!important;border-color:rgba(255,129,159,.40)!important;background:rgba(157,51,89,.15)!important}

/* Secondary student dialogs, including Battle. */
html body #domaBattleModal,.kid-menu-overlay{background:rgba(12,6,19,.84)!important;-webkit-backdrop-filter:blur(20px) saturate(145%)!important;backdrop-filter:blur(20px) saturate(145%)!important}
html body #domaBattleModal .doma-battle-shell{color:#fff5e9!important;background:radial-gradient(ellipse at 85% 0%,rgba(184,148,233,.16),transparent 42%),linear-gradient(145deg,rgba(67,45,83,.97),rgba(23,15,36,.985))!important;border:1px solid rgba(255,218,174,.44)!important;box-shadow:0 32px 90px rgba(7,3,15,.66),inset 0 1px 0 rgba(255,255,255,.13)!important}
html body #domaBattleModal :is(.doma-battle-card,.doma-battle-question,.doma-battle-side,.doma-battle-status,.doma-battle-history-row,.doma-battle-player,.doma-battle-achievement,.doma-battle-row,.doma-battle-result){color:#fff5e9!important;background:linear-gradient(145deg,rgba(112,76,135,.50),rgba(44,29,62,.84))!important;border-color:rgba(225,193,233,.32)!important}
html body #domaBattleModal .doma-battle-code{color:#ffe5bd!important;background:rgba(35,23,48,.82)!important;border-color:rgba(255,218,174,.42)!important}

/* Admin workspace shares the same frosted plum glass treatment. */
html body :is(.login-card,#loginForm,.content .card,.content .section,.content .info-box,.content .doma-final-admin-card,
  .content .doma-pro6-admin-card,.content .pro7-admin-kpi,.content .admin-upgrade-card,.content .student-pro-stat,
  .content .empty,.table-wrap,#sidebar.sidebar,.sidebar .side-logo,.content .toolbar,.content .form-row){
  color:#fff5e9!important;border-color:rgba(255,218,174,.34)!important;background:linear-gradient(145deg,rgba(111,74,132,.48),rgba(38,26,54,.84))!important;
  box-shadow:0 15px 36px rgba(9,4,18,.24),inset 0 1px 0 rgba(255,255,255,.12)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;backdrop-filter:blur(18px) saturate(140%)!important;
}
html body .content{background:transparent!important}
html body .content table{color:#fff5e9!important;border-color:rgba(255,218,174,.24)!important}
html body .content :is(th,td){border-color:rgba(255,218,174,.20)!important;color:#e4d5e8!important}
html body .content th{color:#ffe5bd!important;background:rgba(255,218,174,.08)!important}
html body .sidebar .nav-btn.active,html body .sidebar .nav-btn:hover{color:#ffe5bd!important;border-color:rgba(255,218,174,.44)!important;background:linear-gradient(135deg,rgba(255,218,174,.13),rgba(112,76,134,.46))!important}

/* Champagne Gold actions and coordinated input controls throughout. */
html body :is(.btn-primary,.btn.primary,.primary,.grade-open-button,.mf-course-price-row .btn,.mf-english-course-price .btn,.kid-course-start-button,.kid-menu-footer-primary,.account-actions .btn.primary,.modalbox .btn.primary){
  color:#4b2d46!important;-webkit-text-fill-color:#4b2d46!important;border:1px solid rgba(255,237,207,.92)!important;background:linear-gradient(135deg,#ffe5bd 0%,#e8b974 56%,#c98248 100%)!important;
  box-shadow:0 10px 24px rgba(35,15,37,.26),inset 0 1px 0 rgba(255,255,255,.60)!important;
}
html body :is(.btn-soft,.btn.secondary,.secondary,.ghost,.btn:not(.btn-primary):not(.primary):not(.danger),.kid-menu-footer-secondary,.course-back-arrow,.mobile-menu-toggle,.mobile-menu-close){
  color:#ffe5bd!important;border:1px solid rgba(255,218,174,.42)!important;background:linear-gradient(135deg,rgba(255,255,255,.085),rgba(82,53,104,.48))!important;
}
html body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.field,.field-wrap input,.field-wrap select){
  color:#fff5e9!important;border:1px solid rgba(225,193,233,.42)!important;border-radius:13px!important;background:linear-gradient(135deg,rgba(54,35,73,.66),rgba(37,25,53,.86))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html body :is(input,textarea,select,.field):focus{border-color:rgba(255,218,174,.82)!important;box-shadow:0 0 0 3px rgba(232,185,116,.13)!important;outline:none!important}
html body :is(input,textarea,.field)::placeholder{color:rgba(228,213,232,.72)!important;opacity:1!important}
html body select option{color:#fff5e9!important;background:#2d1d3a!important}
html body input[type=file]::file-selector-button{color:#4b2d46!important;border:1px solid rgba(255,237,207,.88)!important;border-radius:9px!important;background:linear-gradient(135deg,#ffe5bd,#e8b974)!important;padding:7px 11px!important;font-weight:850!important}
html body :is(.live-dot,.dot,.mf-grade-live-dot){background:#e8b974!important;box-shadow:0 0 9px rgba(232,185,116,.76)!important}
html body :is(.eyebrow,.a1-eyebrow,.mf-course-kicker,.page-head .eyebrow){color:#ffe5bd!important}
html body :is(.pill,.tag,.stage,.mf-course-kicker,.level-chip,.picture-quiz-pill,.listen-quiz-pill){color:#ffe5bd!important;border:1px solid rgba(255,218,174,.38)!important;background:linear-gradient(135deg,rgba(255,218,174,.14),rgba(150,106,176,.23))!important}
html body :is(.btn:hover,.btn-primary:hover,.btn-soft:hover,.btn.primary:hover,.btn.secondary:hover,.primary:hover,.secondary:hover,.ghost:hover){transform:translateY(-1px)!important;border-color:rgba(255,237,207,.88)!important}

@media(max-width:700px){
  html body #drawer .drawer-side{background:linear-gradient(165deg,rgba(31,23,47,.99),rgba(18,15,32,.99) 58%,rgba(37,25,48,.99))!important;border-right-color:rgba(225,193,233,.32)!important}
  html body #drawer .drawer-body :is(.student-home-grid,.home-learning-grid,.dashboard-grid-pro){grid-template-columns:minmax(0,1fr)!important}
  html body #drawer .drawer-body :is(.doma-subscription-grid,.progress-summary){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body #drawer .drawer-body :is(.pro5-grid,.student-plus5-grid,.student-gami-grid,.doma-roulette-wrap){grid-template-columns:minmax(0,1fr)!important}
  html body #drawer .drawer-body :is(.plus5-statgrid,.pro5-kpi,.student-gami-stats,.student-gami-badges,.mr-practice-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body #gradeModal.modal{padding:8px!important}
  html body #gradeModal.modal .modalbox{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;padding:17px 14px 18px!important;border-radius:21px!important}
  html body #gradeModal #gradeModalText{font-size:11px!important;margin-bottom:14px!important}
  html body #gradeModal #gradeModalBody :is(.formgrid,.grid3){grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  html body #gradeModal #gradeModalBody :is(.formgrid,.grid3)>.full{grid-column:1!important}
  html body #gradeModal #gradeModalBody .card.feature{padding:14px!important;border-radius:16px!important}
  html body #gradeModal #gradeModalBody .account-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
  html body #gradeModal #gradeModalBody .account-actions .btn{width:100%!important;white-space:normal!important}
}
@media(prefers-reduced-motion:reduce){html body *{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}


/* =========================================================
   DOMA PRACTICE HUB — FINAL PURPLE GLASS OVERRIDE v71
   This deliberately has higher specificity than the legacy
   inline Midnight Blue / teal Practice Hub rules in index.html.
========================================================= */
html body #drawer #mrStudentPracticeHub{
  color:#fff5e9!important;
  background:transparent!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-intro{
  color:#fff5e9!important;
  border:1px solid rgba(255,218,174,.48)!important;
  border-radius:22px!important;
  background:
    radial-gradient(ellipse at 88% 0%,rgba(232,185,116,.16),transparent 43%),
    radial-gradient(ellipse at 8% 100%,rgba(184,148,233,.19),transparent 48%),
    linear-gradient(145deg,rgba(105,72,128,.70),rgba(42,28,60,.90))!important;
  box-shadow:0 18px 42px rgba(7,3,15,.28),inset 0 1px 0 rgba(255,255,255,.15)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-intro .eyebrow{
  color:#ffe5bd!important;letter-spacing:1.5px!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-intro h3{
  color:#fff5e9!important;text-shadow:0 2px 18px rgba(232,185,116,.13)!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-intro p{
  color:#e4d5e8!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-grid{
  display:grid!important;gap:12px!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-card{
  min-width:0!important;min-height:136px!important;padding:16px!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;
  color:#fff5e9!important;text-align:left!important;
  border:1px solid rgba(225,193,233,.36)!important;border-radius:18px!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,218,174,.10),transparent 58%),
    linear-gradient(145deg,rgba(112,78,139,.58),rgba(43,29,62,.86))!important;
  box-shadow:0 14px 34px rgba(8,4,18,.25),inset 0 1px 0 rgba(255,255,255,.13)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-card:hover,
html body #drawer #mrStudentPracticeHub .mr-practice-card:focus-visible{
  color:#fffaf2!important;border-color:rgba(255,218,174,.78)!important;
  background:
    radial-gradient(ellipse at 90% 0%,rgba(255,218,174,.17),transparent 48%),
    linear-gradient(145deg,rgba(130,91,153,.70),rgba(62,40,82,.92))!important;
  box-shadow:0 18px 40px rgba(8,4,18,.30),0 0 22px rgba(232,185,116,.10),inset 0 1px 0 rgba(255,255,255,.17)!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-icon{
  width:42px!important;height:42px!important;min-width:42px!important;
  display:grid!important;place-items:center!important;
  color:#ffe5bd!important;font-size:20px!important;
  border:1px solid rgba(255,218,174,.48)!important;border-radius:14px!important;
  background:linear-gradient(145deg,rgba(255,218,174,.20),rgba(184,148,233,.24))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 7px 18px rgba(10,4,20,.18)!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-card strong{
  color:#fff5e9!important;font-size:13px!important;font-weight:850!important;line-height:1.4!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-card span:last-child{
  color:#e4d5e8!important;font-size:10px!important;line-height:1.65!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-footer{
  color:#d9c9e1!important;margin-top:15px!important;padding:12px 14px!important;
  border:1px solid rgba(225,193,233,.25)!important;border-radius:14px!important;
  background:linear-gradient(135deg,rgba(112,78,139,.25),rgba(255,255,255,.035))!important;
}
html body #drawer #mrStudentPracticeHub .mr-practice-footer b{color:#ffe5bd!important}
html body #drawer #mrStudentPracticeHub button:focus-visible{
  outline:2px solid rgba(255,218,174,.88)!important;outline-offset:3px!important;
}
@media(max-width:700px){
  html body #drawer #mrStudentPracticeHub .mr-practice-intro{padding:16px!important;border-radius:18px!important}
  html body #drawer #mrStudentPracticeHub .mr-practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body #drawer #mrStudentPracticeHub .mr-practice-card{min-height:130px!important;padding:13px!important;border-radius:16px!important}
}
@media(max-width:360px){
  html body #drawer #mrStudentPracticeHub .mr-practice-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
  html body #drawer #mrStudentPracticeHub .mr-practice-card{transition:none!important}
}


/* =========================================================
   DOMA STUDENT FULL-SURFACE AUDIT OVERRIDE — PURPLE GLASS / CHAMPAGNE GOLD v72
   High-specificity visual normalization for legacy student
   inline style blocks (Midnight Blue / Sunset Glass / older tools).
   Layout, content, permissions, progress and app behavior untouched.
========================================================= */
html body #drawer{
  color:#fff5e9!important;
  background:
    radial-gradient(ellipse at 12% 7%,rgba(157,111,199,.22),transparent 34%),
    radial-gradient(ellipse at 88% 10%,rgba(232,185,116,.12),transparent 31%),
    radial-gradient(ellipse at 50% 100%,rgba(93,65,134,.19),transparent 46%),
    rgba(7,5,15,.84)!important;
  --sunset-bg:#140d1d;--sunset-panel:rgba(93,63,116,.56);--sunset-panel-strong:rgba(55,37,73,.86);
  --sunset-edge:rgba(230,201,239,.34);--sunset-edge-hi:rgba(255,220,177,.55);
  --sunset-orange:#e8b974;--sunset-amber:#ffe5bd;--sunset-coral:#c98248;
  --sunset-text:#fff5e9;--sunset-muted:#e4d5e8;--sunset-green:#baf3d0;--sunset-red:#ffc0c8;
}
html body #drawer .drawer-shell{
  color:#fff5e9!important;
  background:radial-gradient(ellipse at 84% 0%,rgba(184,148,233,.13),transparent 40%),linear-gradient(145deg,rgba(67,45,83,.97),rgba(24,17,38,.985) 56%,rgba(44,28,59,.98))!important;
  border:1px solid rgba(255,218,174,.48)!important;
  box-shadow:0 32px 100px rgba(4,2,12,.62),inset 0 1px 0 rgba(255,255,255,.15),0 0 46px rgba(158,116,203,.11)!important;
  -webkit-backdrop-filter:blur(28px) saturate(150%)!important;backdrop-filter:blur(28px) saturate(150%)!important;
}
html body #drawer .drawer-side{
  color:#fff5e9!important;
  background:linear-gradient(180deg,rgba(39,28,56,.985),rgba(23,17,39,.99) 58%,rgba(43,28,55,.985))!important;
  border-right:1px solid rgba(225,193,233,.28)!important;
  scrollbar-color:rgba(184,148,233,.46) transparent!important;
}
html body #drawer .drawer-main,html body #drawer .drawer-body{background:transparent!important;color:#fff5e9!important}
html body #drawer .drawer-top{
  color:#fff5e9!important;background:linear-gradient(90deg,rgba(184,148,233,.09),rgba(255,218,174,.075),rgba(184,148,233,.07))!important;
  border-bottom:1px solid rgba(225,193,233,.27)!important;box-shadow:0 8px 24px rgba(8,4,18,.10)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;backdrop-filter:blur(22px) saturate(145%)!important;
}
html body #drawer .drawer-top :is(h1,h2,h3,strong){color:#fff5e9!important}
html body #drawer .drawer-top p{color:#e4d5e8!important}
html body #drawer .drawer-brand{border-bottom-color:rgba(255,218,174,.22)!important}
html body #drawer .drawer-brand .mark{
  background:linear-gradient(145deg,rgba(184,148,233,.30),rgba(58,42,82,.68))!important;
  border:1px solid rgba(255,218,174,.48)!important;box-shadow:0 8px 25px rgba(4,2,12,.32),0 0 22px rgba(184,148,233,.15)!important;
}
html body #drawer .drawer-brand .mark svg path{stroke:#ffe5bd!important}
html body #drawer .drawer-brand .brand,html body #drawer .drawer-brand .brand small{color:#fff5e9!important}
html body #drawer .user-card,html body #drawer .student-command-card{
  color:#fff5e9!important;background:linear-gradient(135deg,rgba(184,148,233,.18),rgba(255,255,255,.035) 55%,rgba(232,185,116,.09))!important;
  border:1px solid rgba(255,218,174,.36)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 28px rgba(5,3,15,.18)!important;
}
html body #drawer .user-card :is(strong,span),html body #drawer .student-command-card :is(strong,span,small){color:#fff5e9!important}
html body #drawer .student-nav-heading{color:#ffe0ad!important;border-top-color:rgba(225,193,233,.22)!important}
html body #drawer .drawer-side>.side-link{
  color:#e4d5e8!important;border:1px solid transparent!important;background:rgba(255,255,255,.018)!important;box-shadow:none!important;
}
html body #drawer .drawer-side>.side-link:hover,
html body #drawer .drawer-side>.side-link.active{
  color:#fff8ee!important;border-color:rgba(255,218,174,.48)!important;
  background:linear-gradient(110deg,rgba(184,148,233,.22),rgba(232,185,116,.10))!important;
  box-shadow:inset 3px 0 0 #e8b974,0 8px 24px rgba(8,4,18,.20)!important;
}
html body #drawer .drawer-side>#studentNavLogout{color:#ffd1d4!important;background:rgba(190,82,105,.08)!important;border-color:rgba(244,150,165,.22)!important}

/* Main cards and feature panels across Overview, Lessons, Homework,
   Analytics, Daily Words, Certificates, Notifications, More and Tools. */
html body #drawer .drawer-body :is(
  .card,.feature,.tool,.plan,.dash,.stat,.notification,.workspace-card,.upgrade-card,.home-shortcut,.quick-card,
  .student-home-card,.student-gami-card,.student-gami-center,.student-plus5-card,.doma-v2-card,.doma-v2-sub,
  .doma-subscription-center,.doma-subscription-card,.doma-progress-sync,.daily100-student-wrap,
  .pro5-card,.hw-card,.hw-card-pro,.hw-stat,.cert,.lesson-player,.lesson-list,.lesson-content,.lesson-notes,
  .lesson-toolbar-pro,.question,.assessment-box,.prep-unit,.prep-lesson,.grammar-map .mini-card,
  .doma-battle-card,.doma-mr-card,.doma-mr-hero,.doma-movie-stage,.doma-movie-dialogue,.doma-movie-q,
  .doma-movie-choice,.doma-roulette-card,.doma-roulette-result,.doma-battle-question,.doma-battle-result,
  .doma-battle-status,.doma-battle-player,.doma-battle-side,.doma-battle-history-row,.doma-battle-achievement,
  .mr-practice-intro,.mr-practice-card,.mr-offline-card,.mr-offline-hero,.continue-card,.home-continue-card,
  .home-feature-card,.student-home-insight,.student-home-two,.local-insight,.profile-avatar-wrap,
  .student-achievement,.student-week-day,.student-home-list-row,.upgrade-metric,.activity-row,
  .doma-final-history,.doma-final-note,.phase-spotlight,.resource,.video-wrap,.quiz-box,.scorebox
){
  color:#fff5e9!important;border:1px solid rgba(225,193,233,.34)!important;border-radius:17px!important;
  background:radial-gradient(ellipse at 10% 0%,rgba(255,218,174,.085),transparent 55%),linear-gradient(145deg,rgba(112,82,145,.46),rgba(43,31,65,.78))!important;
  box-shadow:0 16px 38px rgba(5,3,15,.25),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;backdrop-filter:blur(18px) saturate(140%)!important;
}
/* Smaller nested tiles, history rows, stats, quiz answers and badges. */
html body #drawer .drawer-body :is(
  .pro5-row,.pro5-reward,.pro5-day div,.pro5-kpi div,.pro5-note,.pro5-assistant,.pro5-msg,
  .plus5-item,.plus5-answer,.plus5-stat,.plus5-msg,.plus5-q,.plus5-q label,
  .student-gami-stat,.student-gami-row,.student-gami-badge,.student-gami-me,
  .daily100-student-item,.daily100-student-empty,.daily100-student-audio button,
  .doma-final-row,.doma-final-unit-head,.doma-final-unit-bar,.doma-final-score,
  .listrow,.local-insight,.student-home-list-row,.student-gami-table,
  .activity-row,.progress-mini,.upgrade-metric,.mr-student-tab,.doma-subscription-card,
  .doma-sub-plan,.doma-sub-status,.student-home-alert,.notification.unread
){
  color:#fff5e9!important;border-color:rgba(225,193,233,.30)!important;
  background:linear-gradient(135deg,rgba(184,148,233,.15),rgba(255,218,174,.055) 58%,rgba(57,39,77,.48))!important;
}
html body #drawer .drawer-body :is(.doma-final-row,.pro5-row,.student-gami-row,.daily100-student-item,.plus5-item,.listrow){border-bottom-color:rgba(225,193,233,.22)!important}
html body #drawer .drawer-body :is(.doma-final-score,.doma-sub-plan,.doma-final-unit-head,.daily100-student-number){color:#ffe5bd!important}
html body #drawer .drawer-body :is(h1,h2,h3,h4,h5,strong,b){color:#fff5e9!important}
html body #drawer .drawer-body :is(p,small,label,.muted,.desc,.pro5-muted,.student-plus5-muted,.student-gami-muted,.field-help,.daily100-student-trans){color:#e4d5e8!important}
html body #drawer .drawer-body :is(.eyebrow,.doma-mr-kicker,.doma-bs-kicker,.student-nav-heading,.lesson-type){color:#ffe0ad!important}
html body #drawer .drawer-body a{color:#ffe5bd!important}
html body #drawer .drawer-body :is(.pill,.tag,.pro5-chip,.streak-badge,.curriculum-count,.student-home-pill,.activity-chip,.hw-status){
  color:#ffe5bd!important;background:linear-gradient(135deg,rgba(255,218,174,.14),rgba(184,148,233,.17))!important;border:1px solid rgba(255,218,174,.36)!important;
}
html body #drawer .drawer-body :is(.lesson-btn,.quick-card,.home-quick,.clickable-tool,.hero-stat-btn,.doma-movie-option,.doma-battle-option,.doma-movie-choice){
  color:#fff5e9!important;border:1px solid rgba(225,193,233,.32)!important;
  background:linear-gradient(135deg,rgba(112,82,145,.35),rgba(43,31,65,.58))!important;
}
html body #drawer .drawer-body :is(.lesson-btn:hover,.lesson-btn.active,.quick-card:hover,.home-quick:hover,.clickable-tool:hover,.doma-movie-option:hover,.doma-movie-option.sel,.doma-battle-option:hover,.doma-battle-option.selected){
  color:#fffaf2!important;border-color:rgba(255,218,174,.72)!important;
  background:linear-gradient(110deg,rgba(184,148,233,.25),rgba(232,185,116,.12))!important;
}

/* Champagne actions; glass secondary controls; form fields. */
html body #drawer .drawer-body :is(.btn.primary,.btn-primary,.primary,.account-actions .btn.primary,.kid-menu-footer-primary){
  color:#4b2d46!important;-webkit-text-fill-color:#4b2d46!important;border:1px solid rgba(255,237,207,.92)!important;
  background:linear-gradient(135deg,#ffe5bd 0%,#e8b974 56%,#c98248 100%)!important;
  box-shadow:0 10px 24px rgba(35,15,37,.25),inset 0 1px 0 rgba(255,255,255,.60)!important;
}
html body #drawer .drawer-body :is(.btn.secondary,.btn.ghost,.btn-soft,.secondary,.ghost,.btn:not(.primary):not(.danger):not(.ok):not(.warn)){
  color:#ffe5bd!important;-webkit-text-fill-color:#ffe5bd!important;border:1px solid rgba(255,218,174,.40)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(90,65,119,.42))!important;
}
html body #drawer .drawer-body :is(.btn.ok,.success,.good){color:#baf3d0!important}
html body #drawer .drawer-body :is(.btn.danger,.error,.bad){color:#ffc0c8!important}
html body #drawer .drawer-body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.field,.pro5-input,.pro5-textarea){
  color:#fff5e9!important;background:linear-gradient(135deg,rgba(47,34,68,.84),rgba(32,25,49,.94))!important;
  border:1px solid rgba(225,193,233,.40)!important;border-radius:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html body #drawer .drawer-body :is(input,textarea,.field)::placeholder{color:rgba(228,213,232,.72)!important;opacity:1!important}
html body #drawer .drawer-body select option,html body #drawer .drawer-body select optgroup{color:#fff5e9!important;background:#2d1d3a!important}
html body #drawer .drawer-body :is(input,select,textarea,.field):focus{border-color:rgba(255,218,174,.82)!important;box-shadow:0 0 0 3px rgba(232,185,116,.14)!important;outline:none!important}
html body #drawer .drawer-body input[type=checkbox],html body #drawer .drawer-body input[type=radio]{accent-color:#e8b974!important}
html body #drawer .drawer-body input[type=file]::file-selector-button{color:#4b2d46!important;background:linear-gradient(135deg,#ffe5bd,#e8b974)!important;border:1px solid rgba(255,237,207,.9)!important;border-radius:9px!important;padding:7px 11px!important;font-weight:850!important}

/* Progress meters, chart accents, icon wells, and feedback states. */
html body #drawer .drawer-body :is(.bar,.rbar,.pro5-progress,.plus5-bar,.student-gami-progress,.student-gami-skill .bar,.student-home-bar,.hw-progress-bar,.doma-final-unit-bar,.progress-track,.progressbar){
  background:rgba(255,255,255,.105)!important;border:1px solid rgba(225,193,233,.20)!important;
}
html body #drawer .drawer-body :is(.bar i,.rbar i,.pro5-progress i,.plus5-bar i,.student-gami-progress>i,.student-gami-skill .bar i,.student-home-bar i,.hw-progress-bar i,.progress-track span,.progressbar span,.doma-final-unit-bar i){
  background:linear-gradient(90deg,#b894e9,#d3b5f0,#e8b974,#ffe5bd)!important;box-shadow:0 0 12px rgba(232,185,116,.20)!important;
}
html body #drawer .drawer-body .progress-ring{background:conic-gradient(#b894e9 calc(var(--p,0)*1%),rgba(225,193,233,.14) 0)!important}
html body #drawer .drawer-body .progress-ring::after{background:rgba(31,23,47,.98)!important}
html body #drawer .drawer-body :is(.tool-icon,.lesson-num,.unit-index,.icon-box,.why-icon,.continue-icon,.mr-practice-icon,.ico){
  color:#ffe5bd!important;border-color:rgba(255,218,174,.42)!important;background:linear-gradient(145deg,rgba(255,218,174,.17),rgba(184,148,233,.22))!important;
}
html body #drawer .drawer-body :is(.notice,.status,.scorebox,.student-home-alert,.hw-feedback,.empty,.pro5-empty,.toast,.doma-roulette-result,.doma-battle-result){
  color:#f4e9f4!important;background:linear-gradient(135deg,rgba(184,148,233,.15),rgba(255,218,174,.06))!important;border:1px solid rgba(225,193,233,.30)!important;
}
html body #drawer .drawer-body :is(.success,.good,.ok,.hw-status.reviewed){color:#baf3d0!important}
html body #drawer .drawer-body :is(.error,.bad,.hw-status.urgent){color:#ffc0c8!important}
html body #drawer .drawer-body :is(.warn,.pending,.hw-status.pending){color:#ffe0ad!important}
html body #drawer .drawer-body :is(th,td){color:#e4d5e8!important;border-color:rgba(225,193,233,.22)!important}
html body #drawer .drawer-body th{color:#ffe5bd!important;background:rgba(255,218,174,.08)!important}
html body #drawer .drawer-body .video-wrap{background:rgba(26,18,39,.82)!important;border-color:rgba(225,193,233,.32)!important}
html body #drawer .drawer-body .doma-roulette-wheel{
  border-color:rgba(255,218,174,.48)!important;
  background:conic-gradient(#5e4279 0deg 45deg,#342448 45deg 90deg,#8d6baa 90deg 135deg,#342448 135deg 180deg,#5e4279 180deg 225deg,#342448 225deg 270deg,#8d6baa 270deg 315deg,#342448 315deg 360deg)!important;
}
html body #drawer .drawer-body .doma-roulette-wheel:before{background:#2b1d3a!important;border-color:rgba(255,218,174,.48)!important}
html body #drawer .drawer-body .doma-roulette-wheel:after{color:#ffe5bd!important}
html body #drawer .drawer-body .doma-roulette-pointer{border-top-color:#e8b974!important}

/* Bottom tabs and mobile drawer backdrop use the same plum glass palette. */
html body #drawer #mrStudentBottomNav{
  background:linear-gradient(180deg,rgba(45,34,65,.96),rgba(22,17,38,.99))!important;
  border-top:1px solid rgba(225,193,233,.30)!important;box-shadow:0 -10px 32px rgba(5,3,15,.25)!important;
  -webkit-backdrop-filter:blur(26px) saturate(155%)!important;backdrop-filter:blur(26px) saturate(155%)!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab{
  color:#e4d5e8!important;background:rgba(255,255,255,.025)!important;border-color:transparent!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab.active{
  color:#fff5e9!important;background:linear-gradient(145deg,rgba(184,148,233,.24),rgba(232,185,116,.13))!important;
  border-color:rgba(255,218,174,.40)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 4px 18px rgba(184,148,233,.10)!important;
}
html body #drawer #mrStudentBottomNav .mr-student-tab.active svg{color:#ffe0ad!important;filter:drop-shadow(0 0 7px rgba(232,185,116,.22))!important}
html body #drawer #mrStudentSidebarBackdrop{background:rgba(12,6,19,.78)!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important}
html body #drawer #mrStudentMenuClose{color:#ffe5bd!important;background:rgba(255,255,255,.06)!important;border-color:rgba(255,218,174,.38)!important}
@media(max-width:700px){
  html body #drawer .drawer-side{background:linear-gradient(165deg,rgba(39,28,56,.99),rgba(20,16,34,.995) 58%,rgba(43,28,55,.99))!important;border-right-color:rgba(225,193,233,.32)!important}
  html body #drawer .drawer-body :is(.student-home-grid,.home-learning-grid,.dashboard-grid-pro){grid-template-columns:minmax(0,1fr)!important}
  html body #drawer .drawer-body :is(.pro5-grid,.student-plus5-grid,.student-gami-grid,.doma-roulette-wrap){grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){html body #drawer *{scroll-behavior:auto!important}}


/* =========================================================
   DOMA STUDENT REMAINING COMPONENT SWEEP — PURPLE GLASS v73
   Catch legacy overview, progress, profile and learning sub-panels
   that were not covered by the earlier shared-card selector.
   Visual-only: preserve markup, layout, content and behavior.
========================================================= */
html body #drawer .drawer-body :is(
  .student-progress-hero,.student-command-card,.student-home-insight,
  .student-home-list-row,.student-achievement,.student-week-day,
  .student-gami-center,.student-gami-table,.student-gami-skill,
  .student-plus5-card,.student-plus5-grid,.student-home-card,
  .home-continue-card,.home-feature-card,.home-shortcut,.home-quick,
  .quick-card,.progress-mini,.local-insight,.upgrade-metric,
  .activity-row,.listrow,.lesson-toolbar-pro,.lesson-checklist,
  .lesson-notes,.profile-avatar-wrap,.doma-offline-card,.doma-offline-hero,
  .doma-subscription-center,.doma-subscription-card,.doma-progress-sync,
  .doma-v2-card,.doma-v2-sub,.mf-play-dialogue,.sentence-bank,
  .mf-video-note,.achievement,.phase-spotlight,.doma-final-history,
  .doma-final-note,.doma-final-row,.doma-final-unit-head,
  .doma-final-score,.doma-final-unit-bar,.student-home-alert
){
  color:#fff5e9!important;
  border-color:rgba(225,193,233,.34)!important;
  background:radial-gradient(ellipse at 12% 0%,rgba(255,218,174,.075),transparent 58%),
    linear-gradient(145deg,rgba(112,82,145,.43),rgba(43,31,65,.76))!important;
  box-shadow:0 14px 34px rgba(5,3,15,.22),inset 0 1px 0 rgba(255,255,255,.11)!important;
  -webkit-backdrop-filter:blur(17px) saturate(140%)!important;
  backdrop-filter:blur(17px) saturate(140%)!important;
}
html body #drawer .drawer-body :is(
  .student-home-insights,.student-home-list,.student-home-achievements,
  .student-week,.student-command-bar,.home-learning-grid,.home-quick-grid,
  .dashboard-grid-pro,.progress-summary,.profile-grid
){
  color:#fff5e9!important;
}
html body #drawer .drawer-body :is(
  .student-progress-hero,.student-command-card,.student-home-card,
  .student-gami-center,.student-plus5-card,.doma-offline-card,
  .doma-offline-hero,.doma-subscription-center,.doma-subscription-card,
  .doma-progress-sync,.doma-v2-card,.doma-v2-sub,.mf-play-dialogue,
  .sentence-bank,.mf-video-note,.achievement,.phase-spotlight,
  .doma-final-history,.doma-final-note,.doma-final-row,.doma-final-score
) :is(h1,h2,h3,h4,strong,b){color:#fff5e9!important}
html body #drawer .drawer-body :is(
  .student-progress-hero,.student-command-card,.student-home-card,
  .student-gami-center,.student-plus5-card,.doma-offline-card,
  .doma-offline-hero,.doma-subscription-center,.doma-subscription-card,
  .doma-progress-sync,.doma-v2-card,.doma-v2-sub,.mf-play-dialogue,
  .sentence-bank,.mf-video-note,.achievement,.phase-spotlight,
  .doma-final-history,.doma-final-note,.doma-final-row,.doma-final-score
) :is(p,small,span,label,.muted,.desc){color:#e4d5e8!important}
html body #drawer .drawer-body :is(
  .student-home-list-row,.student-achievement,.student-week-day,
  .student-gami-table,.student-gami-skill,.progress-mini,.local-insight,
  .upgrade-metric,.activity-row,.listrow,.lesson-notes,.profile-avatar-wrap,
  .doma-final-unit-head,.doma-final-unit-bar
){
  border-color:rgba(225,193,233,.30)!important;
}
html body #drawer .drawer-body :is(
  .student-home-value,.student-progress-hero strong,.student-command-card strong,
  .student-gami-center strong,.student-gami-table strong,.doma-final-score,
  .progress-mini b
){color:#ffe5bd!important}
html body #drawer .drawer-body :is(
  .student-progress-hero .progress-ring,.student-home-bar,
  .student-gami-progress,.progress-mini .bar,.doma-final-unit-bar
){border-color:rgba(225,193,233,.25)!important}
html body #drawer .drawer-body :is(
  .student-progress-hero .progress-ring,.progress-ring
){background:conic-gradient(#b894e9 calc(var(--p,0)*1%),rgba(225,193,233,.14) 0)!important}
html body #drawer .drawer-body :is(
  .student-home-bar i,.student-gami-progress>i,.doma-final-unit-bar i
){background:linear-gradient(90deg,#b894e9,#d3b5f0,#e8b974,#ffe5bd)!important}
html body #domaBattleModal :is(
  .doma-battle-card,.doma-battle-question,.doma-battle-side,
  .doma-battle-status,.doma-battle-history-row,.doma-battle-player,
  .doma-battle-achievement,.doma-battle-row,.doma-battle-result
){
  color:#fff5e9!important;
  background:linear-gradient(145deg,rgba(112,76,135,.50),rgba(44,29,62,.84))!important;
  border-color:rgba(225,193,233,.34)!important;
}
html body #domaBattleModal :is(h1,h2,h3,h4,strong,b){color:#fff5e9!important}
html body #domaBattleModal :is(p,small,span,.muted,.desc){color:#e4d5e8!important}
html body #domaBattleModal .doma-battle-code{color:#ffe5bd!important}
@media(max-width:700px){
  html body #drawer .drawer-body :is(.student-progress-hero,.student-home-card,.student-command-card){border-radius:16px!important}
}


/* STUDENT OVERVIEW — progress hero and learning snapshot glass finish */
html body #drawer .drawer-body :is(.student-progress-hero,.progress-summary,.student-home-insights,.student-home-insight,.student-home-card,.progress-card,.learning-snapshot,.snapshot-card){
  color:#fff5e9!important;
  border:1px solid rgba(225,193,233,.38)!important;
  border-radius:22px!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,218,174,.12),transparent 52%),
    radial-gradient(ellipse at 88% 100%,rgba(184,148,233,.13),transparent 56%),
    linear-gradient(145deg,rgba(91,65,121,.72),rgba(37,27,57,.88))!important;
  box-shadow:0 16px 38px rgba(5,3,15,.25),inset 0 1px 0 rgba(255,255,255,.13)!important;
  -webkit-backdrop-filter:blur(20px) saturate(145%)!important;
  backdrop-filter:blur(20px) saturate(145%)!important;
}
html body #drawer .drawer-body :is(.student-progress-hero,.progress-summary,.student-home-insights,.student-home-insight,.student-home-card,.progress-card,.learning-snapshot,.snapshot-card) :is(h1,h2,h3,h4,strong,b){
  color:#fff1dc!important;
}
html body #drawer .drawer-body :is(.student-progress-hero,.progress-summary,.student-home-insights,.student-home-insight,.student-home-card,.progress-card,.learning-snapshot,.snapshot-card) :is(p,small,span,label,.muted,.desc){
  color:#e8dced!important;
}


/* Remove the two redundant subscription summary tiles from the student drawer.
   Subscription and payment flows elsewhere remain available and unchanged. */
html body #drawer .drawer-body #domaSubscriptionCenter .doma-subscription-grid{
  display:none!important;
}


/* FINAL TARGETED STUDENT OVERVIEW OVERRIDE — actual runtime classes */
html body #drawer #drawerBody .dashboard-grid-pro > .dash-pro-card,
html body #drawer #drawerBody .dash-pro-card,
html body #drawer #drawerBody .student-progress-hero{
  color:#fff4e8!important;
  border:1px solid rgba(221,190,232,.42)!important;
  border-radius:22px!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,220,178,.15),transparent 48%),
    radial-gradient(ellipse at 90% 100%,rgba(177,142,229,.18),transparent 55%),
    linear-gradient(140deg,rgba(83,60,119,.88),rgba(35,25,58,.96))!important;
  box-shadow:0 16px 38px rgba(4,2,14,.30),inset 0 1px 0 rgba(255,255,255,.15)!important;
  -webkit-backdrop-filter:blur(22px) saturate(150%)!important;
  backdrop-filter:blur(22px) saturate(150%)!important;
}
html body #drawer #drawerBody .student-progress-hero{
  display:grid!important;align-items:center!important;
  padding:18px!important;gap:16px!important;
}
html body #drawer #drawerBody .student-progress-hero h3,
html body #drawer #drawerBody .dash-pro-head h3{
  color:#fff0dc!important;text-shadow:0 2px 16px rgba(245,205,160,.12)!important;
}
html body #drawer #drawerBody .student-progress-hero p,
html body #drawer #drawerBody .dash-pro-head p,
html body #drawer #drawerBody .report-line label{
  color:#e5d8eb!important;
}
html body #drawer #drawerBody .student-progress-hero .pill,
html body #drawer #drawerBody .dash-pro-head .pill{
  color:#ffe8c5!important;
  background:linear-gradient(135deg,rgba(222,185,232,.22),rgba(190,151,224,.13))!important;
  border:1px solid rgba(238,205,171,.45)!important;
  border-radius:999px!important;
}
html body #drawer #drawerBody .progress-ring{
  background:conic-gradient(#e6b8f1 calc(var(--p)*1%),rgba(224,201,239,.16) 0)!important;
  box-shadow:0 0 0 7px rgba(212,177,234,.12),0 0 26px rgba(207,164,238,.22)!important;
}
html body #drawer #drawerBody .progress-ring::after{
  background:linear-gradient(145deg,#302342,#21172f)!important;
}
html body #drawer #drawerBody .progress-ring strong{color:#ffe7c2!important}
html body #drawer #drawerBody .progress-ring span{color:#e8d8ed!important}
html body #drawer #drawerBody .report-line .rbar{
  background:rgba(13,9,27,.55)!important;
  border:1px solid rgba(220,196,237,.20)!important;
}
html body #drawer #drawerBody .report-line .rbar i{
  background:linear-gradient(90deg,#c49be8,#f1c78f)!important;
  box-shadow:0 0 12px rgba(210,170,238,.30)!important;
}
html body #drawer #drawerBody .report-line b{color:#ffe9cb!important}
html body #drawer #drawerBody .dash-pro-head{margin-bottom:15px!important}
html body #drawer #drawerBody .dash-pro-card{padding:18px!important;border-radius:22px!important}
@media(max-width:620px){
  html body #drawer #drawerBody .student-progress-hero{grid-template-columns:72px minmax(0,1fr)!important;padding:14px!important;gap:12px!important}
  html body #drawer #drawerBody .dash-pro-card{padding:14px!important;border-radius:19px!important}
}


/* Overview header cleanup: remove the student identity artwork and heading,
   while retaining the drawer navigation and Close controls. */
html body #drawer .drawer-top > div:first-child{
  display:none!important;
}
html body #drawer .drawer-top{
  justify-content:flex-end!important;
  min-height:58px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}


/* Student More menu correction: hide only the requested headings/brand.
   Keep the identity card and all existing navigation links (Overview, Lessons,
   Quizzes, Homework, Practice, Tools, account actions) visible and functional. */
html body #drawer .drawer-side > .drawer-brand,
html body #drawer .drawer-side > .student-nav-heading{
  display:none!important;
}
html body #drawer .drawer-side > .user-card#userCard{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  margin:14px!important;
  padding:18px!important;
  min-height:100px!important;
  border:1px solid rgba(225,193,233,.42)!important;
  border-radius:22px!important;
  color:#fff1df!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,218,174,.15),transparent 52%),
    linear-gradient(145deg,rgba(91,65,121,.78),rgba(37,27,57,.94))!important;
  box-shadow:0 14px 32px rgba(5,3,15,.26),inset 0 1px 0 rgba(255,255,255,.14)!important;
  -webkit-backdrop-filter:blur(20px) saturate(145%)!important;
  backdrop-filter:blur(20px) saturate(145%)!important;
}
html body #drawer .drawer-side > .user-card#userCard strong{
  color:#fff0dc!important;font-size:16px!important;font-weight:800!important;
}
html body #drawer .drawer-side > .user-card#userCard span{
  color:#e8dced!important;font-size:12px!important;line-height:1.6!important;
}


/* Lesson workspace v79 — one video surface, explanation beneath, lesson rail */
html body #drawer #drawerBody .lesson-workspace-v79{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(245px,310px)!important;
  gap:16px!important;align-items:start!important;
}
html body #drawer #drawerBody .lesson-video-card,
html body #drawer #drawerBody .lesson-sidebar-v79{
  color:#fff3e5!important;border:1px solid rgba(225,193,233,.40)!important;
  border-radius:23px!important;
  background:radial-gradient(ellipse at 10% 0%,rgba(255,218,174,.13),transparent 48%),radial-gradient(ellipse at 90% 100%,rgba(180,145,230,.15),transparent 54%),linear-gradient(145deg,rgba(82,59,116,.84),rgba(34,25,56,.96))!important;
  box-shadow:0 16px 38px rgba(5,3,15,.28),inset 0 1px 0 rgba(255,255,255,.14)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;backdrop-filter:blur(22px) saturate(145%)!important;
  overflow:hidden!important;
}
html body #drawer #drawerBody .lesson-video-card{padding:14px!important}
html body #drawer #drawerBody .lesson-video-only{
  width:100%!important;aspect-ratio:16/9!important;overflow:hidden!important;
  border-radius:17px!important;border:1px solid rgba(238,205,171,.35)!important;
  background:#100c1b!important;box-shadow:0 10px 28px rgba(4,2,12,.28)!important;
}
html body #drawer #drawerBody .lesson-video-only .video-wrap{
  width:100%!important;height:100%!important;min-height:0!important;margin:0!important;
  aspect-ratio:auto!important;border:0!important;border-radius:0!important;background:#100c1b!important;
}
html body #drawer #drawerBody .lesson-video-only video,
html body #drawer #drawerBody .lesson-video-only iframe{
  width:100%!important;height:100%!important;object-fit:contain!important;border:0!important;
}
html body #drawer #drawerBody .lesson-explanation{padding:18px 5px 5px!important}
html body #drawer #drawerBody .lesson-explanation h2{color:#fff0dc!important;font-size:22px!important;margin:12px 0!important}
html body #drawer #drawerBody .lesson-explanation .lesson-rich-content{color:#eaddec!important;line-height:1.8!important}
html body #drawer #drawerBody .lesson-sidebar-v79{padding:16px!important;max-height:760px!important;overflow:auto!important}
html body #drawer #drawerBody .lesson-sidebar-v79 h3{color:#fff0dc!important;margin:0 0 12px!important;font-size:16px!important}
html body #drawer #drawerBody .lesson-sidebar-v79 .lesson-btn{
  color:#f5e8f2!important;background:rgba(22,15,37,.45)!important;
  border:1px solid rgba(221,190,232,.20)!important;border-radius:13px!important;
  padding:12px!important;transition:background .18s,border-color .18s!important;
}
html body #drawer #drawerBody .lesson-sidebar-v79 .lesson-btn.active{
  background:linear-gradient(110deg,rgba(190,150,225,.27),rgba(240,198,143,.13))!important;
  border-color:rgba(239,202,163,.58)!important;box-shadow:inset 3px 0 #e8bf91!important;
}
html body #drawer #drawerBody .lesson-sidebar-v79 .lesson-group-head{color:#e9d7ed!important;border-bottom:1px solid rgba(228,198,235,.17)!important;padding:10px 2px!important}
html body #drawer #drawerBody .lesson-sidebar-v79 .lesson-group-head span{color:#d6c2df!important}
html body #drawer #drawerBody .lesson-sidebar-v79 .lesson-num{background:rgba(203,166,230,.17)!important;color:#f3d5aa!important}
@media(max-width:760px){
 html body #drawer #drawerBody .lesson-workspace-v79{grid-template-columns:minmax(0,1fr)!important}
 html body #drawer #drawerBody .lesson-sidebar-v79{max-height:420px!important}
}


/* v80 — remove the four student summary tiles from the More drawer and its Close control. */
html body #drawer #studentCommandBar{display:none!important}

/* v81 — keep the Overview Close button; More menu retains its title without a Close label. */
html body #drawer #studentCommandBar{display:none!important}


/* Compact homepage welcome: all text remains in the one existing glass panel. */
html body .mr-fluent-homepage-welcome[hidden]{display:none!important}
html body .mr-fluent-homepage-welcome:not([hidden]){
  display:block!important;width:min(100%,720px)!important;box-sizing:border-box!important;
  margin:0 0 24px!important;padding:16px 20px!important;
  border:1px solid rgba(255,218,174,.52)!important;border-radius:20px!important;
  color:#fff4e8!important;
  background:radial-gradient(ellipse at 10% 0%,rgba(255,218,174,.19),transparent 52%),
    radial-gradient(ellipse at 100% 100%,rgba(184,148,233,.22),transparent 56%),
    linear-gradient(145deg,rgba(91,65,121,.84),rgba(37,27,57,.96))!important;
  box-shadow:0 16px 38px rgba(5,3,15,.30),inset 0 1px 0 rgba(255,255,255,.17)!important;
  -webkit-backdrop-filter:blur(22px) saturate(150%)!important;backdrop-filter:blur(22px) saturate(150%)!important;
}
html body .mr-fluent-homepage-welcome .mr-fluent-welcome-name{
  display:flex;align-items:baseline;flex-wrap:wrap;gap:0 7px;margin:0!important;
  color:#fff3df!important;font-size:clamp(17px,2.2vw,22px)!important;
  font-weight:900!important;line-height:1.4!important;overflow-wrap:anywhere;
}
html body .mr-fluent-homepage-welcome .mr-fluent-welcome-student{color:#fff3df!important}
html body .mr-fluent-homepage-welcome .mr-fluent-welcome-to{
  display:inline!important;color:#ffe5bd!important;font-size:.78em!important;font-weight:700!important;
}
@media(max-width:700px){
  html body .mr-fluent-homepage-welcome:not([hidden]){padding:13px 15px!important;margin-bottom:18px!important;border-radius:16px!important}
}


/* MR. FLUENT A1–C2 course interiors — unified DOMA purple / champagne glass UI.
   Visual-only layer: preserves lesson content, access checks, navigation and progress logic. */
html body:has(.course-hero){
  --mf-level-ink:#fff4e8;
  --mf-level-muted:#e4d5e8;
  --mf-level-gold:#ffe5bd;
  --mf-level-edge:rgba(255,218,174,.42);
}
html body:has(.course-hero) header{
  padding:clamp(25px,4vw,48px) max(4%,calc((100% - 1180px)/2)) clamp(24px,4vw,42px)!important;
  text-align:left!important;
  background:
    radial-gradient(ellipse at 8% 0%,rgba(255,218,174,.13),transparent 48%),
    radial-gradient(ellipse at 92% 100%,rgba(184,148,233,.23),transparent 48%),
    linear-gradient(135deg,rgba(91,65,121,.42),rgba(37,27,57,.66))!important;
  border-bottom:1px solid rgba(255,218,174,.2)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
html body:has(.course-hero) .course-hero{gap:clamp(18px,3vw,38px)!important}
html body:has(.course-hero) header .pill,
html body:has(.course-hero) .a1-level{
  color:#ffe8c5!important;
  background:linear-gradient(135deg,rgba(255,218,174,.17),rgba(184,148,233,.20))!important;
  border:1px solid var(--mf-level-edge)!important;
  border-radius:999px!important;
  letter-spacing:.08em!important;
}
html body:has(.course-hero) header h1{
  color:var(--mf-level-ink)!important;
  font-size:clamp(34px,5vw,62px)!important;
  letter-spacing:-.045em!important;
  text-shadow:0 8px 30px rgba(184,148,233,.2)!important;
}
html body:has(.course-hero) header p,
html body:has(.course-hero) header .ar{color:var(--mf-level-muted)!important}
html body:has(.course-hero) .course-hero-card{
  min-height:300px!important;
  padding:clamp(19px,3vw,30px)!important;
  border:1px solid rgba(255,218,174,.5)!important;
  border-radius:26px!important;
  color:var(--mf-level-ink)!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,218,174,.18),transparent 48%),
    radial-gradient(ellipse at 100% 100%,rgba(184,148,233,.22),transparent 52%),
    linear-gradient(145deg,rgba(111,76,139,.78),rgba(43,29,65,.94))!important;
  box-shadow:0 24px 58px rgba(8,3,18,.34),inset 0 1px 0 rgba(255,255,255,.18)!important;
  -webkit-backdrop-filter:blur(24px) saturate(150%)!important;
  backdrop-filter:blur(24px) saturate(150%)!important;
}
html body:has(.course-hero) .a1-eyebrow{color:var(--mf-level-gold)!important;letter-spacing:.18em!important}
html body:has(.course-hero) .a1-logo,
html body:has(.course-hero) .a1-logo span{color:#fff4e8!important}
html body:has(.course-hero) .a1-logo span{text-shadow:0 0 18px rgba(255,218,174,.55)!important}
html body:has(.course-hero) .course-hero-card h2{color:#fff4e8!important}
html body:has(.course-hero) .course-hero-card p{color:#e4d5e8!important}
html body:has(.course-hero) .course-hero-stats div{
  border:1px solid rgba(255,218,174,.28)!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,rgba(32,21,48,.62),rgba(65,43,82,.54))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
}
html body:has(.course-hero) .course-hero-stats b{color:#ffe5bd!important}
html body:has(.course-hero) .course-hero-stats span{color:#e4d5e8!important}
html body:has(.course-hero) header:after{
  border-color:rgba(255,218,174,.16)!important;
  box-shadow:0 0 0 45px rgba(184,148,233,.035),0 0 0 90px rgba(255,218,174,.025)!important;
}
html body:has(.course-hero) .student-layout{gap:20px!important}
html body:has(.course-hero) .student-sidebar{
  border:1px solid rgba(255,218,174,.36)!important;
  border-radius:22px!important;
  background:linear-gradient(150deg,rgba(83,57,111,.88),rgba(31,22,49,.96))!important;
  box-shadow:0 18px 42px rgba(8,3,18,.30),inset 0 1px 0 rgba(255,255,255,.13)!important;
}
html body:has(.course-hero) .sidebar-brand{border-bottom-color:rgba(255,218,174,.2)!important}
html body:has(.course-hero) .sidebar-mark{
  color:#fff4e8!important;
  border:1px solid rgba(255,218,174,.55)!important;
  background:linear-gradient(145deg,#9672b4,#49315f)!important;
  box-shadow:0 8px 22px rgba(8,3,18,.28)!important;
}
html body:has(.course-hero) .sidebar-brand strong{color:#fff4e8!important}
html body:has(.course-hero) .sidebar-brand span,
html body:has(.course-hero) .sidebar-caption{color:#e1cce8!important}
html body:has(.course-hero) .student-sidebar nav button{
  color:#eee2f1!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.025)!important;
}
html body:has(.course-hero) .student-sidebar nav button:hover{
  color:#fff!important;border-color:rgba(255,218,174,.35)!important;
  background:rgba(184,148,233,.16)!important;
}
html body:has(.course-hero) .student-sidebar nav button.active{
  color:#fff4e8!important;
  border-color:rgba(255,218,174,.42)!important;
  background:linear-gradient(100deg,rgba(184,148,233,.28),rgba(255,218,174,.10))!important;
  box-shadow:inset 3px 0 #ffe5bd!important;
}
html body:has(.course-hero) .sidebar-foot{border-top-color:rgba(255,218,174,.2)!important;color:#e4d5e8!important}
html body:has(.course-hero) .student-content{min-width:0!important}
html body:has(.course-hero) .student-content :is(.stat,.unit,.lesson,.tool,.lab-card,.recording-panel,.mf-dialogue,.quiz-mini,.achievement,.sentence-bank,.sentence-result,.box,.video-card,.track-card,.quiz-shell,.assessment-box,.workspace-card){
  color:#fff4e8!important;
  border:1px solid rgba(225,193,233,.34)!important;
  border-radius:19px!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,218,174,.09),transparent 52%),
    linear-gradient(145deg,rgba(103,73,128,.50),rgba(39,27,59,.82))!important;
  box-shadow:0 14px 34px rgba(8,3,18,.22),inset 0 1px 0 rgba(255,255,255,.10)!important;
  -webkit-backdrop-filter:blur(16px) saturate(135%)!important;
  backdrop-filter:blur(16px) saturate(135%)!important;
}
html body:has(.course-hero) .student-content :is(.unit,.lesson){padding:clamp(15px,2.5vw,24px)!important}
html body:has(.course-hero) .student-content :is(.unit h2,.lesson h3,.lab-card h3,.tool h3,.recording-panel h3){color:#fff0dc!important}
html body:has(.course-hero) .student-content :is(.small,.muted,.desc,.lab-note,.small-print){color:#d9c9e2!important}
html body:has(.course-hero) .student-content .tag{
  color:#ffe5bd!important;border:1px solid rgba(255,218,174,.36)!important;
  border-radius:999px!important;background:rgba(255,218,174,.10)!important;
}
html body:has(.course-hero) .student-content .box{
  background:rgba(25,17,40,.48)!important;border-color:rgba(255,218,174,.20)!important;
}
html body:has(.course-hero) .student-content .example{
  border-left-color:#e8b974!important;background:rgba(255,218,174,.08)!important;
}
html body:has(.course-hero) .student-content .ar,
html body:has(.course-hero) .student-content .word-ar{color:#f0e3f1!important}
html body:has(.course-hero) .student-content :is(button,select,.lab-actions button){
  color:#fff4e8!important;
  border:1px solid rgba(255,218,174,.32)!important;border-radius:12px!important;
  background:linear-gradient(135deg,rgba(112,77,145,.78),rgba(61,39,83,.92))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
}
html body:has(.course-hero) .student-content button:hover,
html body:has(.course-hero) .student-content button.active{
  border-color:rgba(255,218,174,.68)!important;
  background:linear-gradient(135deg,rgba(151,112,181,.88),rgba(91,59,119,.96))!important;
}
html body:has(.course-hero) .student-content :is(input[type=text],textarea){
  color:#fff4e8!important;background:rgba(20,13,33,.78)!important;
  border:1px solid rgba(225,193,233,.32)!important;border-radius:13px!important;
}
html body:has(.course-hero) .student-content :is(input,textarea)::placeholder{color:#c9b6d3!important}
html body:has(.course-hero) .student-content .choices label{
  color:#f7eaf4!important;border:1px solid rgba(225,193,233,.25)!important;
  border-radius:13px!important;background:rgba(255,255,255,.035)!important;
}
html body:has(.course-hero) .student-content .choices label:hover{
  border-color:rgba(255,218,174,.52)!important;background:rgba(184,148,233,.14)!important;
}
html body:has(.course-hero) .student-content .progressbar{
  background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,218,174,.20)!important;
}
html body:has(.course-hero) .student-content .progressbar span{
  background:linear-gradient(90deg,#a985d0,#d5b6e7,#ffe0ad)!important;
}
html body:has(.course-hero) .student-content .video-card a,
html body:has(.course-hero) .student-content .mf-play-dialogue{
  color:#2b1b36!important;border:1px solid rgba(255,218,174,.65)!important;
  background:linear-gradient(135deg,#ffe5bd,#e8b974)!important;
}
html body:has(.course-hero) .student-content .achievement{
  color:#ffe5bd!important;border-color:rgba(255,218,174,.4)!important;
  background:rgba(255,218,174,.10)!important;
}
html body:has(.course-hero) footer{color:#d9c9e2!important;border-top-color:rgba(255,218,174,.18)!important}
@media(max-width:760px){
  html body:has(.course-hero) header{padding:26px 4% 28px!important}
  html body:has(.course-hero) .course-hero{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  html body:has(.course-hero) .course-hero-card{min-height:250px!important}
  html body:has(.course-hero) .student-layout{grid-template-columns:minmax(0,1fr)!important}
  html body:has(.course-hero) .student-sidebar{position:relative!important;top:auto!important;max-height:none!important}
  html body:has(.course-hero) .topgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:420px){
  html body:has(.course-hero) .topgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body:has(.course-hero) .course-hero-stats{gap:7px!important}
  html body:has(.course-hero) .course-hero-stats div{padding:10px!important}
}


/* KIDS COURSE — inherit the exact shared DOMA homepage components; no separate Kids palette. */
html body :is(.mfkr-top){
  color:var(--dpg-text)!important;
  background:linear-gradient(135deg,rgba(112,77,133,.78),rgba(49,31,68,.9))!important;
  border-color:var(--dpg-edge-gold)!important;
  box-shadow:0 14px 38px rgba(12,5,23,.22),inset 0 1px 0 rgba(255,255,255,.14)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
html body #mfKidsStandaloneRoot :is(
  .mfkr-choice,.mfkr-level,.mfkr-letter-card,.mfkr-word-card,.mfkr-topic-panel,
  .mfkr-quiz-panel,.mfkr-a2-story-card,.mfkr-c1-story-line,.mfkr-b2-connector-sentence,
  .mfkr-a2-match-prompt,.mfkr-c1-output,.mfkr-c2-writing-area,
  .mfkj-course-practice-panel,.mfkj-model-reply,.mfkj-mini-card,.mfkj-pay-gate,
  .mfkj-payment-unified,.mfkj-notice-card,.mfkj-t-card,.mfkj-t-note,.mfkj-t-wrap,
  .mfkj-pay-card,.mfkj-pay-price,.mfkj-pay-receiver,.mfkj-pay-field,
  .mfkj-membership-item,.mfkj-dash-panel,.mfkj-daily-question,
  .mfkj-course-level-card,.mfkj-daily-complete,.mfkj-daily-built,
  .mfkj-membership-state,.mfkj-t-stat
){
  color:var(--dpg-text)!important;
  border:1px solid rgba(225,193,233,.30)!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.10),transparent 54%),
    linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72))!important;
  box-shadow:0 16px 38px rgba(12,5,23,.25),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
}
html body #mfKidsStandaloneRoot :is(
  .mfkr-choice:hover,.mfkr-level:hover,.mfkr-letter-card:hover,.mfkr-word-card:hover,
  .mfkr-topic-panel:hover,.mfkr-quiz-panel:hover,.mfkr-a2-story-card:hover,
  .mfkr-c1-story-line:hover,.mfkj-course-level-card:hover,.mfkj-membership-item:hover
){
  border-color:rgba(255,218,174,.58)!important;
  box-shadow:0 20px 44px rgba(12,5,23,.31),0 0 22px rgba(232,185,116,.08),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
html body #mfKidsStandaloneRoot :is(
  .mfkr-heading h1,.mfkr-choice h2,.mfkr-level h2,.mfkr-topic-heading h2,
  .mfkr-quiz-intro h2,.mfkj-pay-card h2,.mfkj-membership-item h4,
  .mfkj-dash-panel h3,.mfkj-course-group-head h2,.mfkj-t-card h2,.mfkj-t-card h3
){color:var(--dpg-text)!important}
html body #mfKidsStandaloneRoot :is(
  .mfkr-heading p,.mfkr-desc,.mfkr-level p,.mfkr-quiz-intro p,.mfkr-footer,
  .mfkr-ar,.mfkr-meaning,.mfkr-example-ar,.mfkr-audio-status,.mfkr-quiz-feedback,
  .mfkr-note,.mfkj-pay-muted,.mfkj-membership-info,.mfkj-dash-panel p,
  .mfkj-t-card p,.mfkj-t-card li,.mfkj-course-ar
){color:var(--dpg-muted)!important}
html body #mfKidsStandaloneRoot :is(
  .mfkr-eyebrow,.mfkr-card-foot,.mfkr-code,.mfkr-count,.mfkr-quiz-badge,
  .mfkj-pay-kicker,.mfkj-membership-code,.mfkj-course-code,.mfkj-t-kicker
){color:var(--dpg-gold)!important}
html body #mfKidsStandaloneRoot :is(
  .mfkr-btn,.mfkr-sound,.mfkr-topic,.mfkr-quiz-option,.mfkr-c1-chip,
  .mfkr-a2-line-sound,.mfkr-back-arrow,.mfkj-lab-btn,.mfkj-lab-entry,
  .mfkj-pay-submit,.mfkj-membership-action,.mfkj-daily-listen,
  .mfkj-daily-option,.mfkj-daily-clear,.mfkj-t-link,.mfkj-t-nav a,
  .mfkj-pay-auth-actions button
){
  color:var(--dpg-gold)!important;
  border:1px solid rgba(255,218,174,.42)!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(82,53,104,.48))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 20px rgba(12,5,23,.16)!important;
}
html body #mfKidsStandaloneRoot :is(
  .mfkr-btn-primary,.mfkj-primary,.mfkj-pay-submit,
  .mfkj-lab-btn:not(.secondary),.mfkj-fast-submit
){
  color:#4b2d46!important;-webkit-text-fill-color:#4b2d46!important;
  border:1px solid rgba(255,237,207,.92)!important;
  background:linear-gradient(135deg,#ffe5bd 0%,#e8b974 55%,#c98248 100%)!important;
  box-shadow:0 10px 24px rgba(35,15,37,.29),inset 0 1px 0 rgba(255,255,255,.62),0 0 20px rgba(244,190,128,.14)!important;
}
html body #mfKidsStandaloneRoot :is(.mfkr-btn:hover,.mfkr-topic:hover,.mfkr-quiz-option:hover,.mfkj-lab-btn:hover,.mfkj-lab-entry:hover){
  transform:translateY(-1px)!important;border-color:rgba(255,237,207,.88)!important;
}
html body #mfKidsStandaloneRoot :is(input,textarea,select,.mfkj-field,.mfkj-t-select,.mfkj-t-area){
  color:var(--dpg-text)!important;
}
html body #mfKidsStandaloneRoot :is(input,textarea,.mfkj-t-area)::placeholder{
  color:rgba(241,221,240,.70)!important;opacity:1!important;
}


/* KIDS LEVEL CARDS — match the homepage grade cards exactly. */
html body #mfKidsStandaloneRoot .mfkr-level{
  color:var(--dpg-text)!important;
  border:1px solid rgba(255,218,174,.38)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(118,80,139,.55),rgba(43,29,62,.82))!important;
  box-shadow:0 18px 38px rgba(12,5,23,.28),inset 0 1px 0 rgba(255,255,255,.15)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body #mfKidsStandaloneRoot .mfkr-level:before{
  content:none!important;
  display:none!important;
}
html body #mfKidsStandaloneRoot .mfkr-level:hover{
  border-color:rgba(255,218,174,.38)!important;
  box-shadow:0 18px 38px rgba(12,5,23,.28),inset 0 1px 0 rgba(255,255,255,.15)!important;
  transform:none!important;
}

/* FIX: Grade subscription modal — isolated layout and reliable mobile scrolling. */
html body #gradeModal.modal{
  position:fixed!important;inset:0!important;z-index:9000!important;
  display:none!important;align-items:flex-start!important;justify-content:center!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
  padding:12px!important;background:rgba(15,8,24,.96)!important;
}
html body #gradeModal.modal.show{display:flex!important}
html body #gradeModal .modalbox{
  position:relative!important;box-sizing:border-box!important;
  width:min(560px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 24px)!important;height:auto!important;
  margin:auto!important;overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;touch-action:pan-y!important;
  padding:clamp(12px,3vw,20px)!important;
}
html body #gradeModal #gradeModalBody .formgrid{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;min-width:0!important;
}
html body #gradeModal #gradeModalBody .formgrid>*{
  grid-column:1/-1!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:100%!important;
}
html body #gradeModal #gradeModalBody .formgrid .card.feature{
  margin:0!important;overflow-wrap:anywhere!important;
}
html body #gradeModal #gradeModalBody input.field{
  display:block!important;min-height:44px!important;padding:10px 12px!important;
}
html body #gradeModal #gradeModalBody input[type=file].field{
  padding:8px!important;font-size:13px!important;
}
html body #gradeModal #gradeModalBody .account-actions{
  display:flex!important;flex-wrap:wrap!important;gap:10px!important;width:100%!important;margin-top:12px!important;
}
html body #gradeModal #gradeModalBody .account-actions button{
  flex:1 1 130px!important;min-width:0!important;max-width:100%!important;
}
html body #gradeModal #subStatus{width:100%!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
@media(max-width:480px){
  html body #gradeModal.modal{padding:8px!important}
  html body #gradeModal .modalbox{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:12px!important;border-radius:18px!important}
  html body #gradeModal #gradeModalBody #domaSenderPhone,
  html body #gradeModal #gradeModalBody #domaReceipt{font-size:14px!important}
}


/* Mr. Fluent A1-C2 interiors — restore the warm beige/cream course look (visual-only). */
html body:has(.course-hero){
  --mf-level-ink:#3f3023!important;--mf-level-muted:#75634e!important;--mf-level-gold:#a77735!important;--mf-level-edge:rgba(154,112,63,.28)!important;
  color:#3f3023!important;background:radial-gradient(ellipse at 12% 0%,rgba(225,196,145,.38),transparent 44%),linear-gradient(145deg,#f5eddf 0%,#eee2cf 55%,#e9dcc8 100%)!important;background-attachment:fixed!important;
}
html body:has(.course-hero) header{
  background:radial-gradient(ellipse at 12% 0%,rgba(238,211,167,.72),transparent 48%),linear-gradient(135deg,#f8f1e6,#eee0ca 62%,#e9dcc8)!important;
  border-bottom:1px solid rgba(126,94,57,.18)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body:has(.course-hero) header h1,html body:has(.course-hero) header p,html body:has(.course-hero) header .ar{color:#493927!important;text-shadow:none!important}
html body:has(.course-hero) .course-hero-card{
  color:#493927!important;border:1px solid #d2b68d!important;border-radius:20px!important;
  background:linear-gradient(145deg,#fffaf1,#f2e5d1 72%,#e8d7be)!important;box-shadow:0 14px 32px rgba(90,66,36,.12),inset 0 1px 0 rgba(255,255,255,.72)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body:has(.course-hero) .course-hero-card h2,html body:has(.course-hero) .course-hero-card p{color:#493927!important}
html body:has(.course-hero) .course-hero-stats div{background:#f7eddf!important;border:1px solid #dfc9a8!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.65)!important}
html body:has(.course-hero) .course-hero-stats b{color:#8b602d!important}html body:has(.course-hero) .course-hero-stats span{color:#78634c!important}
html body:has(.course-hero) header .pill,html body:has(.course-hero) .a1-level{background:#e8d5b8!important;color:#76552d!important;border:1px solid #d0b38b!important}
html body:has(.course-hero) .student-sidebar{background:linear-gradient(155deg,#e8d8c1,#dfccb1)!important;border:1px solid #d0b38b!important;box-shadow:0 12px 30px rgba(90,66,36,.10)!important;color:#493927!important}
html body:has(.course-hero) .sidebar-brand strong,html body:has(.course-hero) .student-sidebar nav button{color:#493927!important}
html body:has(.course-hero) .sidebar-brand span,html body:has(.course-hero) .sidebar-caption,html body:has(.course-hero) .sidebar-foot{color:#76624b!important}
html body:has(.course-hero) .sidebar-brand{border-bottom-color:#d0b38b!important}html body:has(.course-hero) .sidebar-mark{background:linear-gradient(145deg,#d7b98f,#b98a53)!important;color:#fffaf1!important;border:1px solid #c6a274!important;box-shadow:none!important}
html body:has(.course-hero) .student-sidebar nav button{background:rgba(255,250,241,.42)!important;border:1px solid transparent!important;border-radius:10px!important}
html body:has(.course-hero) .student-sidebar nav button:hover,html body:has(.course-hero) .student-sidebar nav button.active{background:#f8eddd!important;border-color:#c9a879!important;color:#725128!important;box-shadow:none!important}
html body:has(.course-hero) .student-sidebar nav button.active{box-shadow:inset 3px 0 #b88645!important}
html body:has(.course-hero) .student-content :is(.stat,.unit,.lesson,.tool,.lab-card,.recording-panel,.mf-dialogue,.quiz-mini,.achievement,.sentence-bank,.sentence-result,.box,.video-card,.track-card,.quiz-shell,.assessment-box,.workspace-card){
  color:#493927!important;border:1px solid #dfc9a8!important;border-radius:15px!important;background:linear-gradient(145deg,#fffaf1,#f0e3d0)!important;box-shadow:0 10px 25px rgba(90,66,36,.09),inset 0 1px 0 rgba(255,255,255,.7)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body:has(.course-hero) .student-content :is(.unit h2,.lesson h3,.lab-card h3,.tool h3,.recording-panel h3){color:#483826!important}
html body:has(.course-hero) .student-content :is(.small,.muted,.desc,.lab-note,.small-print,.student-content p){color:#75624d!important}
html body:has(.course-hero) .student-content .tag{color:#7b582d!important;border:1px solid #d4b88e!important;background:#ead8bc!important;border-radius:999px!important}
html body:has(.course-hero) .student-content .box{background:#f8efdf!important;border-color:#dec8a6!important}
html body:has(.course-hero) .student-content .example{border-left-color:#bd8b4f!important;background:#f3e5cf!important}
html body:has(.course-hero) .student-content :is(.ar,.word-ar){color:#57432d!important}
html body:has(.course-hero) .student-content :is(button,select,.lab-actions button){color:#fffaf1!important;border:1px solid #b88b54!important;border-radius:10px!important;background:linear-gradient(135deg,#b88b54,#95652e)!important;box-shadow:none!important}
html body:has(.course-hero) .student-content button:hover,html body:has(.course-hero) .student-content button.active{border-color:#8b602d!important;background:linear-gradient(135deg,#c89e69,#a77735)!important}
html body:has(.course-hero) .student-content :is(input[type=text],textarea){color:#493927!important;background:#fffaf1!important;border:1px solid #d5bc99!important;border-radius:10px!important}
html body:has(.course-hero) .student-content :is(input,textarea)::placeholder{color:#9a866c!important}
html body:has(.course-hero) .student-content .choices label{color:#493927!important;border:1px solid #dfc9a8!important;border-radius:10px!important;background:#fff8ed!important}
html body:has(.course-hero) .student-content .choices label:hover{border-color:#bd8b4f!important;background:#f3e5cf!important}
html body:has(.course-hero) .student-content .progressbar{background:#e4d2b8!important;border:1px solid #d4b88e!important}
html body:has(.course-hero) .student-content .progressbar span{background:linear-gradient(90deg,#b88b54,#d6b17b,#ead3aa)!important}
html body:has(.course-hero) .student-content .video-card a,html body:has(.course-hero) .student-content .mf-play-dialogue{color:#fffaf1!important;border:1px solid #b88b54!important;background:linear-gradient(135deg,#b88b54,#95652e)!important}
html body:has(.course-hero) .student-content .achievement{color:#805c30!important;border-color:#d4b88e!important;background:#ead8bc!important}
html body:has(.course-hero) footer{color:#76624b!important;border-top-color:#d4b88e!important}


/* A1 first-level remaining legacy surfaces — beige skin (scoped to A1). */
html body:has(.a1-level) .topgrid .stat{
 color:#493927!important;border:1px solid #dfc9a8!important;border-radius:15px!important;
 background:linear-gradient(145deg,#fffaf1,#f0e3d0)!important;box-shadow:0 10px 25px rgba(90,66,36,.09),inset 0 1px 0 rgba(255,255,255,.7)!important;
}
html body:has(.a1-level) .topgrid .stat strong{color:#8b602d!important}
html body:has(.a1-level) .course-top-controls{
 background:linear-gradient(145deg,#f8f1e6,#eee0ca 62%,#e9dcc8)!important;border:1px solid #d2b68d!important;border-radius:0 0 14px 14px!important;box-shadow:0 5px 16px rgba(90,66,36,.08)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body:has(.a1-level) :is(.mobile-menu-toggle,.course-back-arrow){
 color:#76552d!important;background:#ead8bc!important;border:1px solid #d0b38b!important;box-shadow:none!important;
}
html body:has(.a1-level) .student-sidebar{
 color:#493927!important;background:linear-gradient(155deg,#e8d8c1,#dfccb1)!important;border:1px solid #d0b38b!important;box-shadow:0 12px 30px rgba(90,66,36,.10)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body:has(.a1-level) .student-sidebar :is(.sidebar-brand strong,.sidebar-caption,.sidebar-foot,.sidebar-brand span){color:#493927!important}
html body:has(.a1-level) .student-sidebar .sidebar-brand{border-bottom-color:#d0b38b!important}
html body:has(.a1-level) .student-sidebar .sidebar-mark{color:#fffaf1!important;background:linear-gradient(145deg,#d7b98f,#b98a53)!important;border:1px solid #c6a274!important;box-shadow:none!important}
html body:has(.a1-level) .student-sidebar nav{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:0!important}
html body:has(.a1-level) .student-sidebar nav button{
 color:#493927!important;background:rgba(255,250,241,.42)!important;border:1px solid transparent!important;border-radius:10px!important;box-shadow:none!important;
}
html body:has(.a1-level) .student-sidebar nav button:hover,html body:has(.a1-level) .student-sidebar nav button.active{
 color:#725128!important;background:#f8eddd!important;border-color:#c9a879!important;box-shadow:none!important;
}
html body:has(.a1-level) .student-sidebar nav button.active{box-shadow:inset 3px 0 #b88645!important}
html body:has(.a1-level) .student-sidebar .menu-icon{filter:none!important;opacity:.82!important}
html body:has(.a1-level) .mobile-menu-backdrop{background:rgba(70,49,29,.28)!important;backdrop-filter:blur(3px)!important}

/* Mr Fluent A1-C2: question text visibility + remove nested unit header cards.
   Keep actual question/answer surfaces; make the unit wrapper/title unboxed. */
html body:has(.course-hero) .student-content :is(.question,.quiz-question,.question-text,.quiz-question-text,.prompt,.question-prompt,.quiz-prompt,.assessment-question,.quiz-mini-question){
  color:#493927!important;-webkit-text-fill-color:#493927!important;
}
html body:has(.course-hero) .student-content :is(.question,.quiz-question,.question-text,.quiz-question-text,.prompt,.question-prompt,.quiz-prompt,.assessment-question,.quiz-mini-question) :is(p,span,strong,b,label,h2,h3,h4){
  color:#493927!important;-webkit-text-fill-color:#493927!important;
}
html body:has(.course-hero) .student-content :is(.unit,.unit-header,.unit-title,.unit-heading,.unit-intro,.unit-banner,.unit-head,.unit h2,.unit h3){
  border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html body:has(.course-hero) .student-content :is(.unit,.unit-header,.unit-title,.unit-heading,.unit-intro,.unit-banner,.unit-head,.unit h2,.unit h3){
  color:#493927!important;-webkit-text-fill-color:#493927!important;
}
html body:has(.course-hero) .student-content :is(.unit,.unit-header,.unit-title,.unit-heading,.unit-intro,.unit-banner,.unit-head) :is(p,span,strong,b,h2,h3,h4){
  color:#493927!important;-webkit-text-fill-color:#493927!important;
}


/* v75: Fix the A1-C2 menu drawer and question text colors on the deployed course shell. */
html body:has(.course-hero) #mobileCourseMenu{
  background:linear-gradient(155deg,#fffaf1,#f0e2cd)!important;
  background-color:#f5ead9!important;
  background-image:linear-gradient(155deg,#fffaf1,#f0e2cd)!important;
  border:1px solid #d0b38b!important;
  box-shadow:0 18px 44px rgba(90,66,36,.20)!important;
  color:#493927!important;
}
html body:has(.course-hero) #mobileCourseMenu :is(.sidebar-brand strong,.sidebar-brand span,.sidebar-caption,.sidebar-foot,.sidebar-status){
  color:#493927!important;
}
html body:has(.course-hero) #mobileCourseMenu .sidebar-brand{border-bottom-color:#d0b38b!important}
html body:has(.course-hero) #mobileCourseMenu .sidebar-mark{
  background:linear-gradient(145deg,#d7b98f,#b98a53)!important;color:#fffaf1!important;border:1px solid #c6a274!important;
}
html body:has(.course-hero) #mobileCourseMenu nav button{
  color:#493927!important;background:rgba(255,250,241,.65)!important;border:1px solid transparent!important;
}
html body:has(.course-hero) #mobileCourseMenu nav button.active,
html body:has(.course-hero) #mobileCourseMenu nav button:hover,
html body:has(.course-hero) #mobileCourseMenu nav button:focus-visible{
  color:#725128!important;background:#f8eddd!important;border-color:#c9a879!important;box-shadow:none!important;text-shadow:none!important;
}
html body:has(.course-hero) #mobileCourseMenu nav button.active{box-shadow:inset 3px 0 #b88645!important}
html body:has(.course-hero) #mobileCourseMenu .menu-dot{background:#b88645!important}
html body:has(.course-hero) #mobileCourseMenu .mobile-menu-close{color:#76552d!important}

/* Stronger question-text contrast for quiz and assessment content nested in course cards. */
html body:has(.course-hero) .student-content :is(.quiz-mini,.quiz-shell,.assessment-box,.choices,.question,.quiz-question,.question-text,.quiz-question-text,.prompt,.question-prompt,.quiz-prompt,.assessment-question,.quiz-mini-question) :not(button):not(input):not(select):not(textarea){
  color:#493927!important;-webkit-text-fill-color:#493927!important;
}
html body:has(.course-hero) .student-content :is(.quiz-mini,.quiz-shell,.assessment-box,.choices,.question,.quiz-question,.question-text,.quiz-question-text,.prompt,.question-prompt,.quiz-prompt,.assessment-question,.quiz-mini-question) button{
  color:#fffaf1!important;-webkit-text-fill-color:#fffaf1!important;
}

/* v76: Remove purple tile behind the menu logo; beige scrollbar thumb. */
html body:has(.course-hero) #mobileCourseMenu .sidebar-mark{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;color:#8b602d!important;
}
html body:has(.course-hero) #mobileCourseMenu{
  scrollbar-color:#c9a879 #f0e2cd!important;
}
html body:has(.course-hero) #mobileCourseMenu::-webkit-scrollbar-track{
  background:#f0e2cd!important;border-radius:99px!important;
}
html body:has(.course-hero) #mobileCourseMenu::-webkit-scrollbar-thumb{
  background:#c9a879!important;border:2px solid #f0e2cd!important;border-radius:99px!important;
}
html body:has(.course-hero) #mobileCourseMenu::-webkit-scrollbar-thumb:hover{background:#b88645!important}

/* v77: Mr Fluent A1-C2 unified beige canvas, no purple unit strips/cards. */
html body:has(.course-hero){color-scheme:light!important;background:#f4e7d5!important;background-image:none!important;background-color:#f4e7d5!important;color:#493927!important;}
html body:has(.course-hero),html body:has(.course-hero) :is(main,.student-content,#courseView,.course-workspace,.course-shell,.student-page){background:#f4e7d5!important;background-color:#f4e7d5!important;background-image:none!important;color:#493927!important;}
html body:has(.course-hero) .student-content :is(.unit,.unit-header,.unit-title,.unit-heading,.unit-intro,.unit-banner,.unit-head,.unit h2,.unit h3){background:transparent!important;background-color:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;outline:0!important;color:#493927!important;-webkit-text-fill-color:#493927!important;}
html body:has(.course-hero) .student-content :is(.unit,.unit-header,.unit-title,.unit-heading,.unit-intro,.unit-banner,.unit-head) :is(p,span,strong,b,h2,h3,h4){color:#493927!important;-webkit-text-fill-color:#493927!important;}
html body:has(.course-hero) .student-content :is(.box,.video-card,.lab-card,.unit-card,.lesson-card,.practice-card,.content-card){background:transparent!important;background-color:transparent!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important;}
html body:has(.course-hero) .student-content :is(.video-card,.real-video-practice){display:none!important;}

/* v78: remove course-menu scroll indicators and the purple full-width top control band. */
html body:has(.course-hero) .student-sidebar{scrollbar-width:none!important;-ms-overflow-style:none!important;}
html body:has(.course-hero) .student-sidebar::-webkit-scrollbar,
html body:has(.course-hero) .student-sidebar *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
html body:has(.course-hero) .course-top-controls{background:#f4e7d5!important;background-color:#f4e7d5!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
