
.nd49-fundo { position: fixed; inset: 0; z-index: 100060; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .28); opacity: 0; transition: opacity 140ms ease; }
.nd49-fundo.on { opacity: 1; }
.nd49-cx { width: min(440px, 100%); box-sizing: border-box; padding: 20px; border-radius: 18px; background: #fff; color: #1d1d1f; box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  font-family: var(--nd-fonte); transform: translateY(6px); transition: transform 140ms cubic-bezier(.22, 1, .36, 1); }
.nd49-fundo.on .nd49-cx { transform: none; }
.nd49-cx header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.nd49-cx h2 { margin: 0; font-size: 19px; font-weight: 600; }
.nd49-x { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f5f5f7; color: #6e6e73; cursor: pointer; }
.nd49-x:hover { background: #e8e8ed; color: #1d1d1f; }
.nd49-sub { margin: 0 0 14px; font-size: 14px; color: #6e6e73; }
.nd49-sub b { color: #1d1d1f; font-weight: 600; }
.nd49-campo { display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 14px; border-radius: 12px; background: #f5f5f7; border: 1px solid transparent; }
.nd49-campo:focus-within { border-color: #007aff; background: #fff; }
.nd49-campo span { color: #6e6e73; font-size: 16px; }
.nd49-campo input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: #1d1d1f; }
.nd49-msg { min-height: 18px; margin: 8px 2px 0; font-size: 13px; color: #6e6e73; }
.nd49-msg.bom { color: #248a3d; } .nd49-msg.ruim { color: #004dc9; }
.nd49-nota { margin: 12px 2px 0; font-size: 12px; line-height: 1.4; color: #86868b; }
.nd49-bts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.nd49-bt { min-height: 38px; padding: 0 16px; border: 0; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.nd49-bt.sec { background: #f5f5f7; color: #1d1d1f; } .nd49-bt.sec:hover { background: #e8e8ed; }
.nd49-bt.pri { background: #007aff; color: #fff; } .nd49-bt.pri:hover { background: #0071e3; }
.nd49-bt:disabled { opacity: .45; cursor: default; }
.nd49-bt:focus-visible, .nd49-x:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
html.nd-escuro .nd49-cx { background: #1c1c1e; color: #f5f5f7; }
html.nd-escuro .nd49-sub b, html.nd-escuro .nd49-campo input { color: #f5f5f7; }
html.nd-escuro .nd49-campo, html.nd-escuro .nd49-x, html.nd-escuro .nd49-bt.sec { background: #2c2c2e; color: #f5f5f7; }
html.nd-escuro .nd49-campo:focus-within { background: #1c1c1e; }
@media (max-width: 560px) { .nd49-fundo { place-items: end stretch; padding: 0; } .nd49-cx { width: 100%; border-radius: 22px 22px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .nd49-fundo, .nd49-cx { transition: none; } }
