.nmmsg-conduct-modal{position:fixed;inset:0;background:rgba(3,15,27,.48);display:grid;place-items:center;box-sizing:border-box}.nmmsg-conduct-modal .nmmsg-modal-head{display:flex;justify-content:space-between;gap:14px}.nmmsg-conduct-modal .nmmsg-modal-head>button{min-width:44px;border:0;background:transparent;color:var(--text);font-size:24px}.nmmsg-conduct-modal .nmmsg-modal-head svg{width:22px;height:22px}
/* Messenger safety additions: existing layout, role tools and themes stay intact. */
.nmmsg-conduct-modal{z-index:2147482600!important;align-items:center;padding:16px}
.nmmsg-conduct-card{width:min(660px,100%);max-width:660px;max-height:calc(100dvh - 32px);overflow:auto;background:var(--panel,#fff);color:var(--text);border-radius:20px;padding:22px;box-sizing:border-box}
.nmmsg-conduct-card .nmmsg-modal-head{align-items:flex-start;margin-bottom:12px}
.nmmsg-conduct-card h3{font-size:21px;line-height:1.25;margin:4px 0}
.nmmsg-conduct-card>p{font-size:14px;line-height:1.5;margin:10px 0;color:var(--text)}
.nmmsg-conduct-card .nmmsg-conduct-account{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.nmmsg-conduct-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:min(48dvh,420px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;background:var(--soft,#f1f5f8);padding:16px;font-size:14px;line-height:1.65}
/* BEGIN CONDUCT OFFICE CONTACT */
.nmmsg-conduct-contact{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 14px;margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--soft,#f1f5f8);color:var(--text)}
.nmmsg-conduct-contact b{display:block;font-size:14px;line-height:1.45}
.nmmsg-conduct-contact p{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.nmmsg-conduct-contact a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel,#fff);color:var(--text);font-size:14px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;white-space:nowrap}
.nmmsg-conduct-contact a:focus-visible{outline:3px solid #1688f0;outline-offset:3px}
.nmmsg-conduct-contact small{grid-column:1/-1;font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:600px){.nmmsg-conduct-contact{grid-template-columns:1fr;gap:10px;padding:12px}.nmmsg-conduct-contact a{width:100%;white-space:normal}}
/* END CONDUCT OFFICE CONTACT */
.nmmsg-conduct-check{display:flex;align-items:flex-start;gap:12px;padding:16px 0;font-size:14px;line-height:1.5;cursor:pointer}
.nmmsg-conduct-check input{width:20px;height:20px;min-width:20px;margin:0;accent-color:#1688f0}
.nmmsg-conduct-check[hidden],.nmmsg-conduct-card button[hidden]{display:none!important}
.nmmsg-conduct-card .actionRow{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.nmmsg-conduct-card button{min-height:44px}
.nmmsg-conduct-card button:disabled{opacity:.5;cursor:not-allowed}
.nmmsg-conduct-text:focus-visible,.nmmsg-conduct-check input:focus-visible{outline:3px solid #1688f0;outline-offset:3px}
@media(max-width:600px){.nmmsg-conduct-modal{padding:10px}.nmmsg-conduct-card{padding:17px;max-height:calc(100dvh - 20px);border-radius:16px}.nmmsg-conduct-text{padding:13px;max-height:44dvh}.nmmsg-conduct-card .actionRow>button{flex:1}}

.nm-content-rules-recovery{position:fixed;z-index:2147482400;left:16px;right:16px;bottom:16px;max-width:760px;margin:auto;padding:16px;border:1px solid var(--line,#a9bdcc);border-radius:16px;background:var(--panel,#fff);color:var(--text,#173044);box-shadow:0 12px 40px #001b3330;font-size:14px;line-height:1.5}.nm-content-rules-recovery p{margin:0 0 12px}.nm-content-rules-recovery .actionRow{display:flex;gap:10px;flex-wrap:wrap}.nm-content-rules-recovery a,.nm-content-rules-recovery button{min-height:44px}.nm-content-rules-review-link{display:flex;gap:8px;align-items:center;text-align:left;color:inherit;background:transparent;border:0;min-height:44px;width:100%;cursor:pointer;font:inherit;padding:10px 12px}.nm-content-rules-review-link:focus-visible{outline:3px solid #1688f0;outline-offset:2px}
