/* Shared Ät bra! tokens for all Tutor dashboard/account screens. */
body.tutor-frontend,body.tutor-frontend [data-tutor-theme]{
 --tutor-font-family-body:Barlow;--tutor-font-family-heading:Barlow;
 --tutor-brand-100:#f5f8f0;--tutor-brand-200:#eff6ec;--tutor-brand-300:#d6e9cd;--tutor-brand-400:#9dcb8b;--tutor-brand-500:#75c16b;--tutor-brand-600:#316d36;--tutor-brand-700:#25552a;--tutor-brand-800:#204a29;--tutor-brand-900:#183e30;--tutor-brand-950:#122e24;
 --tutor-surface-base:#f8faf5;--tutor-surface-l1:#fff;--tutor-surface-l1-hover:#eff6ec;--tutor-surface-l2:#e8eee3;--tutor-surface-l3:#f5f8f0;--tutor-surface-sidebar-l1:#fff;
 --tutor-text-primary:#183e30;--tutor-text-secondary:#2c2c2c;--tutor-text-subdued:#626762;--tutor-border-idle:#d9ded7;--tutor-border-idle2:#d9ded7;--tutor-border-hover:#a7b6a0;--tutor-tab-sidebar-l2:#fff;--tutor-tab-sidebar-l2-hover:#f5f8f0;
 background:#f8faf5;color:#2c2c2c;font-family:Barlow,Arial,sans-serif;
}
body.tutor-frontend :is(button,input,select,textarea,.tutor-h1,.tutor-h2,.tutor-h3,.tutor-h4,.tutor-h5,.tutor-h6){font-family:Barlow,Arial,sans-serif}
body.tutor-frontend :is(h1,h2,h3,h4,h5,h6){color:#183e30;letter-spacing:-.02em}
body.tutor-frontend .ab-header{background:white}
body.tutor-frontend .tutor-dashboard-layout{max-width:1312px;margin:auto;grid-template-columns:230px minmax(0,1fr);border-inline:1px solid #d9ded7}
body.tutor-frontend .tutor-dashboard-sidebar-logo{display:none}
body.tutor-frontend .tutor-dashboard-sidebar-nav{padding:0}
body.tutor-frontend .tutor-dashboard-sidebar-nav ul li a{font-size:17px;line-height:1.5;padding:12px 16px;border-radius:4px}
/* Header spacing belongs to header-inner; avoid adding a second inset here. */
body.tutor-frontend .tutor-dashboard-header{min-height:0;height:auto;padding:0}
body.tutor-frontend .tutor-dashboard-page{padding:28px;max-width:1100px}
body.tutor-frontend :is(.tutor-card,.tutor-dashboard-page-card,.tutor-dashboard-page-card-body){border-radius:8px;box-shadow:none}
body.tutor-frontend .tutor-btn{border-radius:4px;font-size:17px;min-height:44px}
body.tutor-frontend :is(.tutor-input,.tutor-form-control){border-radius:4px;font-size:17px}
body.tutor-frontend :is(a,button,input,select,textarea):focus-visible{outline:2px solid #245eb5!important;outline-offset:3px}
body.tutor-frontend #ab-account-shortcuts{margin:24px 28px!important;background:#eff6ec!important;border-radius:8px!important}
body.tutor-frontend #ab-account-shortcuts a{border-radius:4px!important;background:#316d36!important}
body.tutor-frontend .ab-footer{padding-inline:24px;margin-top:40px}
@media(max-width:991px){body.tutor-frontend .tutor-dashboard-layout{grid-template-columns:minmax(0,1fr);border:0}body.tutor-frontend .tutor-dashboard-page{padding:20px 16px 100px}body.tutor-frontend #ab-account-shortcuts{margin:16px!important;padding:20px!important}body.tutor-frontend #ab-account-shortcuts a{width:100%;text-align:center}body.tutor-frontend:has(.tutor-learning-area.is-fullscreen) .atbra-nav-mobile{display:none}}

body.tutor-frontend,body.tutor-frontend [data-tutor-theme]{--tutor-surface-brand-dark:var(--tutor-brand-950,#1c234f);--tutor-surface-brand-primary:var(--tutor-brand-600,#3e64de);--tutor-surface-brand-primary-2:var(--tutor-brand-800,#293da4);--tutor-surface-brand-secondary:var(--tutor-brand-300,#dbe4fa);--tutor-surface-brand-tertiary:var(--tutor-brand-100,#f6f8fe);--tutor-surface-brand-quaternary:var(--tutor-brand-200,#e4ebfc);--tutor-surface-exception7:var(--tutor-brand-900,#263782);--tutor-text-brand:var(--tutor-brand-600,#3e64de);--tutor-text-brand-hover:var(--tutor-brand-700,#2b49ca);--tutor-text-brand-secondary:var(--tutor-brand-400,#a4bcf4);--tutor-icon-brand:var(--tutor-brand-600,#3e64de);--tutor-icon-brand-hover:var(--tutor-brand-700,#2b49ca);--tutor-icon-brand-secondary:var(--tutor-brand-300,#dbe4fa);--tutor-button-primary:var(--tutor-brand-600,#3e64de);--tutor-button-primary-hover:var(--tutor-brand-700,#2b49ca);--tutor-button-primary-focused:var(--tutor-brand-600,#3e64de);--tutor-button-primary-disabled:var(--tutor-brand-400,#a4bcf4);--tutor-button-primary-soft:var(--tutor-brand-200,#e4ebfc);--tutor-button-primary-soft-hover:var(--tutor-brand-300,#dbe4fa);--tutor-button-primary-soft-focused:var(--tutor-brand-200,#e4ebfc);--tutor-border-brand:var(--tutor-brand-600,#3e64de);--tutor-border-brand-secondary:var(--tutor-brand-300,#dbe4fa);--tutor-border-brand-tertiary:var(--tutor-brand-400,#a4bcf4);--tutor-tab-sidebar-l2-active:var(--tutor-brand-200,#e4ebfc);--tutor-tab-sidebar-l4-active:var(--tutor-brand-200,#e4ebfc);--tutor-tab-l3:var(--tutor-brand-200,#e4ebfc);--tutor-tab-l3-hover:var(--tutor-brand-300,#dbe4fa);--tutor-tab-l3-active:var(--tutor-brand-200,#e4ebfc);--tutor-actions-brand-primary:var(--tutor-brand-600,#3e64de);--tutor-actions-brand-secondary:var(--tutor-brand-300,#dbe4fa);--tutor-actions-brand-tertiary:var(--tutor-brand-200,#e4ebfc);--tutor-visual-brand-1:var(--tutor-brand-500,#4979e8);--tutor-visual-brand-2:var(--tutor-brand-400,#a4bcf4);--tutor-visual-brand-3:var(--tutor-brand-300,#dbe4fa);}
body.tutor-frontend .tutor-account-cover-photo[style*="/tutor/assets/images/cover-photo.webp"]{background-image:linear-gradient(120deg,#eff6ec,#d6e9cd 60%,#75c16b)!important}

/* Tutor structural defaults. Shared brand values live in design-system.css. */
body.tutor-frontend{--tutor-surface-base:#fff;--tutor-surface-l3:#f2f2f2;--tutor-text-primary:#111;--tutor-text-secondary:#2c2c2c;background:#fff}
body.tutor-frontend :is(h1,h2,h3,h4,h5,h6){color:#111;letter-spacing:normal}
body.tutor-frontend :is(.tutor-card,.tutor-dashboard-page-card,.tutor-dashboard-page-card-body,.tutor-lesson-content){border-radius:4px;box-shadow:none}
body.tutor-frontend .tutor-dashboard-layout{border-inline:0}
body.tutor-frontend .tutor-dashboard-header{background:#fff;border-bottom:1px solid #d9ded7}
body.tutor-frontend .tutor-dashboard-sidebar-nav li a{border-radius:0}
body.tutor-frontend .tutor-learning-header{background:#fff;border-bottom:1px solid #d9ded7}
body.tutor-frontend .tutor-learning-nav-item{border-radius:0;padding-block:12px}
body.tutor-frontend .tutor-learning-nav-item.active{background:#eff6ec}
body.tutor-frontend .tutor-lesson-content{border:0;background:white}
body.tutor-frontend .tutor-learning-area-content{padding:28px}
body.tutor-frontend .tutor-learning-area-container{max-width:960px}
body.tutor-frontend :is(.tutor-course-card,.tutor-course-details-widget){border-color:#d9ded7;border-radius:4px;box-shadow:none}
body.tutor-frontend .tutor-course-card .tutor-card-body{padding:24px}
body.tutor-frontend .tutor-course-card .tutor-card-footer{padding:20px 24px;background:#eff6ec;border-top:1px solid #d9ded7}
body.tutor-frontend :is(.tutor-btn-primary,.tutor-btn-outline-primary){min-height:48px;border-radius:4px}
body.tutor-frontend :is(.tutor-form-control,.tutor-input){min-height:48px;border:1px solid #d9ded7;background:white;color:#2c2c2c}
body.tutor-frontend :is(.tutor-course-details-title,.tutor-lesson-content h1){font-size:clamp(30px,3vw,44px);line-height:1.2}
body.tutor-frontend :is(.tutor-tabs-nav,.tutor-nav){border-color:#d9ded7}
body.tutor-frontend :is(.tutor-modal-content,.tutor-modal-window){border-radius:4px}
@media(max-width:760px){body.tutor-frontend .tutor-learning-area-content{padding:20px 16px}body.tutor-frontend .tutor-course-card .tutor-card-body{padding:20px}}
/* Desktop learning composition follows the sketch: lesson left, contents right. */
@media(min-width:993px){
 body.tutor-frontend .tutor-learning-area.tutor-has-site-shell:not(.is-fullscreen) .tutor-learning-area-body{grid-template-columns:minmax(0,1fr) 300px;max-width:1280px;margin-inline:auto;gap:32px;padding:32px 24px}
 body.tutor-frontend .tutor-learning-area.tutor-has-site-shell:not(.is-fullscreen) .tutor-learning-sidebar{grid-column:2;grid-row:1;width:300px;border-left:1px solid #d9ded7;padding-left:20px}
 body.tutor-frontend .tutor-learning-area.tutor-has-site-shell:not(.is-fullscreen) .tutor-learning-area-content{grid-column:1;grid-row:1;padding:0;min-width:0}
}
body.tutor-frontend .tutor-lesson-content .tutor-lesson-content-tab{border-radius:0;border:0;box-shadow:none}
body.tutor-frontend .tutor-learning-nav .tutor-learning-nav-item.active{background:#eff6ec;border-radius:0}
body.tutor-frontend .tutor-course-details-page{max-width:1280px;padding:48px 24px}
body.tutor-frontend .tutor-course-details-header{margin-bottom:28px}
body.tutor-frontend .tutor-course-thumbnail{background:#fff;overflow:hidden;border-radius:4px}
body.tutor-frontend .tutor-course-thumbnail img{display:block;width:100%;max-height:420px;object-fit:contain}
body.tutor-frontend .tutor-course-details-content{font-size:18px;line-height:1.6}
body.tutor-frontend :is(.tutor-course-details-content h2,.tutor-course-details-content h3){margin-block:28px 16px}
@media(max-width:760px){body.tutor-frontend .tutor-course-details-page{padding:28px 20px}body.tutor-frontend .tutor-course-thumbnail img{max-height:260px}}
/* Editable student overview; Tutor continues to own courses and account subroutes. */
body.tutor-frontend .tutor-dashboard-layout:has(.ab-account-overview){display:block;max-width:1280px}
body.tutor-frontend .tutor-dashboard-layout:has(.ab-account-overview) .tutor-dashboard-sidebar,
body.tutor-frontend .tutor-dashboard-layout:has(.ab-account-overview) .tutor-dashboard-header{display:none}
body.tutor-frontend .tutor-dashboard-layout:has(.ab-account-overview) .tutor-dashboard-page{max-width:none;padding:48px 24px}
.ab-account-overview h1{font-size:clamp(32px,4vw,48px);line-height:1.15;margin:0 0 16px}
.ab-account-overview>p{font-size:20px;margin:0 0 40px}
.ab-account-overview .wp-block-columns{display:flex;gap:64px;align-items:flex-start}
.ab-account-overview .wp-block-column{flex:1;min-width:0}
.ab-account-overview .ab-account-row{border-bottom:1px solid #d9ded7;padding:20px 0;margin:0}
.ab-account-overview .ab-account-row:first-child{border-top:1px solid #d9ded7}
.ab-account-overview .ab-account-row h2{font-size:23px;margin:0 0 6px;line-height:1.3}
.ab-account-overview .ab-account-row a{display:block;color:#316d36;text-decoration:none}
.ab-account-overview .ab-account-row a:hover{text-decoration:underline}
.ab-account-overview .ab-account-row p{font-size:17px;line-height:1.5;margin:0;color:#626762}
.ab-account-overview .ab-account-photo{margin:0 0 24px}
.ab-account-overview .ab-account-photo img{width:100%;height:440px;object-fit:cover;border-radius:4px}
.ab-account-overview .ab-account-logout{margin-top:24px}
@media(max-width:760px){.ab-account-overview .wp-block-columns{flex-direction:column;gap:32px}.ab-account-overview .wp-block-column{width:100%}.ab-account-overview .ab-account-photo img{height:280px}body.tutor-frontend .tutor-dashboard-layout:has(.ab-account-overview) .tutor-dashboard-page{padding:28px 20px 100px}.ab-account-overview>p{margin-bottom:28px}}
.ab-account-overview>.wp-block-columns>.wp-block-column>h2{font-size:30px;line-height:1.25}
/* Keep native Tutor controls, dialogs and checkout in the same visual family. */
body.tutor-frontend :is(.tutor-rounded-xl,.tutor-rounded-2xl,.tutor-rounded-3xl){border-radius:4px}
body.tutor-frontend :is(.tutor-auth-form,.tutor-login-wrap,.tutor-register-form){box-shadow:none;border-color:#d9ded7}
body.tutor-frontend :is(.tutor-cart-page,.tutor-checkout-page){max-width:1280px;margin-inline:auto;padding:48px 24px}
body.tutor-frontend .ab-dashboard-title{font-size:clamp(30px,3vw,40px);line-height:1.2;margin:0 0 28px}
body.tutor-frontend .tutor-account-header-title{font-size:26px;line-height:1.25}
body.tutor-frontend .tutor-popover{border-radius:4px;border-color:#d9ded7;box-shadow:0 8px 24px #11111112}
body.tutor-frontend .tutor-login-wrap{padding:32px!important;margin:40px auto!important;max-width:520px;border-radius:4px;box-shadow:none}
body.tutor-frontend .tutor-login-wrap form{padding:0!important}
.ab-auth-label{display:block;margin-bottom:8px;font-weight:600;font-size:17px}
body.tutor-frontend .ab-auth-card{padding:32px;border-radius:4px}
body.tutor-frontend .ab-auth-card h1{font-size:32px;line-height:1.2;margin:0 0 20px}
body.tutor-frontend .ab-auth-card form{padding:0!important}
.ab-auth-back{margin:24px 0 0}
@media(min-width:992px){body.tutor-frontend .tutor-course-details-page>.tutor-row>main.tutor-col-xl-8{flex:0 0 66.6667%;width:66.6667%}body.tutor-frontend .tutor-course-details-page>.tutor-row>aside.tutor-col-xl-4{flex:0 0 33.3333%;width:33.3333%}}
@media(max-width:600px){body.tutor-frontend .tutor-login-wrap,body.tutor-frontend .ab-auth-card{width:calc(100% - 40px);margin:24px auto!important;padding:24px!important}body.tutor-frontend .tutor-course-details-page{padding:28px 20px}body.tutor-frontend .tutor-account-header-title{font-size:22px}}
body.tutor-frontend .tutor-sidebar-card>.tutor-card-body{background:#eff6ec;padding:28px}
body.tutor-frontend .tutor-course-details-instructors{background:#fff}
body.tutor-frontend .tutor-course-details-page{padding-top:24px}
body.tutor-frontend .tutor-course-details-header{margin-bottom:24px}
body.tutor-frontend .ab-course-catalog-intro{max-width:1280px;margin:auto;padding:48px 24px 0}
body.tutor-frontend .ab-course-catalog-intro>.wp-block-group{padding:0!important}
body.tutor-frontend .ab-course-catalog-intro h1{font-size:clamp(32px,4vw,48px);line-height:1.15;margin:0 0 20px}
body.tutor-frontend .ab-course-catalog-intro p{font-size:20px;line-height:1.5}
body.tutor-frontend .ab-course-catalog-intro .tutor-wrap{display:none}
body.tutor-frontend :is(.tutor-course-loop-title,.tutor-course-name){font-size:24px;line-height:1.3}
@media(max-width:600px){body.tutor-frontend .ab-course-catalog-intro{padding:28px 20px 0}.atbra-site.page #primary{margin:0!important;padding:0!important}}
.atbra-site .ab-commerce-intro{max-width:1160px;margin:0 auto;padding:48px 24px 0}
.atbra-site .ab-commerce-intro h1{font-size:clamp(32px,4vw,48px);margin:0 0 20px}
.atbra-site .ab-commerce-intro p{font-size:20px;margin:0}
.atbra-site .tutor-checkout-page{padding:32px 24px 48px;max-width:1160px;margin:auto}
.atbra-site .tutor-checkout-page .tutor-container{padding:0;width:100%}
.atbra-site .tutor-checkout-details-inner{background:#eff6ec;padding:28px;border:1px solid #d9ded7;border-radius:4px}
.atbra-site .tutor-checkout-billing-inner{padding:0}
.atbra-site .tutor-billing-fields :is(input,select){min-height:48px;font-size:17px;padding:12px;background:#fff;border-color:#d9ded7}
.atbra-site .tutor-checkout-page h5{font-size:24px;line-height:1.3;margin-bottom:20px}
.atbra-site .tutor-checkout-page .tutor-btn{font-size:17px;min-height:48px;border-radius:4px}
@media(min-width:768px){.atbra-site #tutor-checkout-form>.tutor-row>[tutor-checkout-details]{order:2}.atbra-site #tutor-checkout-form>.tutor-row>.tutor-col-md-6:not([tutor-checkout-details]){order:1}}
@media(max-width:600px){.atbra-site .ab-commerce-intro{padding:28px 20px 0}.atbra-site .tutor-checkout-page{padding:24px 20px 32px}.atbra-site .tutor-checkout-details-inner{padding:20px}}
/* Align Tutor's legacy containers with the site's 1280px content grid. */
.atbra-site .tutor-courses-wrap.course-archive-page{max-width:1280px;width:100%;padding:28px 24px 48px;margin:0 auto}
.atbra-site .tutor-courses-wrap.course-archive-page>.tutor-row{margin:0}
.atbra-site .tutor-courses-wrap.course-archive-page>.tutor-row>.tutor-col-12{padding:0}
.atbra-site .tutor-checkout-page .tutor-container{max-width:none}
.atbra-site .tutor-checkout-page .tutor-checkout-details .tutor-checkout-details-inner{background:#eff6ec}
.atbra-site .ab-commerce-empty{max-width:1112px;margin:32px auto 64px;padding:32px;background:#eff6ec;border-radius:4px}
.atbra-site .ab-commerce-empty h2{font-size:28px;margin:0 0 16px}
@media(max-width:600px){.atbra-site .tutor-courses-wrap.course-archive-page{padding:24px 20px}.atbra-site .ab-commerce-empty{margin:24px 20px 40px;padding:24px}}
body.tutor-frontend .tutor-login-form-wrapper{padding:0!important}
body.tutor-frontend .ab-login-title{font-size:32px;line-height:1.2;margin:0 0 28px;font-weight:700}
body.tutor-frontend #tutor-login-form>.tutor-d-flex{flex-wrap:wrap;gap:12px}
@media(max-width:600px){body.tutor-frontend .tutor-login-wrap{width:calc(100% - 40px)!important}.ab-login-title{font-size:30px!important}}

.tutor-progress-card .ab-course-access-summary{margin:12px 0 16px;padding:10px 14px;border-left:3px solid #75c16b;background:#eff6ec;color:#25552a;font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}

/* Native country selects must fit their text inside Tutor's checkout field height. */
.atbra-site .tutor-billing-fields select[name="billing_country"]{box-sizing:border-box;height:56px!important;min-height:56px!important;padding:12px 40px 12px 16px!important;line-height:24px!important;font-size:17px;vertical-align:middle;text-indent:0}

.atbra-site .tutor-billing-fields label[for="ab-billing-email"]{display:block!important;position:static!important;padding:12px 16px 0;margin:0;font-size:14px;line-height:1.4;color:#626762}

.ab-search .ab-search-fields{display:flex;align-items:end;gap:16px}.ab-search-fields>div{flex:1;min-width:0}.ab-recipe-search{max-width:100%}.ab-search-fields input,.ab-search-fields select{box-sizing:border-box;width:100%;height:52px;min-height:52px;padding:10px 14px;line-height:24px;border:1px solid #d9ded7;border-radius:4px;font:inherit;background:#fff}.ab-search-fields button{height:52px;flex-shrink:0}.ab-search-fields label{margin-bottom:8px}@media(max-width:640px){.ab-search .ab-search-fields{display:flex;flex-direction:column;align-items:stretch}.ab-search-fields>div{width:100%}}
