/* Campaign bar + popup (highlights.js), shared by the site and the dashboard. */
.nrh-t-brand { --nrh-bg: linear-gradient(100deg, #0b6653, #12937a); --nrh-solid: #0f7a64; }
.nrh-t-blue { --nrh-bg: linear-gradient(100deg, #1e40af, #2563eb); --nrh-solid: #1d4ed8; }
.nrh-t-green { --nrh-bg: linear-gradient(100deg, #166534, #16a34a); --nrh-solid: #15803d; }
.nrh-t-orange { --nrh-bg: linear-gradient(100deg, #c2410c, #f97316); --nrh-solid: #c2410c; }
.nrh-t-red { --nrh-bg: linear-gradient(100deg, #991b1b, #dc2626); --nrh-solid: #b91c1c; }
.nrh-t-dark { --nrh-bg: linear-gradient(100deg, #0b1512, #23332d); --nrh-solid: #13201c; }

.nrh-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; padding: 10px 16px; background: var(--nrh-bg); color: #fff; font-size: 14px; line-height: 1.4; text-align: center; }
.nrh-bar.has-x { padding-right: 44px; padding-left: 44px; }
.nrh-bar.in-app { border-radius: var(--r-md, 10px); margin-bottom: 16px; }
.nrh-bar .nrh-text b { font-weight: 800; }
.nrh-bar .nrh-text span { opacity: .92; }
.nrh-cta { display: inline-block; background: #fff; color: var(--nrh-solid); border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: 13px; text-decoration: none; white-space: nowrap; }
.nrh-cta:hover { color: var(--nrh-solid); filter: brightness(.95); }
.nrh-cd { display: inline-flex; gap: 6px; align-items: center; background: rgba(0, 0, 0, .2); border-radius: 8px; padding: 2px 9px; font-size: 13px; white-space: nowrap; }
.nrh-cd b { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.nrh-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; opacity: .85; }
.nrh-x:hover { opacity: 1; background: rgba(255, 255, 255, .15); }

.nrh-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(19, 32, 28, .5); animation: nrh-fade .18s ease-out; }
.nrh-card { position: relative; width: 100%; max-width: 420px; overflow: hidden; border-radius: 16px; background: var(--surface, #fff); color: var(--ink, #13201c); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); text-align: left; animation: nrh-pop .2s ease-out; }
.nrh-card-top { background: var(--nrh-bg); color: #fff; padding: 24px 52px 18px 22px; display: grid; gap: 10px; justify-items: start; }
.nrh-card-top h2 { margin: 0; font-size: 21px; line-height: 1.25; color: #fff; }
.nrh-card-body { padding: 16px 22px 22px; font-size: 15px; line-height: 1.55; }
.nrh-card-body p { margin: 0; color: var(--ink-2, #33433e); }
.nrh-card .nrh-cta.big { display: block; margin-top: 16px; padding: 12px; border-radius: 10px; background: var(--nrh-solid); color: #fff; text-align: center; font-size: 15px; }
.nrh-card .nrh-cta.big:hover { color: #fff; }
.nrh-card .nrh-x { top: 12px; transform: none; color: #fff; }
@keyframes nrh-fade { from { opacity: 0; } }
@keyframes nrh-pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
@media (max-width: 560px) { .nrh-bar { font-size: 13px; gap: 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .nrh-modal, .nrh-card { animation: none; } }
