:root {
  --sl-bg: #f4f7fb;
  --sl-surface: #ffffff;
  --sl-surface-soft: #eef4ff;
  --sl-text: #152033;
  --sl-muted: #6f7b8f;
  --sl-line: #e2e8f1;
  --sl-primary: #6558f5;
  --sl-primary-dark: #4c3fe0;
  --sl-accent: #20b486;
  --sl-warning: #f59e0b;
  --sl-danger: #ef5b6c;
  --sl-radius: 20px;
  --sl-shadow: 0 14px 40px rgba(29, 42, 68, .10);
}

html { background: var(--sl-bg); }
body.fix-top-nav.home {
  background: radial-gradient(circle at 5% 0, #ebe9ff 0, transparent 30rem), var(--sl-bg) !important;
  color: var(--sl-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  min-height: 100vh;
}
body * { -webkit-font-smoothing: antialiased; }
a, button, input, textarea, select { transition: .2s ease; }
.container { width: min(1240px, calc(100% - 40px)) !important; }

/* Navigation */
.header-row { position: sticky !important; top: 0; z-index: 1000; }
.top-nav-row {
  min-height: 68px !important;
  background: rgba(255,255,255,.90) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(226,232,241,.9) !important;
  box-shadow: 0 8px 28px rgba(31,42,68,.06) !important;
  backdrop-filter: blur(18px);
}
.top-nav-row--inner { min-height: 68px; display: flex; align-items: center; gap: 4px; }
.top-nav-row .nav-item,
.top-nav-row .dropdown-button {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 2px !important;
  padding: 10px 13px !important;
  color: var(--sl-muted) !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
}
.top-nav-row .nav-item:hover,
.top-nav-row .dropdown-button:hover { color: var(--sl-primary) !important; background: #f0efff !important; }
.top-nav-row .user-profile-humbnail img { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; }
.top-nav-row .dropdown-menu,
.mbl-dropdown-menu,
.dropdown-panel {
  border: 1px solid var(--sl-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--sl-shadow) !important;
  overflow: hidden;
}
.search-hint-form .form { border-radius: 14px !important; overflow: hidden; box-shadow: var(--sl-shadow); }
.search-hint-input { min-height: 46px !important; border: 1px solid var(--sl-line) !important; }
.mobile-menu-button { width: 42px !important; height: 42px !important; border-radius: 12px; background: #f0efff !important; }
.mobile-menu-button .line { background: var(--sl-primary) !important; }
.mobile-menu-row { background: rgba(255,255,255,.97) !important; box-shadow: var(--sl-shadow); }
.mobile-menu .menu-item { border-bottom: 1px solid var(--sl-line) !important; }
.mobile-menu .menu-item > a { padding: 16px 10px !important; color: var(--sl-text) !important; }

/* Hero */
.brand-row {
  min-height: clamp(150px, 24vw, 280px) !important;
  display: grid !important;
  align-items: center;
  background-color: #27215c !important;
  background-position: center !important;
  background-size: cover !important;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  box-shadow: inset 0 -80px 100px rgba(16, 14, 49, .18);
}
.brand-logo { max-height: 112px !important; max-width: min(420px, 76vw) !important; filter: drop-shadow(0 8px 20px rgba(0,0,0,.16)); }
.site-content { min-height: calc(100vh - 150px); }

/* Sections */
.folders-row, .materials-row, .lesson-row { padding: 36px 0 !important; }
.folders-row + .materials-row { padding-top: 4px !important; }
.folders-row .row, .materials-row .row { display: flex; flex-wrap: wrap; row-gap: 24px; }
.folders-row [class*="col-"], .materials-row [class*="col-"] { float: none !important; }

/* Course cards: replace the legacy folder illustration with a clean card */
.folder-wrap {
  min-height: 240px !important;
  height: 100% !important;
  display: block !important;
  position: relative;
  padding: 0 !important;
  background: linear-gradient(145deg, #ffffff, #f7f8ff) !important;
  border: 1px solid rgba(226,232,241,.9) !important;
  border-radius: var(--sl-radius) !important;
  box-shadow: 0 10px 30px rgba(31,42,68,.08) !important;
  overflow: hidden !important;
  transform: translateY(0);
}
.folder-wrap:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(70,62,180,.16) !important; }
.folder-wrap:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(90deg, var(--sl-primary), #8c7cff, #29c6a0);
  z-index: 6;
}
.folder-wrap svg, .folder-wrap .files-group { display: none !important; }
.folder-wrap .folder-content {
  position: relative !important;
  z-index: 5 !important;
  min-height: 240px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 26px 24px !important;
  color: var(--sl-text) !important;
}
.folder-wrap .title {
  margin: 0 !important;
  color: var(--sl-text) !important;
  font-size: 22px !important;
  line-height: 1.28 !important;
  font-weight: 750 !important;
  text-shadow: none !important;
}
.folder-wrap .label { top: 22px !important; right: 18px !important; left: auto !important; z-index: 8; border-radius: 999px !important; padding: 6px 10px !important; }
.folder-wrap .bottom-icons { position: relative !important; inset: auto !important; color: var(--sl-muted) !important; }
.folder-wrap .folder-icon { color: var(--sl-muted) !important; }
.course-progress-wrap { display: flex; align-items: center; gap: 10px; }
.course-progress-wrap .progress { height: 8px !important; flex: 1; margin: 0 !important; background: #e7eaf4 !important; border-radius: 99px !important; box-shadow: none !important; overflow: hidden; }
.course-progress-wrap .progress-bar { background: linear-gradient(90deg, var(--sl-primary), #8a7dff) !important; box-shadow: none !important; }
.course-progress-wrap .progress-count { color: var(--sl-primary) !important; font-weight: 750; }

/* Lesson list */
.material-item {
  height: 100%;
  margin: 0 !important;
  background: var(--sl-surface) !important;
  border: 1px solid var(--sl-line) !important;
  border-radius: var(--sl-radius) !important;
  box-shadow: 0 9px 28px rgba(31,42,68,.07) !important;
  overflow: hidden !important;
}
.material-item:hover { border-color: #cbc6ff !important; box-shadow: 0 16px 38px rgba(70,62,180,.13) !important; transform: translateY(-3px); }
.material-item .flex-wrap { display: grid !important; grid-template-columns: minmax(160px, 38%) 1fr; min-height: 210px; color: inherit !important; }
.material-item .col-thumb, .material-item .col-content { width: auto !important; float: none !important; }
.material-item .thumbnail-wrap { height: 100% !important; min-height: 210px; background-color: #ddd9ff !important; background-size: cover !important; }
.material-item .col-content { display: flex; flex-direction: column; padding: 25px !important; background: #fff !important; }
.material-item .content-wrap { flex: 1; }
.material-item .title { color: var(--sl-text) !important; font-size: 20px !important; font-weight: 750 !important; line-height: 1.32 !important; }
.material-item .description { color: var(--sl-muted) !important; font-size: 14px !important; line-height: 1.6 !important; }
.material-item .content-overlay { position: static !important; opacity: 1 !important; background: transparent !important; text-align: left !important; }
.doc-label { display: inline-flex !important; padding: 7px 11px !important; border-radius: 999px !important; font-size: 12px !important; font-weight: 700 !important; text-transform: none !important; }
.doc-label.opened { color: #087a5b !important; background: #ddf8ef !important; }
.doc-label.locked { color: #8a5c07 !important; background: #fff2d2 !important; }
.material-item.material-done { border-color: #b9eadb !important; }
.material-item.material-inaccessible { opacity: .78; }
.m-icon, .status-icon, .icons-bottom .status { border-radius: 9px !important; backdrop-filter: blur(8px); }

/* Lesson */
.lesson-tabs {
  background: var(--sl-surface) !important;
  border: 1px solid var(--sl-line) !important;
  border-radius: 24px !important;
  box-shadow: var(--sl-shadow) !important;
  overflow: hidden;
}
.lesson-tabs > .nav-tabs { display: flex; padding: 8px !important; background: #f5f6fb !important; border: 0 !important; gap: 6px; }
.lesson-tabs > .nav-tabs > li { flex: 1; margin: 0 !important; }
.lesson-tabs > .nav-tabs > li > a { margin: 0 !important; padding: 13px 16px !important; border: 0 !important; border-radius: 13px !important; color: var(--sl-muted) !important; }
.lesson-tabs > .nav-tabs > li.active > a { color: #fff !important; background: var(--sl-primary) !important; box-shadow: 0 7px 18px rgba(101,88,245,.25); }
.lesson-tabs .tab-content { padding: clamp(20px, 4vw, 46px) !important; }
.wpm-content-text { color: var(--sl-text); font-size: 16px; line-height: 1.75; }
.wpm-content-text img { max-width: 100%; height: auto; border-radius: 14px; }
.wpm-content-text iframe, .wpm-content-text video { max-width: 100%; border-radius: 16px; }
.question-answer-row .question,
.question-answer-row .answer,
.discussion-row { border: 1px solid var(--sl-line) !important; border-radius: 18px !important; background: #fff !important; padding: 22px !important; }
.question-answer-row .question { background: #f3f1ff !important; }
.reading-status-row {
  margin-top: 22px !important;
  padding: 16px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #fff !important;
  border: 1px solid var(--sl-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 25px rgba(31,42,68,.06);
}
.reading-status-row .right-wrap { text-align: right; }
.reading-status-row a, .status-toggle-wrap { color: var(--sl-primary) !important; }

/* Forms and comments */
.form-control, input[type="text"], input[type="password"], input[type="email"], textarea, select {
  min-height: 46px;
  color: var(--sl-text) !important;
  background: #fff !important;
  border: 1px solid #dce2ec !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.form-control:focus, input:focus, textarea:focus, select:focus { border-color: var(--sl-primary) !important; box-shadow: 0 0 0 4px rgba(101,88,245,.11) !important; outline: none !important; }
.mbr-btn, .btn-primary, .btn-green, button[type="submit"] {
  min-height: 44px;
  padding: 11px 18px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--sl-primary), var(--sl-primary-dark)) !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(101,88,245,.22) !important;
}
.mbr-btn:hover, .btn-primary:hover, .btn-green:hover, button[type="submit"]:hover { transform: translateY(-1px); filter: brightness(1.05); }
.wpm-comments-wrap { margin-top: 24px; padding: 26px !important; background: #fff; border: 1px solid var(--sl-line); border-radius: 22px; box-shadow: var(--sl-shadow); }
.comment-list .comment { border-color: var(--sl-line) !important; }

/* Login/restricted */
.restricted-row, .login-row { padding: 52px 0 !important; }
.wpm-login-form, .wpm-register-form { color: var(--sl-text); }
.dropdown-panel .wpm-login-form, .dropdown-panel .wpm-register-form { padding: 24px !important; }
.modal-content { border: 0 !important; border-radius: 20px !important; box-shadow: var(--sl-shadow) !important; overflow: hidden; }

/* Footer */
.footer-row { margin-top: 30px; padding: 30px 0 !important; background: #17162d !important; color: #bfc3d4 !important; }
.footer-row a, .footer-user-agreement a { color: #dcd9ff !important; }
.footer-user-agreement { padding: 0 20px 22px; text-align: center; background: #17162d !important; color: #73798c; }

@media (max-width: 991px) {
  .container { width: min(100% - 28px, 760px) !important; }
  .brand-row { border-radius: 0 0 24px 24px; }
  .folders-row, .materials-row, .lesson-row { padding: 24px 0 !important; }
}

@media (max-width: 767px) {
  .container { width: calc(100% - 22px) !important; }
  .top-nav-row, .top-nav-row--inner { min-height: 58px !important; }
  .folder-wrap, .folder-wrap .folder-content { min-height: 188px !important; }
  .folder-wrap .folder-content { padding: 28px 20px 20px !important; }
  .folder-wrap .title { font-size: 19px !important; }
  .material-item .flex-wrap { grid-template-columns: 112px 1fr; min-height: 176px; }
  .material-item .thumbnail-wrap { min-height: 176px; }
  .material-item .col-content { padding: 18px !important; }
  .material-item .title { font-size: 17px !important; }
  .material-item .description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .lesson-tabs .tab-content { padding: 20px 16px !important; }
  .lesson-tabs > .nav-tabs .tab-label { display: inline !important; font-size: 12px; }
  .reading-status-row { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .reading-status-row .status-wrap, .reading-status-row .progress-wrap { grid-column: 1 / -1; }
  .reading-status-row .right-wrap { grid-column: 2; grid-row: 1; }
  .arrow-label { display: none; }
  .wpm-comments-wrap { padding: 17px !important; }
}

@media (max-width: 420px) {
  .material-item .flex-wrap { display: block !important; }
  .material-item .thumbnail-wrap { min-height: 165px; }
  .material-item .col-content { min-height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Smart Leo LMS application shell */
body.logged-in.fix-top-nav.home { padding-left: 248px; }
body.logged-in .header-row { left: 248px; width: calc(100% - 248px); }
body.logged-in .top-nav-row { background: rgba(248,250,253,.86) !important; }
body.logged-in .top-nav-row--inner { justify-content: flex-end; }
body.logged-in .top-nav-row--inner > .nav-item:first-of-type,
body.logged-in .top-nav-row--inner > a[href*="edit.php?post_type=wpm-page"] { display: none !important; }

.smartleo-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1200;
  width: 248px;
  display: flex;
  flex-direction: column;
  padding: 20px 14px 16px;
  color: #dfe3f6;
  background: linear-gradient(180deg, #171a2f 0%, #111426 100%);
  border-right: 1px solid rgba(255,255,255,.07);
  box-shadow: 12px 0 40px rgba(20,25,49,.08);
}
.smartleo-sidebar__brand { display: flex; align-items: center; gap: 11px; min-height: 54px; margin: 0 5px 24px; color: #fff !important; text-decoration: none !important; }
.smartleo-sidebar__mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,#7668ff,#4f43d9); box-shadow: 0 8px 22px rgba(100,88,245,.35); font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.smartleo-sidebar__name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.smartleo-sidebar__nav { display: flex; flex-direction: column; gap: 5px; }
.smartleo-sidebar__caption { margin: 20px 12px 7px; color: #737b99; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.smartleo-sidebar__link { min-height: 46px; display: flex; align-items: center; gap: 13px; padding: 10px 13px; border-radius: 13px; color: #9ca4c2 !important; font-size: 14px; font-weight: 650; text-decoration: none !important; }
.smartleo-sidebar__link > [class*="icon-"] { width: 20px; color: #7c85a8; font-size: 18px; text-align: center; }
.smartleo-sidebar__link:hover, .smartleo-sidebar__link.is-active { color: #fff !important; background: rgba(118,104,255,.15); }
.smartleo-sidebar__link:hover > [class*="icon-"], .smartleo-sidebar__link.is-active > [class*="icon-"] { color: #958aff; }
.smartleo-sidebar__user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 13px 10px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.smartleo-sidebar__avatar img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.smartleo-sidebar__user-info { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.smartleo-sidebar__user-info strong { max-width: 150px; overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.smartleo-sidebar__user-info a { margin-top: 5px; color: #7e87a8 !important; font-size: 11px; }
.smartleo-mobile-dock { display: none; }

/* Compact app header and dashboard */
body.logged-in .brand-row { display: none !important; }
body.logged-in .site-content { min-height: calc(100vh - 68px); }
.smartleo-welcome { padding: 30px 0 8px; }
.smartleo-welcome__card { position: relative; min-height: 244px; display: flex; align-items: center; overflow: hidden; padding: clamp(28px,4vw,48px); color: #fff; background: linear-gradient(125deg,#5146d9 0%,#6e60ef 55%,#8e82ff 100%); border-radius: 28px; box-shadow: 0 18px 45px rgba(79,67,217,.24); }
.smartleo-welcome__content { position: relative; z-index: 3; max-width: 660px; }
.smartleo-welcome__eyebrow { display: inline-flex; margin-bottom: 10px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.smartleo-welcome h1 { margin: 0 0 10px; color: #fff; font-size: clamp(27px,3vw,40px); line-height: 1.12; font-weight: 850; letter-spacing: -.035em; }
.smartleo-welcome p { max-width: 560px; margin: 0 0 22px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.55; }
.smartleo-welcome__button { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; color: #4339c4 !important; background: #fff; border-radius: 12px; box-shadow: 0 8px 25px rgba(33,28,99,.18); font-size: 13px; font-weight: 750; text-decoration: none !important; }
.smartleo-welcome__button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(33,28,99,.24); }
.smartleo-welcome__visual { position: absolute; inset: 0 0 0 auto; width: 34%; }
.smartleo-welcome__orb { position: absolute; display: block; border-radius: 50%; background: rgba(255,255,255,.11); }
.smartleo-welcome__orb--one { width: 230px; height: 230px; right: -45px; top: -60px; }
.smartleo-welcome__orb--two { width: 150px; height: 150px; right: 120px; bottom: -75px; }
.smartleo-welcome__book { position: absolute; right: 70px; top: 72px; width: 94px; height: 94px; display: grid; place-items: center; color: #6759e6; background: rgba(255,255,255,.94); border-radius: 28px; box-shadow: 0 20px 40px rgba(34,28,109,.25); transform: rotate(-7deg); font-size: 44px; }
.page-title-row { padding: 28px 0 4px !important; background: transparent !important; }
.page-title-row .text-center { text-align: left !important; }
.page-title-row .page-title { margin: 0 !important; color: var(--sl-text) !important; font-size: clamp(24px,3vw,34px) !important; font-weight: 820 !important; letter-spacing: -.025em; }
.page-title-row .page-description { color: var(--sl-muted); }
.breadcrumbs-row { padding: 18px 0 0 !important; background: transparent !important; }
.breadcrumbs-wrap { min-height: 44px; padding: 9px 13px !important; background: rgba(255,255,255,.76) !important; border: 1px solid var(--sl-line) !important; border-radius: 13px !important; }

/* Purpose-built course cards */
.folders-row .row { row-gap: 26px; }
.smartleo-course-card { height: 100%; }
.smartleo-course-card__link { height: 100%; display: flex; flex-direction: column; overflow: hidden; color: inherit !important; background: #fff; border: 1px solid #e5e9f1; border-radius: 21px; box-shadow: 0 8px 26px rgba(33,42,68,.07); text-decoration: none !important; transform: translateY(0); }
.smartleo-course-card__link:hover { border-color: #cfcaff; box-shadow: 0 18px 42px rgba(62,54,157,.15); transform: translateY(-5px); }
.smartleo-course-card__cover { position: relative; height: 156px; overflow: hidden; background: linear-gradient(135deg,#dedaff,#f1efff 58%,#d9f8ef); background-position: center; background-size: cover; }
.smartleo-course-card__cover:after { content:""; position:absolute; inset:0; background: linear-gradient(180deg,rgba(18,21,40,.02),rgba(18,21,40,.30)); }
.smartleo-course-card__cover:not(.has-image):before { content:""; position:absolute; width:150px; height:150px; right:-28px; top:-42px; border:32px solid rgba(101,88,245,.12); border-radius:50%; }
.smartleo-course-card__type, .smartleo-course-card__label { position: absolute; top: 14px; z-index: 2; min-height: 29px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 9px; font-size: 11px; font-weight: 750; }
.smartleo-course-card__type { left: 14px; color: #fff; background: rgba(20,24,46,.54); backdrop-filter: blur(8px); }
.smartleo-course-card__label { right: 14px; }
.smartleo-course-card__arrow { position:absolute; right:15px; bottom:14px; z-index:2; width:38px; height:38px; display:grid; place-items:center; color:#5247d5; background:#fff; border-radius:12px; box-shadow:0 8px 22px rgba(23,25,55,.18); font-size:20px; }
.smartleo-course-card__body { flex:1; display:flex; flex-direction:column; padding:20px; }
.smartleo-course-card__body h2 { margin:0 0 8px; color:var(--sl-text); font-size:19px; line-height:1.3; font-weight:800; letter-spacing:-.015em; }
.smartleo-course-card__body p { min-height:42px; margin:0 0 16px; color:var(--sl-muted); font-size:13px; line-height:1.55; }
.smartleo-course-card__meta { min-height:24px; display:flex; align-items:center; gap:12px; margin-top:auto; color:#9199ab; font-size:12px; }
.smartleo-course-card__meta > span { display:inline-flex; align-items:center; gap:5px; }
.smartleo-course-card__status { margin-left:auto; color:var(--sl-primary); }
.smartleo-course-card__progress { margin-top:14px; padding-top:13px; border-top:1px solid #edf0f5; }
.smartleo-course-card__progress-head { display:flex; justify-content:space-between; margin-bottom:7px; color:#8a92a5; font-size:11px; }
.smartleo-course-card__progress-head strong { color:var(--sl-primary); }
.smartleo-course-card__track { height:7px; overflow:hidden; background:#eceefa; border-radius:99px; }
.smartleo-course-card__track span { height:100%; display:block; background:linear-gradient(90deg,#6558f5,#8d80ff); border-radius:inherit; }

/* Cleaner lesson list and content */
.materials-row .row { row-gap: 20px; }
.material-item .thumbnail-wrap:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 50%,rgba(12,16,35,.36)); pointer-events:none; }
.material-item .icons-top, .material-item .icons-bottom { z-index:2; }
.lesson-tabs { border-radius: 22px !important; }
.lesson-tabs .tab-content { min-height: 300px; }
.reading-status-row { position: sticky; bottom: 18px; z-index: 30; backdrop-filter: blur(14px); background: rgba(255,255,255,.92) !important; }
.footer-row { margin-left: 0 !important; }

@media (max-width: 1199px) {
  body.logged-in.fix-top-nav.home { padding-left: 214px; }
  body.logged-in .header-row { left: 214px; width: calc(100% - 214px); }
  .smartleo-sidebar { width: 214px; }
  .smartleo-sidebar__name { font-size: 17px; }
  .smartleo-welcome__visual { opacity: .8; }
}

@media (max-width: 991px) {
  body.logged-in.fix-top-nav.home { padding-left: 0; padding-bottom: 76px; }
  body.logged-in .header-row { left: 0; width: 100%; }
  .smartleo-sidebar { display: none; }
  .smartleo-mobile-dock { position: fixed; left: 12px; right: 12px; bottom: max(10px,env(safe-area-inset-bottom)); z-index: 1300; min-height: 62px; display:flex; align-items:center; justify-content:space-around; padding:7px 8px; background:rgba(24,27,48,.95); border:1px solid rgba(255,255,255,.09); border-radius:19px; box-shadow:0 16px 45px rgba(17,20,38,.30); backdrop-filter:blur(18px); }
  .smartleo-mobile-dock a { min-width:64px; display:flex; flex-direction:column; align-items:center; gap:4px; padding:6px 8px; color:#aeb5ce !important; border-radius:12px; text-decoration:none !important; }
  .smartleo-mobile-dock a:hover { color:#fff !important; background:rgba(118,104,255,.19); }
  .smartleo-mobile-dock [class*="icon-"] { font-size:19px; }
  .smartleo-mobile-dock small { font-size:10px; font-weight:650; }
  .smartleo-welcome { padding-top: 18px; }
}

@media (max-width: 767px) {
  body.logged-in .top-nav-row--inner { justify-content:space-between; }
  .smartleo-welcome__card { min-height:220px; padding:26px 22px; border-radius:22px; }
  .smartleo-welcome__content { max-width:100%; }
  .smartleo-welcome__content p { max-width:85%; font-size:13px; }
  .smartleo-welcome__visual { width:32%; opacity:.45; }
  .smartleo-welcome__book { right:18px; top:84px; width:68px; height:68px; border-radius:21px; font-size:31px; }
  .page-title-row { padding-top:22px !important; }
  .smartleo-course-card__cover { height:142px; }
  .folders-row [class*="col-"], .materials-row [class*="col-"] { width:100% !important; }
  .reading-status-row { bottom: 82px; }
}
