#accountSafetyDialog{padding:0;width:min(580px,calc(100vw - 40px));border:1px solid #d4deed;border-radius:22px;background:#fff;color:#172033;box-shadow:0 24px 90px #0f1f3f38;max-height:calc(100dvh - 40px);overflow:hidden}
#accountSafetyDialog::backdrop{background:#17203365;backdrop-filter:blur(2px)}
.safety-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 42px)}
.safety-head{padding:22px 24px 16px;display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #dde5f0;flex:none}.safety-head>div{flex:1;min-width:0}.safety-head h2{font-size:22px;line-height:1.3;letter-spacing:-.4px;font-weight:650;margin:0}.safety-head h2:focus{outline:none}.safety-eyebrow{font-size:10px;color:#3d4a5c;letter-spacing:.09em;text-transform:uppercase;margin:0 0 6px}
.safety-body{overflow-y:auto;padding:22px 24px;min-height:0;display:grid;gap:18px;overscroll-behavior:contain;font-size:14px;line-height:1.55}.safety-body p,.safety-body h3{margin:0}.safety-body h3{font-size:14px;line-height:1.45}.safety-body fieldset{border:0;padding:0;margin:0;min-width:0}.safety-body legend{font-size:13px;font-weight:650;margin-bottom:9px;padding:0}.safety-body summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#2059b7;font-size:13px}.safety-body details p{font-size:13px}
.safety-actions{padding:16px 24px;border-top:1px solid #dde5f0;background:#fafbfd;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex:none}
.safety-button{border:1px solid #ccd8e8;background:#fff;color:#29415f;border-radius:11px;min-height:44px;padding:10px 14px;font-size:13px;font-weight:550;cursor:pointer;white-space:pre-line;text-align:center}.safety-button.primary{background:#2563eb;color:#fff;border-color:#2563eb}.safety-button.danger{background:#c23f38;color:#fff;border-color:#c23f38}.safety-button.row{width:100%;text-align:left;background:#f6f8fc;padding:13px 15px;line-height:1.6;overflow-wrap:anywhere}.safety-button:disabled{opacity:.55;cursor:default}.safety-list,.safety-choices{display:grid;gap:8px}.safety-button:focus-visible,.safety-body input:focus-visible,.safety-body select:focus-visible,.safety-body textarea:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.safety-info{border:1px solid #d6e2f5;background:#f2f6ff;padding:13px 15px;border-radius:12px;font-size:13px;line-height:1.5;white-space:pre-line}.safety-info strong{display:block;margin-bottom:4px}.safety-detail{padding-bottom:15px;border-bottom:1px solid #dde5f0}.safety-detail h3{margin-bottom:6px}.safety-detail p,.safety-hint,.safety-progress{font-size:12px!important;color:#3d4a5c}.safety-choice{display:flex;gap:11px;padding:13px;border:1px solid #dde5f0;border-radius:12px;align-items:flex-start;background:#f8fafd;cursor:pointer;min-height:48px;font-size:13px}.safety-choice:has(input:checked){border-color:#8eafe4;background:#edf4ff}.safety-choice input,.safety-check input{width:18px;height:18px;min-height:18px;accent-color:#2563eb;margin:2px 0;flex:none}.safety-choice strong{display:block;font-size:13px}.safety-choice small{display:block;color:#3d4a5c;margin-top:4px}.safety-field{display:grid;gap:7px;font-size:13px;font-weight:550}.safety-field input,.safety-field textarea,.safety-field select{width:100%;border:1px solid #bfcde0;border-radius:10px;padding:11px 12px;background:#fff;color:#172033;font:inherit;min-height:44px}.safety-field textarea{min-height:88px;resize:vertical}.safety-field small{font-weight:400;color:#3d4a5c}.safety-quote{padding:13px 15px;border:1px solid #d8e1ef;border-left:3px solid #7b99c3;border-radius:0 11px 11px 0;background:#f5f8fc;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.safety-quote small{display:block;color:#4b6076;margin-bottom:6px}.safety-details{margin:0;display:grid;gap:14px;font-size:13px}.safety-details div{display:grid;gap:4px}.safety-details dt{font-size:11px;color:#536078}.safety-details dd{margin:0;overflow-wrap:anywhere;white-space:pre-line}.safety-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}.safety-error{background:#fff1f0;border:1px solid #edc7c3;color:#9b302b;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.5}
.chat-blocked-message{display:flex;align-items:center;gap:10px;padding:12px;background:#e6ebf3;border:1px solid #d7dfeb;border-radius:12px;margin:0 0 20px;font-size:12px;color:#3d4a5c}.chat-blocked-message div{flex:1}.chat-blocked-message p{margin:4px 0 0}.chat-blocked-bar{background:#f6f8fc;border-top:1px solid #dde5f0;padding:14px 18px;text-align:center;font-size:13px}.chat-blocked-bar p{font-size:12px;color:#3d4a5c;margin:5px 0}.chat-blocked-bar .safety-button{margin-top:6px}
@media(max-width:720px){#accountSafetyDialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:19px}.safety-shell{max-height:calc(100dvh - 26px)}.safety-head{padding:19px 18px 13px}.safety-head h2{font-size:21px}.safety-body{padding:18px;gap:16px}.safety-actions{padding:13px 18px;gap:8px}.safety-actions .safety-button{flex:1;padding:10px 11px;font-size:12px}.safety-field input,.safety-field select,.safety-field textarea{font-size:16px}.chat-blocked-message{flex-wrap:wrap}.chat-blocked-message .safety-button{margin-left:auto}}
