/* Mobile dialog geometry only. No copy, color, type or control changes. */
@media(max-width:767px){
 html:has(dialog[open]),body:has(dialog[open]){overflow:hidden!important;overscroll-behavior:contain}
 html body dialog[open]{position:fixed!important;inset:calc(var(--popup-visual-top,0px) + 12px) 16px auto!important;margin:0 auto!important;width:calc(100vw - 32px)!important;min-width:0!important;max-width:calc(100vw - 32px)!important;max-height:calc(var(--popup-visual-height,100dvh) - 24px)!important;box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scroll-padding:64px 12px 24px}
 html body dialog.transport-flow-dialog .transport-flow-shell{width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;box-sizing:border-box!important;padding:12px 16px calc(20px + env(safe-area-inset-bottom))!important;gap:8px!important}
 html body dialog.transport-flow-dialog .transport-flow-close{margin-right:0!important;margin-left:auto!important;right:0!important;top:0!important;position:sticky!important;z-index:5}
 html body dialog.transport-flow-dialog :is(.transport-flow-brand,.transport-flow-progress,.transport-flow-heading,.transport-flow-content){min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
 html body dialog.transport-flow-dialog .transport-flow-content{gap:10px!important}
 html body dialog.transport-flow-dialog .transport-waiting-fee-notice{padding:12px!important;margin:8px 0 12px!important}
 html body dialog.transport-flow-dialog .transport-search-card{padding:12px!important}
 html body dialog[open]>:is(form,section,article,div){min-width:0;max-width:100%;box-sizing:border-box}
 html body dialog[open] :is(input,select,textarea,button,a){scroll-margin-block:64px 28px}
 html body dialog[open] :is(.dialog-close,[aria-label*="닫기"],.close-button,.family-close){position:sticky;top:0;z-index:5}
 html body .ux-chat-menu[open]>.ux-chat-tools{position:fixed!important;top:var(--popup-menu-top,72px)!important;left:16px!important;right:16px!important;width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;max-height:calc(var(--popup-visual-height,100dvh) - var(--popup-menu-offset,72px) - 12px)!important;overflow-y:auto!important;overscroll-behavior:contain}
}
@media(max-width:767px){html body .ux-chat-menu[open]>.ux-chat-tools{flex-wrap:nowrap!important}html body .ux-chat-menu[open]>.ux-chat-tools>*{max-width:100%;box-sizing:border-box}}

@media(max-width:767px){html body .ux-situation-dialog>form[method="dialog"],html body .intake-consent-popup>.intake-consent-actions{position:sticky;bottom:0;z-index:5}html body #performingPartnerDialog>.seller-dialog-close{position:sticky;bottom:0;z-index:5}html body :is(.ux-situation-dialog,.intake-consent-popup,#performingPartnerDialog){scroll-padding-bottom:140px}}
@media(max-width:767px){html body[data-readable-expanded="true"] dialog.transport-flow-dialog .transport-flow-shell{padding-inline:6px!important}html body[data-readable-expanded="true"] dialog.transport-flow-dialog .transport-waiting-fee-notice{padding-inline:4px!important}html body[data-readable-expanded="true"] #performingPartnerDialog{padding-inline:6px!important}}
@media(max-width:767px){html body #copyDialog button{position:sticky;bottom:0;z-index:5}html body #copyDialog textarea[readonly]{max-height:calc(var(--popup-visual-height,100dvh) - 170px);overflow-y:auto}}

@media(max-width:767px){html body #publicPriceDetailDialog>button:first-child,html body #unlockDialog>.dialog-head{position:sticky;top:0;z-index:5}html body .sangjo-estimate-detail-dialog>button:last-child{position:sticky;bottom:0;z-index:5}}
@media(max-width:767px){html body[data-readable-expanded="true"] :is(#publicPriceDetailDialog,.sangjo-estimate-detail-dialog){padding-inline:4px!important}html body[data-readable-expanded="true"] :is(#publicPriceDetailDialog,.sangjo-estimate-detail-dialog) .sangjo-fixed-disclosures ul{padding-inline-start:18px}}
