.wg-auth-emergency { position:fixed; z-index:1000; top:calc(env(safe-area-inset-top,0px) + 12px); right:max(16px,env(safe-area-inset-right,0px)); min-height:44px; padding:10px 14px; border:1px solid #dec3c8; border-radius:12px; background:#fff6f6; color:#8d293a; font:650 14px/1.3 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; cursor:pointer; }
body[data-project="weiguang"] .masthead { flex-wrap:wrap; padding-right:124px; min-height:68px; }
#weiguang-emergency-dialog { position:fixed; inset:auto 0 0; width:min(100%,672px); max-height:calc(100dvh - 12px - env(safe-area-inset-top,0px)); margin:0 auto; overflow:auto; padding:24px 20px calc(24px + env(safe-area-inset-bottom,0px)); border:0; border-radius:24px 24px 0 0; background:#fff; color:#302b37; font:400 16px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; }
#weiguang-emergency-dialog::backdrop { background:rgb(42 31 53 / 40%); }
#weiguang-emergency-dialog h2 { margin:18px 0 8px; font-size:24px; }
#weiguang-emergency-dialog p { margin:10px 0 18px; font-size:14px; color:#655b6e; }
.wg-auth-emergency-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; }.wg-auth-emergency-actions button,.wg-auth-emergency-actions a { display:inline-flex; align-items:center; min-height:44px; padding:8px 12px; color:#503960; background:#f7f7fa; border:1px solid #d5ccde; border-radius:12px; text-decoration:none; font:inherit; cursor:pointer; }
.wg-auth-emergency-call { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:78px; padding:14px 18px; border-radius:14px; background:#a83245; color:#fff; text-decoration:none; }.wg-auth-emergency-call strong { font-size:23px; }.wg-auth-emergency-call small { color:#fff; font-size:13px; }
.wg-auth-emergency-medical { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; align-items:center; min-height:52px; padding:12px 0; border-block:1px solid #e7e3ec; color:#503960; text-decoration:none; font-size:14px; }
#weiguang-emergency-dialog details { margin-top:16px; font-size:14px; }#weiguang-emergency-dialog summary { min-height:44px; padding:10px 0; cursor:pointer; }#weiguang-emergency-dialog a:focus-visible,#weiguang-emergency-dialog button:focus-visible,.wg-auth-emergency:focus-visible { outline:3px solid #715287; outline-offset:3px; }
