/* mfref — окно «номер обращения» для MAX */
.mfref-ov { position: fixed; inset: 0; z-index: 2147483600; background: rgba(15,18,24,.55); display: flex; align-items: center; justify-content: center; padding: 16px; font-family: inherit; }
.mfref-sh { position: relative; width: 100%; max-width: 400px; background: #fff; color: #1f2329; border-radius: 20px; padding: 22px 20px 18px; box-sizing: border-box; box-shadow: 0 20px 60px rgba(15,18,24,.3); }
.mfref-x { position: absolute; top: 6px; right: 6px; width: 38px; height: 38px; border: 0; background: none; font-size: 24px; color: #8a8f98; cursor: pointer; }
.mfref-t { font-size: 19px; font-weight: 700; margin: 0 32px 8px 0; }
.mfref-sh p { font-size: 14px; line-height: 1.45; color: #5b6370; margin: 0 0 14px; }
.mfref-code { display: flex; justify-content: space-between; align-items: baseline; background: #f7f5f2; border-radius: 14px; padding: 12px 16px; margin: 0 0 14px; }
.mfref-code span { font-size: 13px; color: #6b7078; }
.mfref-code b { font-size: 26px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.mfref-go { display: block; width: 100%; height: 52px; border: 0; border-radius: 14px; background: #0077ff; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.mfref-skip { display: block; width: 100%; margin-top: 8px; padding: 8px; border: 0; background: none; font: inherit; font-size: 14px; color: #6b7078; cursor: pointer; }
@media (max-width: 600px) { .mfref-ov { align-items: flex-end; padding: 0; } .mfref-sh { max-width: none; border-radius: 20px 20px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); } }
