/* MicroArt CSS Architecture — Responsive breakpoints collected from the consolidated visual system. */

@media(max-width:960px){.main-nav{display:none}.menu-toggle{display:block}.hero__grid,.product-detail,.split-section,.layout-with-sidebar{grid-template-columns:1fr}.pillar-grid,.product-grid,.card-grid,.footer__grid{grid-template-columns:1fr 1fr}.category-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:repeat(2,1fr)}}

@media(max-width:640px){.container{width:min(100% - 22px,1180px)}.topbar__inner{align-items:flex-start}.brand small,.cart-link{display:none}.pillar-grid,.product-grid,.card-grid,.footer__grid,.category-grid{grid-template-columns:1fr}.hero{padding:34px 0}.section__head{align-items:flex-start;gap:10px;flex-direction:column}.buy-box,.cart-row,.stack-card{align-items:flex-start;flex-direction:column}.spec-table{grid-template-columns:1fr}}

@media(max-width:960px){.page-head--shop,.checkout-layout,.dashboard-columns{grid-template-columns:1fr;display:grid}.filter-panel,.checkout-summary{position:static}.category-grid--compact{grid-template-columns:repeat(3,1fr)}}

@media(max-width:640px){.page-head--shop{align-items:stretch}.filter-row,.form-grid{grid-template-columns:1fr}.cart-row__controls{align-items:flex-start;flex-direction:column}.category-grid--compact{grid-template-columns:1fr}}

@media(max-width:1100px){.course-grid,.my-courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-grid--small{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-layout,.course-hero__grid,.course-detail-layout,.lesson-layout{grid-template-columns:1fr}.course-buy-box{position:static}.academy-head{grid-template-columns:1fr}}

@media(max-width:640px){.course-grid,.course-grid--small,.my-courses-grid{grid-template-columns:1fr}.course-hero h1{font-size:30px}.lesson-head{align-items:stretch;flex-direction:column}.academy-head__box strong{font-size:32px}}

@media(max-width:1100px){.workshop-hero__grid,.workshop-detail-hero__grid,.workshop-form-layout,.request-layout{grid-template-columns:1fr}.workshop-help-panel{position:static}.filter-form--inline{grid-template-columns:1fr}.dashboard-columns{grid-template-columns:1fr}}

@media(max-width:640px){.attachment-grid{grid-template-columns:1fr}.request-head{align-items:stretch;flex-direction:column}.workshop-stats{grid-template-columns:repeat(2,1fr)}}

@media(max-width:1100px){.auth-layout,.ticket-layout{grid-template-columns:1fr}.account-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:640px){.account-actions,.address-grid{grid-template-columns:1fr}.product-actions-row{align-items:stretch;flex-direction:column}.product-actions-row .btn{width:100%;text-align:center}}

@media(max-width:1100px){.brand__logo{width:130px}.current-banner-grid,.promo-grid{grid-template-columns:1fr}.current-banner img{height:auto}.promo-card img{height:220px}.category-grid--visual{grid-template-columns:repeat(3,1fr)}}

@media(max-width:960px){.brand--with-logo{min-width:0}.hero__visual-img{height:220px}.hero__quick-search{flex-direction:column}.course-card__image,.workshop-card__image{height:160px}}

@media(max-width:640px){.brand__logo{width:118px}.hero__visual-img{height:170px}.current-banner-grid{gap:12px}.category-grid--visual{grid-template-columns:repeat(2,1fr)}.category-card--visual{min-height:132px}.promo-card img{height:190px}.pillar-grid--with-icons .pillar-card img{height:84px}.footer__logo{width:160px}}

@media(max-width:1024px){.action-grid,.blog-grid,.blog-grid--compact{grid-template-columns:repeat(2,1fr)}}

@media(max-width:640px){.action-grid,.blog-grid,.blog-grid--compact{grid-template-columns:1fr}.inline-form input,.inline-form select{min-width:100%;width:100%}}

@media(max-width:1180px){.ma-header-row{grid-template-columns:150px 1fr auto}.ma-header-search{grid-column:1/-1}.ma-main-nav{gap:14px}.ma-product-grid--6{grid-template-columns:repeat(3,1fr)}.ma-product-detail__grid,.ma-course-detail__grid{grid-template-columns:1fr}.ma-spec-card{position:static}.ma-workshop-grid{grid-template-columns:repeat(3,1fr)}}

@media(max-width:900px){.ma-main-nav{display:block;position:fixed;top:0;right:0;bottom:0;width:min(340px,86vw);background:#fff;padding:88px 22px;transform:translateX(105%);transition:.25s;box-shadow:-20px 0 80px rgba(0,0,0,.2);z-index:100}.ma-main-nav.is-open{transform:translateX(0)}.ma-main-nav a{display:block;padding:12px;border-bottom:1px solid #eef3fa}.ma-menu-toggle{display:block}.ma-benefit-bar__inner{gap:14px;font-size:11px}.ma-home-hero,.ma-page-title-row,.ma-academy-hero,.ma-workshop-hero,.ma-support-hero{grid-template-columns:1fr;padding:28px}.ma-icon-category-row{grid-template-columns:repeat(2,1fr)}.ma-pillar-banners,.ma-home-split,.ma-shop-layout,.ma-request-layout,.ma-account-layout,.ma-support-layout,.ma-course-content,.ma-admin-shell{grid-template-columns:1fr}.ma-filter-card,.ma-account-sidebar,.ma-admin-sidebar{position:static;height:auto}.ma-product-grid--3,.ma-product-grid--4,.ma-course-grid,.ma-help-cards,.ma-account-stats,.ma-account-grid,.ma-admin-kpis,.ma-admin-charts,.ma-admin-bottom,.ma-footer__grid{grid-template-columns:1fr}.ma-workshop-grid,.ma-service-cats,.ma-process>div,.ma-learning-outcomes div{grid-template-columns:1fr}.ma-table a,.ma-ticket-head,.ma-ticket-table a{grid-template-columns:1fr}.ma-workshop-cta{grid-template-columns:1fr;text-align:center}.ma-shop-promo img,.ma-pillar-banner img{opacity:.25;width:100%}.ma-pillar-banner div{width:100%}.ma-trust-strip{grid-template-columns:1fr}.ma-trust-strip div{border-left:0;border-bottom:1px solid #edf2f8}.ma-header-row{height:auto;grid-template-columns:1fr auto;padding:12px 0}.ma-logo img{width:136px}.ma-header-search{grid-column:1/-1}.ma-header-actions{justify-content:flex-end}.ma-home-hero h1,.ma-academy-hero h1,.ma-workshop-hero h1,.ma-support-hero h1{font-size:32px}}

@media(max-width:1180px){.ma-header-row{grid-template-columns:160px 1fr auto}.ma-header-search{grid-column:1/-1}.ma-homepage-hero{grid-template-columns:1fr;padding:34px}.ma-homepage-hero__visual{min-height:260px}.ma-homepage-categories{grid-template-columns:repeat(4,1fr)}.ma-homepage-product-grid{grid-template-columns:repeat(3,1fr)}.ma-homepage-duo,.ma-homepage-blog-row{grid-template-columns:1fr}.ma-homepage-course-grid{grid-template-columns:repeat(3,1fr)}.ma-homepage-why>div{grid-template-columns:repeat(3,1fr)}}

@media(max-width:900px){.ma-container{width:min(100% - 28px,1320px)}.ma-homepage{padding-top:18px}.ma-homepage-trust,.ma-homepage-pillars,.ma-homepage-product-grid,.ma-homepage-course-grid,.ma-homepage-posts{grid-template-columns:repeat(2,1fr)}.ma-homepage-why>div{grid-template-columns:repeat(2,1fr)}.ma-homepage-pillar{min-height:210px}.ma-homepage-pillar img{opacity:.38;width:70%}.ma-homepage-pillar div{width:100%}.ma-homepage-hero h1{font-size:38px}.ma-homepage-hero-search{flex-direction:column}.ma-homepage-hero-search button{width:100%}}

@media(max-width:640px){.ma-container{width:min(100% - 20px,1320px)}.ma-benefit-bar__inner{gap:12px;font-size:11px}.ma-homepage-hero{border-radius:24px;padding:24px;min-height:auto}.ma-homepage-hero h1{font-size:31px}.ma-homepage-hero p{font-size:14px}.ma-homepage-hero__visual{display:none}.ma-homepage-trust,.ma-homepage-categories,.ma-homepage-pillars,.ma-homepage-product-grid,.ma-homepage-course-grid,.ma-homepage-services a,.ma-homepage-posts,.ma-homepage-why>div{grid-template-columns:1fr}.ma-homepage-trust div{border-left:0;border-bottom:1px solid #edf2f8}.ma-homepage-trust div:last-child{border-bottom:0}.ma-homepage-category-shell,.ma-homepage-panel,.ma-homepage-why,.ma-homepage-blog-list,.ma-homepage-newsletter{border-radius:22px;padding:16px}.ma-homepage-section-title{align-items:flex-start;flex-direction:column}.ma-homepage-product__media{height:170px}.ma-homepage-product__media img{height:130px}.ma-homepage-course>span{height:160px}.ma-homepage-services img{width:100%;height:150px}.ma-homepage-why span{border-left:0;border-bottom:1px solid #edf2f8;padding-bottom:14px}.ma-homepage-why span:last-child{border-bottom:0}.ma-footer__grid{width:min(100% - 20px,1320px)}}

@media(max-width:1180px){.ma-store-hero{grid-template-columns:1fr}.ma-store-hero__visual{min-height:300px}.ma-store-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ma-shop-layout--enhanced{grid-template-columns:290px minmax(0,1fr)}.ma-shop-commandbar{grid-template-columns:1fr}.ma-shop-sort-pills{justify-content:flex-start;max-width:none}}

@media(max-width:900px){body.shop-filter-open{overflow:hidden}.ma-store-hero__copy{padding:26px}.ma-store-hero__stats{grid-template-columns:1fr 1fr}.ma-store-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-shop-layout--enhanced{grid-template-columns:1fr}.ma-filter-mobile-button{display:block;position:sticky;top:86px;z-index:35;margin-bottom:12px}.ma-filter-card--store{position:fixed;top:0;right:0;bottom:0;width:min(380px,90vw);z-index:120;border-radius:0;overflow:auto;transform:translateX(105%);transition:.25s ease}.ma-filter-card--store.is-open{transform:translateX(0)}.ma-filter-close{display:grid;place-items:center}.ma-product-grid--store.ma-product-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-shop-help--enhanced{align-items:flex-start;flex-direction:column}}

@media(max-width:640px){.ma-store-hero{margin-top:18px}.ma-store-hero__copy{border-radius:24px;padding:22px}.ma-store-hero h1{font-size:30px}.ma-store-hero-search{grid-template-columns:1fr}.ma-store-hero-search button{height:48px}.ma-store-hero__visual{min-height:220px;border-radius:24px}.ma-store-floating-card{display:none}.ma-store-hero__stats{grid-template-columns:1fr}.ma-store-category-strip{border-radius:22px;padding:16px}.ma-store-section-head{align-items:flex-start;flex-direction:column}.ma-store-category-grid{grid-template-columns:1fr}.ma-shop-commandbar{border-radius:22px;padding:16px}.ma-shop-sort-pills{display:grid;grid-template-columns:1fr 1fr;width:100%}.ma-shop-sort-pills a{text-align:center}.ma-active-filter-row a{width:100%;margin-inline-start:0}.ma-chip-row--store{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.ma-chip-row--store a{white-space:nowrap}.ma-product-grid--store.ma-product-grid--3{grid-template-columns:1fr}.ma-product-card--store .ma-product-card__media{height:188px}.ma-product-card__foot{align-items:stretch;flex-direction:column}.ma-product-card--store .ma-cart-button,.ma-alert-button{width:100%;text-align:center}.ma-filter-mobile-button{top:78px}}

@media(max-width:1180px){.ma-product-hero{grid-template-columns:1fr 360px}.ma-product-side-card{grid-column:1/-1;position:static}.ma-product-side-specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.ma-product-linked-panels{grid-template-columns:1fr 1fr}.ma-product-linked-panels>article:last-child{grid-column:1/-1}}

@media(max-width:900px){.ma-product-hero,.ma-product-info-grid,.ma-product-linked-panels{grid-template-columns:1fr}.ma-product-gallery{min-height:auto}.ma-product-gallery__main{min-height:300px}.ma-product-side-specs{grid-template-columns:1fr}.ma-product-description-card ul{grid-template-columns:1fr}.ma-product-downloads,.ma-product-question-card{align-items:flex-start;flex-direction:column}.ma-product-tabs{justify-content:flex-start}.ma-product-linked-panels>article:last-child{grid-column:auto}}

@media(max-width:640px){.ma-product-page{margin-top:16px}.ma-product-breadcrumb{font-size:12px}.ma-product-gallery,.ma-product-buy-card,.ma-product-side-card{border-radius:22px;padding:16px}.ma-product-gallery__main{min-height:230px;padding:24px}.ma-product-gallery__badges{top:16px;right:16px}.ma-product-gallery__thumbs{grid-template-columns:repeat(3,1fr);gap:8px}.ma-product-gallery__thumbs button{height:72px}.ma-product-title-row{gap:10px}.ma-product-title-row h1{font-size:23px}.ma-product-meta-grid{grid-template-columns:1fr}.ma-product-rating-row{align-items:flex-start;flex-direction:column;gap:4px}.ma-product-rating-row small{margin-inline-start:0}.ma-product-price-box{align-items:flex-start;flex-direction:column}.ma-product-price-box strong{font-size:27px}.ma-product-buy-form{grid-template-columns:1fr}.ma-product-info-panel{border-radius:22px}.ma-product-info-grid{padding:16px}.ma-product-tabs a{padding:14px}.ma-product-downloads,.ma-product-question-card{margin:0 16px 16px;padding:16px}.ma-product-linked-panels{gap:14px}.ma-product-linked-panels>article{border-radius:22px;padding:16px}}

/* Final font guard — responsive.css is loaded last, so this prevents page-level
   and dashboard-specific selectors from overriding the licensed IRANSans family. */
:where(html,body,body *,button,input,select,textarea,optgroup,option){
    font-family:var(--ma-font)!important;
}
:where(body *::before,body *::after,input::placeholder,textarea::placeholder){
    font-family:var(--ma-font)!important;
}

@media(max-width:1180px){.ma-academy-hero--rebuilt{grid-template-columns:1fr}.ma-academy-hero__visual{min-height:240px}.ma-academy-hero__visual img{height:260px}.ma-academy-board{grid-template-columns:290px minmax(0,1fr)}.ma-academy-category-row{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-course-detail__grid--rebuilt{grid-template-columns:1fr 1fr}.ma-course-sidebar--rebuilt{grid-column:1/-1;position:static}.ma-course-content--rebuilt{grid-template-columns:1fr}.ma-course-learning-side{grid-template-columns:1fr 1fr}.ma-learning-outcomes__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-lesson-layout--rebuilt{grid-template-columns:1fr}}
@media(max-width:900px){.ma-academy-hero--rebuilt{padding:30px;border-radius:26px}.ma-academy-hero__copy h1{font-size:36px}.ma-academy-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-academy-featured__grid,.ma-course-grid--academy,.ma-course-grid--related,.ma-my-courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-academy-category-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-academy-board{grid-template-columns:1fr}.ma-filter-mobile-button--academy{display:block;position:sticky;top:86px;z-index:35;margin-bottom:12px}.ma-filter-card--academy{position:fixed;top:0;right:0;bottom:0;width:min(380px,90vw);z-index:120;border-radius:0;overflow:auto;transform:translateX(105%);transition:.25s ease}.ma-filter-card--academy.is-open{transform:translateX(0)}.ma-filter-close{display:grid;place-items:center}.ma-academy-commandbar{grid-template-columns:1fr}.ma-academy-sort-pills{justify-content:flex-start}.ma-course-detail__grid--rebuilt,.ma-course-faq-grid{grid-template-columns:1fr}.ma-course-price-action{grid-template-columns:1fr}.ma-learning-outcomes__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-my-courses-hero{align-items:flex-start;flex-direction:column}.ma-my-courses-stats{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:640px){.ma-academy-hero--rebuilt{margin-top:18px;padding:22px;border-radius:22px}.ma-academy-hero__copy h1{font-size:29px}.ma-academy-hero__copy p{font-size:14px}.ma-academy-hero-search{grid-template-columns:1fr}.ma-academy-hero-search button{height:46px}.ma-academy-hero__visual{display:none}.ma-academy-stats,.ma-academy-featured__grid,.ma-course-grid--academy,.ma-course-grid--related,.ma-academy-category-row,.ma-course-learning-side,.ma-learning-outcomes__grid,.ma-my-courses-stats,.ma-my-courses-grid{grid-template-columns:1fr}.ma-academy-featured,.ma-academy-category-strip,.ma-filter-card--academy,.ma-academy-commandbar,.ma-course-visual-card,.ma-course-summary--rebuilt,.ma-course-sidebar--rebuilt,.ma-learning-outcomes--rebuilt,.ma-course-lessons-panel,.ma-course-mini-panel,.ma-lesson-head--rebuilt,.ma-lesson-player-card,.ma-lesson-side-card,.ma-my-course-card{border-radius:20px}.ma-course-card__media{height:168px}.ma-course-promise-row,.ma-course-facts--rebuilt{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-course-summary--rebuilt h1{font-size:25px}.ma-course-video--rebuilt,.ma-course-video--rebuilt img{min-height:220px;height:230px}.ma-course-video__play{width:58px;height:58px;font-size:22px}.ma-lesson-row--rebuilt{grid-template-columns:36px 1fr}.ma-lesson-row--rebuilt em{grid-column:2}.ma-lesson-head--rebuilt{align-items:flex-start;flex-direction:column}.ma-video-placeholder--academy{min-height:240px}.ma-my-courses-hero{padding:22px;border-radius:22px}.ma-my-courses-hero h1{font-size:27px}}

/* Last rule in the last-loaded CSS file: keep IRANSans active after every page stylesheet. */
:where(html,body,body *,button,input,select,textarea,optgroup,option){font-family:var(--ma-font)!important}
:where(body *::before,body *::after,input::placeholder,textarea::placeholder){font-family:var(--ma-font)!important}

@media(max-width:1180px){
    .ma-workshop-landing,.ma-workshop-detail-hero,.ma-workshop-request-hero,.ma-request-detail-hero,.ma-workshop-manage-hero,.ma-workshop-manage-detail-hero{grid-template-columns:1fr}
    .ma-workshop-category-grid,.ma-workshop-featured-grid,.ma-workshop-related-services{grid-template-columns:repeat(2,1fr)}
    .ma-workshop-service-grid,.ma-my-workshop-list{grid-template-columns:repeat(2,1fr)}
    .ma-workshop-process-board>div:last-child,.ma-workshop-detail-stats{grid-template-columns:repeat(3,1fr)}
    .ma-workshop-status-board{grid-template-columns:repeat(3,1fr)}
    .ma-workshop-manager-kpis{grid-template-columns:repeat(3,1fr)}
    .ma-form-grid--four{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:960px){
    .ma-workshop-stats-row,.ma-workshop-request-steps,.ma-my-workshop-stats{grid-template-columns:repeat(2,1fr)}
    .ma-workshop-detail-layout,.ma-workshop-request-layout,.ma-request-detail-layout,.ma-workshop-manager-layout,.ma-workshop-manage-detail-layout{grid-template-columns:1fr}
    .ma-workshop-detail-side,.ma-workshop-request-side,.ma-request-detail-side,.ma-workshop-manager-side,.ma-workshop-manage-forms{position:static}
    .ma-workshop-cta-panel{grid-template-columns:1fr;text-align:center}
    .ma-workshop-cta-panel img{margin:auto}
    .ma-workshop-manager-filter{grid-template-columns:1fr}
    .ma-workshop-manage-actions{justify-content:flex-start}
}
@media(max-width:680px){
    .ma-workshop-landing,.ma-workshop-detail-hero,.ma-workshop-request-hero,.ma-request-detail-hero,.ma-my-workshop-hero,.ma-workshop-manage-hero,.ma-workshop-manage-detail-hero{border-radius:24px;padding:22px}
    .ma-workshop-landing__visual img{height:220px}
    .ma-workshop-search,.ma-workshop-form-submit{flex-direction:column;align-items:stretch}
    .ma-workshop-search button,.ma-workshop-form-submit button{width:100%}
    .ma-workshop-category-grid,.ma-workshop-featured-grid,.ma-workshop-service-grid,.ma-workshop-process-board>div:last-child,.ma-workshop-detail-stats,.ma-workshop-related-services,.ma-workshop-request-steps,.ma-my-workshop-list,.ma-workshop-manager-kpis,.ma-workshop-log-list--wide{grid-template-columns:1fr}
    .ma-workshop-stats-row,.ma-my-workshop-stats,.ma-form-grid,.ma-form-grid--four,.ma-workshop-check-grid,.ma-workshop-related-grid,.ma-workshop-attachments{grid-template-columns:1fr}
    .ma-section-title-row{align-items:flex-start;flex-direction:column}
    .ma-workshop-filterbar{align-items:flex-start;flex-direction:column}
    .ma-workshop-status-board{grid-template-columns:1fr}
    .ma-workshop-info-grid{grid-template-columns:1fr}
    .ma-workshop-info-grid span{border-bottom:0;padding-bottom:4px}.ma-workshop-info-grid b{padding-top:4px}
    .ma-workshop-manager-head{display:none}
    .ma-workshop-manager-row{grid-template-columns:1fr;min-width:0;background:#fff;border:1px solid #edf2f8;border-radius:18px;margin-bottom:10px}
}


/* Responsive rules for account, support and management dashboard. */
@media(max-width:1180px){.ma-auth-shell,.ma-customer-center-hero,.ma-support-hero--rebuilt,.ma-support-layout--rebuilt,.ma-ticket-detail-layout,.ma-support-create-layout{grid-template-columns:1fr}.ma-account-layout--customer{grid-template-columns:1fr}.ma-account-sidebar--rebuilt{position:static}.ma-account-kpis,.ma-support-kpis,.ma-admin-kpis--management,.ma-admin-kpis--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-admin-insight-grid,.ma-admin-bottom--management{grid-template-columns:1fr 1fr}.ma-admin-shell--management,.ma-admin-shell--support{grid-template-columns:220px 1fr}.ma-manager-filter{grid-template-columns:1fr 1fr}.ma-manager-filter button{grid-column:1/-1}}
@media(max-width:820px){.ma-auth-shell{margin-top:20px}.ma-auth-copy{min-height:auto;padding:26px}.ma-auth-copy h1,.ma-customer-center-hero h1,.ma-support-hero--rebuilt h1{font-size:32px}.ma-form-hero,.ma-ticket-detail-hero{align-items:flex-start;flex-direction:column}.ma-form-grid,.ma-action-grid,.ma-account-grid--rebuilt,.ma-address-grid--rebuilt,.ma-wishlist-mini--rebuilt,.ma-support-filter-panel form{grid-template-columns:1fr}.ma-list-row{grid-template-columns:1fr}.ma-ticket-table--rebuilt .ma-ticket-head,.ma-manager-head{display:none}.ma-ticket-table--rebuilt a,.ma-manager-row{grid-template-columns:1fr}.ma-admin-shell--management,.ma-admin-shell--support{display:block}.ma-admin-sidebar--rebuilt{position:static;height:auto;border-left:0;border-bottom:1px solid var(--ma-border)}.ma-admin-main{padding:18px}.ma-admin-insight-grid,.ma-admin-bottom--management{grid-template-columns:1fr}.ma-status-meters div{grid-template-columns:1fr}.ma-account-nav-toggle{display:block}.ma-account-sidebar--rebuilt nav{display:none}.ma-account-sidebar--rebuilt nav.is-open{display:block}.ma-support-status-strip{padding-bottom:8px}}
@media(max-width:560px){.ma-customer-center-hero,.ma-support-hero--rebuilt,.ma-form-hero,.ma-ticket-detail-hero{border-radius:22px;padding:22px}.ma-account-kpis,.ma-support-kpis,.ma-admin-kpis--management,.ma-admin-kpis--compact{grid-template-columns:1fr}.ma-hero-actions,.ma-form-actions,.ma-admin-top-actions{flex-direction:column;align-items:stretch}.ma-btn{width:100%}.ma-ticket-detail-layout{gap:14px}.ma-form-card,.ma-panel,.ma-side-card{border-radius:20px}.ma-auth-copy h1,.ma-customer-center-hero h1,.ma-support-hero--rebuilt h1{font-size:28px}.ma-admin-top--rebuilt{border-radius:22px}.ma-admin-top h1{font-size:26px}}

/* Final responsive QA layer: overflow safety, drawers, legacy pages and touch targets. */
html,
body{
    max-width:100%;
    overflow-x:hidden;
}

body.nav-open,
body.shop-filter-open{
    overflow:hidden;
}

.mobile-nav-backdrop{
    position:fixed;
    inset:0;
    display:none;
    background:rgba(6,27,59,.48);
    backdrop-filter:blur(4px);
    z-index:95;
}

body.nav-open .mobile-nav-backdrop,
body.shop-filter-open .mobile-nav-backdrop{
    display:block;
}

.ma-main-nav.is-open,
.ma-filter-card.is-open{
    z-index:130;
}

.ma-container,
.container,
.ma-page-main,
.ma-admin-main,
.ma-account-main,
.ma-academy-main,
.ma-shop-main,
.ma-workshop-service-card,
.ma-course-card,
.ma-product-card,
.ma-panel,
.panel{
    min-width:0;
}

.ma-section-head,
.ma-section-title-row,
.ma-homepage-section-title,
.ma-academy-commandbar,
.ma-workshop-filterbar,
.ma-admin-top,
.ma-form-hero,
.ma-ticket-detail-hero{
    min-width:0;
}

.ma-section-head > *,
.ma-section-title-row > *,
.ma-homepage-section-title > *,
.ma-academy-commandbar > *,
.ma-workshop-filterbar > *,
.ma-admin-top > *,
.ma-form-hero > *,
.ma-ticket-detail-hero > *{
    min-width:0;
}

.ma-responsive-list,
.ma-ticket-table--rebuilt,
.ma-manager-table,
.table-scroll{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.ma-responsive-list::-webkit-scrollbar,
.ma-ticket-table--rebuilt::-webkit-scrollbar,
.ma-manager-table::-webkit-scrollbar,
.table-scroll::-webkit-scrollbar{
    height:8px;
}

.ma-responsive-list::-webkit-scrollbar-thumb,
.ma-ticket-table--rebuilt::-webkit-scrollbar-thumb,
.ma-manager-table::-webkit-scrollbar-thumb,
.table-scroll::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:999px;
}

button,
.ma-btn,
.btn,
.ma-user-link,
.ma-icon-link,
.ma-primary-action,
.ma-secondary-action,
.ma-filter-mobile-button,
.ma-account-nav-toggle{
    min-height:42px;
}

input,
select,
textarea{
    max-width:100%;
}

img,
svg,
video{
    max-width:100%;
    height:auto;
}

@media(max-width:1180px){
    .ma-container,
    .container{
        width:min(100% - 32px,1188px);
    }

    .ma-header-row{
        grid-template-columns:160px minmax(260px,1fr) minmax(220px,360px) auto;
        gap:14px;
    }

    .ma-main-nav{
        gap:4px;
    }

    .ma-main-nav a{
        padding-inline:8px;
        font-size:13px;
    }
}

@media(max-width:900px){
    .ma-site-header{
        position:sticky;
        top:0;
    }

    .ma-benefit-bar__inner{
        overflow:auto;
        justify-content:flex-start;
        padding-inline:4px;
        white-space:nowrap;
    }

    .ma-header-row{
        grid-template-columns:1fr auto;
        height:auto;
        min-height:72px;
        padding-block:10px;
    }

    .ma-logo img{
        width:136px;
    }

    .ma-header-search{
        grid-column:1/-1;
        order:3;
    }

    .ma-header-actions{
        gap:8px;
    }

    .ma-icon-link,
    .ma-user-link{
        padding-inline:10px;
        min-width:42px;
    }

    .ma-main-nav{
        max-width:88vw;
        overflow:auto;
    }

    .ma-filter-card--store,
    .ma-filter-card--academy{
        box-shadow:-22px 0 75px rgba(6,27,59,.22);
        padding-bottom:34px;
    }

    .ma-filter-mobile-button{
        width:100%;
        text-align:center;
    }

    .ma-trust-strip{
        margin-top:20px;
    }
}

@media(max-width:720px){
    .ma-container,
    .container{
        width:min(100% - 24px,1188px);
    }

    .ma-homepage-section-title,
    .ma-section-head,
    .ma-section-title-row,
    .ma-admin-top,
    .ma-workshop-filterbar,
    .ma-academy-commandbar{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .ma-homepage-section-title h2,
    .ma-section-head h2,
    .ma-section-title-row h2{
        font-size:22px;
    }

    .ma-hero-actions,
    .ma-home-actions,
    .ma-workshop-actions,
    .ma-product-actions-row,
    .ma-form-actions,
    .ma-admin-top-actions{
        align-items:stretch;
        flex-direction:column;
    }

    .ma-hero-actions > *,
    .ma-home-actions > *,
    .ma-workshop-actions > *,
    .ma-product-actions-row > *,
    .ma-form-actions > *,
    .ma-admin-top-actions > *{
        width:100%;
        text-align:center;
    }

    .ma-store-hero,
    .ma-academy-hero--rebuilt,
    .ma-workshop-landing,
    .ma-customer-center-hero,
    .ma-support-hero--rebuilt,
    .ma-form-hero,
    .ma-ticket-detail-hero,
    .ma-admin-top--rebuilt{
        border-radius:22px;
        padding:22px;
    }

    .ma-store-hero h1,
    .ma-academy-hero__copy h1,
    .ma-workshop-landing h1,
    .ma-customer-center-hero h1,
    .ma-support-hero--rebuilt h1,
    .ma-admin-top h1{
        font-size:clamp(26px,8vw,34px);
        line-height:1.45;
    }

    .ma-active-filter-row,
    .ma-workshop-active-filters,
    .ma-shop-sort-pills,
    .ma-academy-sort-pills,
    .ma-workshop-sort-pills,
    .ma-support-status-strip{
        display:flex;
        overflow:auto;
        padding-bottom:8px;
        scroll-snap-type:x proximity;
    }

    .ma-active-filter-row > *,
    .ma-workshop-active-filters > *,
    .ma-shop-sort-pills > *,
    .ma-academy-sort-pills > *,
    .ma-workshop-sort-pills > *,
    .ma-support-status-strip > *{
        flex:0 0 auto;
        scroll-snap-align:start;
    }

    .ma-footer__grid{
        width:min(100% - 24px,1188px);
    }
}

@media(max-width:560px){
    .ma-container,
    .container{
        width:min(100% - 18px,1188px);
    }

    .ma-benefit-bar{
        display:none;
    }

    .ma-header-row{
        min-height:62px;
    }

    .ma-logo img{
        width:118px;
    }

    .ma-header-search{
        height:42px;
    }

    .ma-header-search input{
        font-size:12px;
    }

    .ma-user-link:not(.ma-user-link--blue){
        font-size:12px;
    }

    .ma-trust-strip,
    .ma-store-hero__stats,
    .ma-academy-stats,
    .ma-workshop-stats-row,
    .ma-account-kpis,
    .ma-support-kpis,
    .ma-admin-kpis--management,
    .ma-admin-kpis--compact{
        grid-template-columns:1fr;
    }

    .ma-product-grid--store.ma-product-grid--3,
    .ma-academy-featured__grid,
    .ma-course-grid--academy,
    .ma-course-grid--related,
    .ma-my-courses-grid,
    .ma-workshop-category-grid,
    .ma-workshop-featured-grid,
    .ma-workshop-service-grid{
        grid-template-columns:1fr;
    }

    .ma-filter-card--store,
    .ma-filter-card--academy{
        width:100vw;
    }

    .ma-list-row,
    .ma-ticket-table--rebuilt a,
    .ma-manager-row{
        padding:14px;
    }

    .ma-ticket-table--rebuilt a > *,
    .ma-manager-row > *,
    .ma-list-row > *{
        min-width:0;
        overflow-wrap:anywhere;
    }

    .ma-footer{
        margin-top:24px;
    }
}

@media(max-width:380px){
    .ma-container,
    .container{
        width:min(100% - 14px,1188px);
    }

    .ma-store-hero,
    .ma-academy-hero--rebuilt,
    .ma-workshop-landing,
    .ma-customer-center-hero,
    .ma-support-hero--rebuilt,
    .ma-form-card,
    .ma-panel,
    .ma-side-card{
        padding:16px;
        border-radius:18px;
    }

    .ma-icon-link,
    .ma-user-link{
        padding-inline:8px;
    }
}

/* Last-loaded font guard for pages that include third-party widgets or admin overrides. */
:where(html,body,body *,button,input,select,textarea,optgroup,option){
    font-family:var(--ma-font)!important;
}
:where(body *::before,body *::after,input::placeholder,textarea::placeholder){
    font-family:var(--ma-font)!important;
}

/* Compact density pass — shows more items in one viewport without making text unreadable. */
.ma-density-compact .ma-container,
.ma-density-compact .container,
.ma-density-compact .ma-footer__grid{
    width:min(1280px,calc(100% - 34px));
}

.ma-density-compact .ma-benefit-bar__inner{
    min-height:26px;
    height:26px;
    font-size:12px;
    gap:30px;
}

.ma-density-compact .ma-header-row{
    height:64px;
    min-height:64px;
    grid-template-columns:154px minmax(300px,1fr) minmax(240px,360px) auto;
    gap:14px;
}

.ma-density-compact .ma-logo img{
    width:142px;
}

.ma-density-compact .ma-main-nav{
    gap:4px;
    font-size:13.5px;
}

.ma-density-compact .ma-main-nav a{
    padding:7px 9px;
    border-radius:12px;
}

.ma-density-compact .ma-header-search{
    height:38px;
    border-radius:13px;
}

.ma-density-compact .ma-header-search input{
    font-size:12.5px;
    padding-inline:12px;
}

.ma-density-compact .ma-header-search button{
    width:42px;
    font-size:19px;
}

.ma-density-compact .ma-header-actions{
    gap:7px;
}

.ma-density-compact .ma-icon-link,
.ma-density-compact .ma-user-link,
.ma-density-compact .ma-menu-toggle{
    min-height:38px;
    padding:6px 10px;
    border-radius:12px;
    font-size:13px;
}

.ma-density-compact .ma-icon-link{
    font-size:20px;
}

.ma-density-compact .ma-cart-dot{
    font-size:10px;
}

.ma-density-compact .ma-page-main{
    min-height:54vh;
}

.ma-density-compact .section,
.ma-density-compact .ma-section,
.ma-density-compact .ma-homepage-section,
.ma-density-compact .ma-academy-featured,
.ma-density-compact .ma-academy-category-strip,
.ma-density-compact .ma-academy-board,
.ma-density-compact .ma-workshop-section,
.ma-density-compact .ma-store-section{
    margin-top:22px;
}

.ma-density-compact .section{
    padding:30px 0;
}

.ma-density-compact .page-head{
    padding:32px 0 16px;
}

.ma-density-compact .hero,
.ma-density-compact .ma-store-hero,
.ma-density-compact .ma-academy-hero--rebuilt,
.ma-density-compact .ma-workshop-landing,
.ma-density-compact .ma-customer-center-hero,
.ma-density-compact .ma-support-hero--rebuilt,
.ma-density-compact .ma-form-hero,
.ma-density-compact .ma-ticket-detail-hero,
.ma-density-compact .ma-admin-top--rebuilt,
.ma-density-compact .ma-auth-copy{
    border-radius:22px;
    padding:26px 30px;
    min-height:auto;
}

.ma-density-compact .hero h1,
.ma-density-compact .page-head h1,
.ma-density-compact .ma-store-hero h1,
.ma-density-compact .ma-product-title h1,
.ma-density-compact .ma-academy-hero__copy h1,
.ma-density-compact .ma-course-hero h1,
.ma-density-compact .ma-workshop-landing h1,
.ma-density-compact .ma-service-detail-hero h1,
.ma-density-compact .ma-customer-center-hero h1,
.ma-density-compact .ma-support-hero--rebuilt h1,
.ma-density-compact .ma-admin-top h1,
.ma-density-compact .ma-auth-copy h1{
    font-size:clamp(26px,3.2vw,38px);
    line-height:1.42;
    margin-bottom:8px;
}

.ma-density-compact .hero p,
.ma-density-compact .page-head p,
.ma-density-compact .ma-store-hero p,
.ma-density-compact .ma-academy-hero__copy p,
.ma-density-compact .ma-workshop-landing p,
.ma-density-compact .ma-customer-center-hero p,
.ma-density-compact .ma-support-hero--rebuilt p,
.ma-density-compact .ma-auth-copy p{
    font-size:14px;
    line-height:1.8;
}

.ma-density-compact .ma-homepage-section-title,
.ma-density-compact .ma-section-head,
.ma-density-compact .ma-section-head--academy,
.ma-density-compact .ma-workshop-section-head,
.ma-density-compact .ma-filter-card__head{
    margin-bottom:12px;
    gap:10px;
}

.ma-density-compact .ma-homepage-section-title h2,
.ma-density-compact .ma-section-head h2,
.ma-density-compact .ma-section-head--academy h2,
.ma-density-compact .ma-workshop-section-head h2,
.ma-density-compact .ma-side-card h2,
.ma-density-compact .ma-panel h2,
.ma-density-compact .ma-form-card h2{
    font-size:clamp(18px,2vw,23px);
    line-height:1.48;
}

.ma-density-compact .ma-kicker,
.ma-density-compact .ma-eyebrow,
.ma-density-compact .ma-homepage-section-title span,
.ma-density-compact .ma-section-head--academy span{
    font-size:12px;
    padding:4px 9px;
    margin-bottom:5px;
}

.ma-density-compact .ma-btn,
.ma-density-compact .btn,
.ma-density-compact .search-box button,
.ma-density-compact .ma-academy-hero-search button,
.ma-density-compact .ma-workshop-request-summary button,
.ma-density-compact .ma-form-actions button,
.ma-density-compact .ma-product-buy-card button{
    min-height:38px;
    padding:9px 14px;
    border-radius:13px;
    font-size:13.5px;
}

.ma-density-compact .ma-btn-small,
.ma-density-compact .btn-small,
.ma-density-compact .ma-badge,
.ma-density-compact .badge,
.ma-density-compact .status-pill,
.ma-density-compact .ma-ticket-table em,
.ma-density-compact .ma-ticket-table strong,
.ma-density-compact .ma-workshop-manager-row em,
.ma-density-compact .ma-workshop-manager-row strong{
    padding:4px 9px;
    font-size:11.5px;
    border-radius:999px;
}

.ma-density-compact .hero__panel,
.ma-density-compact .panel,
.ma-density-compact .form-card,
.ma-density-compact .sidebar-card,
.ma-density-compact .product-card,
.ma-density-compact .feature-card,
.ma-density-compact .pillar-card,
.ma-density-compact .stat-card,
.ma-density-compact .ma-form-card,
.ma-density-compact .ma-panel,
.ma-density-compact .ma-side-card,
.ma-density-compact .ma-profile-card,
.ma-density-compact .ma-account-stats a,
.ma-density-compact .ma-ticket-thread,
.ma-density-compact .ma-ticket-reply,
.ma-density-compact .ma-filter-card--store,
.ma-density-compact .ma-filter-card--academy,
.ma-density-compact .ma-academy-featured,
.ma-density-compact .ma-academy-category-strip,
.ma-density-compact .ma-workshop-card,
.ma-density-compact .ma-workshop-side-card,
.ma-density-compact .ma-service-card,
.ma-density-compact .ma-course-card,
.ma-density-compact .ma-store-product-card,
.ma-density-compact .ma-product-buy-card,
.ma-density-compact .ma-product-info-card,
.ma-density-compact .ma-admin-kpis div,
.ma-density-compact .ma-chart-card{
    border-radius:var(--ma-density-radius);
    padding:var(--ma-density-card-pad);
    box-shadow:var(--ma-density-shadow);
}

.ma-density-compact .ma-form-card input,
.ma-density-compact .ma-form-card select,
.ma-density-compact .ma-form-card textarea,
.ma-density-compact .ma-form-card .form-control,
.ma-density-compact .hero__panel input,
.ma-density-compact .form-control,
.ma-density-compact .form-card input,
.ma-density-compact .form-card textarea,
.ma-density-compact .form-card select,
.ma-density-compact .search-box input,
.ma-density-compact .ma-academy-hero-search input,
.ma-density-compact .ma-filter-card input,
.ma-density-compact .ma-filter-card select{
    min-height:38px;
    padding:9px 11px;
    border-radius:12px;
    font-size:13px;
}

.ma-density-compact textarea,
.ma-density-compact .ma-form-card textarea{
    min-height:92px;
}

.ma-density-compact .ma-trust-strip,
.ma-density-compact .ma-store-hero__stats,
.ma-density-compact .ma-academy-stats,
.ma-density-compact .ma-workshop-stats-row,
.ma-density-compact .ma-account-kpis,
.ma-density-compact .ma-support-kpis,
.ma-density-compact .ma-admin-kpis--management,
.ma-density-compact .dashboard-grid,
.ma-density-compact .ma-admin-kpis,
.ma-density-compact .ma-account-stats{
    gap:10px;
}

.ma-density-compact .ma-trust-strip{
    padding:11px 14px;
    border-radius:16px;
}

.ma-density-compact .ma-trust-strip div{
    min-height:42px;
}

.ma-density-compact .ma-trust-strip b{
    font-size:13px;
}

.ma-density-compact .ma-trust-strip span{
    font-size:11px;
}

.ma-density-compact .product-grid,
.ma-density-compact .ma-product-grid,
.ma-density-compact .ma-product-grid--store,
.ma-density-compact .ma-course-grid,
.ma-density-compact .ma-course-grid--academy,
.ma-density-compact .ma-course-grid--related,
.ma-density-compact .ma-workshop-service-grid,
.ma-density-compact .ma-workshop-featured-grid,
.ma-density-compact .ma-workshop-category-grid,
.ma-density-compact .ma-academy-featured__grid,
.ma-density-compact .ma-homepage-product-grid,
.ma-density-compact .ma-homepage-course-grid,
.ma-density-compact .promo-grid,
.ma-density-compact .card-grid,
.ma-density-compact .address-grid,
.ma-density-compact .ma-account-grid{
    gap:12px;
}

.ma-density-compact .ma-product-grid--store.ma-product-grid--3,
.ma-density-compact .ma-course-grid--academy,
.ma-density-compact .ma-workshop-service-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}

.ma-density-compact .ma-store-board,
.ma-density-compact .ma-academy-board,
.ma-density-compact .ma-workshop-board,
.ma-density-compact .ma-account-layout,
.ma-density-compact .ma-support-layout,
.ma-density-compact .ticket-layout,
.ma-density-compact .ma-workshop-manager-layout,
.ma-density-compact .ma-product-detail-grid,
.ma-density-compact .ma-course-detail__grid,
.ma-density-compact .ma-workshop-detail-grid{
    gap:16px;
}

.ma-density-compact .ma-filter-card--store,
.ma-density-compact .ma-filter-card--academy{
    top:94px;
}

.ma-density-compact .product-card__image,
.ma-density-compact .ma-store-card__image,
.ma-density-compact .ma-product-card__image{
    height:145px;
}

.ma-density-compact .ma-course-card__thumb,
.ma-density-compact .ma-homepage-course>span{
    height:128px;
}

.ma-density-compact .promo-card img{
    height:200px;
}

.ma-density-compact .product-card__body,
.ma-density-compact .ma-course-card__body,
.ma-density-compact .ma-store-card__body,
.ma-density-compact .ma-product-card__body{
    padding:12px;
}

.ma-density-compact .product-card__title,
.ma-density-compact .ma-course-card h2,
.ma-density-compact .ma-store-card h2,
.ma-density-compact .ma-product-card h2,
.ma-density-compact .ma-service-card h2,
.ma-density-compact .ma-my-workshop-card h2{
    font-size:14px;
    line-height:1.55;
    min-height:auto;
    margin-bottom:6px;
}

.ma-density-compact .product-card p,
.ma-density-compact .ma-course-card p,
.ma-density-compact .ma-store-card p,
.ma-density-compact .ma-product-card p,
.ma-density-compact .ma-service-card p,
.ma-density-compact .ma-my-workshop-card p,
.ma-density-compact .ma-homepage-course p{
    font-size:12.5px;
    line-height:1.65;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.ma-density-compact .product-card__footer,
.ma-density-compact .ma-course-foot,
.ma-density-compact .ma-course-meta,
.ma-density-compact .ma-service-card__foot,
.ma-density-compact .ma-store-card__meta{
    margin-top:8px;
    font-size:11.5px;
}

.ma-density-compact .ma-product-detail,
.ma-density-compact .product-detail{
    padding:28px 0;
}

.ma-density-compact .ma-product-gallery-main,
.ma-density-compact .product-detail__media,
.ma-density-compact .placeholder-image{
    min-height:300px;
    border-radius:20px;
}

.ma-density-compact .ma-product-gallery-thumbs{
    gap:8px;
}

.ma-density-compact .ma-product-gallery-thumbs button{
    width:58px;
    height:58px;
    border-radius:12px;
}

.ma-density-compact .ma-product-tabs,
.ma-density-compact .ma-course-content,
.ma-density-compact .ma-workshop-request-layout,
.ma-density-compact .ma-workshop-manage-detail-layout{
    gap:16px;
    margin-top:16px;
}

.ma-density-compact .ma-list-row,
.ma-density-compact .ma-ticket-table--rebuilt a,
.ma-density-compact .ma-manager-row,
.ma-density-compact .ma-workshop-manager-head,
.ma-density-compact .ma-workshop-manager-row,
.ma-density-compact .ma-ticket-head,
.ma-density-compact .ma-ticket-table a,
.ma-density-compact .summary-row,
.ma-density-compact .ma-lesson-row{
    padding:10px 12px;
    gap:8px;
}

.ma-density-compact .ma-admin-shell{
    grid-template-columns:230px minmax(0,1fr);
}

.ma-density-compact .ma-admin-sidebar{
    padding:16px;
    top:91px;
    height:calc(100vh - 91px);
}

.ma-density-compact .ma-admin-sidebar a{
    padding:9px 10px;
    border-radius:11px;
}

.ma-density-compact .ma-admin-main{
    padding:18px;
}

.ma-density-compact .ma-admin-kpis b,
.ma-density-compact .stat-card strong,
.ma-density-compact .ma-account-stats b,
.ma-density-compact .ma-academy-stats b{
    font-size:22px;
}

.ma-density-compact .ma-footer{
    margin-top:24px;
    padding-top:28px;
}

.ma-density-compact .ma-footer__grid{
    gap:22px;
}

.ma-density-compact .ma-footer__bottom{
    padding:12px;
    margin-top:18px;
}

@media(max-width:1180px){
    .ma-density-compact .ma-header-row{
        grid-template-columns:145px minmax(0,1fr) auto;
    }
    .ma-density-compact .ma-header-search{
        grid-column:1/-1;
        order:5;
        margin-bottom:10px;
    }
    .ma-density-compact .ma-site-header{
        padding-bottom:6px;
    }
    .ma-density-compact .ma-product-grid--store.ma-product-grid--3,
    .ma-density-compact .ma-course-grid--academy,
    .ma-density-compact .ma-workshop-service-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:900px){
    .ma-density-compact .ma-container,
    .ma-density-compact .container,
    .ma-density-compact .ma-footer__grid{
        width:min(100% - 24px,1280px);
    }
    .ma-density-compact .ma-benefit-bar{
        display:none;
    }
    .ma-density-compact .ma-header-row{
        height:auto;
        min-height:56px;
        grid-template-columns:126px minmax(0,1fr) auto;
        gap:8px;
        padding:8px 0;
    }
    .ma-density-compact .ma-logo img{
        width:118px;
    }
    .ma-density-compact .ma-header-search{
        height:36px;
        margin-bottom:0;
    }
    .ma-density-compact .ma-main-nav{
        font-size:13px;
    }
    .ma-density-compact .ma-store-hero,
    .ma-density-compact .ma-academy-hero--rebuilt,
    .ma-density-compact .ma-workshop-landing,
    .ma-density-compact .ma-customer-center-hero,
    .ma-density-compact .ma-support-hero--rebuilt,
    .ma-density-compact .ma-form-hero,
    .ma-density-compact .ma-ticket-detail-hero,
    .ma-density-compact .ma-admin-top--rebuilt,
    .ma-density-compact .ma-auth-copy{
        padding:20px;
        border-radius:18px;
    }
    .ma-density-compact .ma-store-hero h1,
    .ma-density-compact .ma-academy-hero__copy h1,
    .ma-density-compact .ma-workshop-landing h1,
    .ma-density-compact .ma-customer-center-hero h1,
    .ma-density-compact .ma-support-hero--rebuilt h1,
    .ma-density-compact .ma-admin-top h1{
        font-size:clamp(23px,6vw,30px);
    }
    .ma-density-compact .ma-product-grid--store.ma-product-grid--3,
    .ma-density-compact .ma-course-grid--academy,
    .ma-density-compact .ma-workshop-service-grid,
    .ma-density-compact .ma-academy-featured__grid,
    .ma-density-compact .ma-workshop-featured-grid,
    .ma-density-compact .ma-homepage-product-grid,
    .ma-density-compact .ma-homepage-course-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .ma-density-compact .ma-admin-shell{
        grid-template-columns:1fr;
    }
    .ma-density-compact .ma-admin-sidebar{
        position:static;
        height:auto;
    }
}

@media(max-width:560px){
    body.ma-density-compact{
        font-size:var(--ma-density-font-mobile);
        line-height:1.58;
    }
    .ma-density-compact .ma-container,
    .ma-density-compact .container,
    .ma-density-compact .ma-footer__grid{
        width:min(100% - 18px,1280px);
    }
    .ma-density-compact .ma-header-row{
        grid-template-columns:108px minmax(0,1fr) auto;
        padding:7px 0;
    }
    .ma-density-compact .ma-logo img{
        width:102px;
    }
    .ma-density-compact .ma-icon-link,
    .ma-density-compact .ma-user-link,
    .ma-density-compact .ma-menu-toggle{
        min-height:34px;
        padding:5px 8px;
        border-radius:10px;
        font-size:12px;
    }
    .ma-density-compact .ma-icon-link{
        font-size:18px;
    }
    .ma-density-compact .ma-header-search{
        height:34px;
    }
    .ma-density-compact .ma-header-search input{
        font-size:11.5px;
    }
    .ma-density-compact .ma-store-hero,
    .ma-density-compact .ma-academy-hero--rebuilt,
    .ma-density-compact .ma-workshop-landing,
    .ma-density-compact .ma-customer-center-hero,
    .ma-density-compact .ma-support-hero--rebuilt,
    .ma-density-compact .ma-form-hero,
    .ma-density-compact .ma-ticket-detail-hero,
    .ma-density-compact .ma-admin-top--rebuilt,
    .ma-density-compact .ma-auth-copy{
        padding:15px;
        border-radius:16px;
    }
    .ma-density-compact .hero h1,
    .ma-density-compact .page-head h1,
    .ma-density-compact .ma-store-hero h1,
    .ma-density-compact .ma-product-title h1,
    .ma-density-compact .ma-academy-hero__copy h1,
    .ma-density-compact .ma-course-hero h1,
    .ma-density-compact .ma-workshop-landing h1,
    .ma-density-compact .ma-service-detail-hero h1,
    .ma-density-compact .ma-customer-center-hero h1,
    .ma-density-compact .ma-support-hero--rebuilt h1,
    .ma-density-compact .ma-admin-top h1,
    .ma-density-compact .ma-auth-copy h1{
        font-size:clamp(21px,6.5vw,27px);
        line-height:1.36;
    }
    .ma-density-compact .ma-homepage-section-title h2,
    .ma-density-compact .ma-section-head h2,
    .ma-density-compact .ma-section-head--academy h2,
    .ma-density-compact .ma-workshop-section-head h2{
        font-size:18px;
    }
    .ma-density-compact .ma-product-grid--store.ma-product-grid--3,
    .ma-density-compact .ma-course-grid--academy,
    .ma-density-compact .ma-course-grid--related,
    .ma-density-compact .ma-my-courses-grid,
    .ma-density-compact .ma-workshop-category-grid,
    .ma-density-compact .ma-workshop-featured-grid,
    .ma-density-compact .ma-workshop-service-grid,
    .ma-density-compact .ma-academy-featured__grid,
    .ma-density-compact .ma-homepage-product-grid,
    .ma-density-compact .ma-homepage-course-grid,
    .ma-density-compact .promo-grid,
    .ma-density-compact .card-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }
    .ma-density-compact .hero__panel,
    .ma-density-compact .panel,
    .ma-density-compact .form-card,
    .ma-density-compact .sidebar-card,
    .ma-density-compact .product-card,
    .ma-density-compact .feature-card,
    .ma-density-compact .pillar-card,
    .ma-density-compact .stat-card,
    .ma-density-compact .ma-form-card,
    .ma-density-compact .ma-panel,
    .ma-density-compact .ma-side-card,
    .ma-density-compact .ma-profile-card,
    .ma-density-compact .ma-account-stats a,
    .ma-density-compact .ma-filter-card--store,
    .ma-density-compact .ma-filter-card--academy,
    .ma-density-compact .ma-workshop-card,
    .ma-density-compact .ma-workshop-side-card,
    .ma-density-compact .ma-service-card,
    .ma-density-compact .ma-course-card,
    .ma-density-compact .ma-store-product-card,
    .ma-density-compact .ma-product-buy-card,
    .ma-density-compact .ma-product-info-card{
        padding:10px;
        border-radius:14px;
    }
    .ma-density-compact .product-card__image,
    .ma-density-compact .ma-store-card__image,
    .ma-density-compact .ma-product-card__image,
    .ma-density-compact .ma-course-card__thumb,
    .ma-density-compact .ma-homepage-course>span{
        height:104px;
    }
    .ma-density-compact .ma-course-card__thumb b,
    .ma-density-compact .ma-homepage-course>span b{
        width:34px;
        height:34px;
    }
    .ma-density-compact .product-card__title,
    .ma-density-compact .ma-course-card h2,
    .ma-density-compact .ma-store-card h2,
    .ma-density-compact .ma-product-card h2,
    .ma-density-compact .ma-service-card h2,
    .ma-density-compact .ma-homepage-course h3{
        font-size:12.5px;
        line-height:1.45;
    }
    .ma-density-compact .product-card p,
    .ma-density-compact .ma-course-card p,
    .ma-density-compact .ma-store-card p,
    .ma-density-compact .ma-product-card p,
    .ma-density-compact .ma-service-card p,
    .ma-density-compact .ma-homepage-course p{
        font-size:11.5px;
        line-height:1.55;
        -webkit-line-clamp:1;
    }
    .ma-density-compact .ma-course-meta,
    .ma-density-compact .ma-course-foot,
    .ma-density-compact .product-card__footer,
    .ma-density-compact .ma-store-card__meta{
        font-size:10.8px;
        gap:4px;
    }
    .ma-density-compact .ma-btn,
    .ma-density-compact .btn,
    .ma-density-compact .search-box button,
    .ma-density-compact .ma-academy-hero-search button{
        min-height:34px;
        padding:7px 10px;
        border-radius:11px;
        font-size:12px;
    }
    .ma-density-compact .ma-form-card input,
    .ma-density-compact .ma-form-card select,
    .ma-density-compact .ma-form-card textarea,
    .ma-density-compact .ma-form-card .form-control,
    .ma-density-compact .form-control,
    .ma-density-compact .search-box input,
    .ma-density-compact .ma-filter-card input,
    .ma-density-compact .ma-filter-card select{
        min-height:34px;
        padding:7px 9px;
        font-size:12px;
        border-radius:10px;
    }
    .ma-density-compact .ma-trust-strip,
    .ma-density-compact .ma-store-hero__stats,
    .ma-density-compact .ma-academy-stats,
    .ma-density-compact .ma-workshop-stats-row,
    .ma-density-compact .ma-account-kpis,
    .ma-density-compact .ma-support-kpis,
    .ma-density-compact .ma-admin-kpis--management,
    .ma-density-compact .ma-admin-kpis--compact{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    .ma-density-compact .ma-trust-strip{
        padding:8px;
    }
    .ma-density-compact .ma-trust-strip div{
        min-height:34px;
        flex-direction:column;
        gap:0;
        border-left:0;
        text-align:center;
    }
    .ma-density-compact .ma-filter-card--store,
    .ma-density-compact .ma-filter-card--academy{
        width:min(92vw,360px);
        padding:12px;
    }
    .ma-density-compact .ma-footer{
        padding-top:20px;
    }
    .ma-density-compact .ma-footer__grid{
        gap:14px;
    }
}

@media(max-width:380px){
    .ma-density-compact .ma-product-grid--store.ma-product-grid--3,
    .ma-density-compact .ma-course-grid--academy,
    .ma-density-compact .ma-course-grid--related,
    .ma-density-compact .ma-my-courses-grid,
    .ma-density-compact .ma-workshop-category-grid,
    .ma-density-compact .ma-workshop-featured-grid,
    .ma-density-compact .ma-workshop-service-grid,
    .ma-density-compact .ma-academy-featured__grid,
    .ma-density-compact .ma-homepage-product-grid,
    .ma-density-compact .ma-homepage-course-grid{
        gap:8px;
    }
    .ma-density-compact .product-card__image,
    .ma-density-compact .ma-store-card__image,
    .ma-density-compact .ma-product-card__image,
    .ma-density-compact .ma-course-card__thumb,
    .ma-density-compact .ma-homepage-course>span{
        height:92px;
    }
}

/* Last-loaded font guard for pages that include third-party widgets or admin overrides. */
:where(html,body,body *,button,input,select,textarea,optgroup,option){
    font-family:var(--ma-font)!important;
}
:where(body *::before,body *::after,input::placeholder,textarea::placeholder){
    font-family:var(--ma-font)!important;
}

/* Checkout and payment responsive compact rules. */
@media(max-width:960px){
    .ma-cart-layout,.ma-checkout-layout,.ma-payment-layout,.ma-order-detail-layout{grid-template-columns:1fr}.ma-order-summary--sticky{position:static}.ma-order-detail-hero,.ma-payment-hero,.ma-order-hero{grid-template-columns:1fr;display:grid}.ma-order-actions,.ma-payment-actions{justify-content:flex-start}.ma-order-side{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
    .ma-density-compact .ma-order-hero,.ma-density-compact .ma-order-detail-hero,.ma-density-compact .ma-payment-hero{border-radius:20px;padding:16px;margin-top:14px}.ma-density-compact .ma-order-hero h1,.ma-density-compact .ma-order-detail-hero h1,.ma-density-compact .ma-payment-hero h1{font-size:22px}.ma-density-compact .ma-order-hero p,.ma-density-compact .ma-order-detail-hero p,.ma-density-compact .ma-payment-hero p{font-size:12.5px;line-height:1.75}.ma-density-compact .ma-order-mini-stats,.ma-density-compact .ma-payment-amount{padding:12px 14px;border-radius:16px;min-width:0}.ma-density-compact .ma-order-mini-stats strong,.ma-density-compact .ma-payment-amount strong{font-size:20px}.ma-checkout-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ma-density-compact .ma-checkout-steps span{font-size:11.5px;padding:8px;border-radius:12px}.ma-cart-item{grid-template-columns:1fr 78px;gap:8px;padding:10px}.ma-cart-item strong{font-size:12px}.ma-cart-item .remove-link{grid-column:auto}.ma-checkout-grid{grid-template-columns:1fr}.ma-order-timeline{grid-template-columns:repeat(5,minmax(64px,1fr));overflow:auto}.ma-density-compact .ma-order-timeline span{font-size:11px;padding:8px;white-space:nowrap}.ma-invoice-table{overflow:auto}.ma-invoice-table>div{min-width:620px;font-size:12px}.ma-order-side{grid-template-columns:1fr}.ma-order-stat-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ma-order-list-row{grid-template-columns:1fr;gap:6px}.ma-payment-detail{grid-template-columns:1fr}.ma-density-compact .ma-cart-panel--compact,.ma-density-compact .ma-checkout-form,.ma-density-compact .ma-invoice-card,.ma-density-compact .ma-payment-card{padding:14px}.ma-density-compact .ma-order-summary{padding:14px}.ma-payment-actions form,.ma-payment-actions button{width:100%}
}
@media(max-width:420px){
    .ma-checkout-steps{grid-template-columns:1fr 1fr}.ma-order-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-density-compact .ma-order-stat-row div{padding:10px}.ma-density-compact .ma-order-stat-row b{font-size:19px}.ma-density-compact .ma-cart-item__title{font-size:12px}.ma-density-compact .ma-cart-item__main span{font-size:10.8px}.ma-density-compact .ma-check-label{font-size:11.5px;padding:8px}
}

/* Last-loaded font guard for pages that include third-party widgets or admin overrides. */
:where(html,body,body *,button,input,select,textarea,optgroup,option){
    font-family:var(--ma-font)!important;
}
:where(body *::before,body *::after,input::placeholder,textarea::placeholder){
    font-family:var(--ma-font)!important;
}

@media (max-width: 760px) {
    .ma-payment-hero--gateway,
    .ma-notification-hero { flex-direction: column; align-items: stretch; }
    .ma-payment-layout--multi { grid-template-columns: 1fr; }
    .ma-payment-amount { min-width: 0; padding: .8rem; }
    .ma-payment-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .ma-notification-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
    .ma-notification-card { grid-template-columns: auto minmax(0, 1fr); }
    .ma-notification-card time { grid-column: 2; }
    .ma-workshop-payment-row { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .ma-payment-actions { grid-template-columns: 1fr; }
    .ma-notification-stats { grid-template-columns: 1fr 1fr; }
}


/* Payment report responsive */
@media (max-width: 980px){.ma-payment-filter-panel{grid-template-columns:1fr 1fr}.ma-payment-breakdown-grid,.ma-payment-detail-layout{grid-template-columns:1fr}.ma-payment-report-shell{display:block}.ma-payment-report-shell .ma-admin-sidebar{position:static;margin-bottom:1rem}}
@media (max-width: 640px){.ma-payment-filter-panel{grid-template-columns:1fr}.ma-payment-table{font-size:.78rem;min-width:680px}.ma-payment-table td,.ma-payment-table th{padding:.46rem .48rem}.ma-payment-kpis{grid-template-columns:1fr 1fr}.ma-payment-events{gap:.4rem}.ma-payment-event{padding:.52rem;border-radius:14px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


@media (max-width: 820px){.ma-settlement-candidate{grid-template-columns:1fr}.ma-settlement-candidate form{grid-template-columns:1fr}.ma-settlement-detail-hero{display:grid}.ma-settlement-detail-hero .ma-admin-top-actions{justify-content:flex-start}}

/* Responsive rules for content management dashboard */
@media(max-width:1180px){.ma-cms-kpis,.ma-cms-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-cms-bottom{grid-template-columns:1fr 1fr}.ma-homepage-faq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.ma-cms-shell{display:block}.ma-cms-quick-grid,.ma-cms-bottom,.ma-homepage-cms-ctas{grid-template-columns:1fr}.ma-cms-list-row{grid-template-columns:1fr}.ma-cms-row-actions{justify-content:flex-start}.ma-cms-form .ma-form-grid{grid-template-columns:1fr}.ma-homepage-cms-cta{display:grid;padding:18px;border-radius:22px}.ma-homepage-faq-grid{grid-template-columns:1fr}}
@media(max-width:560px){.ma-density-compact .ma-cms-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-cms-action{min-height:auto;padding:13px}.ma-cms-table-card{padding:12px;border-radius:20px}.ma-cms-list-row{padding:11px}.ma-homepage-cms-cta h2{font-size:19px}.ma-homepage-faq-grid details{padding:12px}}

@media (max-width: 900px){.ma-product-feedback-grid,.ma-store-ops-grid{grid-template-columns:1fr 1fr}.ma-compare-hero{align-items:flex-start;flex-direction:column}.ma-compare-table th,.ma-compare-table td{padding:.55rem .6rem}.ma-product-card__tools{font-size:.72rem}.ma-coupon-form,.ma-checkout-coupon form{display:grid;grid-template-columns:1fr auto}}
@media (max-width: 560px){.ma-product-feedback-grid,.ma-store-ops-grid{grid-template-columns:1fr}.ma-compare-mini-bar{font-size:.78rem;align-items:flex-start;flex-direction:column}.ma-review-item>div{align-items:flex-start;flex-direction:column}.ma-coupon-form,.ma-checkout-coupon form{grid-template-columns:1fr}.ma-product-compare-action{align-items:stretch;flex-direction:column}.ma-product-compare-action button,.ma-product-compare-action a{width:100%;text-align:center}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


@media (max-width: 920px){.ma-inventory-grid,.ma-inventory-help-grid,.ma-inventory-detail-layout{grid-template-columns:1fr}.ma-inventory-hero{padding:14px}.ma-inventory-table .ma-manager-head,.ma-inventory-table .ma-manager-row{grid-template-columns:1fr 1fr}.ma-inventory-table .ma-manager-head span:nth-child(n+3),.ma-inventory-table .ma-manager-row span:nth-child(n+3),.ma-inventory-table .ma-manager-row b{display:none}}

/* LMS responsive density */
@media (max-width: 1024px){
  .ma-learning-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma-learning-path-detail,.ma-quiz-shell,.ma-quiz-result,.ma-project-submit{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .ma-learning-path-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ma-learning-path-card{padding:12px;border-radius:16px;min-height:136px}.ma-learning-path-card h2,.ma-learning-path-card h3{font-size:14px}.ma-learning-path-card p{font-size:12px;line-height:1.65}.ma-learning-path-card>span{width:32px;height:32px}
  .ma-lms-panel-grid{grid-template-columns:1fr;gap:12px}.ma-lms-panel,.ma-learning-step,.ma-quiz-head,.ma-quiz-question,.ma-result-card,.ma-certificate-card{padding:13px;border-radius:17px}.ma-learning-step{grid-template-columns:34px 1fr}.ma-learning-step>a{grid-column:2}.ma-lms-row{grid-template-columns:1fr;gap:8px}.ma-quiz-question label{padding:8px}.ma-certificate-card h1{font-size:24px}.ma-certificate-card h2{font-size:20px}
}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Responsive rules for custom admin rebuild roadmap */
@media(max-width:1100px){.ma-admin-roadmap-shell{display:block}.ma-admin-roadmap-shell .ma-admin-sidebar{position:static;height:auto;margin-bottom:16px}.ma-roadmap-hero{display:grid}.ma-roadmap-principle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-roadmap-phase{grid-template-columns:1fr}.ma-roadmap-next-grid{grid-template-columns:1fr}}
@media(max-width:620px){.ma-roadmap-principle-grid{grid-template-columns:1fr}.ma-roadmap-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-roadmap-phase{padding:12px;border-radius:18px}.ma-roadmap-phase__body li{padding-left:10px}.ma-roadmap-policy{max-width:none}.ma-roadmap-hero{padding:16px;border-radius:20px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


@media(max-width:1180px){.ma-store-admin-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-form-grid--six{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-store-product-row{grid-template-columns:58px 1fr 160px}.ma-store-product-row__badges,.ma-store-product-row__actions{grid-column:2/-1}.ma-store-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-store-taxonomy-row{grid-template-columns:1fr}.ma-store-inventory-row{grid-template-columns:1fr 100px 100px}}
@media(max-width:760px){.ma-store-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-form-grid--six{grid-template-columns:1fr}.ma-store-product-row,.ma-store-inventory-row{grid-template-columns:1fr}.ma-store-product-row__media{width:100%;height:120px}.ma-store-product-row__badges,.ma-store-product-row__actions{grid-column:auto}.ma-store-action-grid{grid-template-columns:1fr}.ma-store-action-grid form{display:grid}.ma-store-admin-hero{padding:14px;border-radius:20px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


@media (max-width:1180px){.ma-order-admin-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-order-admin-detail-grid{grid-template-columns:1fr}.ma-order-admin-head{display:none}.ma-order-admin-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-order-admin-row .ma-cms-row-actions{grid-column:1/-1}}
@media (max-width:760px){.ma-order-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-order-admin-row{grid-template-columns:1fr}.ma-order-admin-detail-grid{gap:12px}.ma-order-print-head,.ma-order-print-meta{display:grid}.ma-order-admin-items .head,.ma-order-admin-items div{grid-template-columns:1fr}.ma-order-admin-timeline span{font-size:12px;padding:7px 10px}}

@media(max-width:1180px){.ma-feedback-grid{grid-template-columns:1fr}.ma-feedback-row,.ma-coupon-row,.ma-shipping-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-feedback-row .ma-cms-row-actions,.ma-coupon-row .ma-cms-row-actions,.ma-shipping-row .ma-cms-row-actions{grid-column:1/-1}.ma-feedback-detail-grid{grid-template-columns:1fr}}
@media(max-width:760px){.ma-feedback-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-feedback-row,.ma-coupon-row,.ma-shipping-row{grid-template-columns:1fr}.ma-feedback-panel{padding:12px;border-radius:20px}.ma-store-admin-sidebar a[href*="feedback"]:after,.ma-store-admin-sidebar a[href*="coupons"]:after,.ma-store-admin-sidebar a[href*="shipping"]:after{display:none}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Compact custom dashboard responsive repair. */
@media(max-width:1280px){.ma-dashboard-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-manager-filter--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-manager-filter--compact button{grid-column:auto}.ma-dashboard-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-dashboard-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.ma-dashboard-compact-shell.ma-admin-shell--management{display:block}.ma-dashboard-compact-shell .ma-admin-sidebar--rebuilt{position:static;height:auto;border-left:0;border-bottom:1px solid var(--ma-border);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.ma-dashboard-compact-shell .ma-admin-sidebar--rebuilt h2,.ma-dashboard-compact-shell .ma-admin-sidebar--rebuilt div{grid-column:1/-1}.ma-admin-main--compact{padding:12px}.ma-admin-top--compact{align-items:flex-start;flex-direction:column}.ma-dashboard-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-manager-filter--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-manager-filter--compact button{grid-column:1/-1}.ma-dashboard-table{min-width:680px}}
@media(max-width:640px){.ma-dashboard-compact-shell .ma-admin-sidebar--rebuilt{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.ma-dashboard-compact-shell .ma-admin-sidebar--rebuilt a{font-size:11px;min-height:31px;padding:7px 8px}.ma-admin-main--compact{padding:10px}.ma-admin-top--compact{padding:14px;border-radius:16px}.ma-admin-top--compact h1{font-size:19px}.ma-admin-top--compact p{font-size:11px}.ma-dashboard-action-grid,.ma-dashboard-card-grid,.ma-dashboard-form-grid,.ma-admin-bottom--compact{grid-template-columns:1fr}.ma-manager-filter--compact{grid-template-columns:1fr;padding:9px;border-radius:15px}.ma-dashboard-field--check{margin-top:0}.ma-dashboard-compact-shell .ma-btn,.ma-dashboard-compact-shell .ma-user-link{width:100%;justify-content:center}.ma-dashboard-table-wrap{border-radius:14px}.ma-dashboard-table{min-width:620px;font-size:11px}.ma-dashboard-table th,.ma-dashboard-table td{padding:7px}.ma-dashboard-table td b,.ma-dashboard-compact-shell .ma-admin-row b{font-size:11px}.ma-table-actions a,.ma-table-actions button{font-size:10px;padding:4px 7px}.ma-dashboard-compact-shell .ma-admin-kpis>div{min-height:66px;padding:10px}.ma-dashboard-compact-shell .ma-admin-kpis b{font-size:16px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}



/* Stage 34 global admin responsive repair for every dashboard module. */
@media(max-width:1180px){.ma-admin-shell{grid-template-columns:190px minmax(0,1fr)}.ma-workshop-detail-grid,.ma-order-admin-detail-grid,.ma-feedback-detail-grid{grid-template-columns:1fr}.ma-form-grid--six,.ma-dashboard-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-admin-bottom,.ma-admin-charts,.ma-admin-insight-grid{grid-template-columns:1fr}.ma-store-product-row,.ma-order-admin-row,.ma-feedback-row,.ma-coupon-row,.ma-shipping-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-cms-row-actions,.ma-table-actions{grid-column:1/-1}}
@media(max-width:900px){.ma-admin-shell{display:block}.ma-admin-sidebar{position:static;height:auto;border-left:0;border-bottom:1px solid var(--ma-border);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.ma-admin-sidebar h2,.ma-admin-sidebar div{grid-column:1/-1}.ma-admin-main{padding:12px}.ma-admin-top{align-items:flex-start;flex-direction:column}.ma-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-manager-filter--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-manager-filter--compact button{grid-column:1/-1}.ma-store-product-row,.ma-order-admin-row,.ma-feedback-row,.ma-coupon-row,.ma-shipping-row,.ma-store-taxonomy-row,.ma-store-inventory-row{grid-template-columns:1fr}.ma-dashboard-table{min-width:620px}}
@media(max-width:560px){.ma-admin-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px}.ma-admin-sidebar a{font-size:10.5px;padding:7px 8px;min-height:30px}.ma-admin-main{padding:9px}.ma-admin-top{padding:12px;border-radius:16px}.ma-admin-top h1{font-size:18px}.ma-admin-top p{font-size:11px}.ma-btn{width:100%;justify-content:center}.ma-admin-top-actions{width:100%}.ma-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ma-admin-kpis div,.ma-admin-kpis a{padding:9px;min-height:62px}.ma-admin-kpis b,.ma-admin-kpis a b{font-size:15px}.ma-manager-filter--compact,.ma-dashboard-form-grid,.ma-form-grid,.ma-form-grid--six{grid-template-columns:1fr}.ma-workshop-checklist article{grid-template-columns:1fr}.ma-dashboard-table{min-width:560px;font-size:11px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Stage 35 People Admin responsive repair */
@media(max-width:1180px){.ma-people-grid,.ma-people-detail-grid{grid-template-columns:1fr}.ma-people-admin-shell .ma-manager-row,.ma-people-admin-shell .ma-manager-head{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-people-admin-shell .ma-cms-row-actions{grid-column:1/-1}}
@media(max-width:760px){.ma-people-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-people-admin-shell .ma-manager-row,.ma-people-admin-shell .ma-manager-head{grid-template-columns:1fr}.ma-people-admin-shell .ma-manager-head{display:none}.ma-people-admin-shell select[multiple]{min-height:120px}.ma-people-actions{display:grid}.ma-people-actions form{display:grid}.ma-people-admin-shell .panel{padding:.65rem;border-radius:16px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Finance Admin responsive repair */
@media(max-width:1180px){.ma-finance-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-finance-insight-grid,.ma-finance-detail-grid,.ma-finance-recon-grid{grid-template-columns:1fr}.ma-finance-transaction-list .ma-order-admin-head{display:none}.ma-finance-transaction-list .ma-order-admin-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-finance-transaction-list .ma-cms-row-actions{grid-column:1/-1}.ma-finance-settlement-list article{grid-template-columns:1fr}}
@media(max-width:640px){.ma-finance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-finance-transaction-list .ma-order-admin-row{grid-template-columns:1fr}.ma-finance-admin-shell .ma-form-actions,.ma-finance-admin-shell .ma-cms-row-actions{display:grid}.ma-finance-admin-shell .ma-cms-row-actions form{display:grid}.ma-finance-table-card{padding:8px;border-radius:14px}.ma-finance-event-list span{font-size:10.5px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Stage 37 Content/SEO Admin responsive repair */
@media(max-width:1180px){.ma-content-admin-shell .ma-order-admin-head,.ma-seo-admin-shell .ma-order-admin-head{display:none}.ma-content-admin-shell .ma-order-admin-row,.ma-seo-admin-shell .ma-order-admin-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-content-admin-shell .ma-cms-row-actions,.ma-seo-admin-shell .ma-cms-row-actions{grid-column:1/-1}.ma-content-admin-shell .ma-cms-quick-grid,.ma-seo-admin-shell .ma-cms-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ma-content-admin-shell .ma-order-admin-row,.ma-seo-admin-shell .ma-order-admin-row,.ma-content-admin-shell .ma-cms-quick-grid,.ma-seo-admin-shell .ma-cms-quick-grid{grid-template-columns:1fr}.ma-content-admin-shell .ma-cms-row-actions,.ma-seo-admin-shell .ma-cms-row-actions{display:grid}.ma-content-admin-shell .ma-cms-row-actions form,.ma-seo-admin-shell .ma-cms-row-actions form{display:grid}.ma-content-admin-shell code,.ma-seo-admin-shell code{font-size:10px}.ma-content-admin-shell .ma-cms-table-card,.ma-seo-admin-shell .ma-cms-table-card{padding:8px;border-radius:14px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Stage 38 QA responsive repair */
@media(max-width:1180px){.ma-system-qa-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-system-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-system-qa-table{min-width:680px}}
@media(max-width:640px){.ma-system-qa-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-system-module-grid{grid-template-columns:1fr}.ma-system-qa-panel{padding:9px;border-radius:15px}.ma-system-qa-table{min-width:600px}}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Stage 40 route guardian responsive repair */
@media (max-width: 760px){
  .ma-route-guardian-shell .ma-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
  .ma-route-guardian-shell .ma-admin-top-actions{width:100%;display:grid;grid-template-columns:1fr;gap:.45rem}
  .ma-route-ref-table td:first-child{max-width:220px}
}
@media (max-width: 480px){
  .ma-route-guardian-shell .ma-admin-kpis{grid-template-columns:1fr}
  .ma-route-ref-table code{font-size:.66rem}
}

@media (max-width: 760px){.ma-page-review-columns{grid-template-columns:1fr}.ma-page-review-card{gap:.5rem}.ma-page-review-columns>div{padding:.6rem}.ma-page-review-columns p{font-size:.76rem}}

/* Stage 42 public UX and mobile navigation repair. */
.ma-mobile-nav-head,
.ma-mobile-nav-actions{display:none}

.ma-public-journey,
.ma-public-utility-strip,
.ma-public-decision-row,
.ma-public-advisor{
    margin-top:18px;
    margin-bottom:18px;
}

.ma-public-journey{
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:16px;
    align-items:stretch;
    background:linear-gradient(135deg,#ffffff,#f4f8ff);
    border:1px solid #dfe8f5;
    border-radius:26px;
    padding:18px;
    box-shadow:0 18px 52px rgba(15,23,42,.06);
}
.ma-public-journey__head{display:grid;gap:7px;align-content:center;padding:4px 8px}
.ma-public-journey__head span,
.ma-public-advisor span{color:#0b5cff;font-size:12px;font-weight:950}
.ma-public-journey__head h2,
.ma-public-advisor h2{margin:0;color:#0b1b35;font-size:22px;line-height:1.55}
.ma-public-journey__head p,
.ma-public-advisor p{margin:0;color:#64748b;line-height:1.9;font-size:13px}
.ma-public-journey__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ma-public-journey__grid a{
    display:grid;
    gap:8px;
    border:1px solid #e3ecf8;
    background:#fff;
    border-radius:20px;
    padding:15px;
    min-height:142px;
    box-shadow:0 14px 34px rgba(28,64,132,.05);
    transition:.22s ease;
}
.ma-public-journey__grid a:hover{transform:translateY(-3px);border-color:#b8d7ff;box-shadow:0 20px 48px rgba(11,92,255,.10)}
.ma-public-journey__grid b{font-size:16px;color:#102a4f}
.ma-public-journey__grid span{font-size:12.5px;line-height:1.9;color:#64748b}
.ma-public-journey__grid em{align-self:end;font-style:normal;color:#0b5cff;font-size:12px;font-weight:950}

.ma-public-utility-strip,
.ma-public-decision-row{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}
.ma-public-utility-strip>div,
.ma-public-decision-row>div{
    min-width:0;
    border:1px solid #e3ecf8;
    background:linear-gradient(180deg,#fff,#f8fbff);
    border-radius:20px;
    padding:14px;
    box-shadow:0 12px 34px rgba(28,64,132,.045);
}
.ma-public-utility-strip b,
.ma-public-decision-row b{display:block;color:#102a4f;font-size:14px;margin-bottom:6px}
.ma-public-utility-strip span,
.ma-public-decision-row span{display:block;color:#64748b;font-size:12px;line-height:1.85}

.ma-public-advisor{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    background:radial-gradient(circle at 12% 25%,rgba(16,196,237,.16),transparent 24%),linear-gradient(135deg,#061b3b,#0b5cff);
    border-radius:26px;
    padding:20px 22px;
    color:#fff;
    box-shadow:0 22px 68px rgba(11,92,255,.16);
}
.ma-public-advisor span{color:#bff4ff}
.ma-public-advisor h2{color:#fff}
.ma-public-advisor p{color:#e6f2ff;max-width:780px}
.ma-public-advisor__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.ma-public-advisor__actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:14px;padding:0 14px;background:#fff;color:#0b5cff;font-weight:950;font-size:12px;white-space:nowrap}
.ma-public-advisor__actions a+ a{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.45)}

.ma-public-mobile-sticky-action{display:none}

.ma-homepage-product-grid,
.ma-product-grid--store,
.ma-course-grid--academy,
.ma-academy-featured__grid,
.ma-workshop-service-grid{
    align-items:stretch;
}
.ma-product-card--store,
.ma-course-card--academy,
.ma-homepage-product,
.ma-homepage-course,
.ma-workshop-service-card{
    height:100%;
}
.ma-product-card__title,
.ma-course-card h2 a,
.ma-homepage-product__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ma-product-card__desc,
.ma-course-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@media(max-width:1100px){
    .ma-public-journey{grid-template-columns:1fr}
    .ma-public-journey__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .ma-public-utility-strip,
    .ma-public-decision-row{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ma-public-advisor{align-items:flex-start;flex-direction:column}
    .ma-public-advisor__actions{justify-content:flex-start}
}

@media(max-width:900px){
    .ma-main-nav{
        display:flex!important;
        flex-direction:column;
        gap:6px;
        position:fixed!important;
        top:0!important;
        right:0!important;
        bottom:0!important;
        width:min(340px,88vw)!important;
        max-width:88vw;
        height:100dvh;
        padding:14px!important;
        padding-top:14px!important;
        background:#fff!important;
        color:#102a4f;
        transform:translateX(110%)!important;
        transition:transform .24s ease, box-shadow .24s ease;
        box-shadow:-24px 0 90px rgba(6,27,59,.24);
        z-index:250!important;
        overflow-y:auto;
        visibility:hidden;
        pointer-events:none;
    }
    body.nav-open .ma-main-nav,
    .ma-main-nav.is-open{
        transform:translateX(0)!important;
        visibility:visible;
        pointer-events:auto;
    }
    .ma-main-nav a{
        display:flex!important;
        align-items:center;
        min-height:42px;
        border:1px solid #edf2f8;
        border-radius:14px;
        padding:9px 11px!important;
        color:#102a4f;
        background:#fbfdff;
        font-size:13px;
        font-weight:900;
    }
    .ma-main-nav a:hover{background:#eff6ff;color:#0b5cff}
    .ma-mobile-nav-head{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        position:sticky;
        top:0;
        z-index:2;
        padding:8px 4px 12px;
        margin-bottom:4px;
        background:#fff;
        border-bottom:1px solid #edf2f8;
    }
    .ma-mobile-nav-head b{font-size:15px;color:#0b1b35}
    .ma-mobile-nav-head button{
        width:36px;height:36px;border:0;border-radius:12px;background:#eff6ff;color:#0b5cff;font-size:22px;line-height:1;cursor:pointer;
    }
    .ma-mobile-nav-actions{display:grid;grid-template-columns:1fr;gap:6px;margin-top:8px;padding-top:8px;border-top:1px dashed #dbeafe}
    .mobile-nav-backdrop{z-index:220!important;background:rgba(6,27,59,.55)}
    .ma-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;position:relative;z-index:90;border:1px solid #dbeafe!important;background:#fff!important;color:#0b5cff!important;box-shadow:0 8px 24px rgba(11,92,255,.10)}
    .ma-menu-toggle.is-active{background:#0b5cff!important;color:#fff!important}
    .ma-header-actions .ma-user-link{display:none}
    .ma-header-actions{min-width:max-content}
}

@media(max-width:720px){
    .ma-public-journey,
    .ma-public-advisor,
    .ma-public-utility-strip>div,
    .ma-public-decision-row>div{border-radius:18px}
    .ma-public-journey{padding:12px;gap:12px}
    .ma-public-journey__grid{grid-template-columns:1fr;gap:9px}
    .ma-public-journey__grid a{min-height:auto;padding:13px;border-radius:16px}
    .ma-public-utility-strip,
    .ma-public-decision-row{grid-template-columns:1fr;gap:8px}
    .ma-public-advisor{padding:16px}
    .ma-public-advisor__actions{width:100%;display:grid;grid-template-columns:1fr}
    .ma-public-advisor__actions a{width:100%}
    .ma-homepage-hero,
    .ma-store-hero,
    .ma-academy-hero--rebuilt,
    .ma-workshop-landing,
    .ma-product-hero,
    .ma-course-detail__grid--rebuilt{gap:14px}
    .ma-homepage-hero-search,
    .ma-store-hero-search,
    .ma-academy-hero-search,
    .ma-workshop-search{display:grid;grid-template-columns:1fr;gap:8px;padding:8px;border-radius:17px}
    .ma-homepage-hero-search button,
    .ma-store-hero-search button,
    .ma-academy-hero-search button,
    .ma-workshop-search button{width:100%;min-height:40px}
    .ma-product-tabs{justify-content:flex-start}
}

@media(max-width:560px){
    body{padding-bottom:72px}
    .ma-header-row{grid-template-columns:104px minmax(0,1fr) auto!important}
    .ma-header-search{order:4;grid-column:1/-1!important}
    .ma-header-actions .ma-icon-link:first-child{display:inline-flex}
    .ma-header-actions .ma-notification-link{display:none}
    .ma-public-mobile-sticky-action{
        position:fixed;
        right:10px;
        left:10px;
        bottom:10px;
        z-index:210;
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        align-items:center;
        gap:10px;
        background:#fff;
        border:1px solid #dbeafe;
        border-radius:18px;
        padding:9px 10px;
        box-shadow:0 18px 54px rgba(6,27,59,.22);
    }
    .ma-public-mobile-sticky-action span{display:block;color:#64748b;font-size:11px;font-weight:800}
    .ma-public-mobile-sticky-action b{display:block;color:#0b1b35;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .ma-public-mobile-sticky-action button{border:0;border-radius:14px;background:#0b5cff;color:#fff;font:inherit;font-size:12px;font-weight:950;min-height:40px;padding:0 12px;cursor:pointer}
    .ma-product-card__tools{display:none}
    .ma-product-card__body,
    .ma-course-card__body{padding:10px!important}
    .ma-product-card__title,
    .ma-course-card h2{font-size:13px!important;line-height:1.65!important}
    .ma-price-stack strong,.ma-course-foot strong{font-size:13px!important}
}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Stage 43 - global Jalali datepicker/form localization, conceptual responsive CSS only */
.ma-jalali-date-input,
input.js-jalali-date,
input.js-jalali-datetime {
    direction: ltr;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.ma-jalali-picker {
    position: absolute;
    z-index: 9999;
    width: min(100%, 320px);
    margin-top: .35rem;
    padding: .65rem;
    border: 1px solid rgba(35, 47, 80, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 46px rgba(20, 26, 46, .16);
    backdrop-filter: blur(12px);
}

.ma-jalali-picker__title {
    font-size: .78rem;
    font-weight: 800;
    color: #1d2a44;
    margin-bottom: .45rem;
}

.ma-jalali-picker__row {
    display: grid;
    grid-template-columns: 1fr 1.1fr .8fr;
    gap: .35rem;
}

.ma-jalali-picker select,
.ma-jalali-picker input {
    width: 100%;
    min-height: 34px;
    border: 1px solid rgba(35, 47, 80, .14);
    border-radius: 12px;
    padding: .3rem .45rem;
    font-family: inherit;
    font-size: .78rem;
    background: #fff;
}

.ma-jalali-picker__time {
    margin-top: .4rem;
    direction: ltr;
    text-align: center;
}

.ma-jalali-picker__hint {
    margin: .45rem 0 0;
    font-size: .68rem;
    line-height: 1.8;
    color: #69758f;
}

.ma-jalali-picker__actions {
    display: flex;
    gap: .35rem;
    margin-top: .55rem;
}

.ma-jalali-picker__actions button {
    flex: 1;
    min-height: 32px;
    border: 0;
    border-radius: 999px;
    padding: .28rem .5rem;
    font-family: inherit;
    font-size: .72rem;
    font-weight: 800;
    color: #24314f;
    background: #eef3fb;
    cursor: pointer;
}

.ma-jalali-picker__actions button.is-primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

@media (max-width: 640px) {
    .ma-jalali-picker {
        position: fixed;
        inset: auto .75rem 1rem .75rem;
        width: auto;
        margin: 0;
        border-radius: 22px;
    }

    .ma-jalali-picker__row {
        grid-template-columns: 1fr;
    }

    .ma-jalali-picker select,
    .ma-jalali-picker input {
        min-height: 38px;
    }
}


/* Stage 44 — public pages conversion UX responsive polish */
@media(max-width:1100px){
    .ma-public-conversion-planner{grid-template-columns:1fr;padding:18px;border-radius:26px}
    .ma-public-mini-process{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ma-public-final-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:720px){
    .ma-public-conversion-planner{margin-top:18px;padding:12px;border-radius:22px;gap:10px}
    .ma-public-conversion-planner__copy{padding:15px;border-radius:18px}
    .ma-public-conversion-planner__copy h2,.ma-public-final-cta h2{font-size:17px;line-height:1.75}
    .ma-public-conversion-planner__grid{grid-template-columns:1fr;gap:8px}
    .ma-public-conversion-planner__grid a{min-height:auto;border-radius:17px;padding:12px}
    .ma-public-mini-process{grid-template-columns:1fr;gap:8px;margin-top:14px}
    .ma-public-mini-process span{border-radius:17px;padding:11px}
    .ma-public-final-cta{border-radius:22px;padding:18px;margin-top:22px}
    .ma-public-final-cta__actions{width:100%;display:grid;grid-template-columns:1fr}
    .ma-auth-path-cards{grid-template-columns:1fr}
}
@media(max-width:560px){
    .ma-product-card__assurance{display:none}
    .ma-public-conversion-planner--product-detail .ma-public-conversion-planner__grid a:nth-child(3){display:none}
}


/* Stage 45 — public visual polish responsive rules */
@media(max-width:980px){
    .ma-public-visual-banner{grid-template-columns:1fr;padding:18px;border-radius:26px}
    .ma-public-visual-banner__media{min-height:180px;order:-1}
    .ma-public-content-hero{border-radius:26px;padding:22px}
}
@media(max-width:640px){
    .ma-public-visual-banners{margin-top:16px;gap:10px}
    .ma-public-visual-banner{padding:12px;border-radius:22px;gap:10px}
    .ma-public-visual-banner__media,.ma-public-visual-banner__media img,.ma-public-visual-banner__fallback{min-height:135px;border-radius:18px}
    .ma-public-visual-banner__copy h2{font-size:17px;line-height:1.75}
    .ma-public-visual-banner__copy p{font-size:12px;line-height:1.9}
    .ma-public-visual-banner__actions{display:grid;grid-template-columns:1fr;width:100%}
    .ma-public-visual-banner__actions a{width:100%}
    .ma-public-content-hero{margin-top:14px;border-radius:22px;padding:18px}
    .ma-public-content-hero h1{font-size:21px;line-height:1.7}
    .ma-public-empty-state{padding:16px!important;border-radius:20px!important}
    .ma-public-empty-state div{width:100%;display:grid;grid-template-columns:1fr}
}

/* Final responsive font guard — keep at the end after Stage 43 additions */
:where(html,body,body *,button,input,select,textarea,optgroup,option){font-family:var(--ma-font)!important;}
:where(body *::before,body *::after,input::placeholder,textarea::placeholder){font-family:var(--ma-font)!important;}

/* Stage 46: notification center responsive rules */
@media (max-width: 768px) {
  .ma-notification-admin-shell .ma-admin-top-actions,
  .ma-action-grid,
  .ma-table-actions form { width: 100%; }
  .ma-action-grid .ma-btn,
  .ma-table-actions form .ma-btn { flex: 1 1 100%; justify-content: center; }
  .ma-notification-insights .ma-status-meters div { grid-template-columns: 1fr; gap: .3rem; }
}

/* Stage 47: deployment readiness responsive rules */
@media (max-width: 760px) {
    .ma-deploy-readiness-shell .ma-admin-top-actions {
        grid-template-columns: 1fr;
        width: 100%;
    }
    .ma-deploy-command-panel code {
        font-size: .68rem;
        padding: .5rem;
        overflow-x: auto;
    }
    .ma-deploy-table th:nth-child(4),
    .ma-deploy-table td:nth-child(4) {
        min-width: 220px;
    }
}

/* Stage 51 — final public header responsive guard, appended to the conceptual responsive layer. */
@media(max-width:1280px){
    .ma-header-row{
        grid-template-columns:144px minmax(0,1fr) minmax(220px,310px) auto!important;
        gap:9px!important;
    }
    .ma-main-nav[data-header-nav] a,
    .ma-main-nav[data-header-nav] summary{
        min-height:34px;
        padding:7px 8px!important;
        font-size:12.5px!important;
    }
    .ma-logo img{width:136px!important}
    .ma-header-search input{font-size:12px!important}
    .ma-header-actions{gap:6px!important}
    .ma-icon-link,
    .ma-user-link{
        min-height:36px!important;
        padding:6px 9px!important;
        border-radius:12px!important;
        font-size:12px!important;
    }
}

@media(max-width:1120px){
    .ma-site-header{z-index:230!important}
    .ma-benefit-bar{display:none!important}
    .ma-header-row{
        grid-template-columns:132px minmax(0,1fr) auto!important;
        min-height:58px!important;
        height:auto!important;
        padding:8px 0!important;
        gap:8px!important;
    }
    .ma-logo img{width:124px!important}
    .ma-header-search{
        order:4;
        grid-column:1/-1!important;
        height:38px!important;
        margin:0!important;
    }
    .ma-header-actions{
        justify-content:flex-end!important;
        min-width:max-content!important;
    }
    .ma-header-actions .ma-user-link{
        display:none!important;
    }
    .ma-main-nav[data-header-nav]{
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        justify-content:flex-start!important;
        gap:7px!important;
        position:fixed!important;
        top:0!important;
        right:0!important;
        bottom:0!important;
        width:min(352px,88vw)!important;
        max-width:88vw!important;
        height:100dvh!important;
        padding:14px!important;
        background:#fff!important;
        color:#102a4f!important;
        transform:translateX(110%)!important;
        transition:transform .24s ease, box-shadow .24s ease!important;
        box-shadow:-24px 0 90px rgba(6,27,59,.24)!important;
        z-index:260!important;
        overflow-y:auto!important;
        visibility:hidden!important;
        pointer-events:none!important;
    }
    body.nav-open .ma-main-nav[data-header-nav],
    .ma-main-nav[data-header-nav].is-open{
        transform:translateX(0)!important;
        visibility:visible!important;
        pointer-events:auto!important;
    }
    .ma-main-nav[data-header-nav] a,
    .ma-main-nav[data-header-nav] summary{
        width:100%!important;
        justify-content:flex-start!important;
        min-height:42px!important;
        padding:10px 12px!important;
        border:1px solid #edf2f8!important;
        border-radius:14px!important;
        background:#fbfdff!important;
        color:#102a4f!important;
        font-size:13px!important;
        line-height:1.25!important;
        white-space:nowrap!important;
    }
    .ma-main-nav[data-header-nav] a:hover,
    .ma-main-nav[data-header-nav] summary:hover{
        background:#eff6ff!important;
        color:#0b5cff!important;
    }
    .ma-mobile-nav-head{
        display:flex!important;
        align-items:center!important;
        justify-content:space-between!important;
        gap:10px!important;
        position:sticky!important;
        top:0!important;
        z-index:2!important;
        padding:8px 4px 12px!important;
        margin-bottom:4px!important;
        background:#fff!important;
        border-bottom:1px solid #edf2f8!important;
    }
    .ma-mobile-nav-actions{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:7px!important;
        margin-top:8px!important;
        padding-top:8px!important;
        border-top:1px dashed #dbeafe!important;
    }
    .ma-nav-more{
        position:static!important;
    }
    .ma-nav-more summary:after{
        margin-right:auto!important;
    }
    .ma-nav-more__menu{
        position:static!important;
        min-width:0!important;
        display:none!important;
        gap:6px!important;
        padding:6px 0 0!important;
        background:transparent!important;
        border:0!important;
        border-radius:0!important;
        box-shadow:none!important;
        opacity:1!important;
        visibility:visible!important;
        transform:none!important;
        pointer-events:auto!important;
    }
    .ma-nav-more[open] .ma-nav-more__menu{
        display:grid!important;
    }
    .ma-nav-more__menu:before{
        display:none!important;
    }
    .ma-nav-more__menu a{
        background:#f4f8ff!important;
        padding-right:24px!important;
    }
    .ma-menu-toggle{
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        position:relative!important;
        z-index:235!important;
        border:1px solid #dbeafe!important;
        background:#fff!important;
        color:#0b5cff!important;
        box-shadow:0 8px 24px rgba(11,92,255,.10)!important;
    }
    .mobile-nav-backdrop{
        z-index:240!important;
        background:rgba(6,27,59,.55)!important;
    }
}

@media(min-width:1121px){
    .ma-mobile-nav-head,
    .ma-mobile-nav-actions{
        display:none!important;
    }
    .ma-menu-toggle{
        display:none!important;
    }
}

@media(max-width:560px){
    .ma-header-row{
        grid-template-columns:112px minmax(0,1fr) auto!important;
    }
    .ma-logo img{width:108px!important}
    .ma-header-actions .ma-notification-link{display:none!important}
    .ma-icon-link,
    .ma-menu-toggle{
        min-width:38px!important;
        min-height:38px!important;
        padding:6px 9px!important;
    }
}


/* Stage 61 — content responsive guards. */
@media(max-width:1180px){.ma-content-hero--stage61,.ma-content-article-hero--stage61,.ma-content-page-hero--stage61{grid-template-columns:1fr}.ma-content-topic-grid--stage61{grid-template-columns:repeat(2,minmax(0,1fr));}.ma-featured-post-grid--stage61{grid-template-columns:repeat(2,minmax(0,1fr));}.ma-article-layout--stage61,.ma-content-page-layout--stage61{grid-template-columns:1fr}.ma-article-sidebar--stage61,.ma-content-page-sidebar--stage61{position:relative;top:auto;order:2}.ma-content-page-sidebar--stage61{order:0}.ma-content-page-layout--stage61{align-items:stretch}}
@media(max-width:900px){.ma-content-filter--stage61{align-items:stretch;flex-direction:column}.ma-content-search-form--stage61{min-width:0;width:100%}.ma-content-insights--stage61,.ma-article-decision-grid--stage61,.ma-page-action-grid--stage61{grid-template-columns:1fr}.ma-blog-card--stage61 img,.ma-blog-card__placeholder--stage61{height:150px}}
@media(max-width:640px){.ma-content-hero--stage61,.ma-content-article-hero--stage61,.ma-content-page-hero--stage61{padding:20px;border-radius:24px}.ma-content-hero--stage61 h1,.ma-content-article-hero--stage61 h1,.ma-content-page-hero--stage61 h1{font-size:28px}.ma-content-topic-grid--stage61,.ma-featured-post-grid--stage61{grid-template-columns:1fr}.ma-content-hero-chips--stage61 span{flex:1 1 100%;justify-content:center;text-align:center}.ma-content-filter--stage61 .inline-form{display:grid;grid-template-columns:1fr}.ma-content-filter--stage61 .btn{width:100%}.ma-article-body--stage61,.ma-content-page-body--stage61{border-radius:22px;padding:18px}}
@media(max-width:430px){.ma-content-topic-card--stage61,.ma-page-action-card--stage61,.ma-article-keypoints--stage61,.ma-article-next-actions--stage61,.ma-content-page-help--stage61,.ma-content-faq-mini--stage61{border-radius:18px;padding:13px}.ma-blog-card--stage61{border-radius:20px}.ma-content-insights--stage61 article,.ma-article-decision-grid--stage61 article{border-radius:18px;padding:13px}}
/* Final last-loaded font guard must stay after Stage 51 overrides. */
:where(html,body,body *,button,input,select,textarea,optgroup,option){font-family:var(--ma-font)!important;}
:where(body *::before,body *::after,input::placeholder,textarea::placeholder){font-family:var(--ma-font)!important;}

/* Stage 52 — Public Design System Baseline: responsive rhythm and touch QA. */
@media(max-width:1180px){
    :root{--ma-stage52-section-gap:24px;--ma-stage52-card-pad:16px;}
    .ma-homepage-section-title:after,
    .ma-section-head:after,
    .ma-section-title-row:after,
    .ma-workshop-section-head:after{min-width:18px;}
}

@media(max-width:720px){
    :root{--ma-stage52-section-gap:18px;--ma-stage52-control-height:40px;}
    .ma-homepage-section-title:after,
    .ma-section-head:after,
    .ma-section-title-row:after,
    .ma-workshop-section-head:after{display:none;}
    .ma-design-card,
    .ma-panel,
    .panel,
    .form-card,
    .sidebar-card,
    .empty-card{border-radius:18px;}
    .ma-btn,
    .btn,
    .ma-homepage-btn,
    .ma-primary-action,
    .ma-secondary-action{width:auto;}
}

@media(max-width:560px){
    :root{--ma-stage52-section-gap:14px;--ma-stage52-control-height:38px;}
    .ma-homepage-product,
    .ma-product-card,
    .ma-course-card,
    .ma-service-card,
    .ma-workshop-service-card,
    .blog-card{box-shadow:0 10px 26px rgba(28,64,132,.07);}
    .ma-table-actions,
    .ma-form-actions,
    .ma-admin-top-actions,
    .ma-product-actions-row,
    .cart-actions{gap:7px;}
}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Stage 53 — Homepage Premium Redesign Polish: homepage responsive QA guards. */
@media(max-width:1180px){
    .ma-homepage-pillars-shell{
        padding:18px;
    }
    .ma-homepage-hero__microcopy{
        max-width:720px;
    }
}

@media(max-width:900px){
    .ma-homepage-section-title--premium{
        align-items:flex-start;
        flex-direction:column;
    }
    .ma-homepage-hero-orbit,
    .ma-homepage-float-card{
        display:none;
    }
    .ma-homepage-pillars-shell .ma-homepage-pillars{
        grid-template-columns:1fr;
    }
}

@media(max-width:640px){
    .ma-homepage-hero__microcopy{
        gap:6px;
    }
    .ma-homepage-hero__microcopy span,
    .ma-homepage-product-utility span{
        flex:1 1 100%;
        justify-content:center;
    }
    .ma-homepage-pillars-shell,
    .ma-homepage-panel,
    .ma-homepage-why,
    .ma-homepage-blog-list,
    .ma-homepage-newsletter{
        padding:16px;
        border-radius:22px;
    }
    .ma-homepage-why>div:not(.ma-homepage-section-title){
        grid-template-columns:1fr;
    }
}

@media(max-width:460px){
    .ma-homepage-product--premium .ma-homepage-product__media{
        height:150px;
        padding:14px;
    }
    .ma-homepage-product--premium .ma-homepage-product__media img{
        height:112px;
    }
    .ma-homepage-product--premium .ma-homepage-product__body{
        padding:12px;
    }
    .ma-homepage-product--premium .ma-homepage-product__foot{
        align-items:stretch;
        flex-direction:column;
    }
    .ma-homepage-product--premium .ma-homepage-product__foot button,
    .ma-homepage-alert{
        width:100%;
    }
}

/* Stage 54 — Store Listing & Category UX Polish: responsive listing guards. */
@media(max-width:1180px){
    .ma-store-result-insights{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-store-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-grid--store-polished.ma-product-grid--3{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:900px){
    .ma-store-hero__microcopy{gap:6px;}
    .ma-store-orbit-label{display:none;}
    .ma-filter-mobile-button--stage54{display:flex;align-items:center;justify-content:center;}
    .ma-filter-summary-strip{position:sticky;top:0;z-index:2;}
    .ma-filter-card--store-stage54{box-shadow:-22px 0 80px rgba(6,27,59,.22);}
}
@media(max-width:640px){
    .ma-store-hero__microcopy span{flex:1 1 100%;justify-content:center;}
    .ma-store-result-insights,
    .ma-store-subcategory-grid{grid-template-columns:1fr;}
    .ma-shop-commandbar--stage54{padding:14px;border-radius:20px;}
    .ma-shop-sort-pills a{flex:1 1 calc(50% - 6px);text-align:center;justify-content:center;}
    .ma-product-grid--store-polished.ma-product-grid--3{grid-template-columns:1fr;}
    .ma-product-card__tools--stage54{grid-template-columns:1fr 1fr;}
    .ma-product-card__tools--stage54 form{grid-column:1/-1;}
    .ma-product-card__foot--stage54{align-items:stretch;flex-direction:column;}
    .ma-product-card__foot--stage54 .ma-cart-button,
    .ma-product-card__foot--stage54 .ma-alert-button{width:100%;}
    .ma-filter-help-card{margin:0 14px 14px;}
}
@media(max-width:430px){
    .ma-filter-summary-strip{grid-template-columns:1fr;}
    .ma-store-category-grid--polished{grid-template-columns:1fr!important;}
    .ma-store-section-head--premium{flex-direction:column;align-items:flex-start;}
}



/* Stage 55 — Product Detail & Commerce Flow Polish: responsive commerce guards. */
@media(max-width:1180px){
    .ma-commerce-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-buy-card--stage55{position:relative;top:auto;}
    .ma-cart-item--stage55{grid-template-columns:auto minmax(0,1fr) 120px;}
    .ma-cart-line-total,.ma-remove-link--stage55{grid-column:auto;}
    .ma-invoice-status-grid--stage55{grid-template-columns:1fr;}
}
@media(max-width:900px){
    .ma-payment-detail-grid--stage55,.ma-payment-detail--stage55,.ma-method-grid--stage55{grid-template-columns:1fr;}
    .ma-checkout-fieldset__head{display:grid;}
    .ma-product-tabs--stage55{position:relative;top:auto;overflow:auto;}
    .ma-cart-item--stage55{grid-template-columns:1fr;}
    .ma-cart-item__badge{display:none;}
    .ma-cart-line-total{display:flex;justify-content:space-between;align-items:center;}
}
@media(max-width:640px){
    .ma-commerce-flow-steps{grid-template-columns:1fr;}
    .ma-commerce-flow-steps span{min-height:48px;}
    .ma-purchase-readiness--stage55{grid-template-columns:1fr;}
    .ma-order-hero-chips--stage55 span{flex:1 1 100%;justify-content:center;}
    .ma-checkout-steps--stage55{grid-template-columns:1fr;}
    .ma-checkout-submit--stage55,.ma-payment-actions--stage55,.ma-order-actions--stage55{display:grid;}
    .ma-checkout-submit--stage55 .btn,.ma-payment-actions--stage55 .btn,.ma-order-actions--stage55 .btn{width:100%;}
    .ma-invoice-table--stage55{overflow:auto;}
    .ma-invoice-table--stage55 .head,.ma-invoice-table--stage55>div:not(.head){min-width:620px;}
}
@media(max-width:430px){
    .ma-product-gallery-note--stage55,.ma-checkout-fieldset--stage55,.ma-cart-item--stage55{border-radius:18px;padding:12px;}
    .ma-product-add-cart--stage55,.ma-checkout-primary--stage55{width:100%;}
}


/* Stage 56 — Academy Public Pages Polish: responsive academy/LMS guards. */
@media(max-width:1180px){
    .ma-academy-decision-strip--stage56,
    .ma-course-learning-roadmap--stage56,
    .ma-learning-path-grid--stage56{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-learning-path-detail--stage56,
    .ma-lesson-layout--stage56,
    .ma-quiz-shell--stage56,
    .ma-quiz-result--stage56,
    .ma-project-submit--stage56{grid-template-columns:1fr;}
    .ma-course-detail__grid--stage56{grid-template-columns:1fr 1fr;}
    .ma-course-sidebar--stage56{grid-column:1/-1;position:relative;top:auto;}
}
@media(max-width:900px){
    .ma-academy-hero--stage56{grid-template-columns:1fr;padding:22px;}
    .ma-academy-hero__visual--stage56{order:-1;}
    .ma-academy-stats--stage56,
    .ma-path-stats--stage56,
    .ma-lesson-progress-strip--stage56{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-academy-board--stage56{grid-template-columns:1fr;}
    .ma-filter-card--academy-stage56{box-shadow:-22px 0 80px rgba(6,27,59,.22);}
    .ma-student-next-actions__grid{grid-template-columns:1fr;}
}
@media(max-width:640px){
    .ma-academy-hero-search--stage56{flex-direction:column;}
    .ma-academy-hero-search--stage56 button{min-height:42px;}
    .ma-academy-hero__microcopy--stage56 span,
    .ma-academy-quick-row--stage56 a{flex:1 1 100%;justify-content:center;text-align:center;}
    .ma-academy-decision-strip--stage56,
    .ma-course-learning-roadmap--stage56,
    .ma-learning-path-grid--stage56,
    .ma-academy-featured__grid--stage56,
    .ma-course-grid--stage56,
    .ma-path-summary-grid--stage56,
    .ma-quiz-result-summary--stage56{grid-template-columns:1fr!important;}
    .ma-course-detail__grid--stage56{grid-template-columns:1fr;}
    .ma-path-guide--stage56{display:grid;}
    .ma-path-level-pills--stage56{justify-content:flex-start;}
    .ma-learning-step--stage56{grid-template-columns:38px minmax(0,1fr);}
    .ma-learning-step--stage56>a{grid-column:1/-1;text-align:center;}
    .ma-my-courses-stats--stage56{grid-template-columns:1fr 1fr;}
}
@media(max-width:430px){
    .ma-academy-stats--stage56,
    .ma-path-stats--stage56,
    .ma-lesson-progress-strip--stage56,
    .ma-my-courses-stats--stage56{grid-template-columns:1fr;}
    .ma-academy-filter-summary--stage56{grid-template-columns:1fr;}
    .ma-course-card__media--stage56{height:150px;}
    .ma-lesson-head--stage56{padding:18px;border-radius:22px;}
    .ma-lesson-head--stage56 h1{font-size:25px;}
    .ma-certificate-card--stage56{padding:24px 16px;}
}



/* Stage 57 — Workshop Public Pages Polish: responsive workshop guards. */
@media(max-width:1180px){
    .ma-workshop-landing--stage57,.ma-workshop-request-hero--stage57{grid-template-columns:1fr;}
    .ma-workshop-landing__visual--stage57,.ma-workshop-request-hero--stage57 img{order:-1;}
    .ma-workshop-result-insights--stage57{grid-template-columns:repeat(3,minmax(0,1fr));}
    .ma-workshop-service-decision-strip--stage57,.ma-request-command-strip--stage57,.ma-request-summary-grid--stage57{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-workshop-detail-card--stage57,.ma-workshop-request-side--stage57{position:relative;top:auto;}
}
@media(max-width:900px){
    .ma-workshop-readiness-cards--stage57,.ma-workshop-request-quality--stage57,.ma-my-workshop-next-actions--stage57{grid-template-columns:1fr;}
    .ma-workshop-result-insights--stage57{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-workshop-orbit-label{display:none;}
    .ma-workshop-form-submit--stage57{position:relative;bottom:auto;}
}
@media(max-width:640px){
    .ma-workshop-landing--stage57,.ma-workshop-request-hero--stage57{padding:20px;border-radius:24px;}
    .ma-workshop-hero-microcopy--stage57 span,.ma-workshop-request-microcopy--stage57 span{flex:1 1 100%;justify-content:center;text-align:center;}
    .ma-workshop-result-insights--stage57,.ma-workshop-service-decision-strip--stage57,.ma-request-command-strip--stage57,.ma-request-summary-grid--stage57{grid-template-columns:1fr;}
    .ma-workshop-service-card__footer{grid-template-columns:1fr;}
    .ma-workshop-request-hero--stage57 img{height:170px;}
}
@media(max-width:430px){
    .ma-workshop-result-insights--stage57 div,.ma-workshop-readiness-cards--stage57 article,.ma-workshop-request-quality--stage57 article,.ma-request-command-strip--stage57 article,.ma-request-summary-grid--stage57 div{border-radius:20px;padding:14px;}
    .ma-workshop-detail-card__mini-checks--stage57 span{font-size:12px;}
}



/* Stage 58 — Auth, Account & Customer Dashboard Polish: responsive customer guards. */
@media(max-width:1180px){
    .ma-auth-shell--stage58,.ma-customer-center-hero--stage58,.ma-profile-edit-layout--stage58{grid-template-columns:1fr;}
    .ma-auth-form--stage58,.ma-profile-side--stage58{position:relative;top:auto;}
    .ma-account-journey--stage58,.ma-account-health-grid--stage58{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:900px){
    .ma-account-layout--stage58{grid-template-columns:1fr;}
    .ma-account-sidebar--stage58{position:relative;top:auto;}
    .ma-account-nav-toggle{display:block;}
    .ma-account-sidebar--stage58 nav{display:none;}
    .ma-account-sidebar--stage58 nav.is-open{display:grid;}
    .ma-account-kpis--stage58,.ma-account-grid--stage58,.ma-action-grid--stage58,.ma-address-grid--stage58,.ma-address-guide--stage58,.ma-wishlist-guide--stage58,.ma-order-guide-grid--stage58,.ma-notification-guide--stage58{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-auth-trust-grid--stage58,.ma-auth-onboarding--stage58{grid-template-columns:1fr;}
}
@media(max-width:640px){
    .ma-auth-shell--stage58,.ma-customer-center-hero--stage58,.ma-form-hero--stage58,.ma-order-hero--stage58,.ma-notification-hero--stage58{padding:20px;border-radius:24px;}
    .ma-auth-copy--stage58 h1,.ma-customer-center-hero--stage58 h1{font-size:30px;}
    .ma-account-journey--stage58,.ma-account-health-grid--stage58,.ma-account-kpis--stage58,.ma-account-grid--stage58,.ma-action-grid--stage58,.ma-address-grid--stage58,.ma-address-guide--stage58,.ma-wishlist-guide--stage58,.ma-order-guide-grid--stage58,.ma-notification-guide--stage58{grid-template-columns:1fr;}
    .ma-list-row--stage58,.ma-order-list-row--stage58{grid-template-columns:1fr;}
    .ma-auth-path-cards--stage58,.ma-form-grid--stage58{grid-template-columns:1fr;}
    .ma-order-hero--stage58,.ma-notification-hero--stage58{align-items:flex-start;flex-direction:column;}
}
@media(max-width:430px){
    .ma-account-profile-summary--stage58,.ma-account-health--stage58,.ma-account-next-actions--stage58,.ma-account-activity--stage58,.ma-profile-side--stage58{border-radius:20px;padding:16px;}
    .ma-progress-ring{width:112px;height:112px;}
    .ma-progress-ring b{font-size:22px;}
}


/* Stage 59 — Notifications, Support & Messaging UX Polish: responsive messaging guards. */
@media(max-width:1180px){
    .ma-notification-filter--stage59 form{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-support-filter-panel--stage59 form{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-notification-segments--stage59,.ma-support-category-grid--stage59,.ma-staff-queue-grid--stage59,.ma-notification-flow-grid--stage59{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-support-guide--stage59,.ma-notification-crud-guide--stage59{grid-template-columns:1fr;}
    .ma-ticket-timeline--stage59{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:900px){
    .ma-notification-hero--stage59,.ma-support-hero--stage59,.ma-ticket-detail-hero--stage59{align-items:flex-start;flex-direction:column;}
    .ma-notification-card--stage59{grid-template-columns:auto minmax(0,1fr);}
    .ma-notification-card--stage59 time{grid-column:2/-1;}
    .ma-support-layout--stage59,.ma-ticket-detail-layout--stage59,.ma-support-create-layout--stage59{grid-template-columns:1fr;}
    .ma-support-sidebar--stage59,.ma-ticket-side--stage59{position:relative;top:auto;}
}
@media(max-width:640px){
    .ma-notification-hero--stage59,.ma-support-hero--stage59,.ma-ticket-detail-hero--stage59,.ma-form-hero--stage59{padding:20px;border-radius:24px;}
    .ma-notification-filter--stage59 form,.ma-support-filter-panel--stage59 form{grid-template-columns:1fr;}
    .ma-notification-filter--stage59 .ma-btn,.ma-support-filter-panel--stage59 .ma-btn{width:100%;}
    .ma-notification-segments--stage59,.ma-support-category-grid--stage59,.ma-staff-queue-grid--stage59,.ma-notification-flow-grid--stage59,.ma-ticket-timeline--stage59{grid-template-columns:1fr;}
    .ma-notification-card--stage59{grid-template-columns:1fr;}
    .ma-notification-card--stage59 .ma-notification-dot{display:none;}
    .ma-ticket-table--stage59 .ma-ticket-head,.ma-manager-table--stage59 .ma-manager-head{display:none;}
    .ma-ticket-table--stage59 .ma-ticket-row--stage59,.ma-manager-table--stage59 .ma-manager-row--stage59{grid-template-columns:1fr;gap:6px;border:1px solid #e5efff;border-radius:18px;margin-bottom:10px;padding:12px;}
    .ma-ticket-timeline--stage59 article{border-radius:18px;padding:13px;}
}
@media(max-width:430px){
    .ma-support-quick-card--stage59,.ma-support-tips--stage59,.ma-ticket-context--stage59 article,.ma-ticket-reply--stage59{border-radius:18px;padding:13px;}
    .ma-notification-hero-chips--stage59 span{flex:1 1 100%;justify-content:center;text-align:center;}
}

/* Stage 60 — Customer dashboard and ajax cart responsive guards. */
@media(max-width:1180px){.ma-customer-center-hero--stage60{grid-template-columns:1fr}.ma-account-profile-summary--stage60{order:2;max-width:360px}.ma-account-kpis--stage60{grid-template-columns:repeat(2,minmax(0,1fr));}.ma-account-journey--stage60{grid-template-columns:repeat(2,minmax(0,1fr));}.ma-empty-state--stage60{grid-template-columns:auto minmax(0,1fr)}}
@media(max-width:900px){.ma-account-layout--stage60{grid-template-columns:1fr}.ma-account-sidebar--stage60{order:-1}.ma-account-profile-summary--stage60{max-width:none}.ma-cart-quantity-badge--detail{width:100%;}.ma-ajax-cart-toast-host{left:12px;right:12px;bottom:12px;max-width:none}}
@media(max-width:640px){.ma-customer-center-hero--stage60{padding:20px;border-radius:24px}.ma-customer-hero-copy--stage60 h1{font-size:28px}.ma-account-kpis--stage60,.ma-account-journey--stage60{grid-template-columns:1fr}.ma-account-kpis--stage60 a{min-height:auto}.ma-empty-state--stage60{grid-template-columns:1fr;text-align:center}.ma-empty-state--stage60 i{margin:auto}.ma-empty-state--stage60 a{grid-column:1;grid-row:auto}.ma-profile-mini-status--stage60{grid-template-columns:1fr}.ma-ajax-cart-form{width:100%}.ma-cart-quantity-badge:not(.ma-cart-quantity-badge--mini){flex:1}.ma-product-card__foot--stage54{align-items:stretch}.ma-product-card__foot--stage54 .ma-ajax-cart-form{justify-content:stretch}.ma-product-card__foot--stage54 .ma-cart-button{flex:1}}
@media(max-width:430px){.ma-account-profile-summary--stage60,.ma-account-health--stage60,.ma-account-next-actions--stage60,.ma-account-activity--stage60,.ma-account-orders-panel--stage60{border-radius:18px;padding:14px}.ma-account-kpis--stage60 a,.ma-account-journey--stage60 a{border-radius:18px;padding:14px}.ma-cart-quantity-badge--mini{inset:-7px auto auto -6px}}

/* Stage 61 — content responsive guards. */
@media(max-width:1180px){.ma-content-hero--stage61,.ma-content-article-hero--stage61,.ma-content-page-hero--stage61{grid-template-columns:1fr}.ma-content-topic-grid--stage61{grid-template-columns:repeat(2,minmax(0,1fr));}.ma-featured-post-grid--stage61{grid-template-columns:repeat(2,minmax(0,1fr));}.ma-article-layout--stage61,.ma-content-page-layout--stage61{grid-template-columns:1fr}.ma-article-sidebar--stage61,.ma-content-page-sidebar--stage61{position:relative;top:auto;order:2}.ma-content-page-sidebar--stage61{order:0}.ma-content-page-layout--stage61{align-items:stretch}}
@media(max-width:900px){.ma-content-filter--stage61{align-items:stretch;flex-direction:column}.ma-content-search-form--stage61{min-width:0;width:100%}.ma-content-insights--stage61,.ma-article-decision-grid--stage61,.ma-page-action-grid--stage61{grid-template-columns:1fr}.ma-blog-card--stage61 img,.ma-blog-card__placeholder--stage61{height:150px}}
@media(max-width:640px){.ma-content-hero--stage61,.ma-content-article-hero--stage61,.ma-content-page-hero--stage61{padding:20px;border-radius:24px}.ma-content-hero--stage61 h1,.ma-content-article-hero--stage61 h1,.ma-content-page-hero--stage61 h1{font-size:28px}.ma-content-topic-grid--stage61,.ma-featured-post-grid--stage61{grid-template-columns:1fr}.ma-content-hero-chips--stage61 span{flex:1 1 100%;justify-content:center;text-align:center}.ma-content-filter--stage61 .inline-form{display:grid;grid-template-columns:1fr}.ma-content-filter--stage61 .btn{width:100%}.ma-article-body--stage61,.ma-content-page-body--stage61{border-radius:22px;padding:18px}}
@media(max-width:430px){.ma-content-topic-card--stage61,.ma-page-action-card--stage61,.ma-article-keypoints--stage61,.ma-article-next-actions--stage61,.ma-content-page-help--stage61,.ma-content-faq-mini--stage61{border-radius:18px;padding:13px}.ma-blog-card--stage61{border-radius:20px}.ma-content-insights--stage61 article,.ma-article-decision-grid--stage61 article{border-radius:18px;padding:13px}}

/* Stage 62 — staff dashboard shell responsive guards. */
@media(max-width:1280px){.ma-admin-shell--stage62{grid-template-columns:minmax(210px,240px) minmax(0,1fr);padding:14px}.ma-admin-command-grid--stage62,.ma-admin-kpis--stage62{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ma-admin-bottom--stage62{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ma-admin-quick-panel--stage62{grid-column:1/-1}.ma-admin-quick-links--stage62{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1080px){.ma-admin-shell--stage62{grid-template-columns:1fr}.ma-admin-sidebar--stage62{position:relative;top:auto;height:auto;max-height:none;display:block}.ma-admin-nav-group--stage62{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-admin-sidebar--stage62 a{white-space:normal}.ma-admin-top--stage62{align-items:flex-start;flex-direction:column}.ma-admin-top-actions--stage62{max-width:none;justify-content:flex-start}.ma-admin-command-grid--stage62,.ma-admin-kpis--stage62{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ma-admin-insight-grid--stage62{grid-template-columns:1fr!important}.ma-admin-bottom--stage62{grid-template-columns:1fr!important}.ma-admin-quick-links--stage62{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.ma-admin-shell--stage62{padding:10px}.ma-admin-sidebar--stage62,.ma-admin-top--stage62,.ma-admin-insight-grid--stage62 .ma-chart-card,.ma-admin-bottom--stage62 .ma-panel{border-radius:20px!important}.ma-admin-nav-group--stage62{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-admin-command-grid--stage62,.ma-admin-kpis--stage62,.ma-admin-quick-links--stage62{grid-template-columns:1fr!important}.ma-admin-kpi--stage62{min-height:auto}.ma-status-meters--stage62 div{grid-template-columns:1fr}.ma-status-meters--stage62 b{text-align:left}.ma-admin-hero-chips--stage62 span{flex:1 1 100%;text-align:center;justify-content:center}.ma-admin-top-actions--stage62 .ma-btn{width:100%;justify-content:center}.ma-admin-breadcrumb--stage62{font-size:11px;overflow:auto}}
@media(max-width:430px){.ma-admin-brand--stage62,.ma-admin-sidebar-card--stage62{border-radius:18px!important}.ma-admin-top--stage62 h1{font-size:24px}.ma-admin-sidebar--stage62 a{min-height:34px;font-size:11px}.ma-admin-command-grid--stage62 a,.ma-admin-kpi--stage62{border-radius:18px!important;padding:12px!important}}

/* Final last-loaded font guard must stay at the physical end of responsive.css. */
:where(html,body,body *,button,input,select,textarea,optgroup,option){font-family:var(--ma-font)!important;}
:where(body *::before,body *::after,input::placeholder,textarea::placeholder){font-family:var(--ma-font)!important;}

/* Stage 63 — PCB quote builder responsive guards */
@media(max-width:1180px){.ma-pcb-quote-layout--stage63{grid-template-columns:1fr}.ma-pcb-quote-side--stage63,.ma-pcb-price-card--stage63{position:relative;top:auto}.ma-pcb-builder-intro--stage63{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-pcb-choice-row--product ul{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-pcb-advanced-switches--stage63{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ma-pcb-builder-intro--stage63,.ma-pcb-choice-row ul,.ma-pcb-choice-row--product ul,.ma-pcb-dimension-grid--stage63,.ma-pcb-spec-grid--stage63,.ma-gerber-badge-grid--stage63{grid-template-columns:1fr!important}.ma-pcb-advanced-switches--stage63{grid-template-columns:1fr}.ma-pcb-section-title{align-items:flex-start;flex-direction:column}.ma-pcb-price-card--stage63 h2{font-size:23px}.ma-pcb-quote-hero--stage63{grid-template-columns:1fr!important}.ma-pcb-quote-hero--stage63 img{max-height:160px}}

/* Stage 64 — PCB Quote Builder UX Deep Polish responsive guards */
@media(max-width:1240px){.ma-pcb-option-grid--product{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-pcb-color-grid--stage64{grid-template-columns:repeat(4,minmax(0,1fr))}.ma-pcb-progress-nav--stage64{top:66px}.ma-pcb-price-card--stage64{top:84px}}
@media(max-width:980px){.ma-pcb-flow-strip--stage64{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-pcb-progress-nav--stage64{position:relative;top:auto}.ma-pcb-quote-side--stage64{order:-1}.ma-pcb-price-card--stage64{position:relative;top:auto}.ma-pcb-live-summary--stage64 ul{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-pcb-option-grid--stage64,.ma-pcb-option-grid--product{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-pcb-accordion-head--stage64{grid-template-columns:auto 1fr}.ma-pcb-accordion-head--stage64 small{grid-column:2;justify-self:start}.ma-pcb-accordion-head--stage64:after{position:absolute;left:22px}}
@media(max-width:760px){.ma-pcb-flow-strip--stage64,.ma-pcb-live-summary--stage64 ul,.ma-pcb-option-grid--stage64,.ma-pcb-option-grid--product,.ma-pcb-color-grid--stage64{grid-template-columns:1fr!important}.ma-pcb-accordion-head--stage64{padding:15px}.ma-pcb-accordion-body--stage64{padding:15px}.ma-pcb-option-card--stage64{min-height:82px}.ma-pcb-progress-nav--stage64 div{align-items:flex-start}.ma-pcb-submit--stage64{padding-bottom:92px}.ma-pcb-mobile-sticky-submit--stage64{position:fixed;z-index:50;inset:auto 12px 12px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(7,29,61,.96);color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:20px;padding:10px 12px;box-shadow:0 18px 58px rgba(7,29,61,.26);backdrop-filter:blur(16px)}.ma-pcb-mobile-sticky-submit--stage64 b{font-size:13px}.ma-pcb-mobile-sticky-submit--stage64 button{border:0;border-radius:14px;background:#fff;color:#0b5cff;font:inherit;font-weight:950;padding:10px 14px}.ma-pcb-quote-hero--stage64{min-height:auto}.ma-pcb-quote-hero--stage64 h1{font-size:26px}.ma-pcb-quote-hero--stage64 img{display:none}.ma-pcb-builder-intro--stage64{grid-template-columns:1fr!important}}

/* Stage 65 — PCB Quote Builder Typography & Control Scale Fix responsive guards */
@media(max-width:1280px){.ma-pcb-quote-layout--stage65{grid-template-columns:minmax(0,1fr) 280px}.ma-pcb-quote-hero--stage65{grid-template-columns:minmax(0,1fr) 210px}.ma-pcb-quote-hero--stage65 img{width:200px}.ma-pcb-accordion-head--stage65{grid-template-columns:40px minmax(0,1fr) auto 20px}.ma-pcb-option-grid--product{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}
@media(max-width:1040px){.ma-pcb-quote-layout--stage65{grid-template-columns:1fr}.ma-pcb-quote-side--stage65{order:-1}.ma-pcb-price-card--stage65{position:relative;top:auto}.ma-pcb-quote-hero--stage65{grid-template-columns:1fr;min-height:auto}.ma-pcb-quote-hero--stage65 img{display:none}.ma-pcb-accordion-head--stage65{grid-template-columns:40px 1fr}.ma-pcb-accordion-head--stage65 small{grid-column:2;justify-self:start;max-width:100%;white-space:normal}.ma-pcb-accordion-head--stage65:after{position:absolute;left:22px;top:24px}.ma-pcb-live-summary--stage65 ul{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-pcb-option-grid--material,.ma-pcb-option-grid--delivery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ma-pcb-quote-hero--stage65{padding:22px!important;border-radius:24px}.ma-pcb-quote-hero--stage65 h1{font-size:25px;line-height:1.45}.ma-pcb-quote-hero--stage65 p{font-size:13px}.ma-pcb-hero-chips--stage65 span{min-height:30px;font-size:11.8px}.ma-pcb-builder-intro--stage65,.ma-workshop-request-quality--stage65,.ma-pcb-flow-strip--stage65,.ma-pcb-live-summary--stage65 ul,.ma-pcb-option-grid--stage65,.ma-pcb-option-grid--product,.ma-pcb-option-grid--material,.ma-pcb-option-grid--delivery,.ma-pcb-color-grid--stage65{grid-template-columns:1fr!important}.ma-pcb-accordion-head--stage65{padding:16px;gap:11px}.ma-pcb-accordion-head--stage65 h2{font-size:17px}.ma-pcb-accordion-head--stage65 p{font-size:12.3px}.ma-pcb-accordion-body--stage65{padding:16px}.ma-pcb-option-card--stage65{min-height:104px;padding:14px 14px 34px!important}.ma-pcb-product-option--stage64.ma-pcb-option-card--stage65{min-height:112px}.ma-pcb-dimension-grid--stage65{padding:14px}.ma-gerber-upload-box--stage65{min-height:150px}.ma-pcb-price-card--stage65 h2{font-size:27px}.ma-pcb-submit--stage65{padding-bottom:96px}.ma-pcb-mobile-sticky-submit--stage65{inset:auto 10px 10px 10px;border-radius:18px}}

/* Stage 66 — mobile nav stacking guard + PCB validation responsive rules */
@media(max-width:1120px){
    body.nav-open .ma-site-header{z-index:320!important}
    body.nav-open .mobile-nav-backdrop{z-index:250!important;background:rgba(6,27,59,.42)!important;backdrop-filter:blur(2px)!important}
    body.nav-open .ma-main-nav[data-header-nav],
    .ma-main-nav[data-header-nav].is-open{z-index:330!important;box-shadow:-18px 0 72px rgba(6,27,59,.18)!important}
    .ma-main-nav[data-header-nav]{padding:12px 12px 18px!important;gap:6px!important}
    .ma-main-nav[data-header-nav] a,
    .ma-main-nav[data-header-nav] summary{min-height:44px!important;display:flex!important;align-items:center!important}
}
@media(max-width:760px){.ma-pcb-cost-row{grid-template-columns:1fr}.ma-pcb-cost-row b{text-align:right}.ma-pcb-staff-summary-grid{grid-template-columns:1fr}.ma-pcb-dfm-warning-card ul{padding-right:18px}}

/* Stage 67 — Product detail mobile polish + final mobile nav layer ordering */
@media(max-width:1240px){
    .ma-product-hero--stage67{
        grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);
    }
    .ma-product-side-card--stage67{
        grid-column:1/-1;
        position:relative;
        top:auto;
    }
    .ma-product-grid--related-stage67{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}
@media(max-width:1120px){
    body.nav-open .ma-site-header{
        z-index:560!important;
        isolation:isolate!important;
    }
    body.nav-open .mobile-nav-backdrop{
        z-index:180!important;
        background:rgba(6,27,59,.38)!important;
        backdrop-filter:blur(1.5px)!important;
        pointer-events:auto!important;
    }
    body.nav-open .ma-main-nav[data-header-nav],
    .ma-main-nav[data-header-nav].is-open{
        z-index:620!important;
        opacity:1!important;
        background:#fff!important;
        color:#102a4f!important;
        box-shadow:-18px 0 76px rgba(6,27,59,.20)!important;
        isolation:isolate!important;
    }
    .ma-main-nav[data-header-nav]::before{
        content:'';
        position:absolute;
        inset:0;
        z-index:-1;
        border-radius:0;
        background:#fff;
        pointer-events:none;
    }
    .ma-main-nav[data-header-nav] a,
    .ma-main-nav[data-header-nav] summary,
    .ma-mobile-nav-actions a{
        min-height:48px!important;
        justify-content:flex-start!important;
        align-items:center!important;
        border-radius:16px!important;
        font-size:14px!important;
        line-height:1.7!important;
        white-space:normal!important;
        text-align:right!important;
    }
    .ma-mobile-nav-head{
        min-height:54px!important;
    }
    .ma-mobile-nav-head button{
        flex:0 0 40px!important;
        width:40px!important;
        height:40px!important;
    }
    body.nav-open .ma-menu-toggle{
        z-index:630!important;
    }
}
@media(max-width:980px){
    .ma-product-hero--stage67,
    .ma-product-info-panel--stage67 .ma-product-info-grid,
    .ma-product-linked-panels{
        grid-template-columns:1fr!important;
    }
    .ma-product-buy-card--stage67{
        position:relative!important;
        top:auto!important;
        order:-1;
    }
    .ma-product-gallery--stage67{
        min-height:auto;
    }
    .ma-product-gallery__zoom-frame--stage67{
        min-height:300px;
    }
    .ma-product-grid--related-stage67{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:760px){
    .ma-product-page--stage67{
        margin-top:12px;
    }
    .ma-commerce-flow-steps--product{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    .ma-commerce-flow-steps--product span{
        min-height:48px;
        padding:8px 9px;
        font-size:11.5px;
    }
    .ma-product-gallery--stage67,
    .ma-product-buy-card--stage67,
    .ma-product-side-card--stage67{
        padding:15px!important;
        border-radius:22px!important;
    }
    .ma-product-buy-card--stage67 .ma-product-title-row h1{
        font-size:24px;
    }
    .ma-product-buy-card--stage67 .ma-product-short-copy,
    .ma-product-benefits--stage55,
    .ma-product-info-panel--stage67 .ma-product-description-card p,
    .ma-product-info-panel--stage67 .ma-product-downloads p,
    .ma-product-info-panel--stage67 .ma-product-question-card p{
        font-size:13px;
    }
    .ma-product-buy-card--stage67 .ma-product-price-box--stage55{
        padding:14px;
    }
    .ma-product-buy-card--stage67 .ma-product-price-box strong{
        font-size:28px;
    }
    .ma-product-buy-form--stage67{
        grid-template-columns:1fr!important;
        gap:9px!important;
    }
    .ma-product-add-cart--stage67,
    .ma-product-buy-form--stage67 .ma-product-qty{
        width:100%;
        min-height:50px;
    }
    .ma-product-gallery__zoom-frame--stage67{
        min-height:230px;
        padding:22px!important;
    }
    .ma-product-gallery__zoom-frame--stage67 img{
        max-height:230px;
    }
    .ma-product-grid--related-stage67{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:10px!important;
    }
    .ma-product-grid--related-stage67 .ma-product-card{
        border-radius:18px;
    }
    .ma-product-grid--related-stage67 .ma-product-card__media{
        min-height:126px;
    }
    .ma-product-grid--related-stage67 .ma-product-card__body{
        padding:10px;
    }
    .ma-product-grid--related-stage67 .ma-product-card__desc,
    .ma-product-grid--related-stage67 .ma-product-spec-row,
    .ma-product-grid--related-stage67 .ma-product-card__tools{
        display:none!important;
    }
    .ma-product-grid--related-stage67 .ma-product-card__title{
        font-size:12px;
        line-height:1.7;
    }
    .ma-product-grid--related-stage67 .ma-product-card__foot{
        gap:8px;
        flex-direction:column;
        align-items:stretch;
    }
    .ma-product-grid--related-stage67 .ma-product-card__foot--stage54 .ma-price-stack strong{
        font-size:13px;
    }
    .ma-product-grid--related-stage67 .ma-cart-button{
        width:100%;
        min-height:38px;
    }
}
@media(max-width:420px){
    .ma-product-grid--related-stage67{
        gap:8px!important;
    }
    .ma-product-grid--related-stage67 .ma-product-card__media{
        min-height:112px;
    }
    .ma-product-grid--related-stage67 .ma-product-card__meta,
    .ma-product-grid--related-stage67 .ma-product-card__assurance{
        display:none!important;
    }
}


/* Stage 68 — Product detail harmony and related-grid rebalance */
@media(max-width:1240px){
    .ma-product-grid--related-stage68{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    .ma-product-linked-panels--stage68{
        grid-template-columns:1fr 1fr;
    }
    .ma-product-linked-panels--stage68 > article:last-child{
        grid-column:1/-1;
    }
}
@media(max-width:980px){
    .ma-product-info-panel--stage68 .ma-product-info-grid,
    .ma-product-linked-panels--stage68,
    .ma-product-feedback-grid{
        grid-template-columns:1fr!important;
    }
    .ma-product-grid--related-stage68{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:760px){
    .ma-product-info-panel--stage68 .ma-product-tabs--stage55{
        margin:0 14px;
    }
    .ma-product-grid--related-stage68 .ma-product-card__body--stage54{
        gap:6px;
    }
    .ma-product-grid--related-stage68 .ma-product-card__title{
        font-size:12.5px;
        line-height:1.8;
    }
    .ma-product-linked-panels--stage68 > article{
        padding:16px;
        gap:10px;
    }
    .ma-linked-row--stage68{
        min-height:50px;
    }
}
@media(max-width:560px){
    .ma-product-grid--related-stage68{
        grid-template-columns:1fr!important;
        gap:12px!important;
    }
    .ma-product-grid--related-stage68 .ma-product-card__media{
        min-height:148px;
    }
    .ma-product-grid--related-stage68 .ma-product-card__desc,
    .ma-product-grid--related-stage68 .ma-product-spec-row,
    .ma-product-grid--related-stage68 .ma-product-card__tools{
        display:flex!important;
    }
    .ma-product-grid--related-stage68 .ma-product-spec-row{
        flex-wrap:wrap!important;
    }
    .ma-product-grid--related-stage68 .ma-product-card__tools{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
    }
    .ma-product-grid--related-stage68 .ma-product-card__tools form{
        grid-column:1/-1;
    }
    .ma-product-grid--related-stage68 .ma-product-card__foot{
        flex-direction:row;
    }
    .ma-product-grid--related-stage68 .ma-cart-button{
        width:auto;
        min-width:90px;
    }
}
@media(max-width:420px){
    .ma-product-grid--related-stage68 .ma-product-card__foot{
        align-items:stretch;
        flex-direction:column;
    }
    .ma-product-grid--related-stage68 .ma-cart-button,
    .ma-product-grid--related-stage68 .ma-alert-button{
        width:100%;
    }
}

/* Stage 69 — final product detail mobile and related-card guards */
@media(max-width:1180px){
    .ma-product-grid--related-stage69{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}
@media(max-width:900px){
    .ma-section-head--product-related-stage69{
        align-items:flex-start;
        flex-direction:column;
    }
    .ma-product-info-panel--stage69 .ma-product-info-grid{
        grid-template-columns:1fr!important;
    }
    .ma-product-grid--related-stage69{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:640px){
    .ma-product-info-panel--stage69 .ma-product-description-card ul{
        grid-template-columns:1fr;
    }
    .ma-section-head--product-related-stage69 p{
        font-size:12.5px;
    }
    .ma-product-grid--related-stage69{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:10px!important;
    }
    .ma-product-card--related-stage69{
        border-radius:18px;
    }
    .ma-product-card--related-stage69 .ma-product-card__media{
        height:128px;
        min-height:128px;
        padding:12px;
    }
    .ma-product-card--related-stage69 .ma-product-card__body--stage54{
        padding:10px!important;
        gap:5px;
    }
    .ma-product-card--related-stage69 .ma-product-card__title{
        min-height:42px;
        font-size:12px!important;
        line-height:1.72!important;
    }
    .ma-product-card--related-stage69 .ma-product-card__desc,
    .ma-product-card--related-stage69 .ma-product-spec-row,
    .ma-product-card--related-stage69 .ma-product-card__assurance,
    .ma-product-card--related-stage69 .ma-product-card__tools{
        display:none!important;
    }
    .ma-product-card--related-stage69 .ma-product-card__foot--stage54{
        grid-template-columns:1fr;
        gap:7px;
        padding-top:8px;
    }
    .ma-product-card--related-stage69 .ma-product-card__foot--stage54 .ma-price-stack strong{
        font-size:12.5px!important;
    }
    .ma-product-card--related-stage69 .ma-product-card__foot--stage54 .ma-cart-button{
        min-height:36px;
    }
    .ma-product-card--related-stage69 .ma-cart-quantity-badge{
        min-height:26px;
        font-size:10px;
    }
}
@media(max-width:420px){
    .ma-product-grid--related-stage69{
        grid-template-columns:1fr!important;
    }
    .ma-product-card--related-stage69 .ma-product-card__media{
        height:150px;
        min-height:150px;
    }
    .ma-product-card--related-stage69 .ma-product-card__desc,
    .ma-product-card--related-stage69 .ma-product-spec-row{
        display:flex!important;
    }
    .ma-product-card--related-stage69 .ma-product-card__desc{
        display:-webkit-box!important;
    }
}

/* Stage 70 — product detail rebalance and stronger zoom guards */
@media(max-width:1080px){
    .ma-product-grid--related-stage70{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    .ma-product-linked-panels--stage70{
        grid-template-columns:1fr 1fr!important;
    }
    .ma-product-linked-panels--stage70 > article:last-child{
        grid-column:1/-1;
    }
}
@media(max-width:900px){
    .ma-product-info-panel--stage70 .ma-product-info-grid,
    .ma-product-feedback-grid--stage70,
    .ma-product-linked-panels--stage70{
        grid-template-columns:1fr!important;
    }
    .ma-product-info-panel--stage70 .ma-product-downloads--stage70{
        grid-template-columns:1fr;
        align-items:flex-start;
    }
    .ma-product-grid--related-stage70{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:640px){
    .ma-product-gallery__zoom-frame--stage70{
        cursor:default;
    }
    .ma-product-info-panel--stage70 .ma-product-info-grid{
        gap:14px;
    }
    .ma-product-info-panel--stage70 .ma-product-downloads--stage70,
    .ma-product-info-panel--stage70 .ma-product-review-card--stage70,
    .ma-product-info-panel--stage70 .ma-product-question-card--stage70{
        margin:0 14px 14px;
        padding:16px;
    }
    .ma-product-info-panel--stage70 .ma-product-spec-table--stage70,
    .ma-product-info-panel--stage70 .ma-product-description-card--stage70{
        padding:16px;
    }
    .ma-product-grid--related-stage70{
        gap:12px!important;
    }
}
@media(max-width:480px){
    .ma-product-info-panel--stage70 .ma-product-spec-table--stage70 div{
        align-items:flex-start;
        flex-direction:column;
    }
    .ma-product-grid--related-stage70{
        grid-template-columns:1fr!important;
    }
}

/* Stage 71 — product detail columns, related cards and zoom lens responsive guards */
@media(max-width:1080px){
    .ma-product-info-panel--stage71 .ma-product-info-grid--stage71{
        grid-template-columns:minmax(0,1fr)!important;
    }
    .ma-product-grid--related-stage71{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:760px){
    .ma-product-zoom-lens--stage71{
        display:none!important;
    }
    .ma-product-gallery__zoom-frame--stage71{
        cursor:default;
    }
    .ma-product-info-panel--stage71 .ma-product-info-grid--stage71{
        padding:14px;
        gap:12px;
    }
    .ma-product-info-panel--stage71 .ma-product-description-card--stage71 ul{
        grid-template-columns:1fr;
    }
    .ma-product-info-panel--stage71 .ma-product-downloads--stage71,
    .ma-product-feedback-grid--stage71{
        margin-inline:14px;
        grid-template-columns:1fr!important;
    }
    .ma-product-info-panel--stage71 .ma-review-list,
    .ma-product-info-panel--stage71 .ma-question-list{
        max-height:none;
        overflow:visible;
    }
    .ma-product-card--related-stage71 .ma-product-card__media{
        height:134px;
        min-height:134px;
    }
    .ma-product-card--related-stage71 .ma-product-card__title{
        min-height:40px;
    }
}
@media(max-width:520px){
    .ma-product-grid--related-stage71{
        grid-template-columns:1fr!important;
    }
    .ma-product-card--related-stage71 .ma-product-card__media{
        height:150px;
        min-height:150px;
    }
    .ma-product-card--related-stage71 .ma-product-card__desc,
    .ma-product-card--related-stage71 .ma-product-spec-row--stage54{
        display:flex!important;
    }
    .ma-product-card--related-stage71 .ma-product-card__tools--stage54{
        display:grid!important;
    }
}

/* Stage 72 — key specs under gallery responsive flow and stronger lens guards */
@media(max-width:1180px){
    .ma-product-hero--stage72{
        grid-template-columns:minmax(0,1fr) 360px!important;
        grid-template-areas:
            "gallery buy"
            "side buy";
    }
}
@media(max-width:900px){
    .ma-product-hero--stage72{
        grid-template-columns:1fr!important;
        grid-template-areas:
            "gallery"
            "side"
            "buy";
        gap:16px;
    }
    .ma-product-side-card--stage72{
        margin-top:0;
    }
}
@media(max-width:640px){
    .ma-product-side-specs--stage72{
        grid-template-columns:1fr;
    }
    .ma-product-zoom-lens--stage72{
        display:none!important;
    }
    .ma-product-gallery__zoom-frame--stage72{
        cursor:default;
    }
}

/* Stage 73 — compact specs, buy-card and zoom-panel responsive guards */
@media(max-width:1020px){
    .ma-product-zoom-panel--stage73{
        width:170px;
        height:126px;
    }
    .ma-product-side-card--stage73 .ma-product-support-box{
        grid-template-columns:1fr;
    }
    .ma-product-side-card--stage73 .ma-product-support-box span{grid-row:auto}
    .ma-product-side-card--stage73 .ma-product-support-box a{justify-self:stretch;text-align:center}
}
@media(max-width:760px){
    .ma-product-zoom-panel--stage73{
        display:none!important;
    }
    .ma-product-buy-card--stage73 .ma-product-price-box strong{
        font-size:26px;
    }
    .ma-product-side-card--stage73 h2{
        align-items:flex-start;
        flex-direction:column;
    }
    .ma-product-side-card--stage73 h2:after{
        font-size:9.5px;
    }
}
@media(max-width:520px){
    .ma-product-side-card--stage73{
        padding:15px!important;
        border-radius:22px!important;
    }
    .ma-product-side-specs--stage73{
        grid-template-columns:1fr!important;
    }
}

/* Stage 74 — storefront listing density, filter sidebar and card polish responsive guards */
@media(max-width:1260px){
    .ma-shop-layout--stage74{
        grid-template-columns:270px minmax(0,1fr);
        gap:18px;
    }
    .ma-product-grid--store-stage74{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:16px;
    }
    .ma-store-category-strip--stage74 .ma-store-category-grid--polished{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}
@media(max-width:980px){
    .ma-shop-layout--stage74{
        grid-template-columns:1fr!important;
    }
    .ma-shop-commandbar--stage74{
        grid-template-columns:1fr;
    }
    .ma-product-grid--store-stage74{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    .ma-store-result-insights--stage74{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .ma-store-category-strip--stage74 .ma-store-category-grid--polished{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .ma-store-buyer-guide--stage74{
        padding:16px;
    }
}
@media(max-width:720px){
    .ma-store-hero--stage74 .ma-store-hero__copy{
        padding:22px;
    }
    .ma-store-decision-strip--stage74,
    .ma-store-buyer-guide--stage74,
    .ma-store-category-strip--stage74{
        margin-top:14px;
    }
    .ma-store-decision-strip--stage74 div{
        min-height:62px;
    }
    .ma-store-category-strip--stage74 .ma-store-category-grid--polished{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .ma-store-listing-note--stage74{
        align-items:flex-start;
        flex-direction:column;
    }
    .ma-product-card--listing-stage74 .ma-product-card__media{
        height:148px;
        padding:13px;
    }
    .ma-product-card--listing-stage74 .ma-product-card__body--stage54{
        padding:12px;
    }
    .ma-product-card--listing-stage74 .ma-product-card__title{
        min-height:42px;
        font-size:12.8px;
    }
    .ma-product-card--listing-stage74 .ma-product-card__desc,
    .ma-product-card--listing-stage74 .ma-product-spec-row--stage54{
        display:none!important;
    }
    .ma-product-card--listing-stage74 .ma-product-card__foot--stage54{
        grid-template-columns:1fr;
        gap:7px;
    }
}
@media(max-width:520px){
    .ma-product-grid--store-stage74{
        grid-template-columns:1fr!important;
    }
    .ma-store-result-insights--stage74,
    .ma-store-category-strip--stage74 .ma-store-category-grid--polished{
        grid-template-columns:1fr;
    }
    .ma-product-card--listing-stage74 .ma-product-card__media{
        height:170px;
    }
    .ma-product-card--listing-stage74 .ma-product-card__desc,
    .ma-product-card--listing-stage74 .ma-product-spec-row--stage54{
        display:flex!important;
    }
    .ma-product-card--listing-stage74 .ma-product-card__desc{
        display:-webkit-box!important;
    }
}

/* Stage 75 — storefront accordion category responsive guards */
@media(max-width:1120px){
    .ma-store-category-accordion--stage75{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:720px){
    .ma-store-category-accordion--stage75{
        grid-template-columns:1fr;
        gap:9px;
    }
    .ma-store-category-accordion__item summary{
        min-height:50px;
        padding:10px 12px;
    }
    .ma-store-category-accordion__body{
        padding:0 10px 10px;
    }
}
@media(max-width:560px){
    .ma-store-category-strip--stage75 .ma-store-category-grid--polished{
        display:none;
    }
    .ma-store-category-accordion--stage75{
        margin-top:0;
    }
}

/* Stage 77 — unified workspace responsive guards */
@media(max-width:1180px){
  .ma-workspace{grid-template-columns:250px minmax(0,1fr)}
  .ma-customer-workspace{grid-template-columns:230px minmax(0,1fr)}
  .ma-workspace-content{padding:17px 18px 38px}
  .ma-workspace-topbar{padding-inline:18px}
  .ma-admin-workspace__content .ma-admin-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .ma-workspace{display:block}
  .ma-workspace-sidebar{position:fixed;right:0;top:0;width:min(300px,88vw);height:100dvh;transform:translateX(105%);transition:transform .24s ease;box-shadow:-20px 0 60px rgba(4,13,31,.35)}
  .ma-workspace.is-sidebar-open .ma-workspace-sidebar{transform:translateX(0)}
  .ma-workspace-backdrop{position:fixed;inset:0;z-index:80;background:rgba(4,13,31,.54);backdrop-filter:blur(3px)}
  .ma-workspace.is-sidebar-open .ma-workspace-backdrop{display:block}
  .ma-workspace-brand button,.ma-workspace-menu-button{display:grid;place-items:center}
  .ma-workspace-topbar{min-height:64px;padding:9px 14px}
  .ma-workspace-content{padding:15px 14px 86px}
  .ma-workspace-messages{padding:10px 14px 0}
  .ma-workspace-user>div,.ma-command-trigger span,.ma-command-trigger kbd{display:none}
  .ma-command-trigger{width:39px;padding:0;justify-content:center}
  .ma-admin-workspace__content .ma-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ma-admin-workspace__content .ma-admin-command-grid--stage62{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma-customer-mobile-dock{position:fixed;right:10px;left:10px;bottom:9px;z-index:75;display:grid;grid-template-columns:repeat(5,1fr);gap:3px;padding:6px;border:1px solid rgba(213,224,239,.9);border-radius:19px;background:rgba(255,255,255,.94);box-shadow:0 16px 45px rgba(10,27,58,.18);backdrop-filter:blur(14px)}
  .ma-customer-mobile-dock a{min-width:0;display:grid;place-items:center;gap:3px;padding:5px 2px;border-radius:13px;color:#7c8ca3;font-size:8.5px;font-weight:850}.ma-customer-mobile-dock svg{width:19px;height:19px}.ma-customer-mobile-dock a.is-active{background:#edf3ff;color:#315cff}
  .ma-customer-topbar__logo{display:block}.ma-customer-topbar .ma-workspace-topbar__start>div{display:none}
}
@media(max-width:680px){
  .ma-workspace-topbar__actions{gap:6px}.ma-customer-shop-link span{display:none}.ma-customer-shop-link{width:39px;padding:0;justify-content:center}
  .ma-workspace-user{display:none}.ma-workspace-content{padding-inline:10px}
  .ma-admin-workspace__content .ma-admin-top{padding:16px!important;border-radius:17px!important}.ma-admin-workspace__content .ma-admin-top h1{font-size:20px!important}
  .ma-admin-workspace__content .ma-admin-top-actions{width:100%;max-width:none!important;justify-content:flex-start!important}.ma-admin-workspace__content .ma-admin-top-actions .ma-btn{flex:1;min-width:120px}
  .ma-admin-workspace__content .ma-admin-kpis{grid-template-columns:1fr 1fr!important}.ma-admin-workspace__content .ma-admin-kpis>div{min-height:74px!important}
  .ma-admin-workspace__content .ma-admin-command-grid--stage62{grid-template-columns:1fr}
  .ma-customer-workspace__content .ma-account-hero{border-radius:17px!important}.ma-customer-workspace__content .ma-account-profile-summary{border-radius:16px!important}
  .ma-customer-workspace__content .ma-account-kpis,.ma-customer-workspace__content .ma-account-health-grid--stage60,.ma-customer-workspace__content .ma-action-grid--stage60{grid-template-columns:1fr!important}
  .ma-command-palette{padding-top:6vh}.ma-command-palette__dialog{border-radius:17px}.ma-command-palette__results{max-height:62vh}
}
@media(max-width:460px){
  .ma-admin-workspace__content .ma-admin-kpis{grid-template-columns:1fr!important}
  .ma-workspace-topbar__start>div>strong{font-size:12px}.ma-workspace-topbar__start>div>span{font-size:9px}
  .ma-customer-mobile-dock{right:5px;left:5px;bottom:5px;border-radius:16px}.ma-customer-mobile-dock span{font-size:7.8px}
}
@media(max-width:1180px){
  .ma-ops-priority__grid,.ma-customer-hubs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma-ops-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ma-customer-next-strip__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .ma-ops-hero,.ma-customer-home-hero{grid-template-columns:1fr}
  .ma-ops-modules,.ma-ops-live-grid,.ma-customer-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma-customer-dashboard-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .ma-ops-hero,.ma-customer-home-hero{padding:18px;border-radius:18px}
  .ma-ops-hero h1,.ma-customer-home-hero h1{font-size:21px}
  .ma-ops-priority__grid,.ma-ops-kpis,.ma-ops-modules,.ma-ops-live-grid,.ma-customer-next-strip__grid,.ma-customer-hubs,.ma-customer-recent-grid{grid-template-columns:1fr}
  .ma-customer-readiness{grid-template-columns:90px minmax(0,1fr)}.ma-customer-readiness__ring{width:90px;height:90px}
  .ma-ops-system-strip{align-items:flex-start;flex-direction:column}.ma-ops-system-strip nav{width:100%}.ma-ops-system-strip nav a{flex:1;text-align:center}
}
/* Stage 76 — academy listing responsive guards */
@media(max-width:1120px){.ma-academy-category-accordion--stage76{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ma-academy-category-accordion--stage76{grid-template-columns:1fr}.ma-academy-hero--stage76{padding-block:18px}.ma-course-card--listing-stage76 .ma-course-card__media{height:150px}}

/* Operational workspace responsive guards */
@media(max-width:1180px){
  .ma-action-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma-report-card-grid,.ma-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma-report-layout--three{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .ma-ops-hero{align-items:flex-start;flex-direction:column}
  .ma-ops-hero__metrics{width:100%}
  .ma-action-queue-grid,.ma-report-layout{grid-template-columns:1fr}
  .ma-audit-filter{grid-template-columns:1fr 1fr!important}
  .ma-audit-table{overflow-x:auto}.ma-audit-table__head,.ma-audit-table article{min-width:820px}
}
@media(max-width:680px){
  .ma-ops-hero,.ma-customer-page-hero{padding:18px;border-radius:18px;align-items:flex-start;flex-direction:column}
  .ma-ops-hero h1,.ma-customer-page-hero h1{font-size:22px}
  .ma-ops-hero__metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-ops-hero__metrics>div{padding:10px 5px}.ma-ops-hero__metrics b{font-size:18px}.ma-ops-hero__metrics span{font-size:8px}
  .ma-action-summary,.ma-action-queue-grid,.ma-report-card-grid,.ma-report-layout--three,.ma-role-grid{grid-template-columns:1fr}
  .ma-action-queue{min-height:0}.ma-report-period{width:100%}.ma-report-period select{width:100%}
  .ma-staff-access-table article{grid-template-columns:38px minmax(0,1fr)}.ma-staff-access-table article>div:last-child{grid-column:1/-1;justify-content:flex-start;padding-right:49px}
  .ma-audit-filter{grid-template-columns:1fr!important}.ma-audit-filter .ma-btn{width:100%}
  .ma-customer-timeline article{grid-template-columns:42px minmax(0,1fr) 22px}.ma-customer-timeline article>strong{grid-column:2}.ma-customer-timeline__icon{width:42px;height:42px}
}

/* Stage 90 — responsive hierarchical categories */
@media (max-width:1100px){
  .ma-store-category-tree--stage90,.ma-category-child-grid--stage90{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma-category-landing__summary{grid-template-columns:auto minmax(0,1fr)}
  .ma-category-landing__counts{grid-column:1/-1}
  .ma-category-admin-row{grid-template-columns:minmax(240px,1fr)!important}
  .ma-category-admin-row__actions{justify-content:flex-start}
  .ma-category-form-layout{grid-template-columns:1fr}
  .ma-category-form-help{position:static}
}
@media (max-width:760px){
  .ma-store-category-tree--stage90,.ma-category-child-grid--stage90{grid-template-columns:1fr}
  .ma-category-landing--stage90{padding:14px;border-radius:20px}
  .ma-category-landing__summary{grid-template-columns:1fr;text-align:center}
  .ma-category-landing__identity{margin:auto;width:68px;height:68px}
  .ma-category-landing__counts{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .ma-category-landing__counts span{min-width:0;padding:8px 4px}
  .ma-category-landing__counts b{font-size:15px}
  .ma-category-tree-branch__body{margin-right:8px}
  .ma-category-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ma-category-admin-guide{align-items:flex-start;flex-direction:column}
  .ma-category-admin-row{padding-right:12px!important}
  .ma-category-admin-row:before,.ma-category-admin-row__branch{display:none}
  .ma-nav-category-menu{position:static;width:100%;grid-template-columns:1fr;padding:8px;margin-top:7px;box-shadow:none;border-radius:14px}
}
@media (max-width:430px){
  .ma-category-landing__counts{grid-template-columns:1fr}
  .ma-category-child-card{grid-template-columns:auto minmax(0,1fr)}
  .ma-category-child-card>i{display:none}
  .ma-category-admin-stats{grid-template-columns:1fr}
}

@media(max-width:1180px){
    .ma-store-category-hub-grid--stage92{grid-template-columns:1fr;}
}

@media(max-width:760px){
    .ma-store-category-hub-card__head{grid-template-columns:auto minmax(0,1fr);}
    .ma-store-category-hub-card__count{grid-column:1/-1;justify-self:flex-start;display:inline-grid;grid-auto-flow:column;align-items:center;gap:8px;min-width:auto;padding:8px 12px;}
    .ma-store-category-hub-card__count small{margin-top:0;}
    .ma-store-category-hub-card__children{grid-template-columns:1fr;}
    .ma-store-category-hub-card__footer{flex-direction:column;align-items:stretch;}
    .ma-store-category-hub-card__cta,.ma-store-category-hub-card__ghost{width:100%;}
}

@media(max-width:520px){
    .ma-store-category-hub-card--stage92{padding:15px;border-radius:24px;}
    .ma-store-category-hub-card__visual{width:64px;height:64px;border-radius:20px;}
    .ma-store-category-hub-card__visual span{min-width:46px;height:46px;border-radius:15px;font-size:15px;}
    .ma-store-category-hub-card__copy h3{font-size:18px;}
    .ma-store-category-browser--stage92 summary{padding:14px 15px;font-size:13px;}
}

@media(max-width:1050px){
    .ma-product-hero--stage93{grid-template-columns:1fr;}
    .ma-product-buy-card--stage93{position:static;}
    .ma-product-gallery--stage93 .ma-product-gallery__main{min-height:380px;}
}

@media(max-width:760px){
    .ma-commerce-flow-steps--stage93{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-identity-strip--stage93{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-identity-strip--stage93>span{min-width:0;}
    .ma-product-key-specs__grid{grid-template-columns:1fr;}
    .ma-product-meta-grid--stage93{grid-template-columns:1fr 1fr;}
    .ma-product-benefits--stage93{grid-template-columns:1fr;}
    .ma-product-help-actions--stage93{grid-template-columns:1fr;}
    .ma-commerce-assurance-strip--stage93{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-product-info-grid--stage93{grid-template-columns:1fr;}
    .ma-product-description-card--stage93 ul{grid-template-columns:1fr;}
}

@media(max-width:520px){
    .ma-product-page--stage93{margin-top:10px;}
    .ma-commerce-flow-steps--stage93{display:flex;overflow:auto;padding-bottom:3px;scrollbar-width:none;}
    .ma-commerce-flow-steps--stage93 span{flex:0 0 155px;}
    .ma-product-identity-strip--stage93{grid-template-columns:1fr 1fr;gap:6px;}
    .ma-product-identity-strip--stage93>span{padding:9px 10px;border-radius:13px;}
    .ma-product-gallery--stage93,.ma-product-buy-card--stage93{border-radius:23px;padding:14px;}
    .ma-product-gallery--stage93 .ma-product-gallery__main{min-height:270px;border-radius:19px;}
    .ma-product-gallery--stage93 .ma-product-gallery__main img{max-height:260px;}
    .ma-product-gallery-note--stage93{grid-template-columns:1fr;}
    .ma-product-title-row--stage93 h1{font-size:22px;}
    .ma-product-meta-grid--stage93{grid-template-columns:1fr;}
    .ma-purchase-readiness--stage93{grid-template-columns:1fr 1fr;}
    .ma-purchase-readiness--stage93>div:last-child{grid-column:1/-1;}
    .ma-product-buy-form--stage93{grid-template-columns:1fr;}
    .ma-product-buy-form--stage93 .ma-product-qty{max-width:none;}
    .ma-product-compare-action--stage93{align-items:stretch;flex-direction:column;}
    .ma-product-compare-action--stage93 form,.ma-product-compare-action--stage93 button,.ma-product-compare-action--stage93 a{width:100%;}
    .ma-product-payment-note--stage93{grid-template-columns:1fr;}
    .ma-commerce-assurance-strip--stage93{grid-template-columns:1fr;}
    .ma-product-info-panel--stage93{padding:14px;border-radius:22px;}
    .ma-product-tabs--stage93{margin-inline:0;}
    .ma-product-spec-table--stage93>div{grid-template-columns:1fr;gap:4px;}
}

/* Stage 94 — technical comparison responsive behavior. */
@media(max-width:1100px){
    .ma-compare-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ma-compare-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
    .ma-compare-hero--stage94{align-items:flex-start;flex-direction:column;padding:19px;border-radius:26px;}
    .ma-compare-hero__copy h1{font-size:28px;}
    .ma-compare-hero__actions,.ma-compare-hero__actions form,.ma-compare-action{width:100%;}
    .ma-compare-compatibility,.ma-compare-toolbar,.ma-compare-guidance{align-items:flex-start;flex-direction:column;}
    .ma-compare-compatibility em{white-space:normal;}
    .ma-compare-toolbar nav{width:100%;display:grid;grid-template-columns:1fr 1fr;}
    .ma-compare-toolbar nav a{justify-content:center;}
    .ma-compare-table-wrap--stage94{margin-inline:0;border-radius:20px;}
    .ma-compare-table--stage94{min-width:820px;}
    .ma-compare-table--stage94 th:first-child,.ma-compare-table--stage94 td:first-child{width:145px;min-width:145px;max-width:145px;}
    .ma-compare-product-card{min-width:170px;}
}
@media(max-width:560px){
    .ma-compare-summary-grid,.ma-compare-recommendation-grid{grid-template-columns:1fr;}
    .ma-compare-progress b{width:100%;margin-top:3px;}
    .ma-compare-summary-grid article{padding:12px;}
    .ma-compare-table--stage94{min-width:740px;}
    .ma-compare-table--stage94 th,.ma-compare-table--stage94 td{padding:10px;}
    .ma-compare-table--stage94 th:first-child,.ma-compare-table--stage94 td:first-child{width:125px;min-width:125px;max-width:125px;font-size:10.5px;}
    .ma-compare-product-card{min-width:155px;}
    .ma-compare-product-card__media{height:105px;}
    .ma-compare-recommendation-grid article{grid-template-columns:64px minmax(0,1fr);}
    .ma-compare-recommendation__media{width:64px;height:64px;}
}

@media(max-width:800px){
    .ma-upload-dropzone--stage95{grid-template-columns:auto minmax(0,1fr);min-height:96px;}
    .ma-upload-dropzone__button--stage95{grid-column:1/-1;width:100%;}
    .ma-academy-video-uploader-card--stage95{grid-template-columns:1fr;padding:16px;border-radius:22px;}
    .ma-academy-current-video--stage95{grid-template-columns:1fr;}
    .ma-academy-native-player--stage95>div{align-items:flex-start;flex-direction:column;}
}
@media(max-width:520px){
    .ma-upload-dropzone--stage95{padding:12px;gap:10px;}
    .ma-upload-dropzone__icon--stage95{width:46px;height:46px;border-radius:15px;font-size:20px;}
    .ma-upload-file--stage95{grid-template-columns:auto minmax(0,1fr);}
    .ma-upload-file__remove--stage95{grid-column:1/-1;width:100%;height:32px;}
    .ma-upload-progress__meta--stage95{align-items:flex-start;flex-direction:column;}
}

/* Stage 96 — WordPress reference responsive behavior. */
@media(max-width:1180px){
    .ma-wp-header__main{grid-template-columns:145px minmax(300px,1fr) auto;gap:13px;}
    .ma-wp-logo img{width:140px;}
    .ma-wp-top-nav.ma-main-nav[data-header-nav]{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(380px,88vw)!important;height:100dvh!important;padding:0 16px 24px!important;display:block!important;background:#fff!important;border-radius:0!important;box-shadow:-20px 0 50px rgba(18,26,60,.17)!important;transform:translateX(104%)!important;opacity:1!important;visibility:visible!important;overflow:auto!important;z-index:160!important;transition:transform .24s ease!important;}
    .ma-wp-top-nav.ma-main-nav[data-header-nav].is-open{transform:translateX(0)!important;}
    .ma-wp-top-nav .ma-mobile-nav-head{display:flex!important;align-items:center;justify-content:space-between;height:72px;padding:10px 2px;border-bottom:1px solid #ececf2;}
    .ma-wp-top-nav .ma-mobile-nav-head img{width:135px;height:auto;}
    .ma-wp-top-nav .ma-mobile-nav-head button{width:36px;height:36px;border:1px solid #e5e6ed;border-radius:10px;background:#fff;color:#333747;font-size:23px;line-height:1;}
    .ma-wp-top-nav > .ma-wp-nav-desktop{display:none!important;}
    .ma-wp-top-nav .ma-wp-mobile-nav-links{display:grid!important;padding-top:10px;}
    .ma-wp-top-nav .ma-wp-mobile-nav-links > a,.ma-wp-top-nav .ma-wp-mobile-nav-links > details > summary{display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;margin:0!important;padding:8px 9px!important;border-radius:10px!important;color:#343848!important;background:#fff!important;font-size:12px!important;font-weight:650!important;list-style:none!important;}
    .ma-wp-top-nav .ma-wp-mobile-nav-links > a:hover,.ma-wp-top-nav .ma-wp-mobile-nav-links > details > summary:hover{background:#f5f5ff!important;color:#393cfc!important;}
    .ma-wp-top-nav .ma-wp-mobile-nav-links > a span,.ma-wp-top-nav .ma-wp-mobile-nav-links summary span{width:25px;color:#393cfc;text-align:center;}
    .ma-wp-top-nav .ma-mobile-nav-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:7px;margin-top:14px;padding-top:14px;border-top:1px solid #ececf2;}
    .ma-wp-top-nav .ma-mobile-nav-actions a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;margin:0!important;padding:8px!important;border:1px solid #dedff0!important;border-radius:10px!important;background:#fff!important;color:#393cfc!important;font-size:10.5px!important;font-weight:750!important;}
    .ma-wp-menu-toggle{display:grid!important;place-items:center;width:42px;height:42px;border:1px solid #e2e3ec;border-radius:12px;background:#fff;color:#35394a;}
    .ma-wp-menu-toggle span{font-size:21px;line-height:1!important;}
    .ma-wp-account-action b,.ma-wp-cart-copy{display:none;}
    .ma-wp-category-links{gap:15px;}
    .ma-wp-category-links a:nth-child(n+5){display:none;}
    .ma-wp-support-phone{margin-right:auto;}
    .ma-wp-hero-grid{grid-template-columns:minmax(170px,.63fr) minmax(380px,1.65fr) minmax(170px,.63fr);height:340px;}
    .ma-wp-category-rail{grid-template-columns:repeat(8,118px);overflow:auto;scrollbar-width:none;}
    .ma-wp-category-rail::-webkit-scrollbar{display:none;}
    .ma-wp-store-layout{grid-template-columns:205px minmax(0,1fr);}
    .ma-wp-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media(max-width:900px){
    .ma-wp-header__main{grid-template-columns:132px minmax(0,1fr) auto;min-height:70px;}
    .ma-wp-logo img{width:126px;}
    .ma-wp-cart-action{display:none;}
    .ma-wp-category-bar{display:none;}
    .ma-wp-hero-grid{height:300px;grid-template-columns:minmax(145px,.62fr) minmax(330px,1.55fr) minmax(145px,.62fr);gap:10px;}
    .ma-wp-store-layout{grid-template-columns:1fr;}
    .ma-wp-category-sidebar{display:none;}
    .ma-wp-promo-row img{max-height:190px;}
    .ma-wp-footer__intro{grid-template-columns:1fr;gap:20px;}
    .ma-wp-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media(max-width:720px){
    body.ma-density-compact.ma-wp-home-reference{padding-bottom:67px;}
    .ma-wp-header{position:sticky;top:0;}
    .ma-wp-header .ma-container,.ma-wp-home .ma-container,.ma-wp-footer .ma-container{width:min(100% - 24px,1320px);}
    .ma-wp-header__main{grid-template-columns:110px minmax(0,1fr) 42px;grid-template-areas:'logo actions toggle' 'search search search';gap:7px 9px;min-height:104px;padding:9px 0 10px;}
    .ma-wp-logo{grid-area:logo;}
    .ma-wp-logo img{width:108px;}
    .ma-wp-header-search{grid-area:search;height:40px;border-radius:10px;}
    .ma-wp-header-search input{font-size:11.5px;padding-right:12px;}
    .ma-wp-header-search button{width:42px;}
    .ma-wp-header-actions{grid-area:actions;justify-self:end;gap:6px;}
    .ma-wp-account-action{display:flex;}
    .ma-wp-account-action b{display:none;}
    .ma-wp-user-icon,.ma-wp-user-icon svg{width:37px;height:37px;}
    .ma-wp-menu-toggle{grid-area:toggle;width:39px;height:39px;justify-self:end;}
    .ma-wp-home{padding-top:10px;}
    .ma-wp-hero-grid{display:none;}
    .ma-wp-mobile-hero{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(105px,.72fr);gap:8px;height:194px;direction:ltr;}
    .ma-wp-mobile-hero > *{direction:rtl;overflow:hidden;border-radius:11px;background:#f5f5f8;}
    .ma-wp-mobile-order{display:block;}
    .ma-wp-mobile-order img{object-fit:cover;}
    .ma-wp-category-rail{margin-top:10px;width:calc(100% - 12px)!important;margin-inline:6px;padding:8px 6px;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:92px;gap:4px;border-radius:12px;}
    .ma-wp-category-rail > a > span{height:62px;}
    .ma-wp-category-rail b{font-size:8.8px;white-space:normal;line-height:1.55!important;min-height:28px;}
    .ma-wp-store-layout{margin-top:10px;}
    .ma-wp-product-section{padding:11px 9px 10px;border-radius:12px;}
    .ma-wp-section-head{min-height:33px;margin-bottom:7px;gap:8px;}
    .ma-wp-section-head h2{font-size:13px;}
    .ma-wp-section-head p{font-size:8.5px;}
    .ma-wp-section-icon{width:26px;height:26px;border-radius:8px;font-size:11px;}
    .ma-wp-section-head > a,.ma-wp-section-actions > a{font-size:9px;}
    .ma-wp-section-actions{gap:8px;}
    .ma-wp-countdown{padding:4px 7px;min-width:69px;font-size:8.5px;}
    .ma-wp-product-rail,.ma-wp-product-rail--wide{grid-auto-columns:minmax(145px,46vw);gap:3px;}
    .ma-wp-product-card{min-height:235px;grid-template-rows:123px minmax(40px,auto) auto;padding:5px 8px;}
    .ma-wp-product-card__media{height:123px;}
    .ma-wp-product-card__title{font-size:9.8px;min-height:35px;}
    .ma-wp-product-card__buy button,.ma-wp-product-card__buy--disabled{font-size:9px;}
    .ma-wp-product-card__price strong{font-size:9.3px;}
    .ma-wp-product-card__price del{font-size:7.5px;}
    .ma-wp-promo-row{grid-template-columns:1fr;gap:8px;margin-top:0;}
    .ma-wp-promo-row img{max-height:none;}
    .ma-wp-full-section,.ma-wp-blog-section{margin-top:10px;}
    .ma-wp-blog-section{padding:11px 9px;border-radius:12px;}
    .ma-wp-blog-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,64vw);grid-template-columns:none;gap:8px;overflow-x:auto;scrollbar-width:none;}
    .ma-wp-blog-grid::-webkit-scrollbar{display:none;}
    .ma-wp-blog-card > span{height:105px;}
    .ma-wp-footer{margin-top:24px;}
    .ma-wp-footer__intro{padding:25px 0 20px;gap:17px;}
    .ma-wp-footer__welcome{gap:12px;align-items:flex-start;}
    .ma-wp-footer__welcome img{width:108px;}
    .ma-wp-footer__welcome h2{font-size:14px;}
    .ma-wp-footer__welcome p,.ma-wp-footer__about{font-size:9.6px!important;}
    .ma-wp-footer__grid{grid-template-columns:1fr 1fr!important;gap:24px 18px;padding:20px 0 25px;}
    .ma-wp-footer__grid h4{font-size:12px;}
    .ma-wp-footer__col a,.ma-wp-footer__contact p{font-size:10px!important;}
    .ma-wp-footer__trust span{width:82px;height:86px;}
    .ma-wp-footer__bottom{font-size:9px;}
    .ma-wp-mobile-dock{position:fixed;z-index:145;right:0;left:0;bottom:0;height:63px;padding:5px 10px calc(5px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);align-items:center;background:rgba(255,255,255,.98);border-top:1px solid #e6e6ed;box-shadow:0 -8px 25px rgba(19,24,57,.09);backdrop-filter:blur(12px);}
    .ma-wp-mobile-dock a,.ma-wp-mobile-dock button{border:0;background:none;display:grid;justify-items:center;align-content:center;gap:1px;color:#7f8290;padding:0;font-weight:500;}
    .ma-wp-mobile-dock a > span,.ma-wp-mobile-dock button > span{font-size:20px;line-height:1!important;height:26px;display:grid;place-items:center;}
    .ma-wp-mobile-dock b{font-size:8.5px;font-weight:650;line-height:1.4!important;}
    .ma-wp-mobile-dock .is-active,.ma-wp-mobile-dock a:hover,.ma-wp-mobile-dock button:hover{color:#393cfc;}
    .ma-wp-dock-cart{position:relative;}
    .ma-wp-dock-cart i{position:absolute;top:-4px;right:-9px;min-width:15px;height:15px;padding:0 3px;border-radius:99px;background:#393cfc;color:#fff;font-style:normal;font-size:7px;display:grid;place-items:center;}
}

@media(max-width:440px){
    .ma-wp-mobile-hero{height:166px;grid-template-columns:minmax(0,1.7fr) 96px;gap:6px;}
    .ma-wp-slider-dots{bottom:7px;}
    .ma-wp-slider-dots button{width:6px;height:6px;}
    .ma-wp-slider-dots button.is-active{width:16px;}
    .ma-wp-product-rail,.ma-wp-product-rail--wide{grid-auto-columns:minmax(136px,44vw);}
    .ma-wp-footer__grid{grid-template-columns:1fr!important;}
    .ma-wp-footer__trust > div{justify-content:flex-start;}
}

/* Stage 97 responsive parity for 5/3/2 product sliders. */
@media(max-width:1100px) and (min-width:721px){
    .ma-wp-product-rail[data-carousel-track]>.ma-wp-product-card{flex-basis:calc((100% - 16px)/3);max-width:calc((100% - 16px)/3);}
    .ma-wp-carousel-arrow{opacity:.72;transform:scale(.94);}
    .ma-wp-mega__panel[data-wp-mega-system]{width:min(970px,calc(100vw - 30px));}
    .ma-wp-mega__tabs .ma-wp-mega__tab{padding-inline:11px;font-size:10.5px;}
    .ma-wp-mega__columns{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:720px){
    .ma-wp-product-rail[data-carousel-track],.ma-wp-product-rail[data-carousel-track].ma-wp-product-rail--wide{grid-auto-columns:unset!important;gap:6px!important;}
    .ma-wp-product-rail[data-carousel-track]>.ma-wp-product-card{flex-basis:calc((100% - 6px)/2);max-width:calc((100% - 6px)/2);}
    .ma-wp-carousel-arrow{width:30px;height:30px;margin-top:-16px;font-size:22px;opacity:.76;transform:none;box-shadow:0 5px 16px rgba(24,29,73,.1);}
    .ma-wp-carousel-arrow--prev{right:1px;}.ma-wp-carousel-arrow--next{left:1px;}
    .ma-wp-product-carousel:hover .ma-wp-carousel-arrow,.ma-wp-product-carousel:focus-within .ma-wp-carousel-arrow{transform:none;}
    .ma-wp-carousel-progress{margin-top:6px;}
}

/* Stage 106 — live header search responsive dropdown. */
@media (max-width:720px){
  .ma-header-live-search{position:fixed;top:118px;right:10px;left:10px;min-width:0;max-height:calc(100vh - 136px);border-radius:14px;}
  .ma-header-live-search__list{max-height:calc(100vh - 235px);}
  .ma-header-live-search__item{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:7px;}
  .ma-header-live-search__thumb{width:48px;height:48px;}
  .ma-header-live-search__copy b{font-size:11.5px;}
  .ma-header-live-search__price b{font-size:10.5px;}
}

/* Stage 107 — media library responsiveness */
@media(max-width:1180px){.ma-media-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-media-library-filters{grid-template-columns:1fr 220px auto}.ma-media-library-filters>a{grid-column:auto}.ma-media-library-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.ma-media-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-media-library-filters{grid-template-columns:1fr 1fr}.ma-media-library-filters .ma-btn{width:100%}.ma-media-edit-layout{grid-template-columns:1fr}.ma-media-edit-preview{order:2}}
@media(max-width:560px){.ma-media-library-grid{grid-template-columns:1fr 1fr;gap:8px}.ma-media-library-filters{grid-template-columns:1fr}.ma-media-card{border-radius:15px}.ma-media-card__body{padding:9px}.ma-media-card__actions{display:grid;grid-template-columns:1fr}.ma-media-card__actions .ma-btn,.ma-media-card__actions form,.ma-media-card__actions button{width:100%}.ma-media-url-row{grid-template-columns:1fr}.ma-media-url-row button{padding:7px}.ma-media-dropzone{min-height:220px;padding:18px}.ma-media-library-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Stage 108 authentication portal responsive density. */
@media(max-width:640px){
  .ma-auth108{padding:26px 14px;align-items:center;}
  .ma-auth108__wrap{width:min(100%,430px);gap:13px;}
  .ma-auth108__brand{width:150px;height:36px;}
  .ma-auth108__card{border-radius:24px;padding:24px 19px 21px;}
  .ma-auth108__head{margin-bottom:16px;}
  .ma-auth108__head h1{font-size:22px;}
  .ma-auth108__head p{font-size:12px;line-height:1.9;}
  .ma-auth108__field input{height:46px;font-size:13px;}
  .ma-auth108__primary,.ma-auth108__secondary,.ma-auth108__ghost{min-height:46px;}
  .ma-auth108__orb--one{right:-160px;top:-100px;}
  .ma-auth108__orb--two{left:-210px;bottom:-170px;}
  .ma-auth108__orb--three{right:-210px;bottom:-100px;}
}
@media(max-height:700px) and (min-width:641px){
  .ma-auth108{padding-block:24px;align-items:start;}
  .ma-auth108__brand{width:145px;height:34px;}
  .ma-auth108__card{padding-block:24px 21px;}
  .ma-auth108__head{margin-bottom:14px;}
  .ma-auth108__head h1{font-size:22px;}
}

/* Stage 111 — never hide manager-defined header menu items; keep bar compact with horizontal scroll. */
@media(max-width:1180px){
  .ma-wp-category-links a:nth-child(n+5){display:inline-flex!important}
  .ma-wp-category-links{overflow-x:auto!important;white-space:nowrap;max-width:100%;padding-bottom:1px}
}
