/* Version 19: shared, scoped layout tokens for all Machines Market sections */
:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page,.mm-v19-panel,.mm-campaign-wrap,.mmm-portal-wrap){box-sizing:border-box;max-width:100%;min-width:0;overflow-wrap:break-word}
:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page,.mm-v19-panel,.mm-campaign-wrap,.mmm-portal-wrap) :where(*,*::before,*::after){box-sizing:border-box}
:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page,.mm-v19-panel,.mm-campaign-wrap) :where(h1,h2,h3,h4,h5,h6){line-height:1.22;overflow-wrap:break-word;white-space:normal;max-width:100%;height:auto}
:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page,.mm-v19-panel,.mm-campaign-wrap) :where(p,li,a,button,label){overflow-wrap:break-word;line-height:1.5}
:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page,.mm-campaign-wrap) :where(img,video,iframe){max-width:100%;height:auto}
:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page,.mm-campaign-wrap) :where(.mmm-grid,.mm-grid,.mm-shop-grid,.mmm-card,.mm-card,.mmm-detail-section){min-width:0}
.mm-v19-panel{max-width:min(var(--mm-v19-width),100%);margin-inline:auto;padding:var(--mm-v19-gap);border:1px solid #e2e6e8;border-radius:var(--mm-v19-radius);background:#fff}
.mm-v19-purchase form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mm-v19-purchase label{display:grid;gap:6px;min-width:0}
.mm-v19-purchase input:not([type=checkbox]),.mm-v19-purchase select,.mm-v19-purchase textarea{width:100%;max-width:100%;padding:11px;border:1px solid #bcc6ca;border-radius:6px;font:inherit}
.mm-v19-purchase label:has(textarea),.mm-v19-purchase label:has([type=checkbox]){grid-column:1/-1}
.mm-v19-purchase button{background:var(--mm-v19-used);border:0;border-radius:var(--mm-v19-radius);color:white;padding:12px 20px;cursor:pointer}
.mm-v19-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
body.mm-v19-area-new{--mm-v19-active:var(--mm-v19-new)}body.mm-v19-area-brand{--mm-v19-active:var(--mm-v19-brand)}body.mm-v19-area-used{--mm-v19-active:var(--mm-v19-used)}body.mm-v19-area-shop{--mm-v19-active:var(--mm-v19-shop)}body.mm-v19-area-auction{--mm-v19-active:var(--mm-v19-auction)}
body[class*="mm-v19-area-"] :where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(.mm-v19-accent,.mm-section-eyebrow){color:var(--mm-v19-active)}
body[class*="mm-v19-area-"] :where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(.mm-v19-cta){background:var(--mm-v19-active);color:#fff;border-color:var(--mm-v19-active)}
@media(max-width:767px){:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page,.mm-v19-panel){max-width:100%;min-width:0} .mm-v19-panel{padding:var(--mm-v19-mobile-pad)}.mm-v19-purchase form{grid-template-columns:minmax(0,1fr)}:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(h1){font-size:clamp(26px,7vw,38px)!important;line-height:1.18!important}:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(h2){font-size:clamp(23px,5.8vw,32px)!important;line-height:1.2!important}:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(.mmm-grid,.mm-grid,.mm-shop-grid){min-width:0;max-width:100%}:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(input,select,textarea,button){max-width:100%;min-width:0}}

/* 19.1: consistent section spacing and robust mobile text/controls */
:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page,.mm-campaign-wrap) :where(section,.mm-section,.mmm-section){min-width:0;scroll-margin-top:2rem}
:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(.mm-card,.mmm-card,.mm-shop-card,.mmm-detail-section){border-radius:var(--mm-v19-radius)}
:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(.mm-card,.mmm-card,.mm-shop-card) :where(h2,h3,p){min-width:0;overflow-wrap:anywhere}
:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(.mm-v19-section){margin-block:var(--mm-v19-gap)}
@media(max-width:767px){:where(.mmm-market,.mmm-detail,.mmm-directory-content,.mmm-engagement-page,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(.mm-card,.mmm-card,.mm-shop-card,.mm-shop-grid,.mmm-grid,.mm-grid){max-width:100%;min-width:0}:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(h1,h2,h3){text-wrap:pretty;overflow-wrap:anywhere}:where(.mmm-market,.mmm-detail,.mm-shop-wrap,.mm-accessories,.mmm-auction-page) :where(table){display:block;max-width:100%;overflow-x:auto}}
