/* RC59: a focused, responsive international marketplace skin.
   CSS only; never hides purchase failures, form validation, prices or safety notices. */
.mzweb-active{--mz59-ink:#183449;--mz59-muted:#586d7b;--mz59-teal:#087a75;--mz59-border:#dfebed}
.mzweb-active .ast-primary-header-bar,.mzweb-active .main-header-bar{background:#fff!important;border-bottom:1px solid #e6eef0!important;box-shadow:none!important}
.mzweb-active .main-header-menu>.menu-item>.menu-link,.mzweb-active .ast-builder-menu-1 .menu-item>.menu-link{color:#23495a!important;font-size:14px!important;font-weight:650!important;letter-spacing:0!important;padding-left:13px!important;padding-right:13px!important}
.mzweb-active .main-header-menu>.menu-item>.menu-link:hover,.mzweb-active .main-header-menu>.menu-item.current-menu-item>.menu-link{color:var(--mz59-teal)!important}
.mzweb-active .mzweb-home{color:var(--mz59-ink)}
.mzweb-active .mzweb-home .mzweb-hero{max-width:1250px!important;min-height:unset!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;gap:clamp(25px,3vw,45px)!important;padding:56px 35px 62px!important;align-items:center!important}
.mzweb-active .mzweb-home .mzweb-hero:before{background:linear-gradient(110deg,#f7fbfc,#f3faf8 65%,#f9fcfc)!important}
.mzweb-active .mzweb-hero-copy{max-width:650px}
.mzweb-active .mzweb-hero .mzweb-eyebrow{margin-bottom:11px!important;font-size:11px;letter-spacing:.16em}
.mz59-hero-kicker{font-size:12px!important;font-weight:650!important;color:#467b7b!important;letter-spacing:.035em;margin:0 0 14px!important}
.mzweb-active .mzweb-home .mzweb-hero h1{font-size:clamp(32px,3.3vw,48px)!important;letter-spacing:-.045em!important;font-weight:780!important;line-height:1.27!important;margin:0 0 18px!important;max-width:650px;text-wrap:balance}
.mzweb-active .mzweb-home .mzweb-hero h1 span{display:block;color:var(--mz59-teal)!important}
.mzweb-active .mzweb-home .mzweb-hero .mzweb-lead{font-size:14px!important;line-height:1.84!important;color:var(--mz59-muted)!important;margin:0!important;max-width:565px}
.mzweb-active .mzweb-home .mzweb-actions{gap:10px!important;margin-top:23px!important}
.mzweb-active .mzweb-home .mzweb-primary,.mzweb-active .mzweb-home .mzweb-secondary{min-height:46px!important;padding:12px 20px!important;font-size:14px!important;border-radius:9px!important;box-shadow:none!important;transform:none!important}
.mzweb-active .mzweb-home .mzweb-primary:hover,.mzweb-active .mzweb-home .mzweb-primary:focus-visible{background:#056963!important}
.mzweb-active .mzweb-home .mzweb-secondary:hover,.mzweb-active .mzweb-home .mzweb-secondary:focus-visible{border-color:#0b827e!important;color:#0a706b!important}
.mz59-help-line{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;margin-top:20px;color:#607684;font-size:12px}
.mz59-help-line a{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;text-decoration:none!important;color:#05786f!important}
.mz59-help-line svg{width:14px;height:14px}
.mz59-hero-footnotes{display:flex;gap:7px 16px;flex-wrap:wrap;margin-top:25px;padding-top:13px;border-top:1px solid #d9e8e7;color:#567580;font-size:11px}
.mz59-hero-footnotes span:before{content:'✓';margin-right:5px;color:#0c8a78;font-weight:800}
.mzweb-active .mzweb-showcase-with-illustration{min-height:unset!important;height:auto!important;display:block!important;margin:0!important;padding:0!important}
.mzweb-active .mzweb-showcase-with-illustration:before{display:none!important}
.mzweb-active .mzweb-showcase-with-illustration .mzweb-showcase-illustration{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:345px!important;aspect-ratio:1.33;object-fit:cover!important;object-position:center;border-radius:18px!important;box-shadow:0 10px 28px rgba(18,48,64,.08)!important}
.mzweb-active .mzweb-quicksearch{position:relative;max-width:1180px!important;margin:-20px auto 32px!important;padding:19px 22px!important;border-radius:14px!important;box-shadow:0 6px 24px rgba(20,45,54,.07)!important;border:1px solid #dfebed!important;background:#fff!important;z-index:2}
.mzweb-active .mzweb-quicksearch-title h2{font-size:17px!important;margin:0 0 2px!important}
.mzweb-active .mzweb-quicksearch-title p{font-size:11px!important;color:#738a93}
.mzweb-active .mzweb-quicksearch select{min-height:42px!important;height:42px!important;padding:8px 10px!important;border-radius:8px!important;font-size:13px!important}
.mzweb-active .mzweb-quicksearch button{min-height:42px!important;padding:11px 18px!important;font-size:13px!important;border-radius:8px!important;box-shadow:none!important}
.mzweb-active .mzweb-section{max-width:1180px!important;margin:48px auto!important}
.mzweb-active .mzweb-section-heading h2{font-size:clamp(23px,2.5vw,30px)!important}
.mzweb-active .mzweb-value-card{min-height:0!important;padding:25px!important}
.mzweb-active .mzweb-journey-card{padding:25px!important}
.mzweb-active .mzweb-feature-band{margin-top:40px!important;margin-bottom:40px!important}
/* Teacher dashboard: make actions findable while keeping every functional field visible. */
.mzweb-active .mzgp-dash .mzgp-hero,.mzweb-active .mzgp-dash .mzweb-inner-hero{padding:19px 25px!important;margin:12px 0!important;min-height:0!important;border-radius:14px!important}
.mzweb-active .mzgp-dash .mzgp-hero h1,.mzweb-active .mzgp-dash .mzweb-inner-hero h1{font-size:clamp(22px,2.6vw,29px)!important;line-height:1.3!important;margin:7px 0!important}
.mzweb-active .mzgp-dash .mzgp-hero p,.mzweb-active .mzgp-dash .mzweb-inner-hero p{font-size:13px!important;line-height:1.6!important;max-width:800px}
.mzweb-active .mzgp-dash .mz41-tabs{display:flex!important;flex-wrap:wrap;gap:7px!important;padding:7px!important;background:#f5f9f9!important;margin:12px 0 16px!important;border-radius:11px!important}
.mzweb-active .mzgp-dash .mz41-tab{padding:10px 13px!important;font-size:13px!important;border-radius:8px!important;min-height:39px!important}
.mzweb-active .mzgp-dash .mz41-panel{padding:clamp(16px,2vw,24px)!important;border-radius:12px!important;margin:12px 0!important}
.mzweb-active .mzgp-dash .mz41-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mzweb-active .mzgp-dash .mz41-service{padding:17px!important;background:#fff!important;border-radius:10px!important}
.mzweb-active .mzgp-dash .mz41-service h3{font-size:15px!important}
.mzweb-active .mzgp-dash .mz41-service p{font-size:12px!important}
.mzweb-active .mzgp-dash .mz41-status{margin:12px 0!important;padding:12px 15px!important;font-size:12px!important}
.mzweb-active .mzgp-dash .mz40-assist{border-radius:11px!important}
.mzweb-active :where(.mzgp-dash,.mz42-directory,.mzweb-home) :is(a,button,input,select,summary):focus-visible{outline:3px solid #5fa9a1!important;outline-offset:2px}
/* Compact marketplace results. Avoid false density by preserving readable cards and direct details. */
.mzweb-active .mz42-directory>.mzgp-hero{background:#f6faf9!important;border:1px solid #dceae7!important;color:#234558!important;box-shadow:none!important;padding:16px 20px!important}
.mzweb-active .mz42-directory>.mzgp-hero :is(h1,h2,p){color:#234558!important}
.mzweb-active .mz42-directory .mzgp-directory-grid>.mzgp-card{border:1px solid #dce7e9!important;transition:border-color .15s,box-shadow .15s}
.mzweb-active .mz42-directory .mzgp-directory-grid>.mzgp-card:hover{border-color:#6dada6!important;box-shadow:0 5px 17px rgba(33,67,73,.06)!important}
.mzweb-active .mz42-directory .mzgp-card h3{font-size:14px!important}
/* Better responsive layout and true RTL for core site copy. */
@media(max-width:1020px){
 .mzweb-active .mzweb-home .mzweb-hero{grid-template-columns:1fr!important;gap:19px!important;padding:38px 25px 45px!important}
 .mzweb-active .mzweb-showcase-with-illustration{max-width:740px!important}
 .mzweb-active .mzweb-showcase-with-illustration .mzweb-showcase-illustration{max-height:300px!important;aspect-ratio:16/7.4}
 .mzweb-active .mzweb-quicksearch{margin:0 20px 30px!important}
}
@media(max-width:700px){
 .mzweb-active .mzweb-home .mzweb-hero{padding:28px 18px 28px!important}
 .mzweb-active .mzweb-home .mzweb-hero h1{font-size:clamp(29px,8vw,38px)!important}
 .mzweb-active .mzweb-home .mzweb-hero .mzweb-lead{font-size:13px!important}
 .mzweb-active .mzweb-showcase-with-illustration{display:none!important}
 .mzweb-active .mzweb-quicksearch{margin:0 12px 22px!important;padding:16px!important}
 .mzweb-active .mzweb-quicksearch .mzweb-form{grid-template-columns:1fr!important;gap:9px!important}
 .mzweb-active .mzweb-quicksearch .mzweb-form button{width:100%!important}
 .mzweb-active .mzweb-section{margin:32px auto!important;padding-left:16px!important;padding-right:16px!important}
 .mzweb-active .mzgp-dash .mz41-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mzweb-active .mzgp-dash .mz41-tab{text-align:center!important;font-size:12px!important}
 .mzweb-active .mzgp-dash .mz41-service-grid{grid-template-columns:1fr!important}
 .mzweb-active .mzweb-home .mzweb-primary,.mzweb-active .mzweb-home .mzweb-secondary{padding:12px 13px!important;flex:1 1 140px}
 .mz59-hero-footnotes{font-size:10px;gap:6px 12px}
}
@media(max-width:380px){.mzweb-active .mzgp-dash .mz41-tabs{grid-template-columns:1fr!important}}
html[dir="rtl"] .mzweb-active .mzweb-hero-copy,html[dir="rtl"] .mzweb-active .mzweb-quicksearch{text-align:right}
html[dir="rtl"] .mz59-help-line,html[dir="rtl"] .mz59-hero-footnotes{direction:rtl}
@media(prefers-reduced-motion:reduce){.mzweb-active .mz42-directory .mzgp-card{transition:none!important}}
