
.nd55-fundo { position: fixed; inset: 0; z-index: 100090; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .32); }
.nd55-login { width: min(380px, 100%); padding: 22px; border-radius: 20px; background: #fff; color: #1d1d1f; box-shadow: 0 24px 70px rgba(0, 0, 0, .25); font-family: var(--nd-fonte); }
.nd55-login h2 { margin: 0 0 4px; font-size: 20px; } .nd55-login p { margin: 0 0 14px; color: #6e6e73; font-size: 14px; }
.nd55-login label span, .nd55-campos label span { display: block; margin-bottom: 4px; font-size: 13px; color: #6e6e73; }
.nd55-login input, .nd55-campos input, .nd55-campos textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: #1d1d1f; }
.nd55-login input:focus, .nd55-campos input:focus, .nd55-campos textarea:focus { outline: none; border-color: #007aff; box-shadow: 0 0 0 3px rgba(0, 122, 255, .15); }
.nd55-bts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.nd55-bt { min-height: 40px; padding: 0 18px; border: 0; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.nd55-bt.pri { background: #007aff; color: #fff; } .nd55-bt.sec { background: #f5f5f7; color: #1d1d1f; } .nd55-bt.perigo { background: #1d1d1f; color: #fff; }
.nd55-bt:disabled { opacity: .5; }
.nd55-erro { color: #004dc9; font-size: 14px; } .nd55-ok { color: #248a3d; font-weight: 600; } .nd55-mut { color: #6e6e73; font-size: 13px; }
.nd55-fab { position: fixed; left: 16px; bottom: 16px; z-index: 1490; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: #1d1d1f; color: #fff; font: 600 14px var(--nd-fonte); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.nd55-fab i { color: #ffcc00; font-size: 18px; }
.nd55 { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100088; width: min(460px, 100vw); display: flex; flex-direction: column; background: #fff; color: #1d1d1f; box-shadow: -12px 0 40px rgba(0, 0, 0, .14);
  font-family: var(--nd-fonte); transform: translateX(16px); opacity: 0; transition: transform 160ms cubic-bezier(.22, 1, .36, 1), opacity 160ms ease; }
.nd55.on { transform: none; opacity: 1; } .nd55[hidden] { display: none; }
.nd55-cab { display: flex; align-items: center; gap: 6px; padding: 16px 16px 10px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.nd55-cab > div { flex: 1; } .nd55-cab b { display: flex; align-items: center; gap: 6px; font-size: 18px; } .nd55-cab b i { color: #b8860b; } .nd55-cab small { color: #6e6e73; font-size: 13px; }
.nd55-ic { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: #f5f5f7; color: #1d1d1f; cursor: pointer; font-size: 18px; }
.nd55-busca { display: flex; align-items: center; gap: 8px; margin: 12px 16px 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: #f5f5f7; color: #6e6e73; }
.nd55-busca input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: #1d1d1f; }
.nd55-grupos { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.nd55-grupos button { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 10px; background: #f5f5f7; color: #1d1d1f; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.nd55-grupos button small { color: #6e6e73; font-weight: 500; } .nd55-grupos button[aria-pressed="true"] { background: #1d1d1f; color: #fff; } .nd55-grupos button[aria-pressed="true"] small { color: #d2d2d7; }
.nd55-corpo { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 12px 24px; }
.nd55-lista[hidden], .nd55-form[hidden] { display: none; }
.nd55-it { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; font: inherit; cursor: pointer; color: #1d1d1f; }
.nd55-it:hover, .nd55-it:focus-visible { background: #f5f5f7; } .nd55-it span { font-size: 15px; font-weight: 500; } .nd55-it small { font-size: 12px; color: #6e6e73; }
.nd55-it.perigo span::after { content: " · cuidado"; color: #004dc9; font-size: 12px; font-weight: 600; }
.nd55-voltar { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0; padding: 0; border: 0; background: none; color: #007aff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.nd55-form h3 { margin: 6px 0 2px; font-size: 20px; }
.nd55-campos { display: grid; gap: 12px; margin: 14px 0; }
.nd55-out { margin-top: 6px; }
.nd55-tab { max-width: 100%; overflow-x: auto; border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px; }
.nd55-tab table { border-collapse: collapse; font-size: 12.5px; min-width: 100%; } .nd55-tab th, .nd55-tab td { padding: 7px 10px; text-align: left; border-bottom: 1px solid rgba(0, 0, 0, .06); white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.nd55-tab th { background: #f5f5f7; font-weight: 600; position: sticky; top: 0; }
.nd55-dl { display: grid; gap: 6px; margin: 0; } .nd55-dl div { display: flex; gap: 10px; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); } .nd55-dl dt { color: #6e6e73; font-size: 13px; } .nd55-dl dd { margin: 0; font-size: 13px; font-weight: 600; text-align: right; word-break: break-word; }
.nd55-mini { margin-left: 6px; width: 30px; height: 30px; display: none; place-items: center; border: 0; border-radius: 9px; background: #f5f5f7; color: #b8860b; cursor: pointer; }
.nd55-mini.txt { width: auto; height: auto; padding: 0; background: none; color: #b8860b; font: inherit; font-weight: 600; }
html.nd55-on .nd55-mini { display: inline-grid; } html.nd55-on .nd55-mini.txt { display: inline; }
.nd55-menu { position: fixed; z-index: 100089; min-width: 220px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .18); border: 1px solid rgba(0, 0, 0, .08); }
.nd55-menu button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; text-align: left; font: 500 14px var(--nd-fonte); color: #1d1d1f; cursor: pointer; }
.nd55-menu button:hover { background: #f5f5f7; } .nd55-menu button.perigo { color: #004dc9; }
.nd55-aviso { position: sticky; top: 0; z-index: 1600; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #1d1d1f; color: #fff; font: 500 14px var(--nd-fonte); }
.nd55-aviso span { flex: 1; } .nd55-aviso button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
html.nd-escuro .nd55, html.nd-escuro .nd55-login, html.nd-escuro .nd55-menu { background: #1c1c1e; color: #f5f5f7; }
html.nd-escuro .nd55-busca, html.nd-escuro .nd55-ic, html.nd-escuro .nd55-grupos button, html.nd-escuro .nd55-bt.sec, html.nd-escuro .nd55-tab th { background: #2c2c2e; color: #f5f5f7; }
html.nd-escuro .nd55-it, html.nd-escuro .nd55-menu button { color: #f5f5f7; } html.nd-escuro .nd55-it:hover, html.nd-escuro .nd55-menu button:hover { background: #2c2c2e; }
html.nd-escuro .nd55-campos input, html.nd-escuro .nd55-campos textarea, html.nd-escuro .nd55-login input { background: #2c2c2e; border-color: rgba(255, 255, 255, .12); color: #f5f5f7; }
@media (max-width: 600px) { .nd55 { width: 100vw; } .nd55-fab { bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .nd55 { transition: none; } }
