.bma-workspace{display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr);gap:32px;color:#283d32;font-family:inherit;max-width:1200px;margin:0 auto;align-items:start}
.bma-sidebar,.bma-workspace-main,.bma-student-page{background:#fffdf8;border:1px solid #e5ddd0;border-radius:20px;padding:24px}
.bma-sidebar{position:sticky;top:24px}
.bma-person{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;padding:4px 4px 18px;border-bottom:1px solid #e7e0d5}
.bma-person img,.bma-row img{width:50px;height:50px;border-radius:50%;object-fit:cover}
.bma-person span,.bma-row span{display:flex;flex-direction:column;gap:3px}
.bma-person small,.bma-row small{display:block;font-size:.78em;font-weight:400;color:#776d60}
.bma-sidebar nav{display:flex;flex-direction:column;gap:4px;margin-top:16px}
.bma-sidebar nav a{padding:11px 13px;border-radius:11px;color:#30473c;text-decoration:none;font-weight:600;font-size:15px}
.bma-sidebar nav a:hover,.bma-sidebar nav a[aria-current=page]{background:#e8eee7;color:#213e30}
.bma-workspace-main{min-height:440px}
.bma-workspace h1,.bma-student-page h1{font-size:clamp(1.6rem,4vw,2.2rem);line-height:1.2;margin:0 0 16px;color:#263e32}
.bma-workspace h2,.bma-student-page h2{font-size:1.25rem;margin:24px 0 14px}
.bma-muted,.bma-empty{color:#6d756b}
.bma-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0}
.bma-stats a{display:flex;flex-direction:column;gap:12px;padding:23px;background:#f4f0e9;border:1px solid #e5dbcd;border-radius:16px;color:#293e34;text-decoration:none}
.bma-stats a strong{font-size:2.35rem;line-height:1}
.bma-stats a span{font-weight:600}
.bma-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 15px;margin:9px 0;border:1px solid #e6dfd4;border-radius:13px;background:#fff;color:#263d32;text-decoration:none}
.bma-row:hover,.bma-stats a:hover{border-color:#99af9b;box-shadow:0 4px 16px #344b3710}
.bma-row>span{display:flex;align-items:center;gap:10px;min-width:0}
.bma-row>span:has(small){display:block}
.bma-row img{width:36px;height:36px}
.bma-student-row{display:grid;grid-template-columns:minmax(140px,.9fr) minmax(230px,1.6fr) auto;align-items:start;gap:18px}
.bma-student-identity{display:flex;align-items:center;gap:10px}
.bma-student-identity span{display:flex;flex-direction:column}
.bma-student-identity small,.bma-course-grade small{color:#746f65;font-size:.8rem;font-weight:400}
.bma-student-scores{display:flex;flex-direction:column;gap:9px}
.bma-course-grade{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 10px;padding-bottom:8px;border-bottom:1px solid #ece7dc}
.bma-course-grade:last-child{border-bottom:0}
.bma-course-grade strong{font-size:.88rem}
.bma-grade-stars{color:#a5743d;letter-spacing:.07em;font-size:1.16rem;white-space:nowrap}
.bma-student-row>b{align-self:center}
@media(max-width:760px){.bma-student-row{grid-template-columns:1fr;gap:10px}.bma-student-scores{padding:0 0 0 45px}.bma-student-row>b{justify-self:end}}

.bma-row b{font-size:.85rem;white-space:nowrap}
.bma-card{background:#faf8f3;border:1px solid #e7dfd4;border-radius:15px;padding:20px;margin:18px 0}
.bma-card h3{font-size:1.1rem;margin:8px 0}
.bma-card small,.bma-back{color:#84604d}
.bma-back{display:inline-block;margin:0 0 15px}
.bma-answer{padding:12px 16px;border-left:3px solid #789479;background:#f0f5ed}
.bma-workspace form label,.bma-student-page form label{display:block;margin:14px 0 8px;font-weight:600}
.bma-workspace textarea,.bma-student-page textarea,.bma-student-page select{display:block;width:100%;min-height:90px;padding:10px;margin-top:6px;border:1px solid #bbbdad;border-radius:9px;font:inherit}
.bma-student-page select{min-height:42px}
.bma-workspace button,.bma-student-page button,.bma-button{background:#294a38;color:#fff;border:0;border-radius:10px;padding:12px 17px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;display:inline-block}
.bma-stars{display:flex;flex-wrap:wrap;gap:7px}
.bma-stars label{margin:0!important;cursor:pointer}
.bma-stars input{margin-right:4px}
.bma-stars span{color:#ab7142}
.bma-student-stars{padding:16px;margin:24px 0;background:#f4f0e9;border-radius:14px}
.bma-student-stars p{font-size:1.5rem;color:#a16d38;margin:10px 0}
.bma-lesson-actions{padding:20px;text-align:center}
@media(max-width:760px){.bma-workspace{display:block}.bma-sidebar{position:static;margin-bottom:16px;padding:16px}.bma-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.bma-sidebar nav a{font-size:13px;padding:10px}.bma-workspace-main,.bma-student-page{padding:18px}.bma-stats{gap:10px}.bma-stats a{padding:15px}.bma-row{align-items:flex-start}.bma-row b{white-space:normal;text-align:right}.bma-stats a strong{font-size:1.9rem}}
/* ByMalesha 2026-09-27: compact account surfaces and accessible hover states. */
body.page-id-7 .bma-person,
body.page-id-7 .bma-sidebar nav a,
body.page-id-7 .bma-view-options a {transition:background-color .18s ease,color .18s ease,border-color .18s ease}
body.page-id-7 .bma-person:hover,
body.page-id-7 .bma-person:focus-visible {background:#592e39!important;color:#f3e9df!important;border-radius:12px;border-color:#9a6c71!important}
body.page-id-7 .bma-person:hover *,body.page-id-7 .bma-person:focus-visible * {color:#f3e9df!important}
body.page-id-7 .bma-person:hover small,body.page-id-7 .bma-person:focus-visible small {color:#e3cbb5!important}
body.page-id-7 .bma-sidebar nav a:hover,body.page-id-7 .bma-sidebar nav a:focus-visible,
body.page-id-7 .bma-sidebar nav a[aria-current="page"] {background:#592e39!important;color:#f3e9df!important}
body.page-id-7 .bma-view-options a:hover,body.page-id-7 .bma-view-options a:focus-visible,
body.page-id-7 .bma-view-options a[aria-current="true"] {background:#592e39!important;color:#f3e9df!important;border-color:#ad8082!important}
body.page-id-7 .bma-view-switch {background:#302429!important;color:#f3e9df!important;border:1px solid #59454a}
body.page-id-7 .bma-view-switch>span {color:#e3cbb5!important}
body.page-id-7 .bma-workspace .bma-card,body.page-id-7 .bma-workspace .bma-stats>div {background:#302429!important;color:#f3e9df!important;border-color:#59454a!important}
body.page-id-7 .bma-workspace .bma-muted,body.page-id-7 .bma-workspace .bma-empty {color:#c6b8b0!important}
body.page-id-7 .bma-workspace form :is(input:not([type=hidden]),textarea,select),
body.page-id-7 .bma-workspace-main form :is(input:not([type=hidden]),textarea,select) {background:#21191d!important;color:#f3e9df!important;border:1px solid #765a60!important;border-radius:9px;max-width:100%;min-height:42px}
body.page-id-7 .bma-workspace :is(button[type=submit],.bma-button) {background:#e3cbb5!important;color:#261b1d!important;border:1px solid #e3cbb5!important}
body.page-id-7 .bma-workspace :is(button[type=submit],.bma-button):hover {background:#f0d9c2!important;color:#261b1d!important}
.bma-profile-form {max-width:650px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.bma-profile-form label {display:flex!important;flex-direction:column;gap:6px;margin:0!important;color:#f3e9df!important}
.bma-profile-form input {width:100%;padding:9px 12px}
.bma-profile-form .bma-profile-wide {grid-column:1/-1}
.bma-profile-form button {justify-self:start}
.bma-profile-avatar {display:flex;align-items:center;gap:14px;margin:16px 0 20px}
.bma-profile-avatar img {width:64px;height:64px;object-fit:cover;border-radius:50%;border:1px solid #9a6c71}
.bma-profile-success {padding:12px 16px;background:#49303a;border:1px solid #9a6c71;border-radius:10px;color:#f3e9df}
body.page-id-7:not(.logged-in) .wp-block-post-content > .wp-block-group,
body.page-id-7:not(.logged-in) main .wp-block-group.has-white-background-color {background:#261e22!important;color:#f3e9df!important;border-color:#59454a!important}
body.page-id-7:not(.logged-in) :is(.masteriyo-login,.masteriyo-register,.masteriyo-registration,.masteriyo-login-form,.masteriyo-registration-form,.masteriyo-auth-wrapper,.masteriyo-form-container) {background:#261e22!important;color:#f3e9df!important;border-color:#59454a!important;box-shadow:none!important}
body.page-id-7:not(.logged-in) :is(h1,h2,h3,label,p,span) {color:inherit}
body.page-id-7:not(.logged-in) form :is(input:not([type=hidden]),select,textarea) {background:#21191d!important;color:#f3e9df!important;border:1px solid #765a60!important;border-radius:9px!important;min-height:40px!important;padding:8px 11px!important}
body.page-id-7:not(.logged-in) form :is(input,textarea)::placeholder {color:#b9a8a0!important}
body.page-id-7:not(.logged-in) form :is(button[type=submit],input[type=submit],.masteriyo-btn-primary) {background:#e3cbb5!important;color:#261b1d!important;border-color:#e3cbb5!important;min-height:42px!important;padding:9px 17px!important;border-radius:9px!important}
body.page-id-7:not(.logged-in) form :is(button[type=submit],input[type=submit],.masteriyo-btn-primary):hover {background:#f0d9c2!important;color:#261b1d!important}
body.page-id-7:not(.logged-in) :is(.masteriyo-login,.masteriyo-register,.masteriyo-registration,.masteriyo-auth-wrapper,.masteriyo-form-container) {max-width:760px!important;width:min(100%,760px)!important;margin:12px auto!important;padding:clamp(14px,2vw,24px)!important}
body.page-id-7:not(.logged-in) form :is(p,.form-row,.masteriyo-form-row,.masteriyo-form-field) {margin-top:6px!important;margin-bottom:9px!important}
body.page-id-7:not(.logged-in) form label {margin-bottom:4px!important;line-height:1.3!important}
body.page-id-7:not(.logged-in) main {padding-top:12px!important;padding-bottom:12px!important}
@media(max-width:760px){.bma-profile-form{grid-template-columns:1fr}body.page-id-7 .bma-workspace{gap:14px}body.page-id-7 .bma-sidebar,body.page-id-7 .bma-workspace-main{padding:16px}body.page-id-7:not(.logged-in) :is(.masteriyo-login,.masteriyo-register,.masteriyo-registration,.masteriyo-auth-wrapper,.masteriyo-form-container){padding:14px!important;margin:8px auto!important}body.page-id-7:not(.logged-in) .bma-registration-legal{padding:10px!important;margin:8px 0!important}}

/* Override the older green registration rules embedded in the site header. */
body.page-id-7:not(.logged-in) main#wp--skip-link--target,
body.page-id-7:not(.logged-in) main#wp--skip-link--target>.wp-block-group.alignfull:nth-child(2){background:#171315!important;color:#f3e9df!important}
body.page-id-7:not(.logged-in) main#wp--skip-link--target>.wp-block-group.alignfull:nth-child(2){padding:12px 12px 18px!important}
body.page-id-7:not(.logged-in) main#wp--skip-link--target>.wp-block-group.alignfull:nth-child(2)>.wp-block-group{max-width:780px!important;margin:0 auto!important;background:#261e22!important;color:#f3e9df!important;border:1px solid #59454a!important;border-radius:18px!important;padding:16px 20px!important;box-shadow:0 12px 32px #100c0f55!important}
body.page-id-7:not(.logged-in) .entry-content{color:#f3e9df!important}
body.page-id-7:not(.logged-in) :is(.masteriyo-signup--title,.masteriyo-login .masteriyo-title,.masteriyo-login-form-wrapper>section.masteriyo-signup .masteriyo-title){color:#f3e9df!important;margin-bottom:10px!important}
body.page-id-7:not(.logged-in) :is(.masteriyo-signup--title::before,.masteriyo-login .masteriyo-title::before){font-size:22px!important;line-height:1.2!important;color:#f3e9df!important}
body.page-id-7:not(.logged-in) .masteriyo-label,
body.page-id-7:not(.logged-in) .masteriyo-remember-me label{color:#e3cbb5!important;margin-bottom:3px!important;line-height:1.2!important}
body.page-id-7:not(.logged-in) .masteriyo-input{min-height:38px!important;padding:7px 10px!important;background:#21191d!important;color:#f3e9df!important;border:1px solid #765a60!important;border-radius:9px!important;box-shadow:none!important}
body.page-id-7:not(.logged-in) .masteriyo-input:focus{border-color:#e3cbb5!important;box-shadow:0 0 0 2px #e3cbb54d!important}
body.page-id-7:not(.logged-in) .masteriyo-signup-form>div,
body.page-id-7:not(.logged-in) .masteriyo-login--form>div{margin-bottom:6px!important}
body.page-id-7:not(.logged-in) :is(.masteriyo-btn,.masteriyo-btn-signup,.masteriyo-login-btn){min-height:40px!important;background:#e3cbb5!important;border-color:#e3cbb5!important;color:#261b1d!important;border-radius:9px!important;padding:8px 12px!important;box-shadow:none!important}
body.page-id-7:not(.logged-in) :is(.masteriyo-btn,.masteriyo-btn-signup,.masteriyo-login-btn):hover{background:#f0d9c2!important;border-color:#f0d9c2!important;color:#261b1d!important}
body.page-id-7:not(.logged-in) .masteriyo-signup-form .masteriyo-btn-signup{min-height:42px!important;margin-top:4px!important}
body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper>section.masteriyo-signup{margin-top:14px!important;padding-top:12px!important;border-top-color:#59454a!important}
body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper>section.masteriyo-signup .masteriyo-title{margin-bottom:4px!important}
body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper>section.masteriyo-signup>span{margin-bottom:8px!important;color:#c6b8b0!important}
body.page-id-7:not(.logged-in) .masteriyo-forgot-password a{color:#e3cbb5!important}
body.page-id-7:not(.logged-in) .bma-registration-legal{margin:10px auto 0!important;padding-top:8px!important;border-color:#59454a!important;color:#c6b8b0!important}
body.page-id-7:not(.logged-in) .bma-registration-legal p{line-height:1.35!important}
body.page-id-7:not(.logged-in) .bma-registration-links{margin-top:4px!important;line-height:1.4!important}
body.page-id-7:not(.logged-in) .bma-registration-links a{color:#e3cbb5!important}
@media(min-width:700px){body.page-id-7:not(.logged-in) .masteriyo-signup-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px}body.page-id-7:not(.logged-in) .masteriyo-signup-form .masteriyo-btn-signup{grid-column:1/-1}}
@media(max-width:699px){body.page-id-7:not(.logged-in) main#wp--skip-link--target>.wp-block-group.alignfull:nth-child(2){padding:8px 9px 14px!important}body.page-id-7:not(.logged-in) main#wp--skip-link--target>.wp-block-group.alignfull:nth-child(2)>.wp-block-group{padding:12px!important;border-radius:14px!important}body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper>section.masteriyo-signup{margin-top:10px!important;padding-top:9px!important}}
body.masteriyo.page-id-7 .bma-workspace .bma-sidebar a.bma-person:hover,
body.masteriyo.page-id-7 .bma-workspace .bma-sidebar a.bma-person:focus-visible{background-color:#592e39!important;color:#f3e9df!important}

/* Keep profile editing compact at desktop sizes. */
@media(min-width:761px){body.page-id-7 .bma-profile-form .bma-profile-wide:nth-of-type(3),body.page-id-7 .bma-profile-form .bma-profile-wide:nth-of-type(4){grid-column:auto}body.page-id-7 .bma-profile-form{max-width:760px}}
body.page-id-7 .bma-profile-avatar{margin:8px 0 12px}
body.page-id-7 .bma-profile-form{gap:8px 14px}
body.page-id-7 .bma-profile-form label{font-size:.9rem;gap:3px}
body.page-id-7 .bma-profile-form input:not([type=file]){min-height:38px;padding:7px 10px}
body.page-id-7 .bma-profile-form input[type=file]{min-height:38px;padding:5px 8px}
body.page-id-7 .bma-profile-settings h1{margin-bottom:6px}
body.page-id-7 .bma-profile-settings>.bma-muted{margin:0 0 9px}

/* ByMalesha account: keep the Create account panel on the existing dark surface.
 * Source selector verified in the saved live stylesheet from 2026-10-09.
 * This changes presentation only; the registration link and form remain intact.
 */
body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper,
body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper > section.masteriyo-signup {
  background: #261e22 !important;
  color: #f3e9df !important;
  border-color: #59454a !important;
  box-shadow: none !important;
}

body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper > section.masteriyo-signup > :is(.masteriyo-title, span) {
  color: #f3e9df !important;
}

body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper > section.masteriyo-signup > a.masteriyo-btn {
  background: #e3cbb5 !important;
  color: #261b1d !important;
  border-color: #e3cbb5 !important;
}

body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper > section.masteriyo-signup > a.masteriyo-btn:hover {
  background: #f0d9c2 !important;
  border-color: #f0d9c2 !important;
}

body.page-id-7:not(.logged-in) .masteriyo-login-form-wrapper > section.masteriyo-signup > a.masteriyo-btn:focus-visible {
  outline: 2px solid #f3e9df;
  outline-offset: 3px;
}

/* Student-account layout. The class is added only by bma_student_dashboard. */
body.page-id-7.logged-in.bma-student-account .bma-student-workspace { color: #f3e9df !important; }
body.page-id-7.logged-in.bma-student-account .bma-student-workspace > :is(.bma-sidebar, .bma-workspace-main) { background: #261e22 !important; color: #f3e9df !important; border-color: #59454a !important; }
body.page-id-7.logged-in.bma-student-account .bma-student-workspace :is(h1, h2, h3, strong, .bma-person, .bma-sidebar a) { color: #f3e9df !important; }
body.page-id-7.logged-in.bma-student-account .bma-student-workspace :is(.bma-card, .bma-stats > div) { background: #302429 !important; border-color: #59454a !important; color: #f3e9df !important; }
body.page-id-7.logged-in.bma-student-account .bma-student-workspace :is(.bma-muted, .bma-empty) { color: #c6b8b0 !important; }
body.page-id-7.logged-in.bma-student-account main#wp--skip-link--target,
body.page-id-7.logged-in.bma-student-account main#wp--skip-link--target > .wp-block-group.alignfull:nth-child(2) { background: #171315 !important; color: #f3e9df !important; }
body.page-id-7.logged-in.bma-student-account header.wp-block-template-part > header:has(.bma-site-logo),
body.page-id-7.logged-in.bma-student-account .bma-global-footer { background: #261e22 !important; color: #f3e9df !important; border-color: #59454a !important; }
body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-nav-tile > a.wp-block-navigation-item__content,
body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-account-navigation .bma-profile-link a { background: #302429 !important; color: #f3e9df !important; border-color: #765a60 !important; }
body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-nav-tile > a.wp-block-navigation-item__content:hover,
body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-account-navigation .bma-profile-link a:hover { background: #592e39 !important; }
body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-account-navigation .bma-profile-link a::before { filter: grayscale(1) brightness(0) invert(.9); }
body.page-id-7.logged-in.bma-student-account .bma-global-footer :is(.bma-footer-tagline, .bma-footer-legal p, .bma-footer-copyright) { color: #c6b8b0 !important; }
body.page-id-7.logged-in.bma-student-account main#wp--skip-link--target { padding: 0 !important; }
body.page-id-7.logged-in.bma-student-account main#wp--skip-link--target > .wp-block-group.alignfull:nth-child(2) { width: 100%; max-width: none; box-sizing: border-box; margin: 0 !important; padding: 12px !important; }
body.page-id-7.logged-in.bma-student-account main#wp--skip-link--target > .wp-block-group.alignfull:nth-child(2) > .wp-block-group { width: 100%; max-width: 1240px !important; margin: 0 auto !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.page-id-7.logged-in.bma-student-account .wp-block-post-content:has(.bma-student-workspace) { width: 100%; min-width: 0; max-width: none; padding: 0 !important; margin: 0; }
body.page-id-7.logged-in.bma-student-account .bma-student-workspace { width: 100%; min-width: 0; margin: 0; }
body.page-id-7.logged-in.bma-student-account .bma-student-screen,
body.page-id-7.logged-in.bma-student-account .bma-student-heading,
body.page-id-7.logged-in.bma-student-account .bma-student-course-grid,
body.page-id-7.logged-in.bma-student-account .bma-student-course-list,
body.page-id-7.logged-in.bma-student-account .bma-catalog-card { box-sizing: border-box; min-width: 0; }
body.page-id-7.logged-in.bma-student-account .bma-student-heading { margin: 0 0 16px; }
body.page-id-7.logged-in.bma-student-account .bma-student-heading h1 { font-size: clamp(23px, 2.3vw, 30px); margin: 0 0 8px; }
body.page-id-7.logged-in.bma-student-account .bma-student-heading > p { font-size: 15px; line-height: 1.5; margin: 0; }
body.page-id-7.logged-in.bma-student-account .bma-student-heading .bma-profile-success { margin-top: 10px; }
body.page-id-7.logged-in.bma-student-account .bma-student-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.page-id-7.logged-in.bma-student-account .bma-student-course-grid > .bma-catalog-card { display: flex; flex-direction: column; gap: 18px; min-height: 220px; margin: 0; padding: 18px; }
body.page-id-7.logged-in.bma-student-account .bma-catalog-card > h2 { display: flex; flex-direction: column; gap: 10px; margin: 0; line-height: 1.4; overflow-wrap: break-word; }
body.page-id-7.logged-in.bma-student-account .bma-catalog-card > h2 > span { display: block; }
body.page-id-7.logged-in.bma-student-account .bma-catalog-card > h2 > [lang="en"] { font-size: 18px; font-weight: 650; }
body.page-id-7.logged-in.bma-student-account .bma-catalog-card > h2 > [lang="hi"] { font-size: 16px; font-weight: 400; color: #d7c6bc; }
body.page-id-7.logged-in.bma-student-account .bma-catalog-card > :is(form, a.bma-button, p) { margin: auto 0 0; }
body.page-id-7.logged-in.bma-student-account .bma-catalog-card :is(button, a.bma-button) { display: block; width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 15px; line-height: 1.4; text-align: center; white-space: normal; }
body.page-id-7.logged-in.bma-student-account .bma-catalog-card > p { font-size: 15px; line-height: 1.5; }
body.page-id-7.logged-in.bma-student-account .bma-sidebar nav a { line-height: 1.45; }
body.page-id-7.logged-in.bma-student-account .bma-student-screen > .bma-stats { margin: 0 0 16px; }
body.page-id-7.logged-in.bma-student-account .bma-student-screen > .bma-stats > div { padding: 18px; background: #302429; border: 1px solid #59454a; border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
body.page-id-7.logged-in.bma-student-account .bma-student-screen > .bma-stats strong { font-size: 30px; line-height: 1.1; }
body.page-id-7.logged-in.bma-student-account .bma-student-screen > .bma-stats span { font-size: 15px; }
body.page-id-7.logged-in.bma-student-account .bma-student-course-list > .bma-empty { margin: 6px 0 20px; }
body.page-id-7.logged-in.bma-student-account .bma-student-course-list + .bma-button { align-self: flex-start; flex-shrink: 0; margin-top: 14px; }

@media (min-width: 1050px) and (min-height: 650px) {
  body.page-id-7.logged-in.bma-student-account { margin: 0; }
  body.page-id-7.logged-in.bma-student-account .wp-site-blocks { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 0; height: 100vh; height: 100dvh; min-height: 0; padding: 0; }
  body.page-id-7.logged-in.bma-student-account.admin-bar .wp-site-blocks { height: calc(100vh - 32px); height: calc(100dvh - 32px); }
  body.page-id-7.logged-in.bma-student-account .wp-site-blocks > :is(header, main, footer) { min-width: 0; min-height: 0; margin-block: 0 !important; }
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part > header:has(.bma-site-logo) { padding: 8px 24px !important; }
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-site-logo { width: 64px; max-width: 64px; flex-basis: 64px; }
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-site-logo img { width: 64px; height: 64px; object-fit: contain; }
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-nav-tile > a.wp-block-navigation-item__content { min-height: 58px; min-width: 116px; padding: 6px 14px; }
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-nav-en { font-size: 14px; }
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-nav-hi,
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-nav-ru { font-size: 12px; line-height: 1.2; }
  body.page-id-7.logged-in.bma-student-account main#wp--skip-link--target { display: flex; flex-direction: column; padding: 0 !important; }
  body.page-id-7.logged-in.bma-student-account main#wp--skip-link--target > .wp-block-group.alignfull:nth-child(2) { display: flex; flex: 1; min-height: 0; width: 100%; margin: 0 !important; padding: 12px 24px !important; box-sizing: border-box; }
  body.page-id-7.logged-in.bma-student-account main#wp--skip-link--target > .wp-block-group.alignfull:nth-child(2) > .wp-block-group { display: flex; flex: 1; min-height: 0; width: 100%; max-width: 1240px !important; margin: 0 auto !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
  body.page-id-7.logged-in.bma-student-account .wp-block-post-content:has(.bma-student-workspace) { display: flex; flex: 1; width: 100%; min-width: 0; min-height: 0; max-width: none; padding: 0; margin: 0; }
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace { width: 100%; max-width: none; min-height: 0; margin: 0 !important; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: stretch; }
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace > .bma-sidebar { position: static; padding: 18px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace > .bma-sidebar nav { margin-top: 12px; gap: 4px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace > .bma-sidebar nav a { font-size: 15px; padding: 10px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace > .bma-workspace-main { display: flex; min-height: 0; min-width: 0; padding: 18px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-screen { display: flex; flex-direction: column; width: 100%; min-height: 0; }
  body.page-id-7.logged-in.bma-student-account .bma-student-heading { flex-shrink: 0; margin-bottom: 14px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-course-grid { flex: 1; min-height: 0; grid-auto-rows: minmax(190px, 1fr); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 2px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-course-grid > .bma-catalog-card { min-height: 190px; padding: 16px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-course-list,
  body.page-id-7.logged-in.bma-student-account .bma-student-settings { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  body.page-id-7.logged-in.bma-student-account .bma-student-course-list { flex: 1; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer { padding: 8px 24px !important; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; max-width: 1240px; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-top { gap: 20px; align-items: center; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-brand { display: flex; align-items: center; gap: 12px; max-width: 680px; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-logo { flex: 0 0 52px; width: 52px; padding: 0; border: 0; margin: 0; background: transparent; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-logo img { width: 52px; height: 52px; object-fit: contain; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-tagline { margin: 0; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-tagline > span { font-size: 12px; line-height: 1.4; margin-top: 1px; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-legal { gap: 18px; flex-wrap: nowrap; margin: 0; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-legal span { font-size: 12px; line-height: 1.4; margin-top: 1px; }
  body.page-id-7.logged-in.bma-student-account .bma-global-footer .bma-footer-copyright { max-width: 160px; font-size: 12px; padding: 0; margin: 0; border: 0; line-height: 1.4; }
}

@media (min-width: 701px) and (max-width: 1049px) {
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace { grid-template-columns: 190px minmax(0, 1fr); gap: 14px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace > :is(.bma-sidebar, .bma-workspace-main) { padding: 16px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part > header:has(.bma-site-logo) { padding: 8px 12px !important; }
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-site-logo { width: 56px; max-width: 56px; flex-basis: 56px; }
  body.page-id-7.logged-in.bma-student-account header.wp-block-template-part .bma-site-logo img { width: 56px; height: 56px; object-fit: contain; }
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace { display: block; }
  body.page-id-7.logged-in.bma-student-account .bma-student-workspace > :is(.bma-sidebar, .bma-workspace-main) { padding: 16px; }
  body.page-id-7.logged-in.bma-student-account .bma-sidebar nav a { font-size: 15px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-course-grid { grid-template-columns: 1fr; }
  body.page-id-7.logged-in.bma-student-account .bma-student-course-grid > .bma-catalog-card { min-height: 220px; padding: 20px; }
  body.page-id-7.logged-in.bma-student-account .bma-catalog-card > h2 > [lang="en"] { font-size: 20px; }
  body.page-id-7.logged-in.bma-student-account .bma-catalog-card > h2 > [lang="hi"] { font-size: 17px; }
  body.page-id-7.logged-in.bma-student-account .bma-student-heading h1 { font-size: 24px; }
}
