/* RC9 — tokens sampled from the existing homepage, not a homepage redesign. */
.tte-page{
 --tte-brand:#193f32;--tte-action:#17352a;--tte-heading:#0c4d3b;
 --tte-gold:#b69b63;--tte-gold-light:#d5bc7c;--tte-canvas:#f7f9f3;
 --tte-paper:#fcfdf9;--tte-ink:#30463b;--tte-muted:#68765f;--tte-line:#e1e7dc;
 --tte-radius:8px;--tte-card-radius:10px;
}
.tte-page:not(.tte-screen-home){background:var(--tte-canvas);color:var(--tte-ink);font-family:Vazirmatn,Tahoma,sans-serif}
.tte-page:not(.tte-screen-home) :is(.ttv,.tte-teacher-directory){
 --v-green:var(--tte-brand);--v-green-d:var(--tte-action);--v-green-l:var(--tte-heading);
 --v-gold:var(--tte-gold);--v-gold-l:var(--tte-gold-light);--v-cream:var(--tte-canvas);
 --v-paper:var(--tte-paper);--v-ink:var(--tte-ink);--v-mut:var(--tte-muted);--v-line:var(--tte-line);
 --td-green:var(--tte-brand);--td-gold:var(--tte-gold);--td-paper:var(--tte-paper);--td-line:var(--tte-line);
}
.tte-page:not(.tte-screen-home) :is(.tte-directory-card,.tte-directory-filter,.tte-directory-sidebar,.ttv-panel,.tte32-panel,.tte32-card){border-color:var(--tte-line);border-radius:var(--tte-card-radius)}
.tte-page:not(.tte-screen-home) :is(.tte-directory-card,.ttv-panel){background:var(--tte-paper)}
.tte-page:not(.tte-screen-home) :is(.tte-directory-card h3,.tte32-card h3,.ttv-sim__b b){overflow-wrap:anywhere}
.tte-page:not(.tte-screen-home) :is(.tte-directory-card__body>p,.tte-directory-stats,.tte-directory-tags){line-height:1.9}
.tte-page:not(.tte-screen-home) .tte-directory-card h3{font-size:14px;line-height:1.9}
.tte-page:not(.tte-screen-home) .tte-directory-card__body>p{font-size:11px}
.tte-page:not(.tte-screen-home) .tte-directory-stats{font-size:11px}
.tte-page:not(.tte-screen-home) .tte-directory-tags a{font-size:10px}
.tte-page:not(.tte-screen-home) .tte-directory-card .tte-directory-profile{min-height:40px;font-size:11px;border-radius:var(--tte-radius)}
.tte-page:not(.tte-screen-home) :is(.tte-directory-container>section>header h2,.tte-directory-results h2,.ttv-panel__title){color:var(--tte-heading)}
.tte-page:not(.tte-screen-home) .tte-teacher-directory .tte-btn{background:var(--tte-action);border-radius:var(--tte-radius)}
.tte-page:not(.tte-screen-home) .tte-directory-spotlight .tte-btn{background:transparent}
.tte-page:not(.tte-screen-home) .tte-directory-closing .tte-btn{background:linear-gradient(100deg,var(--tte-gold),#e7d6a6);color:var(--tte-action)}
.tte-page:not(.tte-screen-home) .ttm--speech>.ttv-hero{background:var(--tte-brand)}
.tte-page:not(.tte-screen-home) .ttv-hero::before{background-image:url('../images/footer-corner.svg'),url('../images/footer-corner.svg');background-repeat:no-repeat;background-size:140px,140px;background-position:top left,bottom right;opacity:.22}
.tte-page:not(.tte-screen-home) :is(.ttv-btn,.tte32-card .tte-btn){border-radius:var(--tte-radius)}
.tte-page:not(.tte-screen-home) .ttv .ttv-btn--green{background:var(--tte-action);color:#fffdf5}
.tte-page:not(.tte-screen-home) .ttv .ttv-btn--gold{background:linear-gradient(110deg,var(--tte-gold),#e7d6a6);color:var(--tte-action)}
.tte-page:not(.tte-screen-home) .ttv .ttv-btn--outline{color:#fffdf5;border-color:#c3b18088}
.tte-page:not(.tte-screen-home) .ttv a.ttv-file{color:var(--tte-ink);background:var(--tte-paper);border-color:var(--tte-line)}
.tte-page:not(.tte-screen-home) .ttv .ttv-tag{background:#edf2e7;color:var(--tte-heading);border-color:var(--tte-line)}
.tte-page:not(.tte-screen-home) :is(.tte-directory-card__photo,.ttv-sim__ph) img{object-position:center 25%}
.tte-page:not(.tte-screen-home) :is(button,a,input,select,textarea):focus-visible{outline-color:var(--tte-gold);outline-offset:3px}
@media(max-width:650px){
 .tte-page:not(.tte-screen-home) .tte-directory-card h3{font-size:12px}
 .tte-page:not(.tte-screen-home) .tte-directory-card__body>p,.tte-page:not(.tte-screen-home) .tte-directory-stats{font-size:10px}
 .tte-page:not(.tte-screen-home) .tte-directory-tags a{font-size:9px}
 .tte-page:not(.tte-screen-home) .tte-directory-card .tte-directory-profile{font-size:10px;min-height:42px;padding-inline:7px}
 .tte-page:not(.tte-screen-home) .ttv-hero::before{background-size:90px,90px}
 .tte-page:not(.tte-screen-home) .ttv-hero__btns{gap:8px}
 .tte-page:not(.tte-screen-home) .ttv-hero__btns .ttv-btn{min-height:42px;height:auto;padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){.tte-page:not(.tte-screen-home) *{scroll-behavior:auto}}
/* Four-item course groups must not form a sparse 3 + 1 desktop arrangement. */
@media(min-width:1280px){
 body.tte-page:not(.tte-screen-home) #tte-page .tte32-card-grid,
 body.tte-page:not(.tte-screen-home) .tte32-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
}
@media(min-width:561px) and (max-width:1279px){
 body.tte-page:not(.tte-screen-home) #tte-page .tte32-card-grid,
 body.tte-page:not(.tte-screen-home) .tte32-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
 body.tte-page:not(.tte-screen-home) #tte-page .tte32-card-grid,
 body.tte-page:not(.tte-screen-home) .tte32-card-grid{grid-template-columns:minmax(0,1fr)!important}
}
.tte-page:not(.tte-screen-home) .tte32-card{container-type:inline-size}
.tte-page:not(.tte-screen-home) .tte32-card-body>p{font-size:13px;line-height:1.9}
@container(max-width:250px){
 body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-card .tte32-card-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important}
 body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-card .tte32-card-buttons{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;width:100%!important}
 body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-card .tte32-card-buttons>.tte-btn{width:100%!important;min-height:40px!important;white-space:nowrap!important}
 body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-card-price{text-align:center!important}
}
body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-card-buttons>.tte-btn--details{background:var(--tte-paper)!important;color:var(--tte-action)!important;border:1px solid var(--tte-line)!important;box-shadow:none!important}
body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-card-buttons>.tte-btn{min-height:42px!important;font-size:11px!important}
/* Eight showcase products form two complete desktop rows; home and related products stay unchanged. */
@media(min-width:1280px){body.tte-page.tte-screen-store :is(#tte-page,.tte-site) .tte-grid--products{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:561px) and (max-width:1279px){body.tte-page.tte-screen-store :is(#tte-page,.tte-site) .tte-grid--products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){body.tte-page.tte-screen-store :is(#tte-page,.tte-site) .tte-grid--products{grid-template-columns:minmax(0,1fr)!important}}
/* Feature actions wrap as whole buttons, never as a two-line purchase label. */
body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-feature-cta{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-feature-cta>.tte-btn{flex:1 1 180px!important;min-width:0!important;min-height:44px!important;width:auto!important;white-space:nowrap!important}
body.tte-page:not(.tte-screen-home) :is(#tte-page,.tte32-site) .tte32-feature-cta>.tte32-freemark{flex-basis:100%;text-align:center}
