/* The reviewed font scale remains unchanged. Compact the requested-size block next to the hero CTA. */
@media(min-width:861px){
 body #oj-home-header .nav-list>li>.sub-menu{box-sizing:border-box;max-height:var(--shelf-menu-available,calc(100dvh - 180px));overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:860px){
 body #oj-home-header .site-nav.is-open{max-height:var(--shelf-menu-available,calc(100dvh - 230px))}
}
#ojm-arched-release #site-main .pd-copy .preview-size-bridge{margin:24px 0;padding:18px;max-width:100%;width:100%;box-sizing:border-box;border-radius:6px}
#ojm-arched-release #site-main .pd-copy .preview-size-bridge h3{letter-spacing:normal;margin:0 0 10px}
#ojm-arched-release #site-main .preview-size-fields{gap:10px;margin:16px 0}
#ojm-arched-release #site-main .preview-size-bridge label{font-size:15px}
#ojm-arched-release #site-main .pd-copy .preview-size-bridge output{font-size:16px;padding:8px 0;overflow-wrap:anywhere}
#ojm-arched-release #site-main .pd-copy .preview-size-bridge details{margin-top:12px}

#ojm-arched-release #site-main .pd-copy .preview-size-bridge p{margin:0 0 10px}
@media(max-width:760px){#ojm-arched-release #site-main .pd-copy .preview-size-bridge{margin:20px 0}}

/* The compact mobile layout flattens .pd-copy. Keep the product image before the request fields. */
@layer ojmPreviewTypography {
@media(max-width:760px){
 #ojm-arched-release #site-main .pd-hero>.pd-figure{order:1!important}
 #ojm-arched-release #site-main .pd-copy>.pd-facts{order:2!important}
 #ojm-arched-release #site-main .pd-copy>.preview-size-bridge{order:3}
 #ojm-arched-release #site-main .pd-copy>.pd-actions{order:4!important}
}
}

#ojm-arched-release #site-main .pd-facts{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
#ojm-arched-release #site-main .pd-facts>div{display:block;border:0;padding:0}
#ojm-arched-release #site-main .pd-facts dt{display:none}
#ojm-arched-release #site-main .pd-facts dd{background:#183f39;color:#fff;border-radius:4px;padding:6px 10px;margin:0}

@media(max-height:760px){
 body #ojsite-dialog{padding:18px;max-height:calc(100dvh - 24px)}
 body #ojsite-dialog h2{margin:0 32px 8px 0;font-size:24px}
 body #ojsite-dialog [data-ojsite-close]{top:10px;right:12px;width:38px;height:38px;min-height:0;padding:0;line-height:1;font-size:28px}
 #ojsite-dialog .ojsite-form{gap:8px!important;margin:8px 0!important}
 #ojsite-dialog .ojsite-row{gap:10px}
 #ojsite-dialog .ojsite-form label{gap:5px!important}
 #ojsite-dialog .ojsite-form input:not(.ojsite-trap),#ojsite-dialog .ojsite-form textarea{padding:8px!important}
 #ojsite-dialog .ojsite-form textarea{min-height:74px!important;height:74px!important}
 #ojsite-dialog .preview-size-context{padding:4px 10px;margin:0}
}
