
html.nd-espelho body { direction: rtl; }
html.nd-espelho body :is(span, b, strong, em, small, a, label, time, button > span, option) { unicode-bidi: isolate; direction: ltr; }
html.nd-espelho body :is(p, h1, h2, h3, h4, h5, h6, li, td, th, figcaption, blockquote, dt, dd, summary, legend) { unicode-bidi: isolate; direction: ltr; text-align: right; }
html.nd-espelho body :is(input, textarea, select, [contenteditable], pre, code, canvas, video, iframe, svg, .nda-win, #activities-overlay, .ndp, .nd58, .ndc-fundo, .n32v, .nd64-cmd, .nd64-exec, .n23r-txt, .nxp-pc p, #lojaFrame, .ndl-cx, .nem, .nbw, .ndm, .nxz, .ndo, .nrw, .nrv, .nxp2, .nov, .ntk, .ncm2, table) { direction: ltr; }
html.nd-espelho body .ti { unicode-bidi: normal; }
html.nd-espelho body :is(.ti-arrow-left, .ti-arrow-right, .ti-chevron-left, .ti-chevron-right, .ti-arrow-back-up, .ti-arrow-forward-up)::before { display: inline-block; transform: scaleX(-1); }
html.nd-espelho #nd64Doca { right: auto; left: 0; border-radius: 0 12px 12px 0; }
.nd66-esp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; max-width: 520px; }
.nd66-esp button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border: 2px solid rgba(0, 0, 0, .1); border-radius: 14px; background: #fff; color: #1d1d1f; font: inherit; text-align: left; cursor: pointer; }
.nd66-esp button.on { border-color: #007aff; box-shadow: 0 0 0 3px rgba(0, 122, 255, .15); }
.nd66-esp small { color: #6e6e73; }
.nd66-mini { display: grid; grid-template-columns: 1fr 2.2fr 1.2fr; gap: 4px; width: 100%; height: 64px; margin-bottom: 6px; padding: 6px; box-sizing: border-box; border-radius: 9px; background: #f2f2f7; }
.nd66-mini i { display: block; border-radius: 4px; } .nd66-mini .a { background: #1d1d1f; } .nd66-mini .b { background: #fff; } .nd66-mini .c { background: #d1d1d6; }
.nd66-mini.esp { direction: rtl; }
.nd66-esp-pe { display: flex; align-items: center; gap: 12px; margin-top: 10px; } .nd66-esp-pe small { color: #6e6e73; }
html.nd-escuro .nd66-esp button { background: #1c1c1e; color: #f5f5f7; border-color: rgba(255, 255, 255, .12); } html.nd-escuro .nd66-mini { background: #2c2c2e; } html.nd-escuro .nd66-mini .b { background: #3a3a3c; } html.nd-escuro .nd66-mini .a { background: #f5f5f7; }
.nd66-fundo { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .32); }
.nd66-cx { width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 20px; border-radius: 18px; background: #fff; color: #1d1d1f; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); font-family: var(--nd-fonte); }
.nd66-cx header { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; } .nd66-cx h2 { margin: 0; font-size: 19px; } .nd66-cx header small { color: #6e6e73; }
.nd66-ic { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #007aff; color: #fff; font-size: 22px; }
.nd66-planos { display: flex; flex-direction: column; gap: 8px; }
.nd66-pl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid rgba(0, 0, 0, .08); border-radius: 14px; cursor: pointer; }
.nd66-pl:has(input:checked) { border-color: #007aff; background: rgba(0, 122, 255, .05); } .nd66-pl input { accent-color: #007aff; width: 18px; height: 18px; }
.nd66-pl span { flex: 1; display: flex; flex-direction: column; } .nd66-pl small { color: #6e6e73; } .nd66-pl em { font-style: normal; font-weight: 700; }
.nd66-nota { color: #6e6e73; font-size: 13px; line-height: 1.45; } .nd66-erro { color: #004ecc; min-height: 18px; font-size: 14px; }
.nd66-forma { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; } .nd66-forma select { height: 38px; border: 1px solid #d2d2d7; border-radius: 10px; padding: 0 10px; font: inherit; }
.nd66-bts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.nd66-bts button { height: 42px; padding: 0 18px; border: 0; border-radius: 12px; font: inherit; font-weight: 600; cursor: pointer; } .nd66-bts .pri { background: #007aff; color: #fff; } .nd66-bts .sec { background: rgba(120, 120, 128, .14); color: #1d1d1f; }
.nd66-pix { width: 100%; height: 110px; box-sizing: border-box; padding: 10px; border: 1px solid #d2d2d7; border-radius: 12px; font: 12px/1.4 ui-monospace, Menlo, monospace; resize: none; }
html.nd-escuro .nd66-cx { background: #1c1c1e; color: #f5f5f7; } html.nd-escuro .nd66-bts .sec { color: #f5f5f7; } html.nd-escuro .nd66-forma select, html.nd-escuro .nd66-pix { background: #2c2c2e; color: #f5f5f7; border-color: #3a3a3c; }
.nd66-nivel { display: inline-block; margin: 4px 0 2px; }
.nd66-nivel button { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--c); font: inherit; font-size: 13px; cursor: pointer; }
.nd66-nivel i { position: relative; width: 54px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--c) 22%, transparent); overflow: hidden; } .nd66-nivel i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--c); }
.nd66-ic b { font-size: 17px; }
.nd66-nv { list-style: none; margin: 0; padding: 0; } .nd66-nv li { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 0 14px; border-top: 1px solid rgba(0, 0, 0, .06); }
.nd66-nv li span { flex: 1; display: flex; flex-direction: column; } .nd66-nv small { color: #6e6e73; } .nd66-nv em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.nd66-nv li i { position: absolute; left: 0; right: 0; bottom: 4px; height: 4px; border-radius: 2px; background: rgba(120, 120, 128, .16); overflow: hidden; } .nd66-nv li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: #007aff; }
html.nd-espelho header.navbar { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
html.nd-espelho header.navbar .logo, html.nd-espelho header.navbar [class*="logo"] { flex-shrink: 0; }
html.nd-espelho header.navbar #logo { margin-left: 0 !important; margin-right: 70px !important; }
