/* NAONDE — anúncios com consentimento (prompt 23) */
.nda-slot { display: block; }
.nda-ad header { position: relative; }
.nda-ad .nda-por { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #536471; display: grid; place-items: center; cursor: pointer; }
.nda-ad .nda-por:hover, .nda-ad .nda-por:focus-visible { background: rgba(8,102,255,.1); color: #0866ff; outline: none; }
.nda-google { margin: 12px 0; min-height: 60px; }
.nda-google small { display: block; color: #65676b; font-size: 12px; margin-bottom: 4px; }

.nda-pop { position: fixed; inset: 0; z-index: 2147483000; background: rgba(0,0,0,.45); display: grid; place-items: center; padding: 16px; animation: nda-in .16s ease-out; }
.nda-pop-in { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #fff; color: #050505; border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.3); font-family: var(--nd-fonte, system-ui, sans-serif); }
.nda-pop-in h3 { margin: 0 32px 10px 0; font-size: 18px; }
.nda-pop-in p, .nda-pop-in li { font-size: 14px; line-height: 1.45; }
.nda-pop-in ul { padding-left: 20px; margin: 6px 0 10px; }
.nda-motivo { font-weight: 600; }
.nda-sub { color: #65676b; margin: 6px 0; }
.nda-fechar { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f0f2f5; color: #050505; display: grid; place-items: center; cursor: pointer; }
.nda-ok { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; margin: 12px 0 4px; cursor: pointer; }
.nda-ok input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #0866ff; }
@keyframes nda-in { from { opacity: 0; } to { opacity: 1; } }

.nda-bt { border: 0; border-radius: 8px; padding: 9px 14px; font: 600 14px/1.2 var(--nd-fonte, system-ui, sans-serif); background: #0866ff; color: #fff; cursor: pointer; }
.nda-bt:hover { filter: brightness(1.06); }
.nda-bt:disabled { opacity: .5; cursor: default; filter: none; }
.nda-bt.sec { background: #e4e6eb; color: #050505; }
.nda-bt.perigo { background: #e41e3f; color: #fff; }
.nda-acoes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.nda-pref { display: flex; flex-direction: column; gap: 4px; max-width: 760px; }
.nda-pref h2 { font-size: 17px; margin: 20px 0 6px; }
.nda-intro { display: flex; gap: 10px; align-items: flex-start; background: rgba(8,102,255,.07); color: inherit; border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; font-size: 14px; line-height: 1.45; }
.nda-intro svg { flex-shrink: 0; color: #0866ff; margin-top: 1px; }
.nda-linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(127,127,127,.2); }
.nda-linha b { display: block; font-size: 15px; }
.nda-linha small { display: block; color: #65676b; font-size: 13px; margin-top: 3px; line-height: 1.4; }
.nda-sw { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; cursor: pointer; }
.nda-sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.nda-sw i { position: absolute; inset: 0; border-radius: 999px; background: #ccd0d5; transition: background .15s; }
.nda-sw i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.nda-sw input:checked + i { background: #0866ff; }
.nda-sw input:checked + i::after { transform: translateX(18px); }
.nda-sw input:focus-visible + i { outline: 2px solid #0866ff; outline-offset: 2px; }
.nda-nota { color: #65676b; font-size: 13px; line-height: 1.45; margin: 6px 0; }
.nda-ints { list-style: none; margin: 0; padding: 0; }
.nda-ints li { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(80px, 160px) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(127,127,127,.15); }
.nda-int-n { font-weight: 600; font-size: 14px; }
.nda-int-n em { font-style: normal; font-weight: 500; font-size: 12px; color: #0866ff; margin-left: 6px; }
.nda-barra { height: 8px; border-radius: 99px; background: rgba(127,127,127,.2); overflow: hidden; }
.nda-barra i { display: block; height: 100%; background: #0866ff; border-radius: inherit; }
.nda-add { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.nda-add select { flex: 1; min-width: 180px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(127,127,127,.4); font: inherit; background: transparent; color: inherit; }
.nda-chips { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nda-chips li { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 99px; background: rgba(127,127,127,.12); font-size: 13px; }
.nda-chips button { border: 0; border-radius: 99px; padding: 4px 10px; background: #fff; color: #0866ff; font: 600 12px/1.2 var(--nd-fonte, system-ui, sans-serif); cursor: pointer; }
.nda-dados { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nda-dados > div { border: 1px solid rgba(127,127,127,.2); border-radius: 12px; padding: 12px 14px; }
.nda-dados b { font-size: 14px; }
.nda-dados ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.nda-pref .nda-acoes { justify-content: flex-start; }
.nda-hist { margin-top: 14px; font-size: 13px; }
.nda-hist summary { cursor: pointer; font-weight: 600; }
.nda-hist ul { list-style: none; padding: 0; margin: 8px 0 0; }
.nda-hist li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(127,127,127,.15); }
.nda-hist time { color: #65676b; white-space: nowrap; }
.nda-carregando, .nda-msg { color: #65676b; font-size: 14px; }
.nda-msg.erro { color: #e41e3f; }
@media (max-width: 640px) {
  .nda-dados { grid-template-columns: 1fr; }
  .nda-ints li { grid-template-columns: 1fr auto; }
  .nda-ints .nda-barra { grid-column: 1 / -1; grid-row: 2; }
  .nda-pop { place-items: end center; padding: 0; }
  .nda-pop-in { width: 100%; border-radius: 18px 18px 0 0; max-height: 88dvh; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .nda-pop { animation: none; } .nda-sw i, .nda-sw i::after { transition: none; } }
