/* Contact dialog: independent from storefront and commerce styles. */
body.midaccs-modern .m-support-trigger{gap:8px;transition:background 200ms,border-color 200ms,box-shadow 200ms}
body.midaccs-modern .m-support-trigger:hover,body.midaccs-modern .m-support-trigger:focus-visible{border-color:#b0a7ff80;background:#a295ff12;box-shadow:0 0 0 1px #9185ee12,0 0 20px #8771e92b}
body.midaccs-modern .m-support-trigger svg{width:18px;height:18px;flex-shrink:0}
body.midaccs-modern.m-support-open{overflow:hidden}
body.midaccs-modern .m-support-dialog{box-sizing:border-box;width:min(420px,calc(100% - 32px));max-width:420px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:27px;border:1px solid #e5e9f3;border-radius:18px;background:#fff;color:#25304a;box-shadow:0 28px 80px #111a3b30;overflow:auto;overscroll-behavior:contain;font:14px/1.65 var(--m-font,-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif);text-align:left}
body.midaccs-modern .m-support-dialog:not([open]){display:none}
body.midaccs-modern .m-support-dialog[open]{animation:m-support-enter 200ms cubic-bezier(.2,.7,.2,1) both}
body.midaccs-modern .m-support-dialog::backdrop{background:#0d173f80;backdrop-filter:blur(5px);animation:m-support-backdrop-enter 200ms ease both}
body.midaccs-modern .m-support-dialog.m-support-closing{animation:m-support-leave 200ms ease both;pointer-events:none}
body.midaccs-modern .m-support-dialog.m-support-closing::backdrop{animation:m-support-backdrop-leave 200ms ease both}
body.midaccs-modern .m-support-dialog *{box-sizing:border-box;font-family:inherit}
body.midaccs-modern .m-support-dialog svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body.midaccs-modern .m-support-dialog :is(button,a,input):focus-visible{outline:3px solid #a7b3ff;outline-offset:3px}
body.midaccs-modern .m-support-head{display:flex;justify-content:space-between;align-items:center;margin:-5px -5px 16px 0;gap:16px}
body.midaccs-modern .m-support-symbol{display:grid;place-items:center;width:46px;height:46px;border:1px solid #e3e8ff;border-radius:13px;background:#eff2ff;color:#5b6dcc}
body.midaccs-modern .m-support-symbol svg{width:25px;height:25px}
body.midaccs-modern .m-support-close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:#f4f6fa;color:#79859c;cursor:pointer;transition:background 200ms,color 200ms}
body.midaccs-modern .m-support-close:hover{background:#eaf0ff;color:#5369ca}
body.midaccs-modern .m-support-close svg{width:19px;height:19px}
body.midaccs-modern .m-support-eyebrow{font-size:11px;line-height:1.5;letter-spacing:1.5px;font-weight:550;color:#8995ac;margin:0 0 6px;overflow-wrap:anywhere}
body.midaccs-modern .m-support-dialog h2{font-size:23px;line-height:1.5;letter-spacing:-.5px;font-weight:650;color:#26324c;margin:0 0 9px;overflow-wrap:anywhere}
body.midaccs-modern .m-support-description{font-size:14px;color:#7b879f;line-height:1.8;margin:0 0 12px;overflow-wrap:anywhere}
body.midaccs-modern .m-support-hours{display:flex;align-items:flex-start;gap:8px;margin:0 0 18px;padding:10px 12px;border:1px solid #e1e8fa;border-radius:9px;background:#f1f4ff;color:#6073a4;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
body.midaccs-modern .m-support-hours>svg{width:18px;height:18px;margin-top:3px;color:#7185ba}
body.midaccs-modern .m-support-hours>span{display:flex;flex-wrap:wrap;gap:2px 9px;min-width:0}
body.midaccs-modern .m-support-hours strong{font-size:14px;font-weight:600;color:#506797;white-space:nowrap}
body.midaccs-modern .m-support-wechat{background:#f6f8fc;border:1px solid #e8ecf5;border-radius:11px;padding:16px;margin-bottom:13px;min-width:0}
body.midaccs-modern .m-support-qr{display:flex;flex-direction:column;align-items:center;gap:9px;margin:0 0 17px;min-width:0}
body.midaccs-modern .m-support-qr-frame{width:244px;max-width:100%;padding:12px;border-radius:10px;background:#fff}
body.midaccs-modern .m-support-qr-frame img{display:block;width:220px;max-width:100%;height:auto;margin:0 auto;border:0;border-radius:0;object-fit:contain;filter:none;box-shadow:none;opacity:1}
body.midaccs-modern .m-support-qr figcaption{font-size:14px;font-weight:500;line-height:1.5;color:#71829d;text-align:center}
body.midaccs-modern .m-support-wechat label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:500;line-height:1.5;color:#71829d;margin:0 0 9px}
body.midaccs-modern .m-support-wechat label svg{width:19px;height:19px;color:#798eaa}
body.midaccs-modern .m-support-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0}
body.midaccs-modern #m-support-wechat-id{width:100%;min-width:0;min-height:44px;padding:5px 0;border:0;border-radius:3px;background:transparent;color:#354363;font-size:19px;font-weight:600;letter-spacing:.1px;line-height:1.5;cursor:text;user-select:text;-webkit-user-select:text;box-shadow:none}
body.midaccs-modern .m-support-copy{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:7px 12px;border:1px solid #dde4f4;border-radius:8px;background:#fff;color:#6478b7;font-size:14px;line-height:1.5;cursor:pointer;white-space:nowrap;transition:background 200ms,border-color 200ms}
body.midaccs-modern .m-support-copy:hover{background:#eef2ff;border-color:#becbf3}
body.midaccs-modern .m-support-copy:disabled{cursor:wait;opacity:.65}
body.midaccs-modern .m-support-copy svg{width:16px;height:16px}
body.midaccs-modern .m-support-status{min-height:23px;margin:9px 0 0;font-size:12px;line-height:1.8;color:#929db0;overflow-wrap:anywhere}
body.midaccs-modern .m-support-status[data-state='success']{color:#4c7f72}
body.midaccs-modern .m-support-status[data-state='error']{color:#9d744b}
body.midaccs-modern .m-support-telegram{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 15px;border:1px solid #dfe5fa;border-radius:10px;background:#f0f3ff;color:#526bc3!important;text-decoration:none!important;font-size:14px;line-height:1.6;font-weight:500;transition:background 200ms,border-color 200ms}
body.midaccs-modern .m-support-telegram:hover{background:#e5ebff;border-color:#c0cef8}
body.midaccs-modern .m-support-telegram>span:first-child{display:flex;align-items:center;gap:9px}
body.midaccs-modern .m-support-telegram svg{width:19px;height:19px}
body.midaccs-modern .m-support-telegram>span:last-child{font-size:20px;font-weight:400;line-height:1}
body.midaccs-modern .m-support-footnote{margin:16px 0 0;font-size:12px;line-height:1.8;color:#9aa4b5;text-align:center;overflow-wrap:anywhere}
@keyframes m-support-enter{from{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes m-support-leave{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(6px) scale(.99)}}
@keyframes m-support-backdrop-enter{from{opacity:0}to{opacity:1}}
@keyframes m-support-backdrop-leave{from{opacity:1}to{opacity:0}}
@media(max-width:760px){body.midaccs-modern .m-support-dialog{padding:23px;border-radius:16px}body.midaccs-modern .m-support-dialog h2{font-size:22px}body.midaccs-modern .m-support-description{font-size:14px}body.midaccs-modern .m-support-wechat{padding:14px}body.midaccs-modern .m-support-copy{padding-left:10px;padding-right:10px}body.midaccs-modern #m-support-wechat-id{font-size:18px}}
@media(prefers-reduced-motion:reduce){body.midaccs-modern .m-support-dialog,body.midaccs-modern .m-support-dialog *,body.midaccs-modern .m-support-dialog::backdrop,body.midaccs-modern .m-support-trigger{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
