﻿/* Shared dialog presentation. Full-screen maps and media retain their own layout. */
html body .mv-polished-modal{box-sizing:border-box!important;border:1px solid #e3e9e6!important;border-radius:20px!important;background:#fff!important;color:#20332b;box-shadow:0 20px 70px #142c3440!important;}
html body dialog.mv-polished-modal{padding:24px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;overscroll-behavior:contain;}
dialog.mv-polished-modal::backdrop{background:#162b38a6;backdrop-filter:blur(3px)}
html body .mv-polished-modal .mv-modal-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 20px!important;padding:0 0 14px!important;border-bottom:1px solid #e8eeeb!important;}
html body .mv-modal-heading :is(h1,h2,h3){font-size:20px!important;line-height:1.35!important;font-weight:700!important;margin:0!important;min-width:0;overflow-wrap:anywhere;}
html body .mv-polished-modal p{line-height:1.65;}
html body .mv-polished-modal :is(input,select,textarea){max-width:100%;box-sizing:border-box;}
html body .mv-polished-modal .mv-modal-close{flex:0 0 auto!important;min-width:44px!important;min-height:44px!important;border:1px solid #dce5df!important;border-radius:12px!important;background:#f5f8f6!important;color:#344e42!important;box-shadow:none!important;cursor:pointer;}
.mv-modal-close:focus-visible{outline:3px solid #1c8061!important;outline-offset:2px;}
html body .mv-person-dialog .mv-person-card-title{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #edf0ee;gap:14px;}
html body .mv-person-dialog .mv-person-card-title>div{min-width:0;}
html body .mv-person-dialog .mv-person-fields{grid-template-columns:minmax(0,1fr);gap:0;margin:0;}
html body .mv-person-dialog .mv-person-fields>div{padding:13px 0;background:transparent;border-radius:0;border-bottom:1px solid #edf0ee;min-width:0;}
html body .mv-person-dialog .mv-person-fields dt{font-size:12px;font-weight:600;color:#687c71;}
html body .mv-person-dialog .mv-person-fields dd{font-size:14px;line-height:1.6;color:#263e32;margin-top:5px;}
html body .mv-person-dialog .mv-person-store-link{display:block;padding:12px 16px;margin:20px 0 0;border-radius:12px;background:#edf6f1;color:#166246;text-align:center;text-decoration:none;font-weight:650;}
@media(max-width:575px){
 html body dialog.mv-polished-modal{padding:18px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;border-radius:18px!important;}
 html body .mv-polished-modal .mv-modal-heading{gap:12px!important;margin-bottom:16px!important;}
 html body .mv-modal-heading :is(h1,h2,h3){font-size:18px!important;}
 html body .mv-polished-modal .mv-modal-close{font-size:0!important;width:44px!important;height:44px!important;padding:0!important;display:grid!important;place-items:center!important;}
 html body .mv-polished-modal .mv-modal-close>*{display:none!important;}
 html body .mv-polished-modal .mv-modal-close:after{content:'\00d7';font:400 26px/1 system-ui;}
 html body .modal-content.mv-polished-modal :is(.modal-header,.modal-body,.modal-footer){padding:16px!important;}
}
