/* RC11: reference composition of interior pages only. No homepage or shared-header overrides. */
/* Teacher profile: restrained pointed portrait, then genuine biography and relationships. */
body.tte-page .tte-single--teacher .tte-person-card{padding:30px;gap:22px 32px;grid-template-columns:260px minmax(0,1fr);background:#fcfdf9!important;border:1px solid #e1e7dc!important;position:relative;isolation:isolate}
body.tte-page .tte-single--teacher .tte-person-card::before{content:'';position:absolute;top:12px;left:12px;width:105px;height:105px;background:url('../images/pattern-eslimi.svg') left top/contain no-repeat;opacity:.45;z-index:-1;pointer-events:none}
body.tte-page .tte-single--teacher .tte-person-card::after{content:'';position:absolute;bottom:12px;left:12px;width:85px;height:85px;background:url('../images/pattern-eslimi.svg') left bottom/contain no-repeat;opacity:.3;z-index:-1;pointer-events:none}
body.tte-page .tte-single--teacher .tte-person-card__photo{position:relative;aspect-ratio:300/390;height:auto;width:260px;max-width:100%;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;padding:10px 11px 11px!important;box-sizing:border-box}
body.tte-page .tte-single--teacher .tte-person-card__photo img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 30%;border:0!important;border-radius:0!important;clip-path:polygon(4% 97%,4% 22%,6% 19%,12% 17%,39% 9%,45% 6%,50% 3.5%,55% 6%,61% 9%,88% 17%,94% 19%,96% 22%,96% 97%);mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 390'%3E%3Cpath fill='white' d='M11 379V85Q11 72 30 67L119 36Q137 28 150 14Q163 28 181 36L270 67Q289 72 289 85V379Z'/%3E%3C/svg%3E");mask-size:100% 100%;clip-path:none}
body.tte-page .tte-person-card__arch{position:absolute;inset:0;display:block;width:100%;height:100%;color:#b69b63;z-index:1;pointer-events:none}
body.tte-page .tte-single--teacher .tte-person-card__copy{align-self:center;padding:8px 0;min-width:0}
body.tte-page .tte-single--teacher .tte-person-card__copy h1{font-size:clamp(23px,2.4vw,31px);font-weight:750;line-height:1.85;margin:0 0 7px}
body.tte-page .tte-single--teacher .tte-person-card__role{font-size:15px;color:#193f32;margin:0 0 18px}
body.tte-page .tte-single--teacher .tte-person-card__facts{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:0;width:100%;max-width:480px}
body.tte-page .tte-single--teacher .tte-person-card__facts>span{display:flex;align-items:center;justify-content:flex-start;gap:13px;border:0;padding:0;width:auto;min-height:38px}
body.tte-page .tte-single--teacher .tte-person-card__facts i{display:grid;place-items:center;background:#eef3e8;border-radius:50%;width:38px;height:38px;flex:0 0 38px;color:#193f32}
body.tte-page .tte-single--teacher .tte-person-card__facts i>svg{width:21px;height:21px}
body.tte-page .tte-single--teacher .tte-person-card__facts b{font-size:13px;font-weight:500;line-height:1.9}
body.tte-page .tte-single--teacher .tte-person-card__about{grid-column:1/-1;text-align:right}
body.tte-page .tte-single--teacher .tte-person-card__about .tte-prose{font-size:14px;line-height:2.3;color:#53695b}
body.tte-page .tte-single--teacher .tte-person-card__contact{grid-column:1/-1;text-align:center}
body.tte-page .tte-single--teacher .tte-person-card__contact .tte-btn{box-shadow:none;min-height:42px;border-radius:7px;padding:10px 22px}
body.tte-page .tte-single--teacher .tte-single-related{padding:22px;background:#fcfdf9!important;margin-top:20px}
body.tte-page .tte-single--teacher .tte-single-related__head{gap:12px;align-items:center;margin-bottom:18px}
body.tte-page .tte-single--teacher .tte-single-related__head h2{font-size:18px;line-height:1.9;font-weight:700}
body.tte-page .tte-single--teacher .tte-teacher-course-card{border:1px solid #e1e7dc;border-radius:9px;overflow:hidden;background:#fcfdf9;box-shadow:none}
body.tte-page .tte-single--teacher .tte-teacher-course-card__media{display:block;aspect-ratio:1.8;overflow:hidden}
body.tte-page .tte-single--teacher .tte-teacher-course-card__media img{display:block;width:100%;height:100%;object-fit:cover}
body.tte-page .tte-single--teacher .tte-teacher-course-card__body{display:flex;flex-direction:column;gap:8px;padding:14px;min-height:120px}
body.tte-page .tte-single--teacher .tte-teacher-course-card__body>strong{font-size:14px;line-height:1.9;color:#193f32}
body.tte-page .tte-single--teacher .tte-teacher-course-card__meta{font-size:11px;color:#68765f}
body.tte-page .tte-single--teacher .tte-course-card__actions{padding:0 12px 12px!important;gap:7px!important}
body.tte-page .tte-single--teacher .tte-teacher-article-row{padding:12px 0;gap:14px;min-height:78px}
body.tte-page .tte-single--teacher .tte-teacher-article-row>img{width:100px;height:62px;object-fit:cover;border-radius:6px;flex-shrink:0}
body.tte-page .tte-single--teacher .tte-teacher-article-row__copy strong{font-size:13px;line-height:1.9}
/* Product: native WC forms and truthful gallery; no fabricated views or ratings. */
body.tte-page .tte-single--product .tte-product-detail{gap:42px!important;padding:20px 12px 28px!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important}
body.tte-page .tte-single--product .tte-product-detail__visual{position:relative;background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important}
body.tte-page .tte-single--product .tte-product-detail__main-image{height:420px!important;border:1px solid #e1e7dc!important;background:#fcfdf9!important;border-radius:8px!important;overflow:hidden;position:relative}
body.tte-page .tte-single--product .tte-product-detail__image-trigger{display:block;width:100%;height:100%;padding:18px!important;position:relative;border:0;background:transparent}
body.tte-page .tte-single--product .tte-product-detail__image-trigger>img{display:block;width:100%;height:100%!important;object-fit:contain!important;max-height:100%}
body.tte-page .tte-single--product .tte-product-detail__image-trigger>span{position:absolute;bottom:10px;left:10px;font-size:10px;color:#53695b;background:#fcfdf9e8;border:1px solid #e1e7dc;border-radius:5px;padding:3px 8px}
body.tte-page .tte-single--product .tte-product-detail__badge{margin-top:10px;display:inline-flex;font-size:10px;background:#eef3e8;color:#193f32}
body.tte-page .tte-single--product .tte-product-detail__info h2{font-size:28px;line-height:1.8;font-weight:750;margin:0 0 10px;color:#193f32}
body.tte-page .tte-single--product .tte-product-detail__excerpt{font-size:14px;line-height:2.2;margin:0 0 18px;color:#53695b}
body.tte-page .tte-single--product .tte-product-detail__facts{list-style:none;padding:0;margin:18px 0!important;display:flex;flex-direction:column;gap:7px!important}
body.tte-page .tte-single--product .tte-product-detail__facts li{display:flex;align-items:center;justify-content:flex-start;gap:9px;border:0!important;padding:3px 0!important;min-height:30px;font-size:12px;line-height:1.9;flex-wrap:wrap}
body.tte-page .tte-single--product .tte-product-detail__facts li>i{width:23px;flex:0 0 23px;display:grid;place-items:center;color:#193f32}
body.tte-page .tte-single--product .tte-product-detail__facts li>i>svg{width:19px;height:19px}
body.tte-page .tte-single--product .tte-product-detail__facts li>span{color:#68765f}
body.tte-page .tte-single--product .tte-product-detail__facts li>b{font-size:12px;font-weight:500;color:#193f32}
body.tte-page .tte-single--product .tte-product-detail__purchase{display:flex;flex-direction:column;align-items:flex-start!important;gap:14px!important;padding-top:4px!important}
body.tte-page .tte-single--product .tte-product-detail__price{width:100%;font-size:24px;color:#193f32}
body.tte-page .tte-single--product .tte-product-detail__purchase form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;width:100%;margin:0!important}
body.tte-page .tte-single--product .tte-product-detail__purchase form.cart>.single_add_to_cart_button{flex:1 1 180px;white-space:nowrap;min-height:44px;box-shadow:none}
body.tte-page .tte-single--product .tte-product-detail__purchase form.cart>.quantity{flex:0 0 auto;min-height:44px}
body.tte-page .tte-single--product .tte-product-tabs{display:flex;gap:0;background:#fcfdf9;border:1px solid #e1e7dc;border-radius:9px 9px 0 0;margin-bottom:0!important;overflow-x:auto;scrollbar-width:thin}
body.tte-page .tte-single--product .tte-product-tabs>a{flex:1 0 auto;min-height:48px;display:flex;justify-content:center;align-items:center;padding:12px 18px;border:0!important;border-left:1px solid #e1e7dc!important;border-radius:0;font-size:13px;white-space:nowrap}
body.tte-page .tte-single--product .tte-product-tabs>a:last-child{border-left:0!important}
body.tte-page .tte-single--product .tte-product-tabs>a.is-active{background:#eef3e8;color:#193f32;box-shadow:inset 0 -2px #b69b63}
body.tte-page .tte-single--product .tte-product-description{padding:28px!important;margin-top:0!important;border-top:0!important;border-radius:0 0 9px 9px!important;background:#fcfdf9!important;position:relative;isolation:isolate;scroll-margin-top:100px}
body.tte-page .tte-single--product .tte-product-description::after{content:'';position:absolute;left:12px;bottom:18px;width:105px;height:105px;z-index:-1;background:url('../images/pattern-eslimi.svg') left bottom/contain no-repeat;opacity:.3;pointer-events:none}
body.tte-page .tte-single--product .tte-product-description h2{font-size:21px;line-height:1.9;margin:0 0 18px}
body.tte-page .tte-single--product .tte-product-description .tte-prose{font-size:14px;line-height:2.3;color:#53695b}
body.tte-page .tte-single--product .tte-product-description__cta{font-size:12px;line-height:2;min-height:60px;margin-top:24px;border-color:#d8c99f;color:#53695b}
/* Recovery reference: generous flat surface, mail-and-lock star and centered assistance. */
body.tte-page.tte-screen-password-recovery .tte-section--password-recovery{padding:32px 24px 90px!important;background:#f7f9f3!important}
body.tte-page.tte-screen-password-recovery .tte-section--password-recovery>.tte-container{width:min(1040px,100%)}
body.tte-page.tte-screen-password-recovery .tte-recovery{width:100%!important;gap:24px}
body.tte-page.tte-screen-password-recovery .tte-recovery__crumb{max-width:1040px;margin:0 auto 22px}
body.tte-page.tte-screen-password-recovery .tte-recovery__card{padding:40px max(24px,10%) 26px!important;box-shadow:none!important;background:#fcfdf9!important;border:1px solid #dce3d5!important;border-radius:10px!important}
body.tte-page.tte-screen-password-recovery .tte-recovery__card::before,body.tte-page.tte-screen-password-recovery .tte-recovery__help::before{top:14px;left:14px;right:auto;width:115px;height:115px;opacity:.5;background:url('../images/pattern-eslimi.svg') left top/contain no-repeat}
body.tte-page.tte-screen-password-recovery .tte-recovery__card::after{opacity:.25;right:12px;bottom:12px;background:url('../images/pattern-eslimi.svg') right bottom/contain no-repeat;width:85px;height:85px}
body.tte-page.tte-screen-password-recovery .tte-recovery__icon{position:relative;isolation:isolate;width:104px;height:104px;border:0!important;border-radius:0!important;background:transparent!important;margin:0 auto 24px}
body.tte-page.tte-screen-password-recovery .tte-recovery__icon::before,body.tte-page.tte-screen-password-recovery .tte-recovery__icon::after{content:'';position:absolute;inset:13px;border:1px solid #b69b63;border-radius:4px;z-index:-1;transform:rotate(22.5deg);background:#fcfdf9}
body.tte-page.tte-screen-password-recovery .tte-recovery__icon::after{transform:rotate(67.5deg);background:transparent}
body.tte-page.tte-screen-password-recovery .tte-recovery__icon>svg{width:40px;height:40px;color:#193f32}
body.tte-page.tte-screen-password-recovery .tte-recovery__icon>i{position:absolute;bottom:24px;right:26px;width:23px;height:23px;background:#fcfdf9;border-radius:4px;display:grid;place-items:center;color:#193f32}
body.tte-page.tte-screen-password-recovery .tte-recovery__icon>i>svg{width:20px;height:20px}
body.tte-page.tte-screen-password-recovery #tte-recovery-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.tte-page.tte-screen-password-recovery .tte-recovery__intro{max-width:700px;font-size:15px;line-height:2.2;margin:0 auto 22px}
body.tte-page.tte-screen-password-recovery :is(.tte-recovery__tabs,.tte-recovery__form){max-width:720px;width:100%;margin-inline:auto}
body.tte-page.tte-screen-password-recovery .tte-recovery__tabs{padding:0;border:0;background:none;gap:10px;margin-bottom:18px}
body.tte-page.tte-screen-password-recovery .tte-recovery__tabs button{min-height:44px;border:1px solid #dce3d5;border-radius:7px;background:#f7f9f3;font-size:13px;box-shadow:none}
body.tte-page.tte-screen-password-recovery .tte-recovery__tabs button.is-active{background:#193f32;border-color:#193f32;color:#fcfdf9}
body.tte-page.tte-screen-password-recovery .tte-recovery__form label{font-size:12px;font-weight:500}
body.tte-page.tte-screen-password-recovery .tte-recovery__input>span{left:14px;right:auto}
body.tte-page.tte-screen-password-recovery .tte-recovery__input input{min-height:48px;padding:11px 14px 11px 44px;background:#fcfdf9;border-radius:8px;font-size:13px}
body.tte-page.tte-screen-password-recovery .tte-recovery__form>.tte-btn{min-height:48px;border-radius:7px;box-shadow:none;margin-top:10px;font-size:14px;background:#193f32}
body.tte-page.tte-screen-password-recovery .tte-recovery__help{display:flex;flex-direction:column;gap:8px;text-align:center;align-items:center;padding:24px!important;box-shadow:none!important;background:#fcfdf9!important;border:1px solid #dce3d5!important;border-radius:10px!important}
body.tte-page.tte-screen-password-recovery .tte-recovery__help strong{font-size:15px;font-weight:600}
body.tte-page.tte-screen-password-recovery .tte-recovery__help p{font-size:12px;margin:6px 0}
body.tte-page.tte-screen-password-recovery .tte-recovery__help a{min-height:40px;align-items:center;justify-content:center;padding:8px 20px;background:#193f32}
@media(max-width:900px){body.tte-page .tte-single--teacher .tte-person-card{grid-template-columns:215px minmax(0,1fr);gap:20px;padding:24px}body.tte-page .tte-single--teacher .tte-person-card__photo{width:215px}body.tte-page .tte-single--product .tte-product-detail{gap:24px!important}}
@media(max-width:650px){
 body.tte-page .tte-single--teacher .tte-person-card{display:flex;flex-direction:column;padding:20px;gap:18px}
 body.tte-page .tte-single--teacher .tte-person-card__photo{width:200px;height:260px;align-self:center}
 body.tte-page .tte-single--teacher .tte-person-card__copy{width:100%;padding:0}
 body.tte-page .tte-single--teacher .tte-person-card__copy h1{font-size:24px}
 body.tte-page .tte-single--teacher .tte-person-card__about .tte-prose{font-size:13px;line-height:2.2}
 body.tte-page .tte-single--teacher .tte-single-related{padding:15px}
 body.tte-page .tte-single--teacher .tte-single-related__head h2{font-size:15px}
 body.tte-page .tte-single--teacher .tte-teacher-article-row>img{width:72px;height:55px}
 body.tte-page .tte-single--teacher .tte-teacher-article-row__copy strong{font-size:12px}
 body.tte-page .tte-single--product .tte-product-detail{display:flex;flex-direction:column;gap:20px!important;padding:12px 0 24px!important}
 body.tte-page .tte-single--product .tte-product-detail__main-image{height:340px!important}
 body.tte-page .tte-single--product .tte-product-detail__info h2{font-size:24px}
 body.tte-page .tte-single--product .tte-product-detail__excerpt{font-size:13px}
 body.tte-page .tte-single--product .tte-product-tabs>a{font-size:12px;padding:12px 15px}
 body.tte-page .tte-single--product .tte-product-description{padding:20px!important}
 body.tte-page.tte-screen-password-recovery .tte-section--password-recovery{padding:24px 16px 56px!important}
 body.tte-page.tte-screen-password-recovery .tte-recovery__card{padding:26px 18px 24px!important}
 body.tte-page.tte-screen-password-recovery .tte-recovery__intro{font-size:13px}
 body.tte-page.tte-screen-password-recovery .tte-recovery__card::before,body.tte-page.tte-screen-password-recovery .tte-recovery__help::before{width:72px;height:72px;opacity:.35}
 body.tte-page.tte-screen-password-recovery .tte-recovery__help{padding:22px 14px!important}
}
/* Profile purchase controls must stay readable instead of shrinking into tiny two-column labels. */
body.tte-page .tte-single--teacher .tte-course-card__actions>:is(a,form){flex:1 1 100%!important;width:100%!important;max-width:100%!important}
body.tte-page .tte-single--teacher .tte-course-card__actions :is(a,button){font-size:12px!important;min-height:42px!important}
@media(max-width:480px){body.tte-page .tte-single--teacher .tte-single-related--courses .tte-single-related__grid{grid-template-columns:minmax(0,1fr)!important}body.tte-page .tte-single--teacher .tte-teacher-course-card__body{min-height:110px}}
@supports not (mask-image:url('')){body.tte-page .tte-single--teacher .tte-person-card__photo img{clip-path:polygon(4% 97%,4% 22%,6% 19%,12% 17%,39% 9%,45% 6%,50% 3.5%,55% 6%,61% 9%,88% 17%,94% 19%,96% 22%,96% 97%)}}
