/* AT4.5: scoped reading surfaces. No game state, pricing or payment actions. */
@layer at-learn-utility{
html body.at-quality-page{--paper:#F5F2E9;--ink:#173C33;background:#F5F2E9!important;color:#173C33!important;font-size:18px!important;line-height:1.6!important}
html body.at-quality-page :is(header,footer,main){color:#173C33!important}
html body.at-quality-page :is(.card,.catalog-card,.practice,.at-task-picker,.tool-card,.template-card,.order-card,dialog){background:#fffdf8!important;color:#173C33!important;border-color:#819b8c!important}
html body.at-quality-page main :is(h1,h2,h3,h4,p,li,label,legend,summary,.micro,.hint,.muted,.label,.type-label,.card-tags span){color:#173C33!important}
html body.at-quality-page main a:not(.btn):not(.button):not(.primary){color:#14573e!important}
html body.at-quality-page :is(input,textarea,select){background:#fffdf8!important;color:#173C33!important;border-color:#607f70!important}
html body.at-quality-page :is(button,.btn,.button,.primary){background:#173C33!important;color:#F5F2E9!important;border-color:#173C33!important;min-height:44px!important;font-size:16px!important}
html body.at-quality-page :is(p,li,label,textarea){font-size:18px!important;line-height:1.6!important}
html body.at-quality-page :is(.micro,.hint,.muted,.label,.card-tags span,summary){font-size:16px!important;line-height:1.5!important}
html body.at-quality-page h1{font-size:clamp(32px,5vw,52px)!important;line-height:1.15!important}
html body.at-quality-page :is(.g-strip,.g-strip p,.g-strip strong,.g-strip a){color:#F5F2E9!important;background:#173C33!important}
html body.at-quality-page .card-head{background:#edf0e4!important;color:#173C33!important}
html body.at-quality-page .card-body{color:#173C33!important}
html body.at-quality-page .card-tags span{background:#e8eddf!important;color:#173C33!important}
html body.at-quality-page :is(button,a,summary,input,textarea,select):focus-visible{outline:3px solid #94531c!important;outline-offset:4px!important}
html[data-checkout-intent=monthly] body.at-quality-page .order-card{min-height:1080px!important}
html[data-checkout-intent=lifetime] body.at-quality-page .order-card{min-height:760px!important}
html[data-checkout-intent]:not([data-checkout-intent=saved]) body.at-quality-page #title{min-height:58px!important}
html[data-checkout-intent]:not([data-checkout-intent=saved]) body.at-quality-page #course-description{min-height:52px!important}
html[data-checkout-intent=monthly] #monthly-price-slot{min-height:260px}
html:not([data-checkout-intent=monthly]) #monthly-price-slot{display:none}
html[data-checkout-intent] body.at-quality-page #state{min-height:32px!important}
html[data-checkout-intent=monthly] body.at-quality-page:has(#checkout:not([hidden])) #state{display:block!important;visibility:hidden!important;height:32px!important}
@media(max-width:700px){html[data-checkout-intent=monthly] #monthly-price-slot{min-height:290px}html[data-checkout-intent]:not([data-checkout-intent=saved]) body.at-quality-page #title{min-height:88px!important}html body.at-quality-page header{min-height:88px}}
}
@layer at-learn-utility{
html body.at-quality-page :is(header,footer) :is(a,p,span,summary){color:#173C33!important}
html body.at-quality-page :is(header,footer) :is(p,span,summary){font-size:16px!important;line-height:1.5!important}
html body.at-quality-page a:not(.button):not(.btn):not(.primary){text-decoration:underline!important}
html body.at-quality-page #save-status{background:#edf0e4!important;color:#173C33!important}
html[data-checkout-intent] body.at-quality-page header{display:grid!important;grid-template-columns:minmax(0,1fr) auto 190px!important;align-items:center!important;gap:20px!important;min-height:100px!important}
html[data-checkout-intent] body.at-quality-page header .at-language{margin:0!important;padding:3px!important;grid-column:3!important;min-height:48px!important}
html[data-checkout-intent] body.at-quality-page .at-language-note{display:none!important}
html[data-checkout-intent]:not([data-checkout-intent=saved]) body.at-quality-page main>h1{min-height:124px!important}
@media(max-width:700px){html[data-checkout-intent] body.at-quality-page header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:44px 52px!important;column-gap:16px!important;row-gap:8px!important;min-height:140px!important}html[data-checkout-intent] body.at-quality-page header .at-language{grid-column:1/-1!important;grid-row:2!important;justify-self:start!important}html[data-checkout-intent]:not([data-checkout-intent=saved]) body.at-quality-page main>h1{min-height:124px!important}}
}

@layer at-learn-utility {body.at-quality-page :is(a,p,summary){color:#173c33!important}body.at-quality-page :is(.button,.btn,button,.at-primary,.rl-button){color:#f5f2e9!important}}

@layer at-learn-utility {body.at-quality-page .at-service-links>summary{background:#f5f2e9!important;color:#173c33!important}}

@layer at-learn-utility {body.at-quality-page .at-service-count{color:#173c33!important;font-size:16px!important}}
