/* Keep the alert control inside its column; no native white tooltip. */
:root[data-nm-theme] body.nm-theme .nmmsg-left-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important}
:root[data-nm-theme] body.nm-theme .nmmsg-left-actions>button{min-width:0!important;width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.25!important;min-height:44px!important;padding:10px!important}
:root[data-nm-theme] body.nm-theme #nm50BrowserAlerts{grid-column:1/-1!important;font-size:14px!important}
.nm51-consent{position:fixed;inset:0;z-index:2147483100;display:grid;place-items:center;padding:16px;background:rgba(3,12,21,.8);backdrop-filter:blur(7px);--n51-bg:#fff;--n51-fg:#152c41;--n51-border:#bbcfdf;--n51-soft:#e9f1f8}
:root[data-nm-theme="dark"] .nm51-consent{--n51-bg:#102234;--n51-fg:#eff6ff;--n51-border:#4a6b86;--n51-soft:#243f57}
:root[data-nm-theme] body.nm-theme .nm51-consent section{box-sizing:border-box;width:min(510px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--n51-border)!important;border-radius:20px;background:var(--n51-bg)!important;color:var(--n51-fg)!important;box-shadow:0 24px 90px #0008}
:root[data-nm-theme] body.nm-theme .nm51-consent :is(h2,p,label,span){color:var(--n51-fg)!important;line-height:1.5!important}
.nm51-consent h2{font-size:24px!important;margin:0 0 12px}.nm51-consent p{font-size:16px!important;margin:0 0 20px}.nm51-consent label{display:flex!important;gap:12px;align-items:flex-start;cursor:pointer;font-size:15px!important}.nm51-consent input{flex:0 0 22px;width:22px!important;height:22px!important;min-height:22px!important;margin:3px 0 0!important;accent-color:#1672b7}
.nm51-consent footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}
:root[data-nm-theme] body.nm-theme .nm51-consent button{font-size:15px!important;min-height:46px;padding:10px 16px!important;border-radius:12px!important;border:1px solid var(--n51-border)!important;background:var(--n51-soft)!important;color:var(--n51-fg)!important;cursor:pointer;transition:none!important}
:root[data-nm-theme] body.nm-theme .nm51-consent [data-accept]{background:#1266a5!important;border-color:#1266a5!important;color:#fff!important}.nm51-consent button:disabled{opacity:.45;cursor:default}.nm51-consent :focus-visible{outline:3px solid #459eef!important;outline-offset:3px}
:root[data-nm-theme] body.nm-theme #nmceAudio.nm51-recorded-video{display:block;width:100%!important;max-height:65dvh;background:#061321!important;border-radius:12px;object-fit:contain}
