/* All overrides belong to the Mobile runtime; Desktop retains its styles. */
.mobile-shell-header,.mobile-shell-tabs{display:none}
html[data-ui="mobile"][data-mobile-shell="ready"]{--mobile-header-height:72px;--mobile-tab-height:72px;scroll-padding-top:88px}
html[data-ui="mobile"][data-mobile-shell="ready"] .app,
html[data-ui="mobile"][data-mobile-shell="ready"] .app.sidebar-collapsed,
html[data-ui="mobile"][data-mobile-shell="ready"] .app.context-collapsed,
html[data-ui="mobile"][data-mobile-shell="ready"] .app.sidebar-collapsed.context-collapsed{
  display:block;min-height:100dvh;grid-template-columns:none
}
html[data-ui="mobile"][data-mobile-shell="ready"] .app.hidden{display:none}
html[data-ui="mobile"][data-mobile-shell="ready"] .main{
  width:100%;max-width:760px;min-width:0;margin:0 auto;
  padding:20px 18px calc(var(--mobile-tab-height) + env(safe-area-inset-bottom,0px) + 24px)
}
html[data-ui="mobile"][data-mobile-shell="ready"] .mobile-shell-header{
  position:sticky;top:0;z-index:65;display:flex;align-items:center;gap:12px;
  min-height:calc(var(--mobile-header-height) + env(safe-area-inset-top,0px));
  padding:calc(12px + env(safe-area-inset-top,0px)) max(18px,env(safe-area-inset-right,0px)) 12px max(18px,env(safe-area-inset-left,0px));
  background:rgba(8,17,32,.97);border-bottom:1px solid rgba(77,163,255,.14);backdrop-filter:blur(16px)
}
html[data-ui="mobile"][data-mobile-shell="ready"] .mobile-shell-header[hidden],
html[data-ui="mobile"][data-mobile-shell="ready"] .mobile-shell-tabs[hidden],
html[data-ui="mobile"][data-mobile-shell="ready"] .mobile-shell-back[hidden]{display:none}
.mobile-shell-heading{flex:1;min-width:0;display:grid;gap:3px}
.mobile-shell-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#78b8ff;text-transform:uppercase}
.mobile-shell-title{font-size:18px;font-weight:750;line-height:1.25;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mobile-shell-subtitle{font-size:11px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mobile-shell-back{width:44px;height:44px;flex:0 0 44px;border-radius:14px;border:1px solid rgba(77,163,255,.16);background:var(--panel2);color:var(--text);cursor:pointer;font-size:30px;line-height:1}
.mobile-shell-actions{flex:0 0 auto;display:flex;align-items:center}
html[data-ui="mobile"][data-mobile-shell="ready"] .mobile-shell-actions #contextMobileBtn{
  display:grid;position:relative;top:auto;right:auto;left:auto;z-index:auto;box-shadow:none;
  width:44px;height:44px;border-radius:14px
}
html[data-ui="mobile"][data-mobile-shell="ready"] #mobileMenuBtn{display:none}
html[data-ui="mobile"][data-mobile-shell="ready"] .mobile-shell-tabs{
  position:fixed;bottom:0;left:0;right:0;z-index:70;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  padding:8px max(8px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
  background:rgba(8,17,32,.97);border-top:1px solid rgba(77,163,255,.18);backdrop-filter:blur(16px)
}
.mobile-shell-tabs button{
  display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;
  min-height:52px;min-width:0;max-width:124px;width:100%;margin:auto;padding:7px 2px;
  border:0;border-radius:14px;background:transparent;color:#9eacc8;font-size:10px;font-weight:650;cursor:pointer
}
.mobile-shell-tabs .lu-icon{width:21px;height:21px;flex:0 0 21px}
.mobile-shell-tabs button.active{color:#f4f7ff;background:linear-gradient(145deg,rgba(77,163,255,.19),rgba(143,124,255,.12))}
.mobile-more-icon{height:21px;line-height:16px;letter-spacing:2px;font-size:22px}
.mobile-shell-back:focus-visible,.mobile-shell-tabs button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
html[data-ui="mobile"][data-mobile-shell="ready"] .sidebar,
html[data-ui="mobile"][data-mobile-shell="ready"] .app.sidebar-collapsed .sidebar{
  position:fixed;left:0;top:0;bottom:0;width:min(300px,88vw);height:100dvh;z-index:2500;
  padding:calc(20px + env(safe-area-inset-top,0px)) 16px calc(20px + env(safe-area-inset-bottom,0px));
  transform:translateX(-105%);box-shadow:var(--shadow);overflow:auto
}
html[data-ui="mobile"][data-mobile-shell="ready"] .app.mobile-nav-open .sidebar{transform:translateX(0)}
html[data-ui="mobile"][data-mobile-shell="ready"] .sidebar-toggle{display:none}
html[data-ui="mobile"][data-mobile-shell="ready"] .sidebar .nav,
html[data-ui="mobile"][data-mobile-shell="ready"] .app.sidebar-collapsed .sidebar .nav{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
html[data-ui="mobile"][data-mobile-shell="ready"] .sidebar .nav button,
html[data-ui="mobile"][data-mobile-shell="ready"] .app.sidebar-collapsed .sidebar .nav button{
  font-size:14px!important;padding:13px 12px!important;justify-content:flex-start!important;white-space:normal!important;min-height:46px
}
html[data-ui="mobile"][data-mobile-shell="ready"] .app.sidebar-collapsed .sidebar-brand-copy{display:block!important}
html[data-ui="mobile"][data-mobile-shell="ready"] .app.sidebar-collapsed .sidebar-brand-row{justify-content:flex-start}
html[data-ui="mobile"][data-mobile-shell="ready"] .app.sidebar-collapsed .sidebar .nav button>span:not(.lu-icon){display:inline!important}
html[data-ui="mobile"][data-mobile-shell="ready"] .sidebar .nav button.hidden{display:none!important}
html[data-ui="mobile"][data-mobile-shell="ready"] .sidebar-backdrop{position:fixed;inset:0;z-index:2450;background:rgba(2,6,15,.62);backdrop-filter:blur(3px)}
html[data-ui="mobile"][data-mobile-shell="ready"] .app.mobile-nav-open .sidebar-backdrop{display:block}
html[data-ui="mobile"][data-mobile-shell="ready"] .context-panel{
  display:flex!important;flex-direction:column;position:fixed;right:0;top:0;
  height:100dvh;width:min(360px,94vw);z-index:2500;transform:translateX(105%);
  padding:calc(18px + env(safe-area-inset-top,0px)) 14px calc(18px + env(safe-area-inset-bottom,0px));
  background:#081120;border-left:1px solid rgba(77,163,255,.16);overflow:auto
}
html[data-ui="mobile"][data-mobile-shell="ready"] .app.context-mobile-open .context-panel{transform:translateX(0)}
html[data-ui="mobile"][data-mobile-shell="ready"] .context-panel .context-body{display:flex!important;height:auto!important;min-height:0;flex:1;flex-direction:column;overflow:visible;gap:10px}
html[data-ui="mobile"][data-mobile-shell="ready"] .context-panel .context-head .eyebrow{display:block!important}
html[data-ui="mobile"][data-mobile-shell="ready"] .context-toggle{display:block;transform:rotate(180deg)}
html[data-ui="mobile"][data-mobile-shell="ready"] .context-backdrop{position:fixed;inset:0;z-index:2450;background:rgba(2,6,15,.62);backdrop-filter:blur(3px)}
html[data-ui="mobile"][data-mobile-shell="ready"] .app.context-mobile-open .context-backdrop{display:block}
html[data-ui="mobile"][data-mobile-shell="ready"] #course #nextStepPanel{display:block}
html[data-ui="mobile"][data-mobile-shell="ready"] .grid,
html[data-ui="mobile"][data-mobile-shell="ready"] .catalog-group-courses{grid-template-columns:1fr}
html[data-ui="mobile"][data-mobile-shell="ready"] .section-head{align-items:flex-start;gap:12px;flex-wrap:wrap}
html[data-ui="mobile"][data-mobile-shell="ready"] .section-head h3{font-size:21px}
html[data-ui="mobile"][data-mobile-shell="ready"] .compact-dashboard{padding:20px;margin-bottom:26px}
html[data-ui="mobile"][data-mobile-shell="ready"] #dashboardGreeting{font-size:24px;line-height:1.3;letter-spacing:-.025em}
html[data-ui="mobile"][data-mobile-shell="ready"] #home .compact-dashboard-head{align-items:stretch;flex-direction:column;gap:14px}
html[data-ui="mobile"][data-mobile-shell="ready"] .compact-metrics{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-ui="mobile"][data-mobile-shell="ready"] .compact-metric small{font-size:10px;line-height:1.35}
html[data-ui="mobile"][data-mobile-shell="ready"] .compact-metric b{font-size:21px}
html[data-ui="mobile"][data-mobile-shell="ready"] .level-focus strong{font-size:40px}
html[data-ui="mobile"][data-mobile-shell="ready"] .course-card{min-height:0;padding:20px;cursor:pointer}
html[data-ui="mobile"][data-mobile-shell="ready"] .course-card h4{font-size:19px;line-height:1.35}
html[data-ui="mobile"][data-mobile-shell="ready"] .course-card p{line-height:1.55}
html[data-ui="mobile"][data-mobile-shell="ready"] .compact-progress{padding:18px}
html[data-ui="mobile"][data-mobile-shell="ready"] .compact-progress-top{align-items:flex-start;gap:16px}
html[data-ui="mobile"][data-mobile-shell="ready"] .compact-progress-main h2{font-size:24px;line-height:1.3;overflow-wrap:anywhere}
html[data-ui="mobile"][data-mobile-shell="ready"] .compact-course-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-ui="mobile"][data-mobile-shell="ready"] .progress-breakdown{grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-ui="mobile"][data-mobile-shell="ready"] .progress-part small{font-size:10px;line-height:1.3}
html[data-ui="mobile"][data-mobile-shell="ready"] .journey-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-ui="mobile"][data-mobile-shell="ready"] .journey-step:last-child{grid-column:1/-1}
html[data-ui="mobile"][data-mobile-shell="ready"] .topic{padding:18px}
html[data-ui="mobile"][data-mobile-shell="ready"] .topic h4{font-size:18px;line-height:1.35}
html[data-ui="mobile"][data-mobile-shell="ready"] .topic p{font-size:13px;line-height:1.5}
html[data-ui="mobile"][data-mobile-shell="ready"] .btn{min-height:44px}
html[data-ui="mobile"][data-mobile-shell="ready"] input,html[data-ui="mobile"][data-mobile-shell="ready"] select,html[data-ui="mobile"][data-mobile-shell="ready"] textarea{font-size:16px}
html[data-ui="mobile"][data-mobile-shell="ready"] .admin-grid,html[data-ui="mobile"][data-mobile-shell="ready"] .evolution-grid,
html[data-ui="mobile"][data-mobile-shell="ready"] .request-form-grid,html[data-ui="mobile"][data-mobile-shell="ready"] .admin-support-layout{grid-template-columns:1fr}
html[data-ui="mobile"][data-mobile-shell="ready"] #review .admin-card{padding:20px;min-height:0}
html[data-ui="mobile"][data-mobile-shell="ready"] .app[data-mobile-module="1"] #course>:not(#moduleArea){display:none!important}
html[data-ui="mobile"][data-mobile-shell="ready"] .app[data-mobile-module="1"] #moduleArea{margin-top:0!important}
html[data-ui="mobile"][data-mobile-shell="ready"] .module-detail{padding:22px 20px}
html[data-ui="mobile"][data-mobile-shell="ready"] .module-detail h2{font-size:25px;line-height:1.3;overflow-wrap:anywhere}
html[data-ui="mobile"][data-mobile-shell="ready"] .module-detail p,html[data-ui="mobile"][data-mobile-shell="ready"] .module-detail li{font-size:16px;line-height:1.8}
html[data-ui="mobile"][data-mobile-shell="ready"] .module-detail li{margin-bottom:12px}
html[data-ui="mobile"][data-mobile-shell="ready"] .module-detail ul{padding-left:21px}
html[data-ui="mobile"][data-mobile-shell="ready"] .remember{font-size:15px;line-height:1.7;padding:18px}
html[data-ui="mobile"][data-mobile-shell="ready"] .module-detail .actions{display:grid;grid-template-columns:1fr;gap:10px}
html[data-ui="mobile"][data-mobile-shell="ready"] .module-detail .actions .btn{width:100%}
html[data-ui="mobile"][data-mobile-shell="ready"] .app[data-mobile-quiz="1"] .main{padding-bottom:28px}
html[data-ui="mobile"][data-mobile-shell="ready"] .question-card{padding:22px 18px}
html[data-ui="mobile"][data-mobile-shell="ready"] .question-title{font-size:18px;line-height:1.6}
html[data-ui="mobile"][data-mobile-shell="ready"] .option{min-height:52px;padding:15px;line-height:1.5}
html[data-ui="mobile"][data-mobile-shell="ready"] .footer-note{font-size:10px;margin-top:28px}
@media(max-width:420px){
  html[data-ui="mobile"][data-mobile-shell="ready"] .main{padding-left:14px;padding-right:14px}
  html[data-ui="mobile"][data-mobile-shell="ready"] .compact-progress-top{flex-direction:column}
  html[data-ui="mobile"][data-mobile-shell="ready"] .mobile-shell-title{font-size:16px}
}

.mobile-drawer-close{display:none}
html[data-ui="mobile"][data-mobile-shell="ready"] .mobile-drawer-close{display:grid;place-items:center;position:absolute;right:12px;top:calc(12px + env(safe-area-inset-top,0px));width:44px;height:44px;border:1px solid var(--border);border-radius:12px;background:var(--panel2);color:var(--text);font-size:26px;cursor:pointer}
html[data-ui="mobile"][data-mobile-shell="ready"] .sidebar .brand{padding-right:46px}
html[data-ui="mobile"][data-mobile-shell="ready"] .question-card>h3{font-size:18px;line-height:1.6}
