.mfd-lock { overflow: hidden; }
.mfd-modal[hidden] { display: none; }
.mfd-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.mfd-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.mfd-box { position: relative; background: #fff; color: #222; width: min(460px, 92vw); max-height: 90vh; overflow: auto; border-radius: 14px; padding: 28px 24px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); text-align: right; }
.mfd-box h2 { margin: 0 0 16px; font-size: 22px; }
.mfd-x { position: absolute; top: 10px; left: 12px; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #666; }
.mfd-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mfd-method input { position: absolute; opacity: 0; }
.mfd-method span { display: block; text-align: center; padding: 12px 8px; border: 2px solid #e2e2e2; border-radius: 10px; cursor: pointer; font-weight: 600; transition: .15s; }
.mfd-method input:checked + span { border-color: #b5302a; background: #fbeeed; color: #b5302a; }
.mfd-method input:focus-visible + span { outline: 2px solid #b5302a; outline-offset: 2px; }
.mfd-field { margin-bottom: 14px; }
.mfd-field[hidden] { display: none; }
.mfd-field label, .mfd-label { display: block; font-weight: 600; margin-bottom: 6px; }
.mfd-field select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px; background: #fff; }
.mfd-inline { display: inline-flex !important; align-items: center; gap: 6px; margin-left: 18px; font-weight: 400 !important; }
.mfd-zone-info, .mfd-note { font-size: 14px; color: #666; margin: 6px 0 0; }
.mfd-error { color: #b5302a; font-weight: 600; min-height: 1em; margin: 8px 0; }
.mfd-save { width: 100%; padding: 14px; border: 0; border-radius: 10px; background: #b5302a; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.mfd-save:disabled { opacity: .6; cursor: wait; }
.mfd-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid currentColor; border-radius: 999px; background: transparent; cursor: pointer; font: inherit; }
.mfd-bar { background: #fbeeed; border: 1px solid #f0cfcc; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }
.mfd-link { background: none; border: 0; color: #b5302a; text-decoration: underline; cursor: pointer; font: inherit; padding: 0 6px; }
.mfd-bar-missing { margin-top: 6px; font-weight: 600; }
.mfd-progress { height: 6px; background: #f0cfcc; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.mfd-progress i { display: block; height: 100%; background: #b5302a; }
