/* TopicalMap Premium Light Theme
   Fresh product shell using IndiBlogHub blue as the primary brand color.
   This file intentionally maps old, nm, and v2 variables so legacy pages adapt.
*/

:root {
  --tm-blue: #2c8cd2;
  --tm-blue-2: #5db4e8;
  --tm-blue-3: #e9f5fc;
  --tm-blue-4: #d5ecf9;
  --tm-ink: #18212f;
  --tm-ink-2: #4f5d70;
  --tm-ink-3: #8793a4;
  --tm-line: #dce7f1;
  --tm-line-2: #edf3f8;
  --tm-paper: #ffffff;
  --tm-wash: #f6fafd;
  --tm-wash-2: #eef7fd;
  --tm-cream: #fffaf2;
  --tm-orange: #ff8a4c;
  --tm-green: #18a672;
  --tm-red: #e94f4f;
  --tm-shadow: 0 18px 60px rgba(24, 33, 47, .10);
  --tm-shadow-sm: 0 8px 26px rgba(24, 33, 47, .08);
  --tm-radius: 16px;
  --tm-radius-lg: 26px;
  --tm-radius-xl: 34px;
  --tm-max: 1220px;
  --tm-font: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --tm-font-head: 'Sora', 'Plus Jakarta Sans', 'Inter', sans-serif;

  --brand: var(--tm-blue);
  --brand-dark: #1d70ae;
  --brand-light: var(--tm-blue-3);
  --brand-subtle: var(--tm-blue-4);
  --green: var(--tm-green);
  --green-light: #e7f8f1;
  --surface: var(--tm-paper);
  --surface-alt: var(--tm-wash);
  --surface-dark: var(--tm-ink);
  --text-1: var(--tm-ink);
  --text-2: var(--tm-ink-2);
  --text-3: var(--tm-ink-3);
  --line: var(--tm-line);
  --line-light: var(--tm-line-2);
  --r: var(--tm-radius);
  --r-lg: var(--tm-radius-lg);
  --sh-sm: var(--tm-shadow-sm);
  --sh-md: var(--tm-shadow);
  --sh-lg: 0 26px 80px rgba(24, 33, 47, .14);

  --nm-bg: var(--tm-wash);
  --nm-bg-2: var(--tm-paper);
  --nm-bg-3: var(--tm-wash-2);
  --nm-bg-card: var(--tm-paper);
  --nm-border: var(--tm-line);
  --nm-border-2: #c6d8e8;
  --nm-text-1: var(--tm-ink);
  --nm-text-2: var(--tm-ink-2);
  --nm-text-3: var(--tm-ink-3);
  --nm-accent: var(--tm-blue);
  --nm-accent-2: var(--tm-blue-2);
  --nm-grad: linear-gradient(135deg, var(--tm-blue), var(--tm-blue-2));
  --nm-radius: var(--tm-radius);
  --nm-radius-lg: var(--tm-radius-lg);
  --nm-shadow: var(--tm-shadow);
  --nm-font: var(--tm-font);
  --nm-font-head: var(--tm-font-head);

  --v2-bg: var(--tm-wash);
  --v2-bg-2: var(--tm-paper);
  --v2-bg-3: var(--tm-wash-2);
  --v2-bg-4: #e5f1f8;
  --v2-bg-card: var(--tm-paper);
  --v2-border: var(--tm-line);
  --v2-border-2: #c7d9e8;
  --v2-border-3: #a9c7de;
  --v2-text-1: var(--tm-ink);
  --v2-text-2: var(--tm-ink-2);
  --v2-text-3: var(--tm-ink-3);
  --v2-text-inv: #ffffff;
  --v2-amber: var(--tm-blue);
  --v2-amber-dim: var(--tm-blue-3);
  --v2-amber-glow: rgba(44, 140, 210, .10);
  --v2-teal: #28b6bd;
  --v2-teal-dim: #e8f8fa;
  --v2-green: var(--tm-green);
  --v2-red: var(--tm-red);
  --v2-orange: var(--tm-orange);
  --v2-blue: var(--tm-blue);
  --v2-radius: 12px;
  --v2-radius-lg: var(--tm-radius);
  --v2-radius-xl: var(--tm-radius-lg);
  --v2-shadow: var(--tm-shadow);
  --v2-shadow-sm: var(--tm-shadow-sm);
  --v2-font: var(--tm-font);
  --v2-font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --v2-header-h: 72px;
  --v2-max-w: var(--tm-max);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.nm-body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--tm-font);
  color: var(--tm-ink);
  background:
    radial-gradient(circle at 20% 8%, rgba(44,140,210,.12), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(93,180,232,.18), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f5f9fd 48%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nm-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(44,140,210,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,140,210,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.1) 70%, transparent);
}

a { color: var(--tm-blue); text-decoration: none; }
a:hover { color: #1d70ae; }
img { max-width: 100%; display: block; }

.nm-container,
.container {
  width: min(var(--tm-max), calc(100% - 48px));
  margin-inline: auto;
  padding-inline: 0;
}

/* Header */
.nm-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(211,226,239,.9);
  box-shadow: 0 8px 30px rgba(24,33,47,.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nm-header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.nm-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-weight: 800;
}

.nm-logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--tm-blue), var(--tm-blue-2));
  box-shadow: 0 10px 24px rgba(44,140,210,.24);
  overflow: hidden;
}

.nm-logo-mark svg rect { fill: transparent; }
.nm-logo-mark svg path { stroke: #fff; }

.nm-logo-text {
  color: var(--tm-ink);
  font-size: 18px;
  letter-spacing: -.04em;
}

.nm-logo-text strong { color: var(--tm-blue); font-weight: 900; }

.nm-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nm-nav-link {
  color: #596579;
  font-size: 14px;
  font-weight: 750;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .18s, color .18s, transform .18s;
}

.nm-nav-link:hover,
.nm-nav-link.active {
  color: var(--tm-blue);
  background: var(--tm-blue-3);
}

.nm-header-right { display: flex; align-items: center; justify-content: flex-end; }
.nm-header-cta,
.nm-sidebar-cta-btn,
.btn-brand,
.btn-back-topic,
.copy-btn {
  border: 1px solid rgba(44,140,210,.18);
  background: linear-gradient(135deg, var(--tm-blue), #46a8e0);
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(44,140,210,.22);
}

.nm-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 850;
}

.nm-header-cta:hover,
.nm-sidebar-cta-btn:hover,
.btn-brand:hover,
.btn-back-topic:hover,
.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(44,140,210,.28);
}

.nm-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--tm-line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}

.nm-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--tm-ink);
  border-radius: 2px;
}

.nm-mobile-menu {
  display: none;
  width: min(var(--tm-max), calc(100% - 48px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--tm-shadow-sm);
}

.nm-mobile-menu a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--tm-ink-2);
  font-weight: 750;
}

.nm-header.nm-menu-open .nm-mobile-menu { display: block; }

/* Product hero */
.nm-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 0 74px;
  text-align: center;
}

.nm-hero::before {
  content: "";
  position: absolute;
  inset: 28px max(24px, calc((100vw - var(--tm-max)) / 2)) auto;
  height: 460px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(233,245,252,.62)),
    radial-gradient(circle at 48% 18%, rgba(44,140,210,.15), transparent 38%);
  border: 1px solid rgba(206,224,238,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), var(--tm-shadow);
  z-index: -1;
}

.nm-hero-eyebrow,
.nm-hero-badge,
.nm-section-eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(44,140,210,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--tm-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(44,140,210,.08);
}

.nm-hero-title {
  max-width: 880px;
  margin: 24px auto 22px;
  font-family: var(--tm-font-head);
  font-size: clamp(44px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.07em;
  font-weight: 900;
  color: var(--tm-ink);
}

.nm-hero-title em,
.nm-hero-title strong {
  color: var(--tm-blue);
  font-style: normal;
}

.nm-hero-sub {
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--tm-ink-2);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.nm-hero-stats,
.stat-strip {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--tm-line);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--tm-shadow-sm);
}

.nm-stat,
.stat-item {
  min-width: 130px;
  padding: 18px 24px;
  border-right: 1px solid var(--tm-line-2);
  text-align: center;
}

.nm-stat:last-child,
.stat-item:last-child { border-right: 0; }

.nm-stat-num,
.stat-val {
  display: block;
  color: var(--tm-blue);
  font-family: var(--tm-font-head);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.nm-stat-label,
.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--tm-ink-3);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Shared sections and cards */
.nm-nodes-bar,
.nm-features,
.section-alt,
.nm-about {
  border-block: 1px solid var(--tm-line);
  background: rgba(255,255,255,.62);
}

.nm-nodes-bar { padding: 20px 0; }
.nm-nodes-bar .nm-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nm-nodes-label {
  color: var(--tm-ink-3);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nm-nodes-list,
.topic-chips,
.nm-kw-strip,
.nm-em-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nm-node-pill,
.topic-chip,
.nm-kw-tag,
.nm-em-tag,
.u-tag,
.cat-ex-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-ink-2);
  font-size: 12px;
  font-weight: 750;
}

.nm-hubs,
.nm-features,
.section-wrap,
.nm-niches-section {
  padding: 72px 0;
}

.nm-home-answer-section {
  padding: 36px 0 12px;
}

.nm-home-answer {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--tm-line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(44,140,210,.10), rgba(24,182,163,.08)),
    rgba(255,255,255,.88);
  box-shadow: var(--tm-shadow-soft);
}

.nm-home-answer h2 {
  max-width: 780px;
  margin: 12px 0 12px;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.nm-home-answer p:last-child {
  max-width: 860px;
  margin: 0;
  color: var(--tm-ink-2);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
}

.hiw-section {
  scroll-margin-top: calc(var(--v2-header-h) + 24px);
}

.hiw-step-list,
.hiw-compare-grid,
.hiw-example-grid,
.hiw-faq-list {
  display: grid;
  gap: 16px;
}

.hiw-step-list {
  max-width: 980px;
  margin: 0 auto;
}

.hiw-step-card,
.hiw-compare-card,
.hiw-faq-item,
.hiw-example-card {
  border: 1px solid var(--tm-line);
  background: rgba(255,255,255,.84);
  box-shadow: var(--tm-shadow-soft);
}

.hiw-step-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
}

.hiw-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(44,140,210,.12);
  color: var(--tm-blue);
  font-family: var(--tm-font-head);
  font-size: 20px;
  font-weight: 900;
}

.hiw-step-card h3,
.hiw-compare-card h3 {
  margin: 0 0 8px;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: 22px;
  line-height: 1.2;
}

.hiw-step-card p,
.hiw-compare-card p,
.hiw-faq-item p {
  margin: 0;
  color: var(--tm-ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.hiw-compare-grid,
.hiw-example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hiw-compare-card {
  padding: 26px;
  border-radius: 26px;
}

.hiw-example-card {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 22px 24px;
  border-radius: 22px;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-weight: 850;
}

.hiw-example-card:hover {
  border-color: rgba(44,140,210,.36);
  color: var(--tm-blue);
  transform: translateY(-2px);
}

.hiw-faq-list {
  max-width: 980px;
  margin: 0 auto;
}

.hiw-faq-item {
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
}

.hiw-faq-item summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: 19px;
  font-weight: 850;
}

.hiw-faq-item p {
  padding: 0 24px 24px;
}

.nm-section-footer {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.nm-error-hero {
  min-height: calc(100vh - var(--v2-header-h));
  display: grid;
  align-items: center;
}

.nm-error-card {
  text-align: center;
}

.nm-error-card h1 {
  max-width: 760px;
  margin-inline: auto;
}

.nm-error-hint {
  color: var(--tm-ink-3) !important;
  font-size: 15px !important;
}

.nm-error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.nm-error-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tm-blue);
  font-weight: 800;
}

.nm-section-header,
.section-head {
  margin-bottom: 34px;
  text-align: center;
}

.nm-section-title,
.section-title,
.display-title {
  margin: 8px 0;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.nm-section-title { font-size: clamp(30px, 4vw, 48px); }
.section-title { font-size: clamp(28px, 3.5vw, 44px); }
.display-title { font-size: clamp(44px, 6vw, 72px); }

.nm-section-sub,
.lead-text {
  max-width: 680px;
  margin: 0 auto;
  color: var(--tm-ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.nm-hub-grid,
.nm-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}

.nm-hub-card,
.nm-feature-item,
.cat-card-lg,
.sidebar-card,
.sidebar-card,
.nm-sidebar-card,
.prompt-card,
.article-row,
.insight-card,
.ai-overview,
.how-to-strip,
.topic-card,
.map-card {
  position: relative;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  background: rgba(255,255,255,.88);
  box-shadow: 0 1px 0 rgba(255,255,255,.8), var(--tm-shadow-sm);
}

.nm-hub-card,
.nm-feature-item,
.cat-card-lg {
  padding: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.nm-hub-card:hover,
.nm-feature-item:hover,
.cat-card-lg:hover,
.prompt-card:hover,
.article-row:hover {
  transform: translateY(-3px);
  border-color: #b7d5ec;
  box-shadow: var(--tm-shadow);
}

.nm-hub-accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: var(--tm-radius-lg) 0 0 var(--tm-radius-lg);
  background: var(--tm-blue) !important;
}

.nm-hub-icon,
.nm-feature-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}

.nm-hub-name,
.nm-feature-name,
.cat-card-title {
  color: var(--tm-ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.nm-hub-meta,
.nm-hub-count,
.nm-feature-desc,
.cat-card-desc,
.nm-hub-niche-tag {
  color: var(--tm-ink-3);
  font-size: 13px;
}

.nm-hub-niches-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.nm-hub-niche-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--tm-wash-2);
  border: 1px solid var(--tm-line-2);
}

/* Breadcrumbs and hub/niche pages */
.nm-breadcrumb-bar,
.page-hero,
.topic-header-wrap {
  border-bottom: 1px solid var(--tm-line);
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(245,250,253,.86));
}

.nm-breadcrumb-bar { padding: 14px 0; }
.nm-breadcrumb,
.breadcrumb-list,
.article-breadcrumb,
.tm-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--tm-ink-3) !important;
  font-size: 13px;
}

.nm-breadcrumb a,
.article-breadcrumb a,
.breadcrumb-list a,
.tm-crumb a { color: var(--tm-ink-2) !important; }

.nm-hub-hero,
.nm-niche-hero {
  position: relative;
  padding: 54px 0;
  background:
    radial-gradient(circle at 14% 24%, rgba(44,140,210,.13), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(245,250,253,.9));
  border-bottom: 1px solid var(--tm-line);
}

.nm-hub-hero-banner { background: transparent; border: 0; padding: 0; }
.nm-hub-hero-color-bar,
.nm-niche-hero-color-bar {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--tm-blue), var(--tm-blue-2)) !important;
}

.nm-hub-hero-left,
.nm-niche-hero .nm-container {
  width: min(var(--tm-max), calc(100% - 48px));
  margin-inline: auto;
  padding: 0;
}

.nm-hub-hero-left {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.nm-hub-hero-icon,
.nm-niche-hero-hub-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--tm-line);
  box-shadow: var(--tm-shadow-sm);
  font-size: 30px;
}

.nm-hub-hero-title,
.nm-niche-hero-title,
.topic-title {
  margin: 0 0 12px;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.nm-hub-description,
.nm-niche-hero-tagline,
.topic-summary,
.article-hero-sub {
  color: var(--tm-ink-2) !important;
  font-size: 17px;
  line-height: 1.7;
}

.nm-niche-hero-copy {
  max-width: 920px;
}

.nm-niche-hero-tagline--support {
  margin-top: 10px;
  color: var(--tm-ink-3) !important;
  font-size: 15px;
}

.nm-niche-meta-strip {
  max-width: 980px;
  margin-top: 18px;
}

.nm-hub-hero-stats,
.nm-niche-hero-updated,
.nm-niches-count {
  color: var(--tm-ink-3);
  font-size: 13px;
}

.nm-niches-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: #fff;
}

.nm-niche-table-row,
.nm-topic-row,
.order-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: #fff;
  color: var(--tm-ink);
  box-shadow: var(--tm-shadow-sm);
  margin-bottom: 10px;
}

.nm-niche-table-row:hover,
.nm-topic-row:hover {
  border-color: #b7d5ec;
  transform: translateX(3px);
}

.nm-ntr-name,
.nm-topic-title,
.article-title,
.order-title {
  color: var(--tm-ink);
  font-weight: 850;
}

.nm-ntr-tag,
.nm-topic-summary,
.article-desc {
  color: var(--tm-ink-3);
  font-size: 13px;
}

.nm-asset-dot.done { opacity: 1; color: var(--tm-blue); }
.nm-asset-dot.pending { opacity: .28; }

/* Niche content layout */
.tm-tab-nav,
.nm-inline-tabs-bar,
.nm-sticky-nav {
  position: sticky;
  top: var(--v2-header-h);
  z-index: 80;
  background: rgba(255,255,255,.9) !important;
  border-bottom: 1px solid var(--tm-line) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tm-tab-nav-inner,
.nm-inline-tabs,
.nm-sticky-nav-list {
  width: min(var(--tm-max), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0;
}

.tm-tab,
.nm-inline-tab,
.nm-sticky-nav-item {
  white-space: nowrap;
  color: var(--tm-ink-2) !important;
  font-size: 13px;
  font-weight: 850;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 999px;
}

.tm-tab:hover,
.tm-tab.is-active,
.nm-inline-tab:hover,
.nm-inline-tab.active,
.nm-sticky-nav-item:hover,
.nm-sticky-nav-item.active {
  color: var(--tm-blue) !important;
  background: var(--tm-blue-3);
}

.nm-sticky-nav-spacer {
  height: 12px;
}

.nm-niche-layout { padding: 48px 0 84px; }
.nm-niche-layout-inner,
.topic-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article-layout.article-layout-single {
  display: block;
  max-width: none;
}

.article-layout.article-layout-single .article-main {
  width: 100%;
  max-width: none;
}

.nm-niche-main,
.topic-main {
  min-width: 0;
}

.nm-niche-layout-inner--single {
  display: block;
  max-width: none;
}

.nm-niche-layout-inner--single .nm-niche-main {
  max-width: 1080px;
  margin: 0 auto;
}

.nm-tab-content,
.nm-guide-content,
.topic-card-body,
.tm-tab-wrap {
  color: var(--tm-ink-2);
}

.nm-guide-content h2,
.nm-prose h2,
.tm-tab-wrap h1,
.cluster-section-title,
.article-hero h1 {
  color: var(--tm-ink) !important;
  font-family: var(--tm-font-head) !important;
  font-weight: 900 !important;
  letter-spacing: -.04em;
}

.nm-guide-content p,
.nm-prose p,
.nm-guide-content li,
.nm-prose li {
  color: var(--tm-ink-2);
  font-size: 15px;
  line-height: 1.78;
}

.nm-answer-capsule,
.ai-overview,
.how-to-strip,
.content-desc,
.nm-content-desc {
  padding: 22px 24px;
  border: 1px solid #c9e1f2;
  border-left: 5px solid var(--tm-blue);
  border-radius: var(--tm-radius);
  background: linear-gradient(135deg, #fff, var(--tm-blue-3));
  color: var(--tm-ink-2);
}

.nm-sidebar-card,
.sidebar-card,
.sidebar-card {
  padding: 22px;
  margin-bottom: 16px;
}

.nm-niche-sidebar,
.topic-sidebar,
.article-layout aside {
  position: sticky;
  top: calc(var(--v2-header-h) + 26px);
}

.nm-sidebar-card-title,
.sidebar-card-title {
  margin: 0 0 14px;
  color: var(--tm-ink-3) !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nm-sidebar-related-link,
.related-article-link {
  color: var(--tm-ink-2) !important;
  border-radius: 12px;
}

.nm-sidebar-related-link:hover,
.related-article-link:hover {
  background: var(--tm-blue-3);
  color: var(--tm-blue) !important;
}

.nm-btn-center {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Single prompt page */
.article-breadcrumb { padding-top: 28px !important; }

.article-hero {
  margin: 24px 0 34px !important;
  padding: 34px !important;
  border: 1px solid var(--tm-line) !important;
  border-radius: var(--tm-radius-xl);
  background:
    radial-gradient(circle at 88% 12%, rgba(44,140,210,.18), transparent 32%),
    linear-gradient(135deg, #fff, #f2f9fe);
  box-shadow: var(--tm-shadow);
}

.article-hero h1 {
      font-size: 40px !important;
 
  line-height: 1.04 !important;
}

.article-hero-meta,
.article-hero-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.prompt-card-meta,
.article-row-content,
.topic-header-main {
  min-width: 0;
}

.intent-badge,
.wc-badge,
.kit-count-pill,
.phase-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--tm-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--tm-ink-2) !important;
  box-shadow: 0 6px 18px rgba(24,33,47,.05);
}

.brief-card {
  padding: 28px !important;
  border: 1px solid #b8d9ef;
  border-radius: var(--tm-radius-lg) !important;
  background:
    linear-gradient(135deg, #173d59, #2c8cd2) !important;
  box-shadow: var(--tm-shadow);
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.brief-field label {
  color: rgba(255,255,255,.62) !important;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brief-field p,
.brief-kw-list li {
  color: rgba(255,255,255,.92) !important;
}

.brief-kw-list li {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.14);
}

.prompt-card {
  overflow: hidden;
}

.prompt-card-head {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start !important;
  gap: 16px !important;
  padding: 22px 24px !important;
  cursor: pointer;
}

.prompt-step-num {
  width: 38px !important;
  height: 38px !important;
  border-radius: 13px !important;
  background: var(--tm-blue-3) !important;
  color: var(--tm-blue) !important;
  font-family: var(--tm-font-head);
  font-weight: 900;
}

.prompt-card-label {
  color: var(--tm-ink) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.prompt-card-desc {
  color: var(--tm-ink-3) !important;
  line-height: 1.55;
}

.prompt-expand-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  background: var(--tm-wash);
  color: var(--tm-ink-3);
  font-size: 16px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.prompt-card-body {
  border-top: 1px solid var(--tm-line-2) !important;
  padding: 0 24px 24px !important;
}

.prompt-text-wrap {
  padding: 22px !important;
  border: 1px solid #cfe3f1 !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, #f8fcff, #ffffff) !important;
  color: #26384c !important;
  font-family: var(--v2-font-mono) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  box-shadow: inset 0 1px 0 #fff;
}

.copy-btn {
  border-radius: 999px !important;
  padding: 10px 16px !important;
}

.copy-btn.copied {
  background: var(--green-light) !important;
  color: var(--tm-green) !important;
  border-color: #bdebd8 !important;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 44px 0;
}

.insight-card {
  padding: 24px;
}

.insight-card-title {
  color: var(--tm-ink) !important;
  font-weight: 900 !important;
}

.insight-card li { color: var(--tm-ink-2) !important; }

.kit-coming-soon {
  padding: 70px 24px;
  text-align: center;
  border: 2px dashed #bdd9ed;
  border-radius: var(--tm-radius-lg);
  background: #fff;
}

/* Single topic page */
.topic-header-wrap {
  padding: 42px 0 0 !important;
}

.breadcrumb-nav {
  margin-bottom: 18px;
}

.breadcrumb-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-header {
  padding-bottom: 28px;
}

.topic-stats-strip,
.topic-tab-bar {
  border-color: var(--tm-line) !important;
  background: rgba(255,255,255,.86) !important;
}

.topic-stat {
  border-color: var(--tm-line-2) !important;
}

.topic-stat-val {
  color: var(--tm-blue) !important;
  font-family: var(--tm-font-head);
}

.topic-tab {
  color: var(--tm-ink-2) !important;
  font-weight: 850 !important;
}

.topic-tab.active {
  color: var(--tm-blue) !important;
  border-bottom-color: var(--tm-blue) !important;
}

/* Section-by-section rendering coverage */
.nm-about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
}

.nm-about-text {
  max-width: 720px;
}

.nm-about-text h2,
.nm-sub-page-header h1,
.nm-sub-page-header h2 {
  margin: 0 0 16px;
  color: var(--tm-ink) !important;
  font-family: var(--tm-font-head);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.nm-about-text h2 { font-size: clamp(28px, 3.4vw, 46px); }

.nm-sub-page-header {
  margin-bottom: 16px;
}

.nm-about-text p,
.nm-hub-seo-block p,
.nm-content-map-lead {
  color: var(--tm-ink-2) !important;
  font-size: 15px;
  line-height: 1.8;
}

.nm-about-nodes {
  display: grid;
  gap: 12px;
}

.nm-about-node {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--tm-shadow-sm);
}

.nm-about-node-icon,
.nm-checklist-inline-icon,
.nm-asset-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--tm-blue-3);
  color: var(--tm-blue);
}

.nm-about-node strong,
.nm-sibling-name,
.nm-asset-label {
  display: block;
  color: var(--tm-ink);
  font-weight: 900;
}

.nm-about-node span:last-child,
.nm-sibling-desc {
  display: block;
  margin-top: 3px;
  color: var(--tm-ink-3);
  font-size: 13px;
  line-height: 1.5;
}

.nm-niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.nm-niche-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  background:
    linear-gradient(180deg, #fff, #f8fcff);
  color: var(--tm-ink);
  box-shadow: var(--tm-shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nm-niche-card:hover {
  transform: translateY(-3px);
  border-color: #b7d5ec;
  box-shadow: var(--tm-shadow);
}

.nm-niche-name {
  margin: 0 0 8px;
  color: var(--tm-ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.nm-niche-tagline {
  margin: 0;
  color: var(--tm-ink-3);
  font-size: 13px;
  line-height: 1.6;
}

.nm-niche-card-bottom,
.nm-niche-nodes {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nm-niche-card-bottom {
  justify-content: space-between;
  margin-top: 22px;
}

.nm-niche-node,
.nm-np-asset {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tm-line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.nm-niche-node.done,
.nm-np-asset.done {
  border-color: #b7d5ec;
  background: var(--tm-blue-3);
}

.nm-niche-node.pending,
.nm-np-asset:not(.done) {
  opacity: .42;
  filter: grayscale(1);
}

.nm-niche-arrow,
.nm-hub-arrow,
.nm-ntr-arrow {
  color: var(--tm-blue);
  font-weight: 900;
}

.nm-hub-seo-block {
  padding: 38px 0;
  border-top: 1px solid var(--tm-line);
  background: rgba(255,255,255,.72);
}

.nm-hub-seo-block p {
  max-width: 920px;
  margin: 0 auto;
}

.nm-niche-progress-bar {
  max-width: 720px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: rgba(255,255,255,.78);
  box-shadow: var(--tm-shadow-sm);
}

.nm-np-label {
  margin-bottom: 10px;
  color: var(--tm-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nm-np-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tm-line-2);
}

.nm-np-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tm-blue), var(--tm-blue-2));
}

.nm-np-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.nm-section-divider {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--tm-line);
}

.nm-section-h2,
.nm-tab-content > h2 {
  margin: 0 0 8px !important;
  color: var(--tm-ink) !important;
  font-family: var(--tm-font-head);
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -.035em;
}

.nm-section-sub-small {
  margin: 0 0 18px;
  color: var(--tm-ink-3) !important;
  font-size: 14px;
  line-height: 1.6;
}

.nm-topic-row {
  justify-content: space-between;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nm-topic-row > div {
  min-width: 0;
  width: 100%;
}

.nm-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.nm-topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: var(--tm-wash);
  color: var(--tm-ink-3);
  font-size: 11px;
  font-weight: 800;
}

.nm-prompt-grid,
.nm-sibling-grid,
.nm-guide-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.nm-prompt-card,
.nm-sibling-card,
.nm-guide-stat,
.nm-entity-section,
.nm-kg-rel {
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: #fff;
  box-shadow: var(--tm-shadow-sm);
}

.nm-prompt-card {
  display: block;
  padding: 18px;
  color: var(--tm-ink);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nm-prompt-card:hover,
.nm-sibling-card:hover {
  transform: translateY(-2px);
  border-color: #b7d5ec;
  box-shadow: var(--tm-shadow);
}

.nm-prompt-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.nm-prompt-intent-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--tm-blue-3);
}

.nm-prompt-card-title {
  display: block;
  color: var(--tm-ink);
  font-weight: 900;
  line-height: 1.35;
}

.nm-prompt-card-topic {
  display: block;
  margin-top: 4px;
  color: var(--tm-ink-3);
  font-size: 12px;
}

.nm-checklist-inline {
  padding: 24px;
  border: 1px solid #c9e1f2;
  border-radius: var(--tm-radius-lg);
  background: linear-gradient(135deg, #fff, var(--tm-blue-3));
}

.nm-checklist-inline-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.nm-checklist-inline-title {
  margin: 0 0 4px;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.035em;
}

.nm-checklist-inline-sub {
  margin: 0;
  color: var(--tm-ink-2);
  line-height: 1.6;
}

.nm-checklist-body > h2,
.nm-checklist-body > h3 {
  color: var(--tm-ink) !important;
}

.nm-checklist-body > h2 {
  margin: 28px 0 12px !important;
  font-family: var(--tm-font-head);
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -.035em;
}

.nm-checklist-body > h3 {
  margin: 22px 0 10px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.nm-checklist-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-ink-2);
  font-size: 13px;
  font-weight: 800;
}

.nm-checklist-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nm-checklist-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  color: var(--tm-ink-2);
  line-height: 1.65;
}

.nm-checklist-item.nm-checklist-must {
  border-color: #f3c1be;
  background: #fff8f7;
}

.nm-checklist-item.nm-checklist-gap {
  border-color: #f5d0a8;
  background: #fff8ef;
}

.nm-cl-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--tm-blue-3);
  color: var(--tm-blue);
  flex: 0 0 auto;
}

.nm-checklist-group {
  display: grid;
  gap: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--tm-line);
  border-radius: 22px;
  background: #0f1728;
  box-shadow: var(--tm-shadow-sm);
}

.nm-cl-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #0f1728;
}

.nm-cl-row:first-child {
  border-top: 0;
}

.nm-cl-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
}

.nm-cl-must .nm-cl-priority {
  border-color: rgba(244,114,101,.35);
  background: rgba(127,29,29,.24);
  color: #ff8e88;
}

.nm-cl-should .nm-cl-priority {
  border-color: rgba(99,102,241,.35);
  background: rgba(49,46,129,.28);
  color: #98a2ff;
}

.nm-cl-nice .nm-cl-priority {
  border-color: rgba(148,163,184,.18);
  background: rgba(51,65,85,.42);
  color: #94a3b8;
}

.nm-cl-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.nm-cl-item {
  display: block;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.nm-cl-why {
  display: block;
  color: #8ea0bb;
  font-size: 13px;
  line-height: 1.65;
}

.nm-entity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nm-entity-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-ink-2);
  font-size: 12px;
  font-weight: 800;
}

.nm-entity-secondary {
  background: var(--tm-wash);
}

.nm-faq {
  display: grid;
  gap: 10px;
}

.nm-faq-item {
  overflow: hidden;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: #fff;
  box-shadow: var(--tm-shadow-sm);
}

.nm-faq-q {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  color: var(--tm-ink);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.nm-faq-q::-webkit-details-marker { display: none; }

.nm-faq-a {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--tm-ink-2);
  line-height: 1.7;
}

.nm-sibling-card {
  display: block;
  padding: 18px;
  color: var(--tm-ink);
}

/* Niche landing page section polish */
.nm-niche-layout-inner--single .nm-niche-main {
  max-width: 1040px;
}

.nm-niche-layout-inner--single .nm-tab-content {
  display: flow-root;
}

.nm-niche-layout-inner--single .nm-guide-content {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(197, 216, 232, .9);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .96));
  box-shadow: 0 18px 44px rgba(24, 33, 47, .08);
}

.nm-niche-layout-inner--single .nm-guide-content + .nm-section-divider {
  margin-top: 44px;
}

.nm-sub-niches-intro {
  max-width: 880px;
  margin: 0 0 22px !important;
  color: var(--tm-ink-2) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.nm-sub-niches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.nm-sub-niche {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(207, 224, 238, .95);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbfe);
  box-shadow: 0 8px 22px rgba(24, 33, 47, .05);
}

.nm-sub-niche strong {
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.nm-sub-niche span {
  color: var(--tm-ink-2);
  font-size: 14px;
  line-height: 1.58;
}

.nm-citation-panel {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(44, 140, 210, .18);
  border-radius: 26px;
  background:
    linear-gradient(135deg, #fff 0%, #f5fbff 58%, #eef9f4 100%);
  box-shadow: 0 20px 52px rgba(24, 33, 47, .09);
}

.nm-citation-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--tm-blue), var(--tm-green));
}

.nm-citation-kicker,
.nm-intent-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(44, 140, 210, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--tm-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nm-citation-title {
  margin: 14px 0 10px;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.nm-citation-answer {
  max-width: 860px;
  margin: 0;
  color: var(--tm-ink-2);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.75;
}

.nm-query-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.nm-query-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-ink-2);
  font-size: 12px;
  font-weight: 800;
}

.nm-intent-panel {
  margin: 26px 0 8px;
}

.nm-section-mini-head {
  margin-bottom: 18px;
}

.nm-intent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.nm-intent-card {
  min-width: 0;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(207, 224, 238, .95);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--tm-shadow-sm);
  color: var(--tm-ink);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nm-intent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(44, 140, 210, .28);
  box-shadow: 0 18px 40px rgba(24, 33, 47, .11);
}

.nm-intent-keyword {
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.nm-intent-text {
  color: var(--tm-ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.nm-section-divider {
  height: 1px;
  margin: 46px 0 30px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(44, 140, 210, .24), rgba(24, 166, 114, .18), transparent);
}

.nm-section-h2,
.nm-tab-content > h2 {
  position: relative;
  padding-left: 18px;
  font-size: clamp(23px, 2.5vw, 32px) !important;
  line-height: 1.16;
}

.nm-section-h2::before,
.nm-tab-content > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .16em;
  width: 5px;
  height: .95em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--tm-blue), var(--tm-green));
}

.nm-section-sub-small {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--tm-ink-2) !important;
  font-size: 15px;
}

.nm-topic-list {
  display: grid;
  gap: 12px;
}

.nm-topic-row {
  position: relative;
  align-items: flex-start;
  min-height: 92px;
  padding: 20px 22px;
  overflow: hidden;
  border-color: rgba(207, 224, 238, .95);
  border-radius: 20px;
  background:
    linear-gradient(180deg, #fff, #fbfdff);
}

.nm-topic-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--tm-blue), var(--tm-green));
  opacity: .72;
}

.nm-topic-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(24, 33, 47, .10);
}

.nm-topic-title {
  font-family: var(--tm-font-head);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.nm-topic-summary {
  max-width: 820px;
  margin: 7px 0 0;
  color: var(--tm-ink-2);
  font-size: 13.5px;
  line-height: 1.65;
}

.nm-topic-chip {
  min-height: 28px;
  padding: 5px 10px;
  border-color: rgba(44, 140, 210, .16);
  background: var(--tm-blue-3);
  color: #1f6f9f;
  letter-spacing: .02em;
}

.nm-topic-chip--kits {
  border-color: rgba(24, 166, 114, .18);
  background: #e9f8f1;
  color: #0f7d58;
}

.nm-topic-chip--views {
  border-color: rgba(255, 138, 76, .22);
  background: #fff3ea;
  color: #b45a27;
}

.nm-prompt-grid,
.nm-sibling-grid,
.nm-guide-stats {
  gap: 16px;
}

.nm-prompt-card,
.nm-sibling-card,
.nm-guide-stat {
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.nm-prompt-card {
  min-height: 132px;
  padding: 20px;
}

.nm-prompt-card:hover,
.nm-sibling-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(24, 33, 47, .11);
}

.nm-prompt-intent-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(44, 140, 210, .14);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, var(--tm-blue-3));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.nm-prompt-card-title {
  font-size: 15px;
}

.nm-prompt-card-topic {
  line-height: 1.5;
}

.nm-checklist-inline {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  border-color: rgba(44, 140, 210, .20);
  border-radius: 26px;
  background:
    linear-gradient(135deg, #fff 0%, #f6fbff 62%, #eef9f4 100%);
  box-shadow: 0 20px 52px rgba(24, 33, 47, .09);
}

.nm-checklist-inline::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--tm-blue), var(--tm-green));
}

.nm-checklist-inline-header {
  gap: 16px;
  margin-bottom: 20px;
}

.nm-checklist-inline-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 166, 114, .18);
  border-radius: 16px;
  background: #e9f8f1;
}

.nm-checklist-inline-title {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.18;
}

.nm-checklist-inline-sub {
  max-width: 760px;
  color: var(--tm-ink-2);
}

.nm-checklist-body {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nm-niche-layout-inner--single .nm-checklist-body {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nm-faq {
  gap: 12px;
}

.nm-faq-item {
  border-color: rgba(207, 224, 238, .95);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.nm-faq-item[open] {
  border-color: rgba(44, 140, 210, .26);
  box-shadow: 0 16px 34px rgba(24, 33, 47, .08);
}

.nm-faq-q {
  align-items: center;
  padding: 18px 20px;
  line-height: 1.45;
}

.nm-faq-q span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--tm-blue-3);
  color: var(--tm-blue);
}

.nm-faq-item[open] .nm-faq-q span {
  background: #e9f8f1;
  color: var(--tm-green);
}

.nm-faq-a {
  padding: 0 20px 20px;
  border-top: 1px solid var(--tm-line-2);
  margin-top: -1px;
}

.nm-sibling-card {
  min-height: 118px;
  padding: 20px;
  border-color: rgba(207, 224, 238, .95);
}

.nm-sibling-name {
  font-family: var(--tm-font-head);
  font-size: 15px;
  line-height: 1.35;
}

.nm-sibling-desc {
  margin-top: 8px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .nm-intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nm-asset-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nm-asset-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  background: var(--tm-wash);
}

.nm-asset-item.done .nm-asset-status {
  color: var(--tm-green);
}

.nm-asset-item.pending {
  opacity: .62;
}

.nm-sidebar-card--hub {
  background:
    radial-gradient(circle at 86% 12%, rgba(44,140,210,.16), transparent 34%),
    linear-gradient(135deg, #fff, #f2f9fe);
}

.nm-sidebar-hub-icon {
  font-size: 30px;
}

.nm-sidebar-hub-name {
  margin-top: 8px;
  color: var(--tm-ink);
  font-weight: 900;
}

.nm-sidebar-hub-count {
  margin: 3px 0 14px;
  color: var(--tm-ink-3);
  font-size: 13px;
}

.nm-authority-score-section {
  padding: 24px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  background: #fff;
  box-shadow: var(--tm-shadow-sm);
}

.nm-authority-score-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 18px 0 20px;
}

.nm-as-gauge {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tm-line-2);
}

.nm-as-gauge-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18a672, var(--tm-blue));
}

.nm-as-gauge-bar.nm-as-high,
.nm-as-gauge-bar.nm-as-danger {
  background: linear-gradient(90deg, var(--tm-orange), var(--tm-red));
}

.nm-as-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nm-as-score-num {
  color: var(--tm-blue);
  font-family: var(--tm-font-head);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.nm-as-score-denom {
  color: var(--tm-ink-3);
  font-size: 14px;
}

.nm-as-label,
.nm-as-weight {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--tm-blue-3);
  color: var(--tm-blue);
  font-size: 11px;
  font-weight: 900;
}

.nm-as-verdict {
  padding: 16px 18px;
  border-left: 4px solid var(--tm-blue);
  border-radius: 14px;
  background: var(--tm-blue-3);
  color: var(--tm-ink-2);
  line-height: 1.7;
}

.nm-as-subhead {
  margin: 26px 0 12px;
  color: var(--tm-ink);
  font-size: 15px;
  font-weight: 900;
}

.nm-as-factors,
.nm-as-compete-row,
.nm-as-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nm-as-factor,
.nm-as-compete-col,
.nm-as-chip {
  padding: 16px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: var(--tm-wash);
}

.nm-as-factor-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.nm-as-factor-name {
  color: var(--tm-ink);
  font-weight: 900;
}

.nm-as-factor-note,
.nm-as-compete-body,
.nm-as-domlist li,
.nm-as-chip-val {
  color: var(--tm-ink-2);
  line-height: 1.65;
}

.nm-as-domlist {
  margin: 0;
  padding-left: 18px;
}

.nm-as-chip-label {
  display: block;
  margin-bottom: 4px;
  color: var(--tm-ink-3);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nm-as-chip--full {
  grid-column: 1 / -1;
}

.nm-guide-stat {
  padding: 18px;
}

.nm-guide-stat-label {
  display: block;
  color: var(--tm-ink-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nm-guide-stat-val {
  display: block;
  margin-top: 6px;
  color: var(--tm-blue);
  font-family: var(--tm-font-head);
  font-size: 24px;
  font-weight: 900;
}

.nm-entity-section {
  margin-bottom: 16px;
  padding: 20px;
}

.nm-entity-section-head,
.nm-kg-rel-entities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nm-entity-section-icon {
  font-size: 20px;
}

.nm-entity-section-title {
  color: var(--tm-ink);
  font-weight: 900;
}

.nm-entity-section-count,
.nm-kg-rel-type {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--tm-blue-3);
  color: var(--tm-blue);
  font-size: 11px;
  font-weight: 900;
}

.nm-entity-section-desc {
  color: var(--tm-ink-3);
  line-height: 1.6;
}

.nm-kg-relationships {
  display: grid;
  gap: 10px;
}

.nm-kg-rel {
  padding: 16px;
}

.nm-kg-entity {
  color: var(--tm-ink);
  font-weight: 900;
}

.nm-kg-arrow {
  color: var(--tm-blue);
}

.nm-kg-rel-note {
  display: block;
  margin-top: 8px;
  color: var(--tm-ink-3);
  font-size: 13px;
  line-height: 1.6;
}

.nm-coming-soon {
  padding: 46px 24px;
  text-align: center;
  border: 2px dashed #bdd9ed;
  border-radius: var(--tm-radius-lg);
  background: #fff;
}

.nm-coming-soon-icon {
  font-size: 42px;
  margin-bottom: 10px;
}

.nm-checklist-warning {
  margin: 18px 0;
  padding: 15px 18px;
  border: 1px solid #ffd9ad;
  border-left: 5px solid var(--tm-orange);
  border-radius: var(--tm-radius);
  background: #fff7ed;
  color: #8a4b12 !important;
  line-height: 1.65;
}

.nm-entity-tag,
.nm-kw-tag--link {
  color: var(--tm-blue) !important;
  border-color: #b7d5ec !important;
  background: var(--tm-blue-3) !important;
}

.nm-kw-tag--muted {
  opacity: .72;
}

.topic-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: end;
}

.topic-hero-shell {
  padding: 26px 0 42px;
}

.topic-hero-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px clamp(24px, 4vw, 38px);
  border: 1px solid var(--tm-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 18%, rgba(44,140,210,.16), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,251,254,.98));
  box-shadow: 0 28px 70px rgba(20, 78, 120, .08);
}

.topic-header--single {
  grid-template-columns: minmax(0, 1fr);
}

.topic-header-badges,
.cluster-legend,
.article-row-meta,
.article-row-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.topic-title-suffix {
  color: var(--tm-blue);
}

.topic-hero-copy {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.topic-header-main > p,
.nm-sub-page-header p {
  max-width: 820px;
}

.topic-summary-support {
  margin-top: 0;
}

.topic-meta-strip {
  margin-top: 24px;
  max-width: 980px;
}

.entity-hero {
  margin: 24px 0 34px !important;
}

.entity-index-hero {
  margin: 24px 0 34px !important;
}

.entity-hero-support {
  margin-top: 0;
}

.entity-page-main {
  display: grid;
  gap: 24px;
}

.entity-index-main {
  display: grid;
  gap: 24px;
}

.entity-index-section {
  display: grid;
  gap: 18px;
}

.entity-index-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.entity-index-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.entity-index-section-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--tm-blue-3);
  border: 1px solid #c8dff1;
  color: var(--tm-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.entity-index-section-title {
  margin-bottom: 4px !important;
}

.entity-index-section-note {
  margin: 0 !important;
}

.entity-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.entity-index-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.entity-index-card:hover {
  border-color: #b7d5ec;
  box-shadow: var(--tm-shadow-sm);
  transform: translateY(-1px);
}

.entity-index-card-name {
  color: var(--tm-ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
}

.entity-index-card-desc {
  color: var(--tm-ink-3);
  font-size: 13px;
  line-height: 1.65;
}

.entity-index-card-link {
  color: var(--tm-blue);
  font-size: 13px;
  font-weight: 800;
}

.entity-index-pagination-card {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.entity-index-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.entity-index-page-status {
  color: var(--tm-ink-3);
  font-size: 13px;
}

.entity-index-empty {
  text-align: center;
}

.entity-page-main .topic-info-card,
.entity-page-main .topic-faq-block,
.entity-page-main .nm-answer-capsule {
  margin: 0;
}

.entity-page-main .topic-card-title {
  margin-bottom: 14px !important;
}

.entity-page-main .topic-card-note {
  margin-bottom: 14px;
}

.entity-answer-card,
.entity-signal-card {
  margin-bottom: 0;
}

.entity-facts-table {
  display: grid;
  border: 1px solid var(--tm-line);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.entity-fact-table-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--tm-line);
}

.entity-fact-table-row:last-child {
  border-bottom: 0;
}

.entity-fact-table-label {
  min-width: 0;
}

.entity-fact-label {
  color: var(--tm-ink-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-block;
}

.entity-fact-table-value {
  color: var(--tm-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.7;
}

.entity-prose-card {
  display: grid;
  gap: 0;
}

.entity-prose-section + .entity-prose-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--tm-line);
}

.entity-prose-copy {
  white-space: normal;
}

.entity-opportunity-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.entity-opportunity-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f9fcff);
}

.entity-opportunity-item--informational {
  border-left: 4px solid #9dc4e6;
}

.entity-opportunity-item--commercial,
.entity-opportunity-item--transactional {
  border-left: 4px solid #8f93ff;
}

.entity-opportunity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--tm-line);
  background: var(--tm-wash);
  color: var(--tm-ink-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.entity-opportunity-badge--informational {
  background: #edf5fc;
  color: #2b5f8d;
  border-color: #cfe2f3;
}

.entity-opportunity-badge--commercial,
.entity-opportunity-badge--transactional {
  background: #eef1ff;
  color: #4848b8;
  border-color: #cfd4ff;
}

.entity-opportunity-copy {
  min-width: 0;
}

.entity-opportunity-title {
  display: block;
  color: var(--tm-ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
}

.entity-topic-list {
  margin-top: 4px;
}

.entity-topic-row {
  text-decoration: none;
}

.entity-topic-copy {
  min-width: 0;
  flex: 1;
}

.entity-topic-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--tm-ink-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.entity-topic-arrow {
  color: var(--tm-blue);
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.entity-related-list {
  display: grid;
  gap: 12px;
}

.entity-related-item {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: #fff;
}

.entity-related-item--link {
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.entity-related-item--link:hover {
  border-color: #b7d5ec;
  box-shadow: var(--tm-shadow-sm);
  transform: translateY(-1px);
}

.entity-related-copy {
  min-width: 0;
}

.entity-related-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.entity-related-title {
  color: var(--tm-ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
}

.entity-related-arrow {
  color: var(--tm-blue);
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.entity-related-note {
  margin-top: 8px;
  color: var(--tm-ink-3);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .entity-fact-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .entity-opportunity-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .entity-opportunity-badge {
    width: fit-content;
  }
}

.entity-faq-block {
  margin-bottom: 0;
}

.entity-cta-band .lead-text {
  max-width: 520px;
}

.topic-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  box-shadow: var(--tm-shadow-sm);
}

.topic-stat {
  padding: 18px;
  border-right: 1px solid var(--tm-line-2);
  border-bottom: 1px solid var(--tm-line-2);
  background: #fff;
}

.topic-stat:nth-child(2n) {
  border-right: 0;
}

.topic-stat:nth-last-child(-n+2) {
  border-bottom: 0;
}

.topic-stat-val,
.topic-stat-label {
  display: block;
}

.topic-stat-label {
  margin-top: 5px;
  color: var(--tm-ink-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topic-tab-bar {
  position: sticky;
  top: var(--v2-header-h);
  z-index: 70;
  border-bottom: 1px solid var(--tm-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topic-tab-bar .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.topic-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 4px 13px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.tab-panel[hidden] {
  display: none !important;
}

.tab-panel.active {
  display: block;
}

.cluster-legend {
  padding: 12px 14px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: #fff;
}

.legend-item,
.article-wc,
.article-query {
  color: var(--tm-ink-3);
  font-size: 12px;
  font-weight: 800;
}

.priority-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 999px;
}

.pillar-card {
  overflow: hidden;
}

.pillar-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.pillar-card-body {
  padding: 22px;
}

.pillar-title {
  margin: 12px 0 8px;
  color: #fff;
  font-family: var(--tm-font-head);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.035em;
}

.pillar-desc {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

.article-list {
  display: grid;
  gap: 12px;
}

.article-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
}

.article-order {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  font-family: var(--tm-font-head);
  font-weight: 900;
}

.article-title {
  margin: 8px 0 6px;
  font-size: 17px;
  line-height: 1.35;
}

.article-query-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.article-prompt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding-top: 2px;
  color: var(--tm-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.article-prompt-link:hover {
  color: var(--tm-blue-deep);
  text-decoration: none;
}

.sidebar-dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.nm-sidebar-related {
  display: grid;
  gap: 8px;
}

.nm-sidebar-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  background: var(--tm-wash);
}

.sidebar-dl-row,
.sidebar-stat {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--tm-line-2);
}

.sidebar-dl-row dt,
.sidebar-stat-label {
  color: var(--tm-ink-3);
  font-size: 12px;
  font-weight: 800;
}

.sidebar-dl-row dd,
.sidebar-stat-value {
  margin: 0;
  color: var(--tm-ink);
  text-align: right;
  font-size: 12px;
  font-weight: 900;
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  padding: 12px 18px;
  background: #fff;
  color: var(--tm-blue) !important;
  font-weight: 900;
}

.pillar-card {
  border-radius: var(--tm-radius-lg) !important;
  background: linear-gradient(135deg, #173d59, var(--tm-blue)) !important;
  box-shadow: var(--tm-shadow);
}

.pillar-badge {
  color: var(--tm-blue) !important;
}

.article-row {
  padding: 18px 20px !important;
}

.article-order,
.order-step {
  border-color: var(--tm-line) !important;
  background: var(--tm-blue-3) !important;
  color: var(--tm-blue) !important;
}

.priority-dot,
.related-kit-dot {
  background: var(--tm-blue) !important;
}

.cat-badge,
.u-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tm-blue-3);
  color: var(--tm-blue);
  font-size: 11px;
  font-weight: 900;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(135deg, #173d59, #2c8cd2);
}

.btn-white,
.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
}

.btn-white {
  background: #fff;
  color: var(--tm-blue);
}

.cta-ghost {
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
}

.nm-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Footer */
.nm-footer {
  margin-top: 0;
  padding: 68px 0 0;
  border-top: 1px solid var(--tm-line);
  background:
    radial-gradient(circle at 18% 0%, rgba(44,140,210,.12), transparent 24%),
    linear-gradient(180deg, #fff, #f4f9fd);
}

.nm-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--tm-line);
}

.nm-footer-tagline,
.nm-footer-built,
.nm-footer-copy,
.nm-footer-seo p {
  color: var(--tm-ink-3);
  line-height: 1.75;
}

.nm-footer-heading {
  margin: 0 0 12px;
  color: var(--tm-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nm-footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.nm-footer-col a,
.nm-footer-seo a,
.nm-footer-copy a,
.nm-footer-sibling {
  color: var(--tm-ink-2);
}

.nm-footer-col a:hover,
.nm-footer-seo a:hover,
.nm-footer-copy a:hover,
.nm-footer-sibling:hover {
  color: var(--tm-blue);
}

.nm-footer-seo {
  padding: 24px 0;
  border-bottom: 1px solid var(--tm-line);
}

.nm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

/* Utility compatibility */
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 32px; }
.mx-auto { margin-inline: auto; }
.u-c1 { color: var(--tm-ink); }
.u-c2 { color: var(--tm-ink-2); }
.u-c3 { color: var(--tm-ink-3); }
.u-brand { color: var(--tm-blue); }

/* Topic + prompt compatibility layer */
.cat-badge--local {
  background: #eefaf4 !important;
  color: #15803d !important;
}

.cat-badge--business {
  background: #fff4e8 !important;
  color: #c2410c !important;
}

.topic-meta-line {
  margin: 4px 0 10px;
  color: var(--tm-ink-2);
  font-size: 13px;
  font-weight: 700;
}

.topic-meta-time {
  color: var(--tm-ink-3);
}

.topic-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  padding: 1px 7px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--tm-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.topic-context-strip,
.topic-context-inner,
.topic-context-copy,
.topic-context-note,
.topic-main-shell,
.topic-orientation-title,
.topic-orientation-copy,
.topic-inline-link,
.topic-cluster-group,
.library-empty-icon,
.library-intro-eyebrow,
.library-footnote,
.topic-strategy-stack,
.topic-info-card,
.topic-card-title,
.topic-card-copy,
.topic-card-copy--spaced,
.topic-card-note,
.topic-intent-grid,
.topic-intent-card,
.topic-intent-value,
.topic-intent-label,
.topic-duo-grid,
.topic-detail-card,
.topic-detail-title,
.topic-detail-copy,
.topic-detail-meta,
.topic-status-chip,
.topic-method-tags,
.topic-method-tag,
.topic-gap-list,
.topic-entity-cloud,
.topic-entity-chip,
.topic-entity-chip--link,
.topic-related-list,
.topic-related-link,
.topic-related-arrow,
.topic-facts-block,
.topic-facts-grid,
.topic-fact-card,
.topic-fact-stat,
.topic-fact-context,
.topic-faq-block,
.topic-faq-intro,
.topic-faq-list,
.topic-faq-item,
.topic-faq-item--stacked,
.topic-faq-question,
.topic-faq-toggle,
.topic-faq-answer,
.sidebar-mini-link,
.sidebar-mini-link--plan,
.sidebar-mini-link--library,
.sidebar-mini-copy,
.sidebar-mini-label,
.sidebar-mini-sub,
.sidebar-mini-count,
.sidebar-strong-highlight,
.sidebar-dl-row--last,
.intent-meter,
.intent-meter-head,
.intent-meter-name,
.intent-meter-val,
.intent-meter-track,
.intent-meter-fill,
.sidebar-card--muted,
.sidebar-steps,
.topic-sidebar-btn,
.topic-evergreen-wrap,
.topic-evergreen-card,
.topic-metric-grid,
.topic-metric-card,
.topic-metric-value,
.topic-metric-label,
.topic-index-block,
.topic-index-title,
.topic-index-copy,
.topic-index-group-title,
.topic-index-list,
.topic-index-empty,
.library-empty-state > div[style*="font-size:40px"],
.library-intro-card p[style*="font-size:14px;font-weight:700"],
#panel-about > div:first-child,
#panel-about > div:first-child > div,
#panel-about h2[style*="font-size:18px"],
#panel-about h2[style*="font-size:15px"],
#panel-about p[style*="font-size:15px"],
#panel-about p[style*="font-size:13px"],
#panel-about p[style*="font-size:12px"],
#panel-about ul[style*="padding-left:20px"],
#panel-about div[style*="display:flex;gap:16px;flex-wrap:wrap"],
#panel-about div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"],
#panel-about div[style*="display:flex;flex-wrap:wrap;gap:8px"],
#panel-about div[style*="display:flex;flex-direction:column;gap:8px"],
#panel-about div[style*="display:grid;grid-template-columns:repeat(auto-fill"],
#panel-about details[style*="background:#fff"],
#panel-about summary[style*="padding:18px 24px"],
#panel-about summary span[style*="font-size:18px;color:var(--brand)"],
#panel-about details > div[style*="padding:0 24px 18px"],
.topic-sidebar .sidebar-card:first-child > a[style*="display:flex;align-items:center;justify-content:space-between"],
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"],
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:first-child,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:last-child,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:last-child > div,
.topic-sidebar .sidebar-card[style*="background:var(--surface-alt)"],
.topic-sidebar .sidebar-card[style*="background:var(--surface-alt)"] ol,
.topic-sidebar .sidebar-card[style*="background:var(--surface-alt)"] li,
.section-wrap.section-alt[style*="padding-top:48px"] > .container > div[style*="background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:28px;margin-bottom:48px;box-shadow:var(--sh-sm);"],
.section-wrap.section-alt[style*="padding-top:48px"] h2[style*="font-size:18px"],
.section-wrap.section-alt[style*="padding-top:48px"] p[style*="font-size:15px"],
.section-wrap.section-alt[style*="padding-top:48px"] p[style*="font-size:13px"],
.section-wrap.section-alt[style*="padding-top:48px"] ul[style*="padding-left:20px"],
.section-wrap.section-alt[style*="padding-top:48px"] > .container > div[style*="margin-bottom:48px;"],
.section-wrap.section-alt[style*="padding-top:48px"] h2[style*="font-size:20px"],
.section-wrap.section-alt[style*="padding-top:48px"] p[style*="font-size:14px"],
.section-wrap.section-alt[style*="padding-top:48px"] h4[style*="font-size:13px"],
.section-wrap.section-alt[style*="padding-top:48px"] ol[style*="padding-left:20px"] {
  box-sizing: border-box;
}

.topic-main-shell > .container,
.topic-evergreen-wrap > .container,
.topic-trust-band > .container,
.topic-cta-band > .container {
  width: min(100% - 48px, 1080px);
  max-width: 1080px;
}

.topic-layout.topic-layout-single {
  display: block;
  max-width: none;
}

.topic-layout.topic-layout-single .topic-main {
  width: 100%;
  max-width: none;
}

.topic-trust-band {
  padding: 20px 0;
  border-top: 1px solid var(--tm-line);
  background: var(--surface-alt);
}

.topic-trust-copy {
  max-width: 860px;
  margin: 0;
  color: var(--tm-ink-3);
  font-size: 13px;
  line-height: 1.6;
}

.topic-cta-band .section-title {
  color: #fff;
}

.topic-cta-band .lead-text {
  max-width: 400px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.75);
}

.topic-orientation-title,
.library-intro-eyebrow {
  margin: 0 0 6px;
  color: var(--tm-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topic-orientation-copy,
.library-intro-copy,
.topic-card-copy,
.topic-card-note,
.topic-index-copy,
.topic-faq-intro {
  margin: 0;
  color: var(--tm-ink-2) !important;
  font-size: 14px;
  line-height: 1.72;
}

.topic-inline-link {
  color: var(--tm-blue);
  font-weight: 800;
}

.priority-dot--high { background: #059669 !important; }
.priority-dot--medium { background: #d97706 !important; }
.priority-dot--low { background: #94a3b8 !important; }

.library-empty-icon,
.library-empty-state > div[style*="font-size:40px"] {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--tm-blue-3), #fff);
  color: var(--tm-blue);
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.library-footnote {
  padding: 10px 0 2px;
  color: var(--tm-ink-3);
  font-size: 13px;
  text-align: center;
}

#panel-about > div:first-child,
.topic-strategy-stack {
  display: grid !important;
  gap: 24px !important;
}

#panel-about > div:first-child > div,
.topic-info-card,
.topic-detail-card,
.topic-evergreen-card {
  padding: 26px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--tm-shadow-sm);
}

#panel-about h2[style*="font-size:18px"],
#panel-about h2[style*="font-size:15px"],
.topic-card-title,
.topic-detail-title,
.topic-index-title {
  margin: 0 0 12px !important;
  color: var(--tm-ink) !important;
  font-family: var(--tm-font-head);
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: -.03em;
}

.topic-card-copy--spaced {
  margin-bottom: 20px;
}

.topic-evergreen-card .topic-card-note {
  margin-bottom: 18px;
}

#panel-about div[style*="display:flex;gap:16px;flex-wrap:wrap"],
.topic-intent-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px !important;
}

.topic-intent-card,
#panel-about div[style*="flex:1;min-width:120px;background:"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--intent-bg, #f5f9fd);
  text-align: center;
}

.topic-intent-value,
#panel-about div[style*="flex:1;min-width:120px;background:"] > div:first-child {
  color: var(--intent-fg, var(--tm-blue)) !important;
  font-family: var(--tm-font-head);
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.topic-intent-label,
#panel-about div[style*="flex:1;min-width:120px;background:"] > div:last-child {
  margin-top: 0 !important;
  color: var(--intent-fg, var(--tm-blue)) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#panel-about div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"],
.topic-duo-grid,
.topic-metric-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px !important;
}

.topic-detail-copy,
#panel-about p[style*="font-size:13px;color:var(--text-2);line-height:1.6;margin:0 0 8px;"] {
  margin: 0 0 10px !important;
  color: var(--tm-ink-2) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.topic-detail-meta,
#panel-about p[style*="font-size:12px;color:var(--text-3)"] {
  margin: 0 !important;
  color: var(--tm-ink-3) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.topic-detail-meta + .topic-detail-meta,
#panel-about p[style*="font-size:12px;color:var(--text-3)"] + p[style*="font-size:12px;color:var(--text-3)"] {
  margin-top: 6px !important;
}

.topic-status-chip,
#panel-about span[style*="font-size:11px;font-weight:700;padding:3px 9px"] {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px !important;
  margin-bottom: 10px !important;
  border-radius: 999px !important;
  background: var(--chip-bg, #eff6ff) !important;
  color: var(--chip-fg, #1d4ed8) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.topic-method-tags,
#panel-about div[style*="display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px;"] {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  margin-bottom: 10px !important;
}

.topic-method-tag,
#panel-about div[style*="display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px;"] > span {
  padding: 5px 10px !important;
  border: 1px solid var(--tm-line) !important;
  border-radius: 999px !important;
  background: var(--tm-wash) !important;
  color: var(--tm-ink-2) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.topic-gap-list,
#panel-about ul[style*="padding-left:20px"],
.section-wrap.section-alt[style*="padding-top:48px"] ul[style*="padding-left:20px"] {
  margin: 0;
  padding-left: 18px !important;
  display: grid !important;
  gap: 10px !important;
}

.topic-gap-list li,
#panel-about ul[style*="padding-left:20px"] li,
.section-wrap.section-alt[style*="padding-top:48px"] ul[style*="padding-left:20px"] li {
  color: var(--tm-ink-2) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.topic-entity-cloud,
#panel-about div[style*="display:flex;flex-wrap:wrap;gap:8px"] {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}

.topic-entity-chip,
#panel-about a[style*="border-radius:20px;font-size:13px"],
#panel-about span[style*="border-radius:20px;font-size:13px"] {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  border: 1px solid var(--tm-line) !important;
  background: var(--tm-wash) !important;
  color: var(--tm-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.topic-entity-chip--link,
#panel-about a[style*="background:var(--brand-light)"] {
  background: var(--tm-blue-3) !important;
  border-color: #c8e2f2 !important;
  color: var(--tm-blue) !important;
}

.topic-related-list,
#panel-about div[style*="display:flex;flex-direction:column;gap:8px"] {
  display: grid !important;
  gap: 10px !important;
}

.topic-related-link,
#panel-about a[style*="display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--surface-alt)"] {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px !important;
  border: 1px solid var(--tm-line) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #fff, #f7fbfe) !important;
  color: var(--tm-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.topic-related-link:hover {
  border-color: #b7d5ec !important;
  box-shadow: var(--tm-shadow-sm);
}

.topic-related-arrow {
  color: var(--tm-blue);
  font-weight: 900;
}

.topic-facts-grid,
#panel-about div[style*="display:grid;grid-template-columns:repeat(auto-fill"] {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px !important;
}

.topic-fact-card,
#panel-about div[style*="background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;box-shadow:var(--sh-sm);"] {
  padding: 20px;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f9fcff);
  box-shadow: var(--tm-shadow-sm);
}

.topic-fact-stat,
#panel-about p[style*="font-size:14px;font-weight:700;color:var(--text-1);margin:0 0 6px;line-height:1.4;"] {
  margin: 0 0 6px !important;
  color: var(--tm-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.topic-fact-context,
#panel-about p[style*="font-size:12px;color:var(--text-3);margin:0;line-height:1.5;"] {
  margin: 0 !important;
  color: var(--tm-ink-3) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.topic-faq-list,
#panel-about div[style*="display:flex;flex-direction:column;gap:0;"] {
  display: grid !important;
  gap: 0 !important;
}

.topic-faq-item,
#panel-about details[style*="background:#fff"] {
  overflow: hidden;
  border: 1px solid var(--tm-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.topic-faq-list > .topic-faq-item:first-child,
#panel-about div[style*="display:flex;flex-direction:column;gap:0;"] > details:first-child {
  border-radius: 18px 18px 0 0 !important;
}

.topic-faq-list > .topic-faq-item:last-child,
#panel-about div[style*="display:flex;flex-direction:column;gap:0;"] > details:last-child {
  border-radius: 0 0 18px 18px !important;
}

.topic-faq-item--stacked,
#panel-about details[style*="border-top:none"] {
  border-top: 0 !important;
}

.topic-faq-question,
#panel-about summary[style*="padding:18px 24px"] {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px !important;
  color: var(--tm-ink) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  list-style: none;
  cursor: pointer;
}

.topic-faq-toggle,
#panel-about summary span[style*="font-size:18px;color:var(--brand)"] {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--tm-blue-3);
  color: var(--tm-blue) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.topic-faq-answer,
#panel-about details > div[style*="padding:0 24px 18px"] {
  padding: 0 22px 18px !important;
  border-top: 1px solid var(--tm-line) !important;
}

.topic-faq-answer p,
#panel-about details > div[style*="padding:0 24px 18px"] p {
  margin: 14px 0 0 !important;
  color: var(--tm-ink-2) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

.sidebar-mini-link,
.topic-sidebar .sidebar-card:first-child > a[style*="display:flex;align-items:center;justify-content:space-between"] {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px !important;
  border-radius: 16px !important;
  text-decoration: none !important;
}

.sidebar-mini-link + .sidebar-mini-link,
.topic-sidebar .sidebar-card:first-child > a[style*="display:flex;align-items:center;justify-content:space-between"] + a[style*="display:flex;align-items:center;justify-content:space-between"] {
  margin-top: 8px;
}

.sidebar-mini-link--plan,
.topic-sidebar .sidebar-card:first-child > a[style*="background:var(--brand-light)"] {
  border: 1px solid #c8e2f2 !important;
  background: linear-gradient(180deg, #fff, var(--tm-blue-3)) !important;
}

.sidebar-mini-link--library.is-ready,
.topic-sidebar .sidebar-card:first-child > a[style*="background:#f0fdf4"] {
  border: 1px solid #b7ebd8 !important;
  background: linear-gradient(180deg, #fff, #eefbf5) !important;
}

.sidebar-mini-link--library.is-empty,
.topic-sidebar .sidebar-card:first-child > a[style*="background:var(--surface-alt)"] {
  border: 1px solid var(--tm-line) !important;
  background: linear-gradient(180deg, #fff, #f7fbfe) !important;
}

.sidebar-mini-label,
.topic-sidebar .sidebar-card:first-child > a p[style*="font-size:12px;font-weight:700"] {
  margin: 0 0 2px !important;
  color: var(--tm-ink) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sidebar-mini-sub,
.topic-sidebar .sidebar-card:first-child > a p[style*="font-size:11px"] {
  margin: 0 !important;
  color: var(--tm-ink-3) !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.sidebar-mini-count,
.topic-sidebar .sidebar-card:first-child > a > span[style*="font-size:20px"] {
  color: var(--tm-blue) !important;
  font-family: var(--tm-font-head);
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.topic-sidebar .sidebar-card:first-child > a[style*="background:#f0fdf4"] > span[style*="font-size:20px"] {
  color: var(--tm-green) !important;
}

.sidebar-strong-highlight {
  color: var(--tm-green) !important;
}

.sidebar-dl-row--last {
  border-bottom: 0 !important;
}

.intent-meter,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] {
  margin-bottom: 14px !important;
}

.intent-meter:last-child,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"]:last-child {
  margin-bottom: 0 !important;
}

.intent-meter-head,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:first-child {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px !important;
}

.intent-meter-name,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:first-child > span:first-child {
  color: var(--tm-ink-2) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: capitalize;
}

.intent-meter-val,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:first-child > span:last-child {
  color: var(--tm-ink) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.intent-meter-val span,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:first-child > span:last-child span {
  color: var(--tm-ink-3) !important;
  font-weight: 600 !important;
}

.intent-meter-track,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:last-child {
  height: 8px !important;
  overflow: hidden;
  border-radius: 999px !important;
  background: var(--tm-line-2) !important;
}

.intent-meter-fill,
.topic-sidebar .sidebar-card:nth-of-type(2) > div[style*="margin-bottom:12px"] > div:last-child > div {
  width: var(--meter-width, 0);
  height: 100% !important;
  border-radius: inherit !important;
  background: var(--meter-color, var(--tm-blue)) !important;
}

.sidebar-card--muted,
.topic-sidebar .sidebar-card[style*="background:var(--surface-alt)"] {
  background: linear-gradient(180deg, #fff, #f7fbfe) !important;
}

.sidebar-steps,
.topic-sidebar .sidebar-card[style*="background:var(--surface-alt)"] ol {
  margin: 0 !important;
  padding-left: 18px !important;
  display: grid !important;
  gap: 10px !important;
}

.sidebar-steps li,
.topic-sidebar .sidebar-card[style*="background:var(--surface-alt)"] li {
  color: var(--tm-ink-2) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.sidebar-steps strong,
.topic-sidebar .sidebar-card[style*="background:var(--surface-alt)"] li strong {
  color: var(--tm-ink) !important;
}

.topic-sidebar-btn {
  width: 100%;
  justify-content: center;
}

.topic-sidebar-btn + .topic-sidebar-btn {
  margin-top: 10px;
}

.topic-evergreen-wrap,
.section-wrap.section-alt[style*="padding-top:48px"] {
  padding-top: 48px !important;
  padding-bottom: 0 !important;
}

.section-wrap.section-alt[style*="padding-top:48px"] > .container > div[style*="background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:28px;margin-bottom:48px;box-shadow:var(--sh-sm);"],
.topic-evergreen-card {
  margin-bottom: 32px !important;
}

.topic-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.topic-metric-card,
.section-wrap.section-alt[style*="padding-top:48px"] div[style*="flex:1;min-width:150px;background:var(--surface-alt);border-radius:var(--r);padding:16px;text-align:center;"] {
  padding: 18px !important;
  border: 1px solid var(--tm-line) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #fff, #f7fbfe) !important;
  text-align: center;
}

.topic-metric-value,
.section-wrap.section-alt[style*="padding-top:48px"] div[style*="flex:1;min-width:150px;background:var(--surface-alt);border-radius:var(--r);padding:16px;text-align:center;"] > p:first-child {
  margin: 0 0 4px !important;
  color: var(--tm-blue) !important;
  font-family: var(--tm-font-head);
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.topic-metric-label,
.section-wrap.section-alt[style*="padding-top:48px"] div[style*="flex:1;min-width:150px;background:var(--surface-alt);border-radius:var(--r);padding:16px;text-align:center;"] > p:last-child {
  margin: 0 !important;
  color: var(--tm-ink-3) !important;
  font-size: 12px !important;
}

.topic-index-block,
.section-wrap.section-alt[style*="padding-top:48px"] > .container > div[style*="margin-bottom:48px;"] {
  margin-bottom: 36px !important;
}

.topic-related-block {
  margin-bottom: 36px;
}

.topic-index-title,
.section-wrap.section-alt[style*="padding-top:48px"] h2[style*="font-size:20px"] {
  margin: 0 0 8px !important;
  color: var(--tm-ink) !important;
  font-family: var(--tm-font-head);
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -.03em;
}

.topic-index-copy,
.section-wrap.section-alt[style*="padding-top:48px"] p[style*="font-size:14px;color:var(--text-2);margin-bottom:28px;"] {
  margin: 0 0 22px !important;
  color: var(--tm-ink-2) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.topic-index-stack {
  display: grid;
  gap: 24px;
}

.topic-index-group {
  display: grid;
  gap: 14px;
}

.topic-index-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.topic-index-group-title,
.section-wrap.section-alt[style*="padding-top:48px"] h4[style*="font-size:13px"] {
  margin: 0 !important;
  color: var(--tm-ink-3) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}

.topic-index-group-count {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tm-ink-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.topic-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.topic-index-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--tm-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--tm-shadow-sm);
}

.topic-index-card--link {
  color: inherit;
  text-decoration: none;
}

.topic-index-card--link:hover {
  border-color: rgba(44, 140, 210, .28);
  box-shadow: 0 16px 34px rgba(33, 71, 112, .12);
  transform: translateY(-1px);
}

.topic-index-card--pillar {
  background: linear-gradient(180deg, #fff, #f4faff);
}

.topic-index-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topic-index-card-order {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--tm-blue-3);
  border: 1px solid rgba(44, 140, 210, .18);
  color: var(--tm-blue);
  font-size: 18px;
  font-weight: 900;
}

.topic-index-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topic-index-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tm-blue-3);
  color: var(--tm-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.topic-index-chip--pillar {
  background: #dff2ff;
  color: var(--tm-blue-deep);
}

.topic-index-chip--muted {
  background: #fff;
  border: 1px solid var(--tm-line);
  color: var(--tm-ink-3);
}

.topic-index-card-title {
  margin: 0;
  color: var(--tm-ink);
  font-family: var(--tm-font-head);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.03em;
}

.topic-index-card-copy {
  margin: 0;
  color: var(--tm-ink-2);
  font-size: 15px;
  line-height: 1.72;
}

.topic-index-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.topic-index-query {
  color: var(--tm-ink-3);
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.6;
}

.topic-index-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tm-blue);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.topic-index-list,
.section-wrap.section-alt[style*="padding-top:48px"] ol[style*="padding-left:20px"] {
  margin: 0 0 12px !important;
  padding-left: 20px !important;
  display: grid !important;
  gap: 6px !important;
}

.topic-index-list li,
.section-wrap.section-alt[style*="padding-top:48px"] ol[style*="padding-left:20px"] li {
  color: var(--tm-ink-2) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.topic-index-empty {
  color: var(--tm-ink-3);
  font-style: italic;
}

@media (max-width: 900px) {
  .topic-index-grid {
    grid-template-columns: 1fr;
  }
}

.article-hero-meta .intent-badge[style],
.article-hero-meta .wc-badge[style],
.article-layout aside .sidebar-card[style*="background:var(--brand-light)"],
.article-layout aside .related-article-link[style*="cursor:default"],
.article-layout aside a[style*="display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:var(--brand);text-decoration:none;"],
.article-layout aside a[style*="font-size:12px;color:var(--brand);display:block;margin-top:10px;text-align:center;"],
.kit-coming-soon > a[style*="margin-top:20px;display:inline-flex;"],
.brief-grid > .brief-field[style*="grid-column: 1/-1;"],
.phase-label > span[style*="width:8px;height:8px"],
.insight-card-title > span[style*="font-size:18px;"],
.kit-coming-soon > div[style*="font-size:48px"],
.article-layout aside .sidebar-stat-value[style*="font-size:12px;"] {
  box-sizing: border-box;
}

.article-hero-meta .intent-badge[style],
.article-hero-meta .wc-badge[style] {
  background: rgba(255,255,255,.88) !important;
}

.brief-grid > .brief-field[style*="grid-column: 1/-1;"] {
  grid-column: 1 / -1 !important;
}

.phase-label > span[style*="width:8px;height:8px"] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
}

.insight-card-title > span[style*="font-size:18px;"] {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--tm-blue-3);
  color: var(--tm-blue);
  font-size: 16px !important;
}

.kit-coming-soon > div[style*="font-size:48px"] {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--tm-blue-3), #fff);
  color: var(--tm-blue);
  font-size: 22px !important;
  font-weight: 900;
}

.kit-coming-soon > a[style*="margin-top:20px;display:inline-flex;"] {
  margin-top: 20px !important;
}

.article-layout aside .sidebar-card[style*="background:var(--brand-light)"] {
  background: linear-gradient(180deg, #fff, var(--tm-blue-3)) !important;
  border-color: #c8e2f2 !important;
}

.article-layout aside .sidebar-card[style*="background:var(--brand-light)"] .sidebar-card-title[style],
.article-layout aside .sidebar-card[style*="background:var(--brand-light)"] p[style*="color:var(--brand)"] {
  color: var(--tm-blue) !important;
}

.article-layout aside .related-article-link[style*="cursor:default"] {
  background: linear-gradient(180deg, #f8fbfd, #f2f7fb) !important;
  border-color: var(--tm-line) !important;
  color: var(--tm-ink-3) !important;
  cursor: default !important;
  opacity: .72 !important;
}

.article-layout aside a[style*="font-size:12px;color:var(--brand);display:block;margin-top:10px;text-align:center;"] {
  display: block !important;
  margin-top: 12px !important;
  color: var(--tm-blue) !important;
  font-size: 12px !important;
  font-weight: 800;
  text-align: center;
}

.article-layout aside a[style*="display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:var(--brand);text-decoration:none;"] {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #c8e2f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, var(--tm-blue-3));
  color: var(--tm-blue) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.article-layout aside .sidebar-stat-value[style*="font-size:12px;"] {
  font-size: 12px !important;
}

@media (max-width: 980px) {
  .nm-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nm-nav-links,
  .nm-header-right {
    display: none;
  }

  .nm-mobile-toggle {
    display: block;
    justify-self: end;
  }

  .nm-niche-layout-inner,
  .topic-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .nm-about-inner,
  .topic-header,
  .nm-authority-score-header,
  .nm-as-factors,
  .nm-as-compete-row,
  .nm-as-footer {
    grid-template-columns: 1fr;
  }

  .topic-header {
    align-items: start;
  }

  .nm-cl-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nm-cl-priority {
    justify-self: start;
  }

  .nm-niche-sidebar,
  .topic-sidebar,
  .article-layout aside {
    position: static;
  }

  .nm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nm-container,
  .container,
  .tm-tab-nav-inner,
  .nm-inline-tabs,
  .nm-sticky-nav-list,
  .nm-mobile-menu {
    width: min(100% - 32px, var(--tm-max));
  }

  .topic-main-shell > .container,
  .topic-evergreen-wrap > .container,
  .topic-trust-band > .container,
  .topic-cta-band > .container {
    width: min(100% - 32px, 1080px);
  }

  .nm-hero {
    padding: 54px 0 42px;
  }

  .nm-hero::before {
    inset: 16px 12px auto;
    height: 430px;
    border-radius: 28px;
  }

  .nm-hero-stats,
  .stat-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .nm-stat,
  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--tm-line-2);
  }

  .nm-hub-hero-left {
    flex-direction: column;
  }

  .nm-niches-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nm-niche-layout {
    padding: 30px 0 58px;
  }

  .nm-niche-layout-inner--single .nm-guide-content {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .nm-section-divider {
    margin: 34px 0 24px;
  }

  .nm-section-h2,
  .nm-tab-content > h2 {
    padding-left: 14px;
    font-size: 23px !important;
  }

  .nm-section-sub-small {
    font-size: 14px;
  }

  .nm-topic-row {
    min-height: auto;
    padding: 18px 16px 18px 18px;
    border-radius: 18px;
  }

  .nm-prompt-grid,
  .nm-sibling-grid,
  .nm-guide-stats,
  .nm-intent-grid {
    grid-template-columns: 1fr;
  }

  .nm-citation-panel {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .nm-intent-card {
    min-height: auto;
  }

  .nm-checklist-inline {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .nm-checklist-inline-header {
    flex-direction: column;
  }

  .nm-sub-niches {
    grid-template-columns: 1fr;
  }

  .nm-sub-niche {
    min-height: auto;
    padding: 16px;
  }

  .nm-faq-q {
    padding: 16px;
  }

  .nm-faq-a {
    padding: 0 16px 18px;
  }

  .article-hero {
    padding: 24px !important;
    border-radius: 24px;
  }

  .prompt-card-head {
    grid-template-columns: auto 1fr;
  }

  .prompt-expand-btn {
    display: none;
  }

  .brief-card,
  .prompt-card-body {
    padding-inline: 18px !important;
  }

  .insights-grid,
  .nm-footer-grid,
  .nm-footer-bottom {
    grid-template-columns: 1fr;
  }

  .nm-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
