/* Native Tutor layout adapter only. Header/footer/font come from shared CSS. */
body.mnb-legacy-ui #main{padding-block:32px 0}
/* Do not introduce Staging's experimental promo when enabling the shared shell. */
body.mnb-legacy-ui .mnb-offer-promo{display:none!important}
body.mnb-legacy-ui #main :is(input,button,select,textarea),body.mnb-legacy-ui .tutor-wrap{font-family:inherit}
.mnb-legacy-profile .tutor-user-public-profile{padding-block:0 32px;color:inherit}
.mnb-legacy-profile .tutor-container{max-width:1200px;width:calc(100% - 48px);padding-inline:0}
/* Tutor's empty default cover is not content; uploaded covers keep native rendering. */
.mnb-legacy-profile .cover-area:has(>div[style*="/tutor/assets/images/cover-photo"]){display:none}
.mnb-legacy-profile .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]){height:auto;margin-block:0}
.mnb-legacy-profile .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]) .pp-area{position:relative;inset:auto;display:flex;align-items:center;gap:24px;flex-wrap:wrap;min-height:0;margin:0!important;padding:0 0 28px;border-bottom:1px solid #dce2de}
.mnb-legacy-profile .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]) .profile-pic{position:static;inset:auto;width:96px;height:96px;flex:0 0 96px;margin:0;background-size:cover;background-position:center;border-radius:50%;border:0;box-shadow:none}
.mnb-legacy-profile .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]) .profile-name{position:static;flex:1;min-width:0;color:inherit!important;text-align:start;margin:0}
.mnb-legacy-profile .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]) .profile-name h3{color:inherit;font-size:var(--mnb-h2);margin:0 0 8px}
.mnb-legacy-profile .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]) .profile-rating-media{position:static;color:inherit;margin:0}
.mnb-legacy-profile .tutor-user-profile-content{width:100%;float:none;margin-top:32px!important;padding:0;border:0;border-radius:0;background:transparent}
.mnb-legacy-profile .tutor-user-profile-content>h3{font-size:var(--mnb-h3);line-height:1.5;margin-block:0 16px}
.mnb-legacy-profile .tutor-user-profile-content>h3:not(:first-child){margin-top:32px}
.mnb-legacy-directory .tutor-instructor-list-item{font-family:inherit}
.mnb-legacy-directory .tutor-instructor-title{font-family:inherit;font-size:var(--mnb-h3);line-height:1.6}
.mnb-legacy-ui .mnb-footer-bottom{flex-wrap:wrap}
.mnb-legacy-ui .mnb-footer-bottom .ct-footer-copyright{flex-basis:100%;font:inherit;color:inherit;text-align:start}
.mnb-legacy-ui .mnb-footer-bottom .ct-footer-copyright p{font:inherit;color:inherit;margin-block:0 8px}
@media(max-width:767px){.mnb-legacy-profile .tutor-container{width:calc(100% - 32px)}.mnb-legacy-profile .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]) .pp-area{gap:16px}.mnb-legacy-profile .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]) .profile-pic{width:72px;height:72px;flex-basis:72px}.mnb-legacy-profile .tutor-user-profile-content{margin-top:24px!important}}
/* Final polish: native title/breadcrumb spacing and student biography only. */
body.mnb-legacy-directory #main,body.mnb-legacy-profile:has(.tutor-student) #main{padding-top:24px}
.mnb-legacy-directory #main>.hero-section .entry-header{min-height:0;padding-block:0 24px}
.mnb-legacy-directory .ct-breadcrumbs{margin-top:12px}
.mnb-legacy-directory #main>.ct-container-full{padding-block:0 32px}
.mnb-legacy-profile .tutor-student{padding-bottom:0}
.mnb-legacy-profile .tutor-student .photo-area:has(.cover-area>div[style*="/tutor/assets/images/cover-photo"]) .pp-area{padding-bottom:20px}
.mnb-legacy-profile .tutor-student .tutor-user-profile-content{margin-block:20px 16px!important}
.mnb-legacy-profile .tutor-student .tutor-user-profile-content>h3{margin-bottom:8px}
.mnb-legacy-empty-bio .tutor-student .tutor-user-profile-content{font-size:var(--mnb-small);color:#56615b;line-height:1.8}
.mnb-legacy-empty-bio .tutor-student .tutor-user-profile-content>h3{color:#000}
