:root {
  --nbq-ink: #08203f;
  --nbq-muted: #53657d;
  --nbq-line: #d9e3ef;
  --nbq-surface: #ffffff;
  --nbq-soft: #f4f8fc;
  --nbq-blue: #075bd8;
  --nbq-teal: #087f78;
  --nbq-danger: #b42318;
  --nbq-warning: #8a4b08;
  --nbq-success: #137333;
}

body[data-project="digitalseguro"],
body[data-project="vailonge"],
body[data-project="paisdeprimeira"] {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ds-shell-v49 > .edu-breadcrumb,
.nb-resource-shell-v49 > .edu-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 14px;
  color: var(--nbq-muted);
}

.ds-shell-v49 > .edu-breadcrumb a,
.nb-resource-shell-v49 > .edu-breadcrumb a { color: #0751ad; }

.nb-quality-strip-v49 {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto;
  border: 1px solid var(--nbq-line);
  border-radius: 16px;
  background: var(--nbq-surface);
  color: var(--nbq-ink);
  box-shadow: 0 8px 24px rgba(8, 32, 63, .06);
}

.nb-quality-strip-v49 > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.nb-quality-strip-v49 > summary::-webkit-details-marker { display: none; }
.nb-quality-strip-v49 > summary::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  background: #e6f6ec;
  color: var(--nbq-success);
  font-size: .84rem;
}
.nb-quality-strip-v49 > summary::after {
  content: "+";
  margin-left: auto;
  color: var(--nbq-blue);
  font-size: 1.25rem;
}
.nb-quality-strip-v49[open] > summary::after { content: "−"; }
.nb-quality-strip-v49-body {
  padding: 0 16px 16px 51px;
  color: var(--nbq-muted);
}
.nb-quality-strip-v49-body p { margin: 0 0 12px; line-height: 1.55; }
.nb-quality-strip-v49-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-quality-strip-v49-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #b9cbe0;
  border-radius: 10px;
  background: #fff;
  color: #064fae;
  font-weight: 750;
  text-decoration: none;
}
.nb-quality-strip-v49-links a:hover,
.nb-quality-strip-v49-links a:focus-visible { border-color: #075bd8; outline: 3px solid rgba(7, 91, 216, .18); }

.nb-hero-quick-v49 .nb-hero-projects-head-v33 strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nb-hero-quick-v49 .nb-hero-project-grid-v33 { grid-template-columns: 1fr; }
.nb-hero-quick-v49 .nb-hero-project-grid-v33 > a {
  min-height: 78px;
  border-color: rgba(255, 255, 255, .22);
}
.nb-hero-quick-v49 .nb-hero-project-grid-v33 small { max-width: 27ch; }

.nb-resource-shell-v49,
.ds-shell-v49 {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 64px;
  color: var(--nbq-ink);
}
.nb-resource-hero-v49,
.ds-hero-v49 {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 28px;
  background: linear-gradient(135deg, #051a38 0%, #0a3c67 62%, #087f78 100%);
  color: #fff;
  box-shadow: 0 20px 55px rgba(5, 26, 56, .2);
}
.nb-resource-hero-v49::after,
.ds-hero-v49::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -130px;
  top: -150px;
  border-radius: 50%;
  background: rgba(59, 201, 196, .19);
  pointer-events: none;
}
.nb-resource-hero-v49 > *, .ds-hero-v49 > * { position: relative; z-index: 1; }
.nb-resource-status-v49,
.ds-status-v49 {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 800;
  font-size: .83rem;
}
.nb-resource-hero-v49 h1,
.ds-hero-v49 h1 { margin: 14px 0 12px; color: #fff; font-size: clamp(2.35rem, 7vw, 4.7rem); line-height: .96; letter-spacing: -.045em; }
.nb-resource-hero-v49 p,
.ds-hero-v49 p { max-width: 64ch; margin: 0; color: #eaf5ff; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.65; }
.nb-resource-hero-v49 img,
.ds-hero-v49 img {
  width: min(100%, 220px);
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .24));
}
.nb-resource-actions-v49,
.ds-actions-v49 { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nb-resource-actions-v49 a,
.ds-actions-v49 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 12px;
  background: #fff;
  color: #073c72;
  font-weight: 850;
  text-decoration: none;
}
.nb-resource-actions-v49 a.secondary,
.ds-actions-v49 a.secondary { background: transparent; color: #fff; }

.nb-resource-intro-v49,
.ds-intro-v49 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}
.nb-resource-intro-v49 article,
.ds-intro-v49 article,
.ds-tool-v49,
.nb-checklist-v49,
.nb-source-panel-v49 {
  border: 1px solid var(--nbq-line);
  border-radius: 18px;
  background: var(--nbq-surface);
  box-shadow: 0 10px 28px rgba(8, 32, 63, .06);
}
.nb-resource-intro-v49 article,
.ds-intro-v49 article { padding: 19px; }
.nb-resource-intro-v49 strong,
.ds-intro-v49 strong { display: block; margin-bottom: 6px; color: var(--nbq-ink); font-size: 1.03rem; }
.nb-resource-intro-v49 p,
.ds-intro-v49 p { margin: 0; color: var(--nbq-muted); line-height: 1.55; }

.ds-tools-v49,
.nb-resource-tools-v49 { display: grid; gap: 18px; margin-top: 26px; }
.ds-tool-v49,
.nb-checklist-v49 { padding: clamp(20px, 4vw, 32px); }
.ds-tool-head-v49,
.nb-checklist-head-v49 { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.ds-tool-head-v49 span,
.nb-checklist-head-v49 span { color: var(--nbq-teal); font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.ds-tool-head-v49 h2,
.nb-checklist-head-v49 h2 { margin: 4px 0 5px; color: var(--nbq-ink); font-size: clamp(1.45rem, 4vw, 2rem); }
.ds-tool-head-v49 p,
.nb-checklist-head-v49 p { max-width: 70ch; margin: 0; color: var(--nbq-muted); line-height: 1.55; }
.ds-privacy-v49 {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f7f5;
  color: #07615c;
  font-size: .78rem;
  font-weight: 850;
}
.ds-question-grid-v49 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ds-question-v49,
.nb-check-item-v49 {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cedbe8;
  border-radius: 12px;
  background: var(--nbq-soft);
  color: var(--nbq-ink);
  font-weight: 700;
  line-height: 1.42;
}
.ds-question-v49 input,
.nb-check-item-v49 input { width: 21px; height: 21px; flex: 0 0 21px; margin: 0; accent-color: var(--nbq-blue); }
.ds-tool-actions-v49 { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ds-tool-actions-v49 button,
.nb-checklist-v49 button {
  min-height: 45px;
  padding: 10px 16px;
  border: 1px solid #075bd8;
  border-radius: 11px;
  background: #075bd8;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.ds-tool-actions-v49 button.secondary,
.nb-checklist-v49 button.secondary { background: #fff; color: #075bd8; }
.ds-result-v49 {
  margin-top: 16px;
  padding: 16px;
  border-left: 5px solid var(--nbq-blue);
  border-radius: 12px;
  background: #edf5ff;
  color: #082f5b;
}
.ds-result-v49[hidden] { display: none; }
.ds-result-v49[data-level="high"] { border-color: var(--nbq-danger); background: #fff0ee; color: #7c1d15; }
.ds-result-v49[data-level="medium"] { border-color: #b76700; background: #fff6e8; color: #6f3b00; }
.ds-result-v49[data-level="low"] { border-color: var(--nbq-success); background: #ebf8ef; color: #145c2d; }
.ds-result-v49 h3 { margin: 0 0 7px; color: inherit; }
.ds-result-v49 p { margin: 0 0 9px; line-height: 1.55; }
.ds-result-v49 ul { margin: 0; padding-left: 20px; }
.ds-result-v49 a { color: inherit; font-weight: 850; }

.nb-check-progress-v49 { display: flex; align-items: center; gap: 12px; min-width: min(100%, 270px); }
.nb-check-progress-v49 div { width: 150px; height: 10px; overflow: hidden; border-radius: 999px; background: #e0e8f1; }
.nb-check-progress-v49 i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #087f78, #075bd8); transition: width .2s ease; }
.nb-check-progress-v49 strong { min-width: 44px; color: var(--nbq-ink); }
.nb-check-grid-v49 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nb-checklist-note-v49 { margin: 14px 0 0; color: var(--nbq-muted); font-size: .9rem; }

.nb-source-panel-v49 { margin-top: 24px; padding: clamp(20px, 4vw, 30px); }
.nb-source-panel-v49 h2 { margin: 0 0 8px; color: var(--nbq-ink); }
.nb-source-panel-v49 > p { margin: 0 0 16px; color: var(--nbq-muted); line-height: 1.55; }
.nb-source-grid-v49 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nb-source-grid-v49 a {
  display: flex;
  flex-direction: column;
  min-height: 88px;
  padding: 14px;
  border: 1px solid #c8d8e8;
  border-radius: 12px;
  background: var(--nbq-soft);
  color: #064fae;
  text-decoration: none;
}
.nb-source-grid-v49 a strong { margin-bottom: 5px; }
.nb-source-grid-v49 a small { color: var(--nbq-muted); line-height: 1.4; }

.nb-partner-disclosure-v49 {
  margin-top: 10px;
  color: #d8e6f5;
  font-size: .78rem;
  line-height: 1.45;
}

[data-nb-theme="dark"] .nb-quality-strip-v49,
[data-nb-theme="dark"] .nb-resource-intro-v49 article,
[data-nb-theme="dark"] .ds-intro-v49 article,
[data-nb-theme="dark"] .ds-tool-v49,
[data-nb-theme="dark"] .nb-checklist-v49,
[data-nb-theme="dark"] .nb-source-panel-v49 {
  --nbq-ink: #f4f8ff;
  --nbq-muted: #c7d5e7;
  --nbq-line: #38516f;
  --nbq-surface: #0f2746;
  --nbq-soft: #162f50;
  background: #0f2746;
  color: #f4f8ff;
  border-color: #38516f;
}
[data-nb-theme="dark"] .nb-quality-strip-v49-links a,
[data-nb-theme="dark"] .ds-tool-actions-v49 button.secondary,
[data-nb-theme="dark"] .nb-checklist-v49 button.secondary { background: #18395f; color: #eaf3ff; border-color: #6e9acc; }
[data-nb-theme="dark"] .ds-question-v49,
[data-nb-theme="dark"] .nb-check-item-v49,
[data-nb-theme="dark"] .nb-source-grid-v49 a { background: #162f50; color: #f4f8ff; border-color: #456486; }
[data-nb-theme="dark"] .nb-source-grid-v49 a strong { color: #8fc3ff; }
[data-nb-theme="dark"] .ds-privacy-v49 { background: #174b4b; color: #c8fff8; }
[data-nb-theme="dark"] .nb-check-progress-v49 div { background: #314b6a; }
[data-nb-theme="dark"] .ds-result-v49 { background: #173d67; color: #edf6ff; }
[data-nb-theme="dark"] .ds-result-v49[data-level="high"] { background: #51241f; color: #ffe7e3; }
[data-nb-theme="dark"] .ds-result-v49[data-level="medium"] { background: #4d3518; color: #fff0cf; }
[data-nb-theme="dark"] .ds-result-v49[data-level="low"] { background: #183d29; color: #ddffe8; }
[data-nb-theme="dark"] body[data-project="digitalseguro"] .ds-actions-v49 a:not(.secondary),
[data-nb-theme="dark"] body[data-project="vailonge"] .nb-resource-actions-v49 a:not(.secondary),
[data-nb-theme="dark"] body[data-project="paisdeprimeira"] .nb-resource-actions-v49 a:not(.secondary) {
  background: #fff;
  color: #073c72;
}
[data-nb-theme="dark"] .ds-shell-v49 > .edu-breadcrumb,
[data-nb-theme="dark"] .nb-resource-shell-v49 > .edu-breadcrumb { color: #c7d5e7; }
[data-nb-theme="dark"] .ds-shell-v49 > .edu-breadcrumb a,
[data-nb-theme="dark"] .nb-resource-shell-v49 > .edu-breadcrumb a { color: #a9d2ff; }

@media (max-width: 820px) {
  .nb-resource-hero-v49, .ds-hero-v49 { grid-template-columns: 1fr; }
  .nb-resource-hero-v49 img, .ds-hero-v49 img { width: 150px; justify-self: start; }
  .nb-resource-intro-v49, .ds-intro-v49, .nb-source-grid-v49 { grid-template-columns: 1fr; }
  .ds-question-grid-v49, .nb-check-grid-v49 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nb-quality-strip-v49 { width: calc(100% - 20px); margin: 12px auto; }
  .nb-quality-strip-v49-body { padding: 0 12px 14px; }
  .nb-resource-shell-v49, .ds-shell-v49 { width: calc(100% - 20px); padding-top: 12px; }
  .nb-resource-hero-v49, .ds-hero-v49 { padding: 24px 18px; border-radius: 20px; }
  .nb-resource-hero-v49 h1, .ds-hero-v49 h1 { font-size: clamp(2.15rem, 15vw, 3.2rem); }
  .nb-resource-actions-v49 a, .ds-actions-v49 a { width: 100%; }
  .ds-tool-head-v49, .nb-checklist-head-v49 { flex-direction: column; }
  .nb-check-progress-v49 { width: 100%; }
  .nb-check-progress-v49 div { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .nb-check-progress-v49 i { transition: none; }
}
