/* NeuroPanda 1.3.4 — badge and typography discipline.
   Public widget only: avoids theme colors and keeps Atelier's nine warm premium compositions intact.
   Semantic palette: blue = neutral, green = recommendation / high rating,
   gold = Top-3 / medium-low rating; supporting tag backgrounds are pale, never colored type. */
html body.has-npw .npw-wrap.npw-wrap {
  --npw-ink:#25354a;
  --npw-subtle:#657489;
  --npw-blue-wash:#ecf3fc;
  --npw-mint-wash:#edf6f2;
  --npw-lilac-wash:#f3f0fb;
  --npw-blue-border:#d9e5f3;
  --npw-green:#347e68;
  --npw-gold:#ad762c;
}
/* Original title/badge layout is defined by compat-1.4.1.css.
   The obsolete diagonal ribbon is intentionally removed. */
/* Original features: three restrained pale washes, ONE dark text color. */
html body.has-npw .npw-wrap.npw-wrap .npw-origin-summary .npw-origin-point {
  background:#ffffff!important;
  border:1px solid var(--npw-blue-border)!important;
  color:var(--npw-ink)!important;
  -webkit-text-fill-color:var(--npw-ink)!important;
  font-weight:520!important;
}
html body.has-npw .npw-wrap.npw-wrap .npw-origin-summary .npw-origin-point:nth-child(3n+1) {background:#f8fbff!important;border-color:#dce8f6!important}
html body.has-npw .npw-wrap.npw-wrap .npw-origin-summary .npw-origin-point:nth-child(3n+2) {background:#f8fcfa!important;border-color:#dbece5!important}
html body.has-npw .npw-wrap.npw-wrap .npw-origin-summary .npw-origin-point:nth-child(3n) {background:#faf9ff!important;border-color:#e6e1f4!important}
html body.has-npw .npw-wrap.npw-wrap .npw-origin-summary .npw-origin-point .ic {color:var(--npw-green)!important}
/* Standard service cards: role badges neutral, ranking gold, recommendation green.
   Badge labels stay white or near-black, regardless of the assigned data-tone. */
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .badge,
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .badge[data-npw-tone],
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .badge[data-npw-tone="green"],
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .badge[data-npw-tone="teal"],
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .badge[data-npw-tone="amber"],
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .badge[data-npw-tone="purple"] {
  background:var(--npw-blue-wash)!important;
  background-image:none!important;
  border:1px solid #d5e4f3!important;
  color:var(--npw-ink)!important;
  -webkit-text-fill-color:var(--npw-ink)!important;
  border-radius:9px!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .badge :is(svg,i) {color:inherit!important}
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .top3,
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .top3:is(:hover,:focus),
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .top3 * {
  background:var(--npw-gold)!important;
  background-image:none!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border-color:var(--npw-gold)!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-weight:800!important;
}
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .top3 :is(svg,i){background:transparent!important;color:#fff!important}
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .pickb,
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .pickb * {
  background:var(--npw-green)!important;
  background-image:none!important;
  border-color:var(--npw-green)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-weight:800!important;
  box-shadow:none!important;
}
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .pickb :is(i,svg){background:transparent!important;color:#fff!important}
/* Three pastel tag surfaces: text always the same near-black. */
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .tag,
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .tag:nth-child(n) {
  color:var(--npw-ink)!important;
  -webkit-text-fill-color:var(--npw-ink)!important;
  border:1px solid var(--npw-blue-border)!important;
  background:var(--npw-blue-wash)!important;
  background-image:none!important;
  font-size:10.5px!important;
  font-weight:520!important;
  border-radius:7px!important;
  box-shadow:none!important;
}
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .tag:nth-child(3n+2) {background:var(--npw-mint-wash)!important;border-color:#d9ebe2!important}
html body.has-npw .npw-wrap.npw-wrap .grid > .tile .tag:nth-child(3n) {background:var(--npw-lilac-wash)!important;border-color:#e5e0f3!important}
/* Matrix: only two scoring families (green and gold) and one dark ink.
   Preserve green / amber / gray dots, with no new badge hues. */
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .simtag.s5,
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .simtag.s4 {
  background:#edf7f1!important;
  border:1px solid #cde8d8!important;
  color:var(--npw-ink)!important;
  -webkit-text-fill-color:var(--npw-ink)!important;
  font-weight:700!important;
}
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .simtag.s3,
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .simtag.s2,
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .simtag.s1 {
  background:#faf0e0!important;
  border:1px solid #e8cfaa!important;
  color:var(--npw-ink)!important;
  -webkit-text-fill-color:var(--npw-ink)!important;
  font-weight:700!important;
}
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .leadtag {
  color:var(--npw-ink)!important;
  -webkit-text-fill-color:var(--npw-ink)!important;
  font-weight:750!important;
}
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .rate b.dg{color:#329575!important}
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .rate b.da{color:#c9933c!important}
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .rate b.dr{color:#c9933c!important}
html body.has-npw .npw-wrap.npw-wrap .npw-matrix .rate b.dn{color:#d8dfe9!important}
