html.mkac-volunteer-modal-open,html.mkac-volunteer-modal-open body{overflow:hidden!important}
dialog.mkac-volunteer-dialog{box-sizing:border-box;padding:0;margin:auto;width:min(960px,calc(100vw - 40px));height:min(920px,calc(100dvh - 40px));max-width:none;max-height:none;border:1px solid #d9e3dd;border-radius:18px;background:#f5f6f1;color:#202c2a;box-shadow:0 24px 90px #102c3255;overflow:hidden}
dialog.mkac-volunteer-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
dialog.mkac-volunteer-dialog::backdrop{background:rgb(16 32 34 / 60%)}
.mkac-volunteer-dialog .mkac-volunteer-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;background:#fff;border-bottom:1px solid #d9e3dd}
.mkac-volunteer-dialog h2{font:700 17px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;margin:0;color:#104e52}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close{display:inline-flex;align-items:center;gap:12px;flex-shrink:0;padding:9px 14px;min-height:44px;border:1px solid #bdccc3;border-radius:8px;background:#fff;color:#202c2a;font:600 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close span{font-size:25px;line-height:20px;font-weight:400}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close:hover{background:#edf4ef}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close:focus-visible{outline:3px solid #dcaa56;outline-offset:2px}
.mkac-volunteer-dialog-content{position:relative;min-height:0}
.mkac-volunteer-dialog iframe{display:block;border:0;margin:0;padding:0;width:100%;height:100%;background:#f5f6f1}
.mkac-volunteer-loading{position:absolute;inset:0;padding:32px;text-align:center;background:#f5f6f1;font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
@media(max-width:600px){dialog.mkac-volunteer-dialog{width:100%;height:100dvh;border:0;border-radius:0}.mkac-volunteer-dialog .mkac-volunteer-dialog-bar{padding:10px 14px}.mkac-volunteer-dialog h2{font-size:15px}}

/* Match the public site; keep the form frame visually continuous. */
dialog.mkac-volunteer-dialog{background:#fff;color:#0f172a;border-color:#dedfe2;border-radius:8px;box-shadow:0 24px 90px #0005}
dialog.mkac-volunteer-dialog::backdrop{background:rgb(0 0 0 / 60%)}
.mkac-volunteer-dialog .mkac-volunteer-dialog-bar{background:#fff;border-color:#dedfe2}
.mkac-volunteer-dialog h2{font-family:Inter,Arial,sans-serif;font-weight:800;color:#0f172a}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close{font-family:Inter,Arial,sans-serif;color:#0f172a;border-color:#b9bdc5;border-radius:3px;font-weight:700}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close:hover{background:#f2f2f2}
.mkac-volunteer-dialog iframe,.mkac-volunteer-loading{background:#fff}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close:focus-visible{outline-color:#0f172a}
@media(max-width:600px){dialog.mkac-volunteer-dialog{border:0;border-radius:0}}
/* One title row, aligned with the embedded form. */
.mkac-volunteer-dialog .mkac-volunteer-dialog-bar{padding:34px max(24px,calc((100% - 800px)/2)) 14px;align-items:center;border-bottom:0;gap:20px}
.mkac-volunteer-dialog h2{font-size:clamp(26px,4.6vw,40px);line-height:1.15;letter-spacing:-.025em;margin:0}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close{width:44px;height:44px;padding:0;justify-content:center;letter-spacing:0}
@media(max-width:600px){.mkac-volunteer-dialog .mkac-volunteer-dialog-bar{padding:24px 22px 10px;gap:12px}}

.mkac-volunteer-dialog #mkac-volunteer-dialog-title{margin:0}
/* Compact gutters and quiet, accessible dismiss control. */
.mkac-volunteer-dialog .mkac-volunteer-dialog-bar{padding-left:36px;padding-right:36px}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close{border:0;background:transparent;color:#737985;box-shadow:none;border-radius:4px}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close span{font-size:22px;font-weight:400}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close:hover{background:#f5f5f5;color:#0f172a}
.mkac-volunteer-dialog .mkac-volunteer-dialog-close:focus-visible{outline:1px solid #737985;outline-offset:1px}
@media(max-width:600px){.mkac-volunteer-dialog .mkac-volunteer-dialog-bar{padding-left:22px;padding-right:22px}}