/* Number PDF pages. Shared editor JS stays; this file only restyles this page. */
.npdf-page {
  --npdf-ink: #172033;
  --npdf-body: #3d4658;
  --npdf-muted: #64748b;
  --npdf-line: #e3e9f1;
  --npdf-blue: #2563eb;
  --npdf-blue-dark: #1d4ed8;
  --npdf-aside-w: 220px;
  --npdf-side-w: 280px;
  display: grid;
  grid-template-columns: var(--npdf-aside-w) minmax(0, 1fr);
  gap: 18px 20px;
  align-items: start;
  margin: 4px 0 28px;
}

.npdf-aside { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }

.npdf-title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 2.6vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--npdf-ink);
}

.article .npdf-lede { margin: 0 0 18px; color: #3b4d9a; font-size: 0.96rem; line-height: 1.5; }

.article .npdf-perks,
.article .npdf-steps,
.article .npdf-tip-steps { margin: 0; padding: 0; list-style: none; }

.article .npdf-perks { display: grid; gap: 14px; }
.article .npdf-perks li,
.article .npdf-steps li,
.article .npdf-tip-steps li { margin: 0; padding: 0; }
.article .npdf-perks li::before,
.article .npdf-steps li::before,
.article .npdf-tip-steps li::before { content: none; }

.article .npdf-perks li { display: flex; align-items: center; gap: 12px; color: var(--npdf-body); font-size: 0.84rem; }
.npdf-perks strong { display: block; color: var(--npdf-ink); font-size: 0.9rem; }

.npdf-perk { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff center / 20px no-repeat; }
.npdf-perk.is-free { background-color: #dcfce7; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='8' r='4'/%3E%3Cpath d='M3 20a7 7 0 0 1 11-5.7M15.5 18.5l2 2 4-4'/%3E%3C/svg%3E"); }
.npdf-perk.is-fast { background-color: #ffe4e6; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e11d48' d='M13.5 2 4.5 13.5h6.2L9.8 22l9-11.5h-6.2z'/%3E%3C/svg%3E"); }
.npdf-perk.is-file { background-color: #dbeafe; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' d='M14 2H6.5A2.5 2.5 0 0 0 4 4.5v15A2.5 2.5 0 0 0 6.5 22h11a2.5 2.5 0 0 0 2.5-2.5V8z'/%3E%3C/svg%3E"); }
.npdf-perk.is-gear { background-color: #ede9fe; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237c3aed' d='M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z'/%3E%3Cpath fill='%237c3aed' d='M19.4 13a7.8 7.8 0 0 0 .1-2l2-1.2-2-3.4-2.3.6a8 8 0 0 0-1.7-1L15 3h-4l-.5 2.9a8 8 0 0 0-1.7 1L6.5 6.4l-2 3.4L6.5 11a7.8 7.8 0 0 0 0 2l-2 1.2 2 3.4 2.3-.6a8 8 0 0 0 1.7 1L11 21h4l.5-2.9a8 8 0 0 0 1.7-1l2.3.6 2-3.4z'/%3E%3C/svg%3E"); }

.article img.npdf-art {
  display: block;
  width: calc(100% + 8px);
  max-width: 260px;
  height: auto;
  margin: 12px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

body.page-numerar-paginas-pdf-online .cpdf-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--npdf-side-w);
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-numerar-paginas-pdf-online .cpdf-app.pvc-app > .pvc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 14px 16px;
  align-items: stretch;
}
body.page-numerar-paginas-pdf-online .npdf-steps,
body.page-numerar-paginas-pdf-online .cpdf-toolbar,
body.page-numerar-paginas-pdf-online .cpdf-app > [data-pdf-features-slot],
body.page-numerar-paginas-pdf-online .cpdf-app > .cpdf-success { grid-column: 1 / -1; }

.npdf-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--npdf-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.npdf-steps li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px; border-right: 1px solid var(--npdf-line); }
.npdf-steps li:last-child { border-right: 0; }
.npdf-steps strong, .npdf-steps small { display: block; }
.npdf-steps strong { color: var(--npdf-ink); font-size: 0.8rem; }
.npdf-steps small { color: var(--npdf-muted); font-size: 0.7rem; }
.npdf-step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: #e8eef6; color: #64748b; font-size: 0.78rem; font-weight: 800; }
.npdf-steps li.is-on .npdf-step-n, .npdf-steps li.is-done .npdf-step-n { background: var(--npdf-blue); color: #fff; }

/* Empty toolbar is only the insertion anchor for the shared progress bar. */
body.page-numerar-paginas-pdf-online .cpdf-app > .cpdf-toolbar,
body.page-numerar-paginas-pdf-online .cpdf-app > .cpdf-success { display: none !important; }
body.page-numerar-paginas-pdf-online .cpdf-app > .cpdf-progress { grid-column: 1 / -1; }

body.page-numerar-paginas-pdf-online .cpdf-btn-icon.npdf-stroke {
  width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

body.page-numerar-paginas-pdf-online .cpdf-app .npdf-clear { min-height: 34px; padding: 6px 12px; color: #dc2626; font-size: 0.82rem; }

body.page-numerar-paginas-pdf-online .cpdf-main {
  grid-column: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.page-numerar-paginas-pdf-online .cpdf-list-wrap:has(#epdf-grid:empty) { display: none; }
body.page-numerar-paginas-pdf-online .cpdf-list-wrap { padding: 14px; border: 1px solid var(--npdf-line); border-radius: 16px; background: #fff; }
body.page-numerar-paginas-pdf-online .cpdf-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.article .npdf-page .cpdf-list-title { margin: 0; color: var(--npdf-ink); font-size: 1rem; font-weight: 800; }
body.page-numerar-paginas-pdf-online #epdf-empty { display: none; }

body.page-numerar-paginas-pdf-online #epdf-section-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

body.page-numerar-paginas-pdf-online #epdf-numbers-field,
body.page-numerar-paginas-pdf-online #epdf-watermark-field,
body.page-numerar-paginas-pdf-online #epdf-reorder-note { display: none !important; }

body.page-numerar-paginas-pdf-online .cpdf-drop {
  gap: 8px;
  min-height: 0;
  padding: 24px 16px 18px;
  border: 1.5px dashed #7aa7f5;
  border-radius: 16px;
  background: #f5f9ff;
  text-align: center;
}
body.page-numerar-paginas-pdf-online .cpdf-drop-icon {
  width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; background: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}
body.page-numerar-paginas-pdf-online .cpdf-drop-icon svg { width: 32px; height: 32px; }
body.page-numerar-paginas-pdf-online .cpdf-drop-title { color: var(--npdf-ink); font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.npdf-drop-sub { margin-top: -4px; color: var(--npdf-body); font-size: 0.9rem; }
body.page-numerar-paginas-pdf-online .cpdf-drop-hint { color: var(--npdf-muted); font-size: 0.78rem; }
body.page-numerar-paginas-pdf-online .cpdf-drop-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
body.page-numerar-paginas-pdf-online .cpdf-app .cpdf-drop-cta,
body.page-numerar-paginas-pdf-online .cpdf-app .npdf-go,
body.page-numerar-paginas-pdf-online .cpdf-app #epdf-btn-download {
  border-color: var(--npdf-blue-dark);
  background: linear-gradient(180deg, #2f6ff0, #1d5ad6);
  color: #fff;
}

.npdf-config {
  padding: 14px;
  border: 1px solid var(--npdf-line);
  border-radius: 16px;
  background: #fff;
}
.article .npdf-config .npdf-config-title, body.page-numerar-paginas-pdf-online .cpdf-card-label {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 0;
  color: var(--npdf-ink); font-size: 1rem; font-weight: 800; line-height: 1.3; letter-spacing: 0; text-transform: none; opacity: 1;
}
.article .npdf-config .npdf-config-title::before, .article .npdf-config .npdf-config-title::after { content: none; }
.npdf-sec-ico { width: 28px; height: 28px; flex: none; border-radius: 8px; background: #e8f0fe center / 16px no-repeat; }
.npdf-sec-ico.is-gear { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' d='M12 8a4 4 0 1 0 .01 8A4 4 0 0 0 12 8z'/%3E%3C/svg%3E"); }
.npdf-sec-ico.is-eye { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.npdf-sec-ico.is-bulb { background-color: transparent; background-size: 26px; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5b400' d='M12 2a7 7 0 0 0-4 12.74V17h8v-2.26A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.npdf-sec-ico.is-ok { background-color: #dcfce7; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2316a34a' stroke-width='2.4' stroke-linecap='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }

.npdf-config-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1.1fr); gap: 0; }
.npdf-col { min-width: 0; padding: 0 16px; }
.npdf-col:first-child { padding-left: 0; }
.npdf-col:last-child { padding-right: 0; }
.npdf-col + .npdf-col { border-left: 1px solid var(--npdf-line); }
.npdf-label { display: block; margin: 0 0 6px; color: var(--npdf-ink); font-size: 0.84rem; font-weight: 800; }
.npdf-col .npdf-label ~ .npdf-label, .npdf-fontrow { margin-top: 12px; }
.article .npdf-help { margin: 8px 0 0; color: var(--npdf-muted); font-size: 0.76rem; line-height: 1.4; }
.article .npdf-config .npdf-input, .article .npdf-config select {
  width: 100%; height: 40px; min-height: 40px; margin: 0; padding: 0 10px;
  border: 1px solid #d5dde8; border-radius: 10px; background-color: #fff; color: var(--npdf-ink);
  font: inherit; font-size: 0.88rem; line-height: 38px; box-shadow: none;
}
.npdf-fontrow > div { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 8px; }
.npdf-pos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.article .npdf-page .npdf-pos button {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 6px;
  min-height: 78px; margin: 0; padding: 8px 4px;
  border: 1px solid var(--npdf-line); border-radius: 12px; background: #fff; box-shadow: none;
  color: var(--npdf-body); font: inherit; font-size: 0.7rem; font-weight: 700; line-height: 1.2; text-transform: none; cursor: pointer;
}
.npdf-pos button span { position: relative; width: 24px; height: 30px; border: 1.5px solid #94a3b8; border-radius: 3px; background: #fff; }
.npdf-pos button span::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #94a3b8; }
.npdf-pos button[data-npdf-pos^="t"] span::after { top: 3px; }
.npdf-pos button[data-npdf-pos^="b"] span::after { bottom: 3px; }
.npdf-pos button[data-npdf-pos$="l"] span::after { left: 3px; }
.npdf-pos button[data-npdf-pos$="c"] span::after { left: calc(50% - 2.5px); }
.npdf-pos button[data-npdf-pos$="r"] span::after { right: 3px; }
.article .npdf-page .npdf-pos button.is-on { border-color: var(--npdf-blue); background: #eff6ff; color: var(--npdf-blue-dark); box-shadow: 0 0 0 1px var(--npdf-blue) inset; }
.npdf-pos button.is-on span { border-color: var(--npdf-blue); }
.npdf-pos button.is-on span::after { background: var(--npdf-blue); }
.npdf-pos button.is-on::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--npdf-blue) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.npdf-colors { display: flex; gap: 10px; margin-bottom: 10px; }
.article .npdf-page .npdf-colors button {
  width: 24px; height: 24px; min-height: 0; margin: 0; padding: 0; border: 2px solid #fff; border-radius: 50%;
  background: #111827; box-shadow: 0 0 0 1px #e2e8f0; cursor: pointer;
}
.article .npdf-page .npdf-colors button[data-npdf-color="#64748b"] { background: #64748b; }
.article .npdf-page .npdf-colors button[data-npdf-color="#2563eb"] { background: #2563eb; }
.article .npdf-page .npdf-colors button[data-npdf-color="#dc2626"] { background: #dc2626; }
.article .npdf-page .npdf-colors button.is-on { box-shadow: 0 0 0 2px var(--npdf-blue); }
.npdf-check { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: var(--npdf-body); font-size: 0.84rem; line-height: 1.3; cursor: pointer; }
.article .npdf-check input { width: 16px; height: 16px; margin: 0; padding: 0; flex: none; accent-color: var(--npdf-blue); }
body.page-numerar-paginas-pdf-online .cpdf-app .npdf-go { width: 100%; min-height: 50px; margin-top: 16px; font-size: 0.98rem; font-weight: 800; }
body.page-numerar-paginas-pdf-online .cpdf-app .npdf-go:disabled,
body.page-numerar-paginas-pdf-online .cpdf-app #epdf-btn-download:disabled {
  border-color: var(--npdf-blue-dark) !important;
  background: linear-gradient(180deg, #2f6ff0, #1d5ad6) !important;
  color: #fff !important;
  opacity: 0.55;
}
body.page-numerar-paginas-pdf-online .cpdf-app .npdf-clear:disabled { background: #fff !important; color: #dc2626 !important; opacity: 0.5; }
body.page-numerar-paginas-pdf-online #epdf-status { margin: 10px 0 0; color: var(--npdf-muted); font-size: 0.8rem; text-align: center; }
body.page-numerar-paginas-pdf-online #epdf-status:empty { display: none; }

.epdf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.epdf-card { padding: 8px; border: 1px solid var(--npdf-line); border-radius: 12px; background: #fff; }
.epdf-thumb { position: relative; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--npdf-line); border-radius: 8px; background: #f8fafc; }
.epdf-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top; border: 0; background: #fff; }
.epdf-num { position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(16, 16, 16, 0.72); color: #fff; font-size: 11px; font-weight: 800; }
.epdf-card-meta { margin-top: 6px; color: var(--npdf-muted); font-size: 0.72rem; }
.epdf-card-actions { display: flex; gap: 4px; margin-top: 6px; }
.epdf-card-actions .cpdf-btn { flex: 1; min-width: 0; min-height: 32px; padding: 4px; }

body.page-numerar-paginas-pdf-online .cpdf-side {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  background: transparent;
}
body.page-numerar-paginas-pdf-online .cpdf-card { padding: 14px; border: 1px solid var(--npdf-line); border-radius: 16px; background: #fff; }
body.page-numerar-paginas-pdf-online .cpdf-card.npdf-tips { background: #fff8e8; border-color: #f7e3b5; }
.npdf-done[hidden] { display: none !important; }

body.page-numerar-paginas-pdf-online .cpdf-side .itool-hist-card { padding: 14px; border: 1px solid var(--npdf-line); border-radius: 16px; background: #fff; }
body.page-numerar-paginas-pdf-online .cpdf-side .itool-hist-label { color: var(--npdf-ink); font-size: 0.92rem; letter-spacing: 0; text-transform: none; }
.article .npdf-page .cpdf-side .itool-hist-list > li { margin: 0; }

.npdf-stage { position: relative; display: grid; place-items: center; min-height: 220px; padding: 16px 0; border-radius: 12px; background: #dde3ec; overflow: hidden; }
.npdf-preview-empty { margin: 0; padding: 12px; color: #475569; font-size: 0.84rem; text-align: center; }
.npdf-preview-empty[hidden], #npdf-preview[hidden], #npdf-num[hidden] { display: none !important; }
.npdf-sheet { position: relative; width: 68%; }
.npdf-sheet:has(#npdf-preview[hidden]) { display: none; }
#npdf-preview { display: block; width: 100%; height: auto; margin: 0; border: 0; background: #fff; box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18); }
.npdf-num { position: absolute; z-index: 2; font-family: Arial, Helvetica, sans-serif; font-weight: 700; line-height: 1; white-space: nowrap; }
.npdf-num.is-tl { top: 5%; left: 7%; }
.npdf-num.is-tc { top: 5%; left: 50%; transform: translateX(-50%); }
.npdf-num.is-tr { top: 5%; right: 7%; }
.npdf-num.is-bl { bottom: 5%; left: 7%; }
.npdf-num.is-bc { bottom: 5%; left: 50%; transform: translateX(-50%); }
.npdf-num.is-br { bottom: 5%; right: 7%; }
.npdf-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
body.page-numerar-paginas-pdf-online .npdf-pager .cpdf-btn { width: 34px; min-height: 34px; padding: 0; justify-content: center; font-size: 1.1rem; line-height: 1; }
body.page-numerar-paginas-pdf-online .npdf-pager .cpdf-btn:disabled { background: #fff !important; color: #94a3b8 !important; }
.npdf-pager span { min-width: 3rem; text-align: center; font-size: 0.82rem; font-weight: 750; }

.article .npdf-tip-steps { display: grid; gap: 8px; counter-reset: npdf; }
.article .npdf-tip-steps li { display: flex; gap: 8px; color: var(--npdf-body); font-size: 0.84rem; line-height: 1.4; }
.article .npdf-tip-steps li::before {
  content: counter(npdf); counter-increment: npdf;
  display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none;
  border-radius: 50%; background: #f5b400; color: #fff; font-size: 0.72rem; font-weight: 800;
}

.npdf-filechip { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 10px; }
.npdf-filebadge { display: inline-grid; place-items: center; width: 36px; height: 42px; border-radius: 8px; background: #fee2e2; color: #dc2626; font-size: 0.62rem; font-weight: 800; }
.npdf-filechip strong, .npdf-filechip small { display: block; }
.npdf-filechip strong { overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.npdf-filechip small { color: var(--npdf-muted); font-size: 0.72rem; }
.npdf-ready { padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 0.72rem; font-weight: 800; }
body.page-numerar-paginas-pdf-online .npdf-done .cpdf-btn { width: 100%; }

.npdf-stats-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (min-width: 1360px) {
  .npdf-page {
    --npdf-stage-w: min(1560px, calc(100vw - 96px));
    --npdf-aside-w: clamp(210px, 15vw, 260px);
    --npdf-side-w: clamp(270px, 18vw, 320px);
    width: var(--npdf-stage-w);
    margin-left: calc((100% - var(--npdf-stage-w)) / 2);
  }
}

@media (max-width: 980px) {
  .npdf-page, body.page-numerar-paginas-pdf-online .cpdf-app { grid-template-columns: minmax(0, 1fr); }
  .article .npdf-perks, .article img.npdf-art { display: none; }
  body.page-numerar-paginas-pdf-online .npdf-steps,
  body.page-numerar-paginas-pdf-online .cpdf-toolbar,
  body.page-numerar-paginas-pdf-online .cpdf-main,
  body.page-numerar-paginas-pdf-online .cpdf-side { grid-column: 1; }
  .npdf-steps { grid-template-columns: 1fr 1fr; }
  .npdf-steps li:nth-child(2) { border-right: 0; }
  .npdf-steps li:nth-child(-n+2) { border-bottom: 1px solid var(--npdf-line); }
  .npdf-config-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .npdf-col, .npdf-col:first-child, .npdf-col:last-child { padding: 0; }
  .npdf-col + .npdf-col { padding-top: 14px; border-left: 0; border-top: 1px solid var(--npdf-line); }
}

@media (max-width: 640px) {
  .npdf-title { font-size: 1.8rem; }
  .article .npdf-lede { font-size: 0.9rem; }
  .npdf-steps small { display: none; }
  .npdf-steps li { padding: 9px 10px; }
  body.page-numerar-paginas-pdf-online .cpdf-drop { padding: 18px 12px 16px; }
  body.page-numerar-paginas-pdf-online .cpdf-drop-icon { width: 48px; height: 48px; }
  .npdf-sheet { width: 56%; }
}

html[data-theme="dark"] .npdf-page {
  --npdf-ink: #f1f5f9;
  --npdf-body: #cbd5e1;
  --npdf-muted: #94a3b8;
  --npdf-line: #334155;
}
html[data-theme="dark"] .article .npdf-lede { color: #a5b4fc; }
html[data-theme="dark"] .npdf-steps,
html[data-theme="dark"] .npdf-config,
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-card,
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-list-wrap,
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-side .itool-hist-card,
html[data-theme="dark"] .epdf-card { background: #0f172a; border-color: #334155; }
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-card.npdf-tips { background: #2a2210; border-color: #5b4a1d; }
html[data-theme="dark"] .npdf-step-n { background: #1e293b; color: #94a3b8; }
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-drop { background: #0b1a33; border-color: #3b6fd1; }
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-drop-icon { background: #1e293b; box-shadow: none; }
html[data-theme="dark"] .article .npdf-config .npdf-input,
html[data-theme="dark"] .article .npdf-config select,
html[data-theme="dark"] .article .npdf-page .npdf-pos button,
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-app #epdf-btn-sample,
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .npdf-pager .cpdf-btn,
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .npdf-pager .cpdf-btn:disabled,
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-app .npdf-clear:disabled,
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-app .npdf-clear { background: #1e293b !important; border-color: #334155; color: #e2e8f0; }
html[data-theme="dark"] body.page-numerar-paginas-pdf-online .cpdf-app .npdf-clear { color: #f87171 !important; }
html[data-theme="dark"] .article .npdf-page .npdf-pos button.is-on { background: #172554 !important; border-color: #3b82f6; color: #bfdbfe; box-shadow: 0 0 0 1px #3b82f6 inset; }
html[data-theme="dark"] .npdf-pos button span { background: #0f172a; border-color: #64748b; }
html[data-theme="dark"] .npdf-pos button.is-on span { border-color: #60a5fa; }
html[data-theme="dark"] .article .npdf-page .npdf-colors button { border-color: #0f172a; box-shadow: 0 0 0 1px #475569; }
html[data-theme="dark"] .article .npdf-page .npdf-colors button.is-on { box-shadow: 0 0 0 2px #60a5fa; }
html[data-theme="dark"] .npdf-stage { background: #1e293b; }
html[data-theme="dark"] .npdf-preview-empty { color: #94a3b8; }
html[data-theme="dark"] .npdf-filebadge { background: #3b1219; color: #fca5a5; }
html[data-theme="dark"] .npdf-ready { background: #14532d; color: #bbf7d0; }
html[data-theme="dark"] .epdf-thumb { background: #1e293b; border-color: #334155; }
