:root {
  --bg: #ffffff; --surface: #ecfdf5; --ink: #064e3b; --muted: #4d6b65; --rule: #bbf7d0; --slate: #134e4a; --cobalt: #059669;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.nb { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }

.nb-head { background: #fff; border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 10; }
.nb-head-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.nb-logo { color: var(--ink); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; letter-spacing: -0.01em; }
.nb-logo-mark { color: var(--cobalt); font-size: 1.4rem; }
.nb-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nb-nav a { color: var(--muted); font-weight: 500; font-size: .9rem; }
.nb-nav li.active a, .nb-nav a:hover { color: var(--cobalt); text-decoration: none; }

.nb-main { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }

.nb-feature { display: block; position: relative; height: clamp(300px, 50vw, 480px); border-radius: 12px; overflow: hidden; margin-bottom: 3rem; color: #fff; }
.nb-feature:hover { text-decoration: none; }
.nb-feature-img { position: absolute; inset: 0; background: linear-gradient(135deg, var(--cobalt) 0%, var(--slate) 100%); }
.nb-feature-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.nb-feature-overlay { position: absolute; inset: 0; padding: 2rem 2rem 2.5rem; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(to top, color-mix(in srgb, var(--slate) 92%, transparent) 0%, color-mix(in srgb, var(--slate) 40%, transparent) 60%, transparent 100%); }
.nb-feature-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: #fff; opacity: .85; margin: 0 0 .5rem; font-weight: 700; }
.nb-feature-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -0.01em; max-width: 700px; }
.nb-feature-excerpt { font-size: 1.05rem; opacity: .9; margin: 0; max-width: 600px; }

.nb-section-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 1.25rem; color: var(--ink); }
.nb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.nb-card { background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.nb-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); }
.nb-card-img { display: block; }
.nb-card-thumb, .placeholder-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.nb-card-body { padding: 1rem 1.1rem 1.25rem; }
.nb-card-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cobalt); font-weight: 700; }
.nb-card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin: .35rem 0 .5rem; }
.nb-card-title a { color: var(--ink); }
.nb-card-title a:hover { color: var(--cobalt); }
.nb-card-excerpt { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.nb-card-meta { font-size: .8rem; color: var(--muted); margin: 0; }
.nb-card-pending { color: #b45309; font-weight: 600; }
.nb-empty { color: var(--muted); padding: 2rem 0; text-align: center; grid-column: 1 / -1; }

.nb-main-with-side { display: grid; grid-template-columns: 1fr 240px; gap: 2.5rem; align-items: start; }
@media (max-width: 768px) { .nb-main-with-side { grid-template-columns: 1fr; } }
.nb-cat-head { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--cobalt); }
.nb-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--cobalt); font-weight: 700; margin: 0 0 .35rem; }
.nb-cat-head h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.nb-cat-desc { color: var(--muted); margin: .5rem 0 0; }
.nb-side { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 1.25rem; position: sticky; top: 5rem; }
.nb-side-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 0 0 .75rem; }
.nb-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.nb-side-list a { display: flex; justify-content: space-between; align-items: center; padding: .5rem .65rem; border-radius: 4px; color: var(--ink); font-size: .92rem; }
.nb-side-list a:hover { background: color-mix(in srgb, var(--cobalt) 8%, transparent); color: var(--cobalt); text-decoration: none; }
.nb-side-list li.active a { background: var(--cobalt); color: #fff; }
.nb-side-list li.active a:hover { background: var(--cobalt); }
.nb-side-count { font-size: .8rem; opacity: .7; }

.nb-crumbs { background: var(--surface); border-bottom: 1px solid var(--rule); }
.nb-crumbs ol { max-width: 1200px; margin: 0 auto; padding: .75rem 1.5rem; list-style: none; display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.nb-crumbs li + li::before { content: '›'; margin-right: .5rem; color: var(--rule); }
.nb-crumbs a { color: var(--muted); }
.nb-crumbs a:hover { color: var(--cobalt); }
.nb-crumbs li[aria-current='page'] { color: var(--ink); }

.nb-post-main { max-width: 760px; }
.nb-post-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--cobalt); font-weight: 700; margin: 0 0 .5rem; }
.nb-post-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.18; margin: 0 0 .75rem; letter-spacing: -0.02em; }
.nb-post-meta { color: var(--muted); margin: 0 0 1.5rem; font-size: .9rem; }
.nb-post-lead { margin: 0 0 2rem; }
.nb-post-lead img { width: 100%; height: auto; display: block; border-radius: 8px; }
.photo-credit { font-size: .75rem; color: var(--muted); margin: .5rem 0 0; font-style: italic; }
.photo-credit a { color: inherit; text-decoration: underline; }
.nb-post-body { font-size: 1.05rem; line-height: 1.75; }
.nb-post-body h2 { font-size: 1.45rem; font-weight: 700; margin: 2rem 0 .75rem; }
.nb-post-body h3 { font-size: 1.2rem; font-weight: 700; margin: 1.6rem 0 .5rem; }
.nb-post-body p { margin: 0 0 1.1rem; }
.nb-post-body a { color: var(--cobalt); text-decoration: underline; }
.nb-post-body img { max-width: 100%; height: auto; border-radius: 6px; }
.nb-post-body blockquote { border-left: 4px solid var(--cobalt); margin: 1.5rem 0; padding: .35rem 0 .35rem 1rem; color: var(--muted); background: var(--surface); }
.nb-post-body table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .92rem; }
.nb-post-body th, .nb-post-body td { border: 1px solid var(--rule); padding: .55rem .75rem; text-align: left; }
.nb-post-body th { background: var(--surface); font-weight: 600; }

.nb-foot { background: var(--slate); color: rgba(255,255,255,0.7); margin-top: 4rem; }
.nb-foot-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; text-align: center; }
.nb-foot p { margin: 0; font-size: .85rem; }
@media (max-width: 560px) {
  .nb-main { padding: 1.5rem 1rem 3rem; }
  .nb-feature { margin-bottom: 2rem; }
  .nb-feature-overlay { padding: 1.25rem 1.25rem 1.5rem; }
  .nb-grid { gap: 1rem; }
  .nb-crumbs ol { padding: .65rem 1rem; }
  .nb-foot-inner { padding: 2rem 1rem; }
  .nb-side { position: static; }
}
.nb-nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nb-nav-toggle-label { display: none; }

@media (max-width: 720px) {
  .nb-nav-toggle-label {
    display: flex; align-items: center; justify-content: flex-end;
    padding: .85rem 1.25rem; cursor: pointer; user-select: none;
    color: var(--ink); background: var(--bg);
    border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    width: 100%; box-sizing: border-box;
  }
  .nb-nav-toggle-input:focus-visible + .nb-nav-toggle-label { outline: 2px solid var(--cobalt); outline-offset: -2px; }
  .nb-nav-toggle-icon { position: relative; display: inline-block; width: 22px; height: 14px; flex: 0 0 22px; }
  .nb-nav-toggle-icon::before, .nb-nav-toggle-icon::after {
    content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
    transition: transform .18s ease, top .18s ease, bottom .18s ease, box-shadow .18s ease;
  }
  .nb-nav-toggle-icon::before { top: 0; box-shadow: 0 6px 0 currentColor; }
  .nb-nav-toggle-icon::after  { bottom: 0; }

  .nb-nav { width: 100%; }
  .nb-nav ul {
    display: none; flex-direction: column; gap: 0; padding: 0; margin: 0;
    list-style: none;
  }
  .nb-nav-toggle-input:checked ~ .nb-nav ul { display: flex; }
  .nb-nav ul li { border-bottom: 1px solid var(--rule); padding: 0; }
  .nb-nav ul li:last-child { border-bottom: none; }
  .nb-nav ul li a {
    display: block; width: 100%; padding: .9rem 1.25rem; color: var(--ink);
    border-bottom: none !important;
  }
  .nb-nav ul li.active a {
    color: var(--cobalt); background: color-mix(in srgb, var(--cobalt) 8%, transparent); border-bottom: none !important;
    box-shadow: inset 3px 0 0 var(--cobalt);
  }

  .nb-nav-toggle-input:checked ~ .nb-nav-toggle-label .nb-nav-toggle-icon::before { top: 6px; box-shadow: none; transform: rotate(45deg); }
  .nb-nav-toggle-input:checked ~ .nb-nav-toggle-label .nb-nav-toggle-icon::after  { bottom: 6px; transform: rotate(-45deg); }
  .nb-head-inner { flex-direction: column; align-items: stretch; padding: 0; gap: 0; }
  .nb-logo { padding: 1rem 1.25rem; }
}
.author-byline { display: inline-flex; align-items: center; gap: .55rem; }
.author-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; }
.author-byline-text { display: inline-block; }
.author-name { font-weight: 600; }
.pn-chart { margin: 1.75rem 0; }
.pn-chart-title { font-size: .92rem; font-weight: 600; margin: 0 0 .55rem; line-height: 1.35; }
.pn-chart svg { width: 100%; height: auto; display: block; font: 14px/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif; }
.pn-chart-label { fill: currentColor; opacity: .85; }
.pn-chart-value { fill: currentColor; font-weight: 600; }
.pn-chart-bar { fill: currentColor; opacity: .35; }
.pn-chart-source { font-size: .72rem; color: #999; margin: .55rem 0 0; font-style: italic; }
.legal-footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; justify-content: center; margin: 0 0 .85rem; }
.legal-footer-nav a { font-size: .82rem; color: inherit; text-decoration: none; opacity: .8; }
.legal-footer-nav a:hover { opacity: 1; text-decoration: underline; }
.legal-page-main { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.legal-article-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 1.5rem; line-height: 1.15; }
.legal-article-body { font-size: 1.02rem; line-height: 1.65; }
.legal-article-body h2 { font-size: 1.4rem; margin: 2rem 0 .65rem; line-height: 1.25; }
.legal-article-body h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.legal-article-body p, .legal-article-body ul, .legal-article-body ol { margin: 0 0 1rem; }
.legal-article-body ul, .legal-article-body ol { padding-left: 1.4rem; }
.legal-article-body a { color: inherit; }
.legal-article-body .contact-mailto { padding: .85rem 1rem; background: rgba(0,0,0,0.04); border-left: 3px solid currentColor; margin-bottom: 1.5rem; }
.pn-links-rail { box-sizing: border-box; width: 100%; max-width: 100%; margin: 0; padding: 1.1rem 1.25rem 1rem; border: 1px solid rgba(0,0,0,.14); border-top: 3px solid currentColor; background: rgba(0,0,0,.015); font-family: inherit; }
.pn-links-rail__head { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; opacity: .8; margin: 0 0 .65rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(0,0,0,.1); }
.pn-links-rail__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.pn-links-rail__list li { line-height: 1.35; }
.pn-links-rail__list a { font-size: .92rem; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pn-links-rail__list a:hover { opacity: .75; }
@media (min-width: 1024px) {
  main:has(> .pn-links-rail) {
    max-width: min(1280px, calc(100vw - 3rem));
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 2.5rem;
    align-items: start;
    box-sizing: border-box;
  }
  main > .pn-links-rail {
    grid-column: 2;
    grid-row: 1 / span 999;
    position: sticky;
    top: 1.5rem;
    align-self: start;
  }
  main > .pn-links-hidden { grid-column: 1; grid-row: 1; }
}
@media (max-width: 1023px) {
  main > .pn-links-rail { margin: 1.5rem 0 1rem; }
}
.pn-links-hidden { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pn-social { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.pn-social__link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: inherit; opacity: .82; transition: opacity .15s ease, transform .15s ease; text-decoration: none; }
.pn-social__link:hover { opacity: 1; transform: translateY(-1px); }
.pn-social__icon { display: block; width: 22px; height: 22px; }
.pn-social--header { justify-content: flex-end; margin: .35rem 1.25rem; }
.pn-social--footer { justify-content: center; margin: 0 auto .85rem; }
.pn-social--sidebar { justify-content: flex-start; margin: 0 0 1.25rem; }
@media (max-width: 720px) { .pn-social--header { justify-content: center; } }
