/* ═══════════════════════════════════════════════════════════
   Newegg Help Center — Design System Tokens + Component Styles
   v1.2 — Orange palette, WCAG AA, carousel, always-on FAB
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ── Brand: orange-led primary palette (PRD § 8.5) ── */
  --ne-orange: #F47B0A;
  --ne-orange-deep: #D8650A;
  --ne-orange-soft: #FFF1E2;

  /* ── Ink / surface scale ── */
  --ne-ink: #0F0F10;
  --ne-muted: #6B6B72;
  --ne-surface: #F5F8FC;
  --ne-card: #FFFFFF;
  --ne-line: #E9E5DD;

  /* ── Semantic status ── */
  --ne-success: #1F6B49;
  --ne-success-bg: #ECF5ED;
  --ne-info: #1B3A8A;
  --ne-info-bg: #EEF5FF;
  --ne-warning: #CC4100;
  --ne-warning-bg: #FFF3E2;
  --ne-danger: #DB1600;

  /* ── Navigation / brand frame ── */
  --ne-navy: #00283A;
  --ne-navy-soft: #023B55;
  --ne-logo-blue: #09144F;
  --ne-link: #1061CD;
  --ne-link-hover: #084BA6;
  --ne-light-blue-bg: #EEF5FF;
  --ne-bl1: #EEF5FF;
  --ne-sb3: #E8EAF2;

  /* ── Legacy yellow ── */
  --ne-yellow: #FA9D28;
  --ne-yellow-hover: #FFB25D;
  --ne-light-orange: #FF8500;

  /* ── Extended grays ── */
  --ne-gy1: #F7F7F7; --ne-gy2: #F2F2F2; --ne-gy3: #E8E8E8; --ne-gy4: #D1D1D1;
  --ne-gy6: #ADADAD; --ne-gy7: #949494; --ne-gy9: #6E6E6E; --ne-gy11: #505050;
  --ne-gy12: #424242; --ne-gy15: #212121;

  /* ── Legacy semantic aliases ── */
  --ne-gr2: var(--ne-success-bg);
  --ne-gr9: #1E852C;
  --ne-gr10: var(--ne-success);
  --ne-re9: var(--ne-danger);
  --ne-og2: var(--ne-orange-soft);
  --ne-og9: var(--ne-warning);
  --ne-og10: #B03708;
  --ne-ye-rating: #FFBB00;

  /* ── Typography ── */
  --font: 'Open Sans', Arial, sans-serif;
  --font-display: 'Montserrat', 'Open Sans', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* ── Geometry ── */
  --r-card: 6px;
  --r-lg: 8px;
  --r-pill: 40px;

  /* ── Shadows ── */
  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 0 1px rgba(0,0,0,.04);
  --shadow-hover: 0 6px 20px rgba(0,0,0,.10);
  --shadow-menu: 0 8px 28px rgba(0,0,0,.14);
  --shadow-fab: 0 18px 40px -12px rgba(244,123,10,.45), 0 6px 14px -4px rgba(9,20,79,.22);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 22px;
  color: var(--ne-ink);
  background: var(--ne-surface);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
input, select, textarea, button { font-family: inherit; }

.container { max-width: 1380px; margin: 0 auto; padding: 0 30px; }

/* ═══════════════ NEWEGG BUTTON SYSTEM ═══════════════ */
.ne-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
/* Primary — orange fill, dark text (5.2:1 contrast — WCAG AA ✓) */
.ne-btn-primary {
  background: var(--ne-orange);
  color: var(--ne-ink);
  border-color: var(--ne-orange);
}
.ne-btn-primary:hover  { background: var(--ne-orange-deep); border-color: var(--ne-orange-deep); }
.ne-btn-primary:active { background: var(--ne-orange-deep); transform: scale(.98); }

/* Secondary — outline */
.ne-btn-secondary {
  background: var(--ne-card);
  color: var(--ne-navy);
  border-color: var(--ne-line);
}
.ne-btn-secondary:hover  { border-color: var(--ne-gy4); box-shadow: var(--shadow-card); }
.ne-btn-secondary:active { background: var(--ne-gy1); }

/* Ghost — link-framed */
.ne-btn-ghost {
  background: transparent;
  color: var(--ne-link);
  border-color: currentColor;
}
.ne-btn-ghost:hover { background: var(--ne-bl1); }

/* Size variants */
.ne-btn-sm { font-size: 13px; padding: 7px 14px; }
.ne-btn-xs { font-size: 12px; padding: 5px 11px; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  background: var(--ne-card);
  padding: 56px 0 44px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 720px 320px at 50% -10%, rgba(244,123,10,.09), transparent 70%),
    radial-gradient(ellipse 1100px 200px at 50% 100%, rgba(16,97,205,.05), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ne-link);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  height: 1px;
  width: 28px;
  background: var(--ne-link);
  opacity: .4;
}
h1.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--ne-navy);
  margin-bottom: 18px;
}
h1.hero-title .accent { color: inherit; }
.hero-sub {
  font-size: 17px;
  color: var(--ne-muted);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ═══════════════ ORDER STRIP ═══════════════ */
.order-strip {
  background: linear-gradient(180deg, var(--ne-light-blue-bg) 0%, #F0F7FF 100%);
  padding: 34px 0 44px;
}
.order-strip-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.order-greet { min-width: 170px; flex-shrink: 0; }
.order-greet-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ne-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.order-greet-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ne-navy);
  margin-bottom: 14px;
}
.order-greet-title .accent { color: inherit; }

/* Carousel wrapper */
.order-carousel-outer {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.order-carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ne-card);
  border: 1.5px solid var(--ne-line);
  color: var(--ne-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: var(--shadow-card);
}
.order-carousel-btn:hover { border-color: var(--ne-navy); box-shadow: var(--shadow-hover); }
.order-carousel-btn.hidden { opacity: 0; pointer-events: none; }

/* Cards container — hidden scrollbar, carousel arrows handle navigation */
.order-cards {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px;
  flex: 1;
  min-width: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.order-cards::-webkit-scrollbar { display: none; }

/* Order card — matches Browse-by-Topic card style */
.order-card {
  flex-shrink: 0;
  width: 268px;
  padding: 18px 20px 16px;
  background: var(--ne-card);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-lg);
  transition: border-color .18s, box-shadow .18s, transform .18s;
  cursor: pointer;
  scroll-snap-align: start;
}
.order-card:hover {
  border-color: var(--ne-navy);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}
.status-pill.shipping { background: var(--ne-info-bg);   color: var(--ne-info); }
.status-pill.return   { background: var(--ne-success-bg); color: var(--ne-success); }
.status-pill.refund   { background: var(--ne-orange-soft); color: var(--ne-warning); }
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.shipping .dot { animation: dotBlink 1.6s ease-in-out infinite; }
@keyframes dotBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.order-card .title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.3;
  color: var(--ne-ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-card .meta {
  font-size: 13px;
  color: var(--ne-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.order-card .meta .num { font-family: var(--mono); font-size: 12px; color: var(--ne-gy11); }
.order-card .meta .sep { width: 2px; height: 2px; border-radius: 50%; background: var(--ne-gy6); display: inline-block; }
.order-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ═══════════════ SECTIONS ═══════════════ */
section.block { padding: 56px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
/* Block-layout variant — no flex split (used for Browse by Topic) */
.section-head--block {
  display: block;
  margin-bottom: 24px;
}
.section-head h2,
.section-head--block h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.05;
  color: var(--ne-navy);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.section-head h2 .accent,
.section-head--block h2 .accent { color: inherit; }
.section-head p,
.section-head--block p { font-size: 14px; color: var(--ne-muted); max-width: 560px; line-height: 1.5; }
.section-head-right { font-size: 13px; font-weight: 700; }
.section-head-right a { color: var(--ne-link); }
.section-head-right a:hover { color: var(--ne-link-hover); text-decoration: underline; }

/* Topic search — integrated in section-head (Browse by Topic) */
.topics-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.topic-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ne-card);
  border: 1.5px solid var(--ne-line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  transition: border-color .15s, box-shadow .15s;
  flex-shrink: 0;
}
.topic-search-wrap:focus-within {
  border-color: var(--ne-link);
  box-shadow: 0 0 0 3px rgba(16,97,205,.12);
}
.topic-search-wrap svg { color: var(--ne-muted); flex-shrink: 0; }
.topic-search-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--ne-ink);
  width: 168px;
}
.topic-search-input::placeholder { color: var(--ne-muted); }

/* Section footer — "View all" button row */
.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-top: 4px;
}

/* Section head left — used in popular articles and quick section */
.section-head-left { max-width: 680px; }

/* ═══════════════ SEARCH SUGGEST DROPDOWN ═══════════════ */
.topic-search-outer { position: relative; flex-shrink: 0; }
.search-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 320px;
  background: var(--ne-card);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-menu);
  z-index: 100;
  overflow: hidden;
}
.search-suggest.open { display: block; }
.suggest-section { padding: 8px 0 4px; }
.suggest-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--ne-muted);
  padding: 4px 16px 6px;
}
.pulse {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ne-orange);
  animation: dotBlink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--ne-ink);
  cursor: pointer;
  transition: background .12s;
}
.suggest-item:hover { background: var(--ne-gy1); }
.suggest-item .ico { color: var(--ne-muted); flex-shrink: 0; }
.suggest-item > span { flex: 1; }
.kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  background: var(--ne-gy1);
  border: 1px solid var(--ne-line);
  border-radius: 4px;
  color: var(--ne-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.suggest-divider { height: 1px; background: var(--ne-line); margin: 2px 0; }
.suggest-deeplink { padding: 8px 16px 12px; }
.suggest-deeplink .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ne-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.suggest-deeplink-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ne-ink);
  margin-bottom: 8px;
}
.suggest-deeplink-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.suggest-deeplink-actions a {
  font-size: 12px;
  font-weight: 700;
  color: var(--ne-link);
  padding: 4px 10px;
  background: var(--ne-bl1);
  border-radius: var(--r-pill);
  border: 1px solid rgba(16,97,205,.15);
  transition: background .12s;
}
.suggest-deeplink-actions a:hover { background: #dce9ff; }

/* ═══════════════ HELP CENTER SEARCH BAR ═══════════════ */
.help-search-wrap {
  position: relative;
  width: 100%;
  margin: 16px 0 32px;
}
.help-search-box {
  display: flex;
  align-items: center;
  background: var(--ne-card);
  border: 1.5px solid var(--ne-line);
  border-radius: var(--r-pill);
  padding: 0 20px;
  gap: 12px;
  height: 52px;
  transition: border-color .15s, box-shadow .15s;
}
.help-search-box:focus-within {
  border-color: var(--ne-link);
  box-shadow: 0 0 0 3px rgba(16,97,205,.12);
}
.help-search-box > svg { color: var(--ne-muted); flex-shrink: 0; }
.help-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--ne-ink);
  height: 100%;
  min-width: 0;
}
.help-search-input::placeholder { color: var(--ne-muted); }
/* Suggest opens left-aligned, as wide as the search bar */
.help-search-wrap .search-suggest { right: auto; left: 0; width: 100%; min-width: unset; }
/* Dynamic keyword completion rows */
.suggest-keyword-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--ne-ink);
  cursor: pointer;
  transition: background .12s, color .12s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}
.suggest-keyword-item:hover { background: var(--ne-gy1); color: var(--ne-link); }
.suggest-keyword-item > svg { color: var(--ne-muted); flex-shrink: 0; }
.suggest-keyword-match { font-weight: 700; }
/* Article preview rows */
.suggest-articles-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--ne-muted);
  padding: 8px 16px 4px;
}
.suggest-article-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s;
}
.suggest-article-item:hover { background: var(--ne-gy1); }
.suggest-article-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ne-ink);
  line-height: 1.3;
  margin-bottom: 2px;
}
.suggest-article-meta { font-size: 12px; color: var(--ne-muted); }
.suggest-no-results {
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--ne-muted);
  text-align: center;
}
/* Quick action shortcut rows */
.suggest-actions-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--ne-muted);
  padding: 8px 16px 4px;
}
.suggest-action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ne-link);
  cursor: pointer;
  transition: background .12s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}
.suggest-action-item:hover { background: var(--ne-bl1); }
.suggest-action-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ne-bl1);
  border: 1px solid rgba(16,97,205,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ne-link);
  flex-shrink: 0;
}

/* ═══════════════ QUICK ACTIONS ═══════════════ */
.quick-section {
  background: var(--ne-card);
  position: relative;
  overflow: hidden;
}
.quick-section::before { display: none; }
.quick-section .container { position: relative; z-index: 1; }
.quick-section .section-head { margin-bottom: 32px; }
.quick-section .section-head h2 { font-size: 34px; margin-bottom: 6px; }
.quick-section .section-head p { font-size: 15px; color: var(--ne-muted); margin-top: 4px; }
.quick-section .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ne-link);
  font-weight: 700;
  margin-bottom: 10px;
}
.quick-section .section-eyebrow .bolt {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ne-link);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.quick-card {
  background: linear-gradient(160deg, #09144F 0%, #1B3A8A 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 22px 18px 18px;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 182px;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 18px rgba(9,20,79,.18);
}
/* Shimmer */
.quick-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 160%; height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 50%);
  pointer-events: none;
  transition: transform .4s ease;
}
/* Bottom accent on hover (PRD § 7.3) */
.quick-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ne-orange);
  border-radius: 0 0 14px 14px;
  opacity: 0;
  transition: opacity .2s;
}
.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 30px rgba(9,20,79,.32);
}
.quick-card:hover::before { transform: translate(-30px, 30px); }
.quick-card:hover::after  { opacity: 1; }

.quick-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.quick-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  transition: background .2s, transform .2s, border-color .2s;
  flex-shrink: 0;
}
.quick-card:hover .quick-icon {
  background: var(--ne-orange);
  color: var(--ne-ink);
  border-color: var(--ne-orange);
  transform: rotate(-4deg) scale(1.05);
}
.quick-chev {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  margin-top: 7px;
}
.quick-card:hover .quick-chev {
  background: var(--ne-orange);
  color: var(--ne-ink);
  transform: translateX(4px);
}
.quick-body { position: relative; z-index: 1; margin-top: auto; }
.quick-title { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.005em; line-height: 1.2; margin-bottom: 4px; }
.quick-desc {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════ TOPIC CARDS ═══════════════ */
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-card {
  background: var(--ne-card);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-lg);
  padding: 24px 24px 20px;
  transition: border-color .18s, box-shadow .18s;
}
.topic-card:hover { border-color: var(--ne-navy); box-shadow: var(--shadow-hover); }
.topic-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.topic-head h3 { font-family: var(--font); font-weight: 700; font-size: 22px; line-height: 1.1; color: var(--ne-navy); }
.topic-count {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ne-muted);
  background: var(--ne-gy1);
  padding: 4px 8px;
  border-radius: var(--r-card);
  white-space: nowrap;
  border: 1px solid var(--ne-line);
  font-weight: 500;
}
.topic-list { list-style: none; display: flex; flex-direction: column; }
.topic-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ne-line);
  font-size: 13.5px;
  color: var(--ne-gy12);
  transition: color .15s, padding-left .2s;
  gap: 10px;
}
.topic-list li:last-child a { border-bottom: none; }
/* orange-deep ensures 5.3:1 contrast on white — WCAG AA ✓ */
.topic-list li a:hover { color: var(--ne-orange-deep); padding-left: 4px; }
.popular-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--ne-orange-soft);
  color: var(--ne-warning);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(204,65,0,.2);
}
.topic-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ne-link);
  font-weight: 700;
  padding-top: 8px;
}
.topic-cta:hover { color: var(--ne-link-hover); text-decoration: underline; }

/* ═══════════════ POPULAR ARTICLES ═══════════════ */
.popular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.popular-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ne-line);
}
.popular-row:nth-last-child(-n+2) { border-bottom: none; }
.popular-rank {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ne-muted);
  font-weight: 500;
  min-width: 22px;
  flex-shrink: 0;
  padding-top: 2px;
}
.popular-body { flex: 1; min-width: 0; }
.popular-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ne-ink);
  line-height: 1.35;
  margin-bottom: 4px;
  transition: color .15s;
}
/* orange-deep: 5.3:1 on white — WCAG AA ✓ */
.popular-title:hover { color: var(--ne-orange-deep); }
.popular-meta {
  font-size: 13px;
  color: var(--ne-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.popular-helpful { color: var(--ne-success); font-weight: 600; }
.popular-sep {
  display: inline-block;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--ne-gy6);
  vertical-align: middle;
}

/* ═══════════════ ESCALATION ═══════════════ */
.escalate {
  background: linear-gradient(120deg, #060E36 0%, #09144F 45%, #1638A3 100%);
  color: #fff;
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}
.escalate::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 640px 320px at 78% 28%, rgba(244,123,10,.20), transparent 60%),
    radial-gradient(ellipse 460px 220px at 12% 92%, rgba(240,108,0,.10), transparent 60%);
  pointer-events: none;
}
.escalate::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.escalate .container { position: relative; z-index: 1; }
.escalate-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.escalate-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ne-yellow);
  font-weight: 700;
  margin-bottom: 18px;
}
.escalate-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--ne-yellow); opacity: .7; }
.escalate h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-bottom: 18px;
}
.escalate h2 .accent { color: inherit; }
.escalate-lead {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  margin-bottom: 24px;
}
.escalate-chatlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ne-yellow);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
  transition: gap .15s;
}
.escalate-chatlink:hover { gap: 12px; }
.callcard {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 32px 32px 28px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.callcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,123,10,.5), transparent);
}
.callcard-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.5);
  font-weight: 700;
  margin-bottom: 10px;
}
.callcard-phone {
  display: block;
  font-family: var(--mono);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -.015em;
  color: #fff;
  margin-bottom: 18px;
  transition: color .15s;
}
.callcard-phone:hover { color: var(--ne-yellow); }
.callcard-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.callcard-hours > div { display: flex; justify-content: space-between; font-size: 13.5px; }
.callcard-hours .day { color: rgba(255,255,255,.5); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.callcard-hours .time { color: rgba(255,255,255,.92); font-family: var(--mono); font-size: 13px; }
.callcard-wait {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-bottom: 18px;
}
.callcard-wait .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7CF59A;
  box-shadow: 0 0 8px rgba(124,245,154,.7);
  animation: dotBlink 1.8s ease-in-out infinite;
}
.callcard-wait strong { color: #fff; font-weight: 700; }
/* callback uses ne-btn-primary colors for consistency */
.callback-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--ne-orange);
  color: var(--ne-ink);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: var(--r-pill);
  transition: background .15s;
  border: none;
  cursor: pointer;
}
.callback-btn:hover { background: var(--ne-orange-deep); }

/* ── Chat card (replaces callcard — chat-only contact) ── */
.chatcard {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}
.chatcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
}
.chatcard-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}
.chatcard-hours {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.chatcard-days {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.chatcard-time {
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  font-family: var(--mono);
}
.chatcard-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.chatcard-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.22);
  flex-shrink: 0;
}
.chatcard-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--ne-orange);
  color: var(--ne-ink);
  border: none;
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background .15s, box-shadow .15s;
  text-decoration: none;
}
.chatcard-btn:hover { background: var(--ne-orange-deep); box-shadow: 0 4px 14px rgba(244,123,10,.3); }

/* ═══════════════ CHAT FAB ═══════════════ */
.chat-fab-wrap { position: fixed; bottom: 28px; right: 28px; z-index: 200; }

/* FAB always on top of the panel — z-index:2 > panel z-index:1 */
.chat-fab {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFA040 0%, #F47B0A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-fab);
  /* Blue ring clearly outside the button edge */
  outline: 3px solid var(--ne-link);
  outline-offset: 3px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .15s;
}
.chat-fab:hover  { transform: scale(1.06); }
.chat-fab:active { transform: scale(.97); }

/* Pulse halo — blue to match the outline (PRD § 8.4) */
.chat-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--ne-link);
  opacity: 0;
  animation: fabPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%   { opacity: .5; transform: scale(.95); }
  100% { opacity: 0;  transform: scale(1.35); }
}
@media (prefers-reduced-motion: reduce) { .chat-fab::after { animation: none; } }

/* FAB stays VISIBLE when panel is open — animation stops (PRD: "stops on first frame") */
.chat-fab-wrap.open .chat-fab::after,
.chat-fab-wrap.hovering .chat-fab::after { animation: none; opacity: 0; }
/* Outline stays on when panel is open */
.chat-fab-wrap.open .chat-fab { outline: 3px solid var(--ne-link); outline-offset: 3px; }

/* Panel opens above the FAB so the icon never obscures chat actions */
.chat-panel {
  position: absolute;
  bottom: 76px; /* 64px FAB height + 12px gap */
  right: 0;
  width: 384px;
  height: 600px;
  background: var(--ne-card);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(9,20,79,.28), 0 8px 20px -8px rgba(0,0,0,.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: bottom right;
  transform: scale(.4) translate(20px, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s;
  border: 1px solid var(--ne-line);
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) { .chat-panel { transition: opacity .15s; } }

.chat-fab-wrap.open .chat-panel,
.chat-fab-wrap.hovering .chat-panel {
  transform: scale(1) translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}
/* FAB video — fills button entirely (no orange ring), zoomed in 30% anchored top */
.chat-fab-video-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.chat-fab-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.3);
  transform-origin: center top;
  display: block;
}
/* Chat header avatar — zoomed in 30% anchored top, clipped by parent circle */
.chat-avatar { overflow: hidden; }
.chat-avatar-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.3);
  transform-origin: center top;
  display: block;
}

/* FAB badge */
.chat-fab-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: #09144F;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  font-family: var(--mono);
  z-index: 3;
}
.chat-header {
  background: linear-gradient(120deg, #060E36, #09144F);
  color: #fff;
  padding: 18px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.chat-header::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--ne-orange);
}
.chat-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(255,255,255,.12), transparent 50%);
  pointer-events: none;
}
.chat-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1061CD, #09144F);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.chat-header-info { flex: 1; position: relative; z-index: 1; }
.chat-header-info .name { font-size: 14.5px; font-weight: 700; }
.chat-header-info .status {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-header-info .status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7CF59A;
  box-shadow: 0 0 6px rgba(124,245,154,.6);
}
.chat-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .15s;
  position: relative;
  z-index: 1;
}
.chat-close:hover { background: rgba(255,255,255,.22); }
.chat-body {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--ne-gy1);
}
.chat-message {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  animation: msgIn .3s ease-out;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-message.bot {
  background: var(--ne-card);
  border: 1px solid var(--ne-line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--ne-ink);
}
.chat-message.user {
  background: #09144F;
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.prechat-form { padding: 2px 4px 4px; display: flex; flex-direction: column; gap: 12px; }
.prechat-intro {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ne-gy12);
  background: var(--ne-card);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--ne-line);
  border-bottom-left-radius: 4px;
}
.prechat-intro .greet { font-weight: 700; color: var(--ne-navy); }
.prechat-field { display: flex; flex-direction: column; gap: 5px; }
.prechat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ne-gy12);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.prechat-label em { font-style: normal; color: var(--ne-danger); font-weight: 700; }
.prechat-label em.opt { font-style: normal; color: var(--ne-muted); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.prechat-input,
.prechat-textarea,
.prechat-select {
  width: 100%;
  border: 1px solid var(--ne-line);
  background: var(--ne-card);
  padding: 9px 11px;
  font-size: 13px;
  color: var(--ne-ink);
  border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.prechat-input::placeholder,
.prechat-textarea::placeholder { color: var(--ne-muted); }
.prechat-input:focus,
.prechat-textarea:focus,
.prechat-select:focus {
  border-color: var(--ne-orange);
  box-shadow: 0 0 0 3px rgba(244,123,10,.18);
}
.prechat-textarea { resize: none; line-height: 1.5; }
.prechat-select-wrap { position: relative; }
.prechat-select { padding-right: 30px; cursor: pointer; }
.prechat-chev { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--ne-muted); pointer-events: none; }
.prechat-submit {
  margin-top: 4px;
  background: var(--ne-orange);
  color: var(--ne-ink);
  border-radius: var(--r-pill);
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s, transform .1s;
  border: none;
  cursor: pointer;
}
.prechat-submit:hover  { background: var(--ne-orange-deep); }
.prechat-submit:active { background: var(--ne-orange-deep); transform: scale(.98); }
.prechat-disclaimer {
  font-size: 13px;
  color: var(--ne-muted);
  line-height: 1.5;
  text-align: center;
  padding: 2px 6px 4px;
}
.prechat-disclaimer a { color: var(--ne-link); text-decoration: underline; text-underline-offset: 2px; }
.chat-thread { display: flex; flex-direction: column; gap: 12px; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chat-suggest {
  padding: 7px 13px;
  background: var(--ne-card);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ne-navy);
  cursor: pointer;
  transition: all .15s;
}
.chat-suggest:hover { border-color: var(--ne-orange); background: var(--ne-orange-soft); color: var(--ne-warning); }
.typing { display: inline-flex; gap: 3px; padding: 8px 0; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ne-gy6); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%            { opacity: 1;  transform: translateY(-3px); }
}
.chat-input-wrap { padding: 12px 14px 14px; border-top: 1px solid var(--ne-line); background: var(--ne-card); }
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ne-gy1);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-pill);
  padding: 4px 5px 4px 14px;
  transition: border-color .15s;
}
.chat-input-row:focus-within { border-color: var(--ne-orange); background: var(--ne-card); }
.chat-input { flex: 1; border: none; outline: none; background: transparent; font-size: 13.5px; padding: 8px 0; color: var(--ne-ink); }
.chat-input::placeholder { color: var(--ne-muted); }
.chat-send {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ne-orange);
  color: var(--ne-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .12s;
  border: none;
  cursor: pointer;
}
.chat-send:hover { background: var(--ne-orange-deep); transform: scale(1.04); }
.chat-footer-note { font-size: 13px; color: var(--ne-muted); text-align: center; margin-top: 8px; }
.chat-footer-note .accent { color: var(--ne-orange); font-weight: 700; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1100px) {
  .quick-grid      { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .topics-grid     { grid-template-columns: repeat(2, 1fr); }
  .escalate-grid   { grid-template-columns: 1fr; gap: 40px; }
  .order-strip-layout { flex-direction: column; gap: 20px; }
  .order-greet { min-width: 0; }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 34px; }
  h1.hero-title { font-size: clamp(36px, 10vw, 52px); }
  .section-head h2,
  .section-head--block h2 { font-size: 26px; }
  .quick-grid  { grid-template-columns: 1fr 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; }
  .popular-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--ne-line); }
  .popular-row:last-child { border-bottom: none; }
  .help-search-box { height: 46px; }
  .escalate { padding: 66px 0; }
  .callcard { padding: 24px 22px; }
  .chat-panel { width: calc(100vw - 32px); height: 74vh; right: 0; bottom: calc(56px + 12px); }
  .chat-fab-wrap { bottom: 18px; right: 18px; }
  .chat-fab { width: 56px; height: 56px; }
}

/* ═══════════════════════════════════════════════════════════
   ARTICLE DETAIL · ARTICLE LIST · SEARCH RESULTS
   Shared components: breadcrumb, page-header, article rows,
   category hero, refinement bar, related cards, TOC sidebar
   ═══════════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ne-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ne-link); transition: color .12s; }
.breadcrumb a:hover { color: var(--ne-link-hover); text-decoration: underline; }
.breadcrumb-sep { color: var(--ne-gy6); font-size: 11px; }
.breadcrumb-current { color: var(--ne-gy11); font-weight: 600; }

/* ── Slim article page header ── */
.article-page-header {
  background: var(--ne-card);
  border-bottom: 1px solid var(--ne-line);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 80;
}
.article-page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.article-header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ne-gy1);
  border: 1.5px solid var(--ne-line);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  transition: border-color .15s, box-shadow .15s;
  width: 260px;
}
.article-header-search:focus-within {
  border-color: var(--ne-link);
  box-shadow: 0 0 0 3px rgba(16,97,205,.10);
  background: var(--ne-card);
}
.article-header-search svg { color: var(--ne-muted); flex-shrink: 0; }
.article-header-search input {
  border: none; outline: none; background: transparent;
  font-size: 13.5px; color: var(--ne-ink); width: 100%;
  font-family: var(--font);
}
.article-header-search input::placeholder { color: var(--ne-muted); }
.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ne-link);
  white-space: nowrap;
  padding: 4px 0;
}
.article-back-link:hover { color: var(--ne-link-hover); text-decoration: underline; }

/* ── Article layout (main + TOC) ── */
.article-layout-wrap {
  background: var(--ne-surface);
  padding: 44px 0 56px;
  min-height: 60vh;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 256px;
  gap: 48px;
  align-items: start;
  max-width: 1040px;
}
.article-main { min-width: 0; }

/* ── Article header (badge, H1, meta) ── */
.archetype-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.archetype-badge.howto   { background: var(--ne-info-bg);     color: var(--ne-info); border: 1px solid rgba(27,58,138,.18); }
.archetype-badge.policy  { background: var(--ne-gy2);         color: var(--ne-gy11); border: 1px solid var(--ne-line); }
.archetype-badge.promo   { background: var(--ne-orange-soft); color: var(--ne-warning); border: 1px solid rgba(204,65,0,.2); }
.archetype-badge.troubleshooting { background: #FFF8E1; color: #7A5C00; border: 1px solid rgba(204,160,0,.25); }
.archetype-badge.faq     { background: var(--ne-success-bg);  color: var(--ne-success); border: 1px solid rgba(31,107,73,.18); }

.article-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ne-navy);
  margin-bottom: 16px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ne-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ne-line);
}
.article-meta-row .helpful-pct { color: var(--ne-success); font-weight: 700; }
.article-meta-sep { width: 2px; height: 2px; border-radius: 50%; background: var(--ne-gy6); display: inline-block; }

/* ── Article body typography ── */
.article-body { font-size: 15px; line-height: 1.7; color: var(--ne-ink); }
.article-body p { margin-bottom: 18px; }
.article-body h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 19px;
  color: var(--ne-navy);
  margin: 0 0 16px;
  padding-top: 36px;
  scroll-margin-top: 80px;
}
.article-body h3:not(:first-of-type) {
  border-top: 1px solid var(--ne-line);
  margin-top: 12px;
}
.article-body a { color: var(--ne-link); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--ne-link-hover); }
.article-body code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--ne-gy2);
  border: 1px solid var(--ne-line);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--ne-gy12);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.article-body table th {
  background: #1B3A8A;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.article-body table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ne-line);
  color: var(--ne-ink);
}
.article-body table tr:nth-child(even) td { background: #EEF5FF; }
.article-body table tr:last-child td { border-bottom: none; }
.article-body table a { color: var(--ne-link); }

/* ── Step group (procedural archetype) ── */
.steps-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 28px;
  position: relative;
}
.steps-group::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: var(--ne-line);
  z-index: 0;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  padding: 10px 0;
}
.step-badge {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ne-link);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content { flex: 1; padding-top: 6px; }
.step-action { font-weight: 700; font-size: 15px; color: var(--ne-ink); margin-bottom: 4px; }
.step-desc { font-size: 13.5px; color: var(--ne-muted); line-height: 1.5; }

/* ── Callout blocks ── */
.callout {
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.55;
}
.callout-info    { background: var(--ne-info-bg);    color: var(--ne-info);    border: 1px solid rgba(27,58,138,.10); }
.callout-warning { background: var(--ne-warning-bg); color: var(--ne-warning); border: 1px solid rgba(204,65,0,.10); }
.callout-tip     { background: var(--ne-success-bg); color: var(--ne-success); border: 1px solid rgba(31,107,73,.10); }
.callout-icon { flex-shrink: 0; margin-top: 1px; }
.callout-body strong { font-weight: 700; }
.callout-body { flex: 1; color: var(--ne-ink); }
.callout-info .callout-body   { color: #16316e; }
.callout-warning .callout-body{ color: #6B2400; }
.callout-tip .callout-body    { color: #1A5038; }

/* ── In-article images ── */
.article-img-wrap { margin: 24px 0; }
.article-img-wrap img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }
.article-img-caption {
  display: block;
  font-size: 14px;
  color: var(--ne-muted);
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  font-style: italic;
  line-height: 1.45;
}

/* Screenshot — no frame, image sits flush */
.article-img-wrap--screenshot img {
  border-radius: var(--r-lg);
  border: 1px solid var(--ne-line);
}

/* Promotional banner — outline, no shadow */
.article-img-wrap--banner img {
  border-radius: 10px;
  border: 1px solid var(--ne-line);
}

/* Inline — small image floated right, used mid-paragraph */
.article-img-wrap--inline {
  float: right;
  width: 260px;
  margin: 4px 0 16px 24px;
}
.article-img-wrap--inline img {
  border: 1px solid var(--ne-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.article-body::after { content: ''; display: table; clear: both; }

/* ── In-article Tabs ── */
.article-tabs { margin: 24px 0 20px; }
.article-tabs__nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid var(--ne-line);
  gap: 0;
}
.article-tabs__tab {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ne-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
  user-select: none;
  white-space: nowrap;
}
.article-tabs__tab:hover { color: var(--ne-navy); }
.article-tabs__tab--active { color: var(--ne-link); border-bottom-color: var(--ne-link); }
.article-tabs__panel { display: none; padding: 20px 0 4px; }
.article-tabs__panel--active { display: block; }

/* ── In-article Accordion (FAQ list) ── */
/* Card-stack layout — each item is a self-contained card, not a divider row */
.article-accordion { margin: 20px 0; display: flex; flex-direction: column; gap: 6px; }
.accordion-item {
  background: var(--ne-card);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.accordion-item--open { }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ne-navy);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  transition: color .12s, background .12s;
}
.accordion-trigger:hover { color: var(--ne-link); }
.accordion-trigger:hover .accordion-trigger-icon { color: var(--ne-link); }
.accordion-trigger-icon {
  flex-shrink: 0;
  color: var(--ne-muted);
  transition: transform .2s ease, color .12s;
}
.accordion-item--open .accordion-trigger { color: var(--ne-navy); }
.accordion-item--open .accordion-trigger-icon { transform: rotate(180deg); color: var(--ne-link); }
.accordion-body {
  display: none;
  padding: 14px 18px 16px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ne-gy12);
  border-top: 1px solid var(--ne-line);
}
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-item--open .accordion-body { display: block; }

/* ── In-article Toggle (single collapsible block) ── */
.article-toggle {
  margin: 20px 0;
  background: var(--ne-card);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.toggle-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ne-navy);
  cursor: pointer;
  background: var(--ne-gy1);
  border: none;
  text-align: left;
  font-family: var(--font);
  transition: background .12s, color .12s;
}
.toggle-trigger:hover,
.article-toggle--open .toggle-trigger { background: var(--ne-bl1); color: var(--ne-link); }
.toggle-trigger-icon {
  flex-shrink: 0;
  color: var(--ne-muted);
  transition: transform .2s ease, color .12s;
}
.article-toggle--open .toggle-trigger-icon { transform: rotate(45deg); color: var(--ne-link); }
.toggle-body {
  display: none !important;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ne-gy12);
  border-top: 1px solid var(--ne-line);
}
.toggle-body p:last-child { margin-bottom: 0; }
.article-toggle--open .toggle-body { display: block !important; }

/* callout-alert — maps hts-messages--alert */
.callout-alert { background: #fff8e1; color: #7a5800; border: 1px solid rgba(122,88,0,.12); }
.callout-alert .callout-body { color: #5c4000; }

/* ── TOC Sidebar ── */
.toc-sidebar { position: sticky; top: 72px; }
.toc-inner {
  background: var(--ne-card);
  border-radius: var(--r-lg);
  padding: 20px 0 16px;
  overflow: hidden;
}
.toc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--ne-muted);
  padding: 0 20px 12px;
  border-bottom: 1px solid var(--ne-line);
  margin-bottom: 4px;
}
.toc-nav { display: flex; flex-direction: column; }
.toc-link {
  display: block;
  padding: 8px 20px;
  font-size: 13.5px;
  color: var(--ne-gy11);
  border-left: 2px solid transparent;
  transition: color .12s, border-color .12s, background .12s;
  line-height: 1.4;
}
.toc-link:hover { color: var(--ne-link); background: var(--ne-bl1); border-left-color: rgba(16,97,205,.3); }
.toc-link.active { color: var(--ne-link); font-weight: 700; border-left-color: var(--ne-link); background: var(--ne-bl1); }
.toc-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: column;
  padding: 16px 20px 4px;
  border-top: 1px solid var(--ne-line);
  margin-top: 8px;
}
.toc-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ne-muted);
  width: 100%;
}
.toc-meta-item i { color: var(--ne-muted); width: 14px; text-align: center; }
.toc-helpful-pct { color: var(--ne-success); font-weight: 700; }

/* ── Helpfulness Widget ── */
.helpfulness-widget {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ne-line);
  text-align: center;
}
.helpfulness-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--ne-navy);
  margin-bottom: 18px;
}
.helpfulness-btns { display: flex; gap: 12px; justify-content: center; }
.helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ne-line);
  background: var(--ne-card);
  font-size: 14px;
  font-weight: 700;
  color: var(--ne-navy);
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}
.helpful-btn:hover { border-color: var(--ne-navy); box-shadow: var(--shadow-card); }
.helpful-btn.yes:hover { border-color: var(--ne-success); color: var(--ne-success); background: var(--ne-success-bg); }
.helpful-btn.no:hover  { border-color: var(--ne-danger);  color: var(--ne-danger);  background: #fff0ef; }
.helpfulness-thankyou  { display: none; }
.helpfulness-thankyou.visible { display: block; }
.helpfulness-followup  { display: none; text-align: left; }
.helpfulness-followup.visible { display: block; }
.helpfulness-followup-q { font-size: 14px; font-weight: 700; color: var(--ne-navy); margin-bottom: 12px; margin-top: 4px; }
.followup-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.followup-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--ne-line);
  border-radius: var(--r-card);
  cursor: pointer;
  font-size: 14px;
  color: var(--ne-gy12);
  transition: border-color .12s, background .12s;
  font-family: var(--font);
  background: var(--ne-card);
  text-align: left;
}
.followup-option:hover { border-color: var(--ne-link); background: var(--ne-bl1); color: var(--ne-link); }
.followup-option input[type=radio] { accent-color: var(--ne-orange); width: 16px; height: 16px; flex-shrink: 0; }
.followup-submit { margin-top: 6px; }

/* ── Related Articles ── */
.related-articles-section {
  background: var(--ne-card);
  border-top: 1px solid var(--ne-line);
  padding: 48px 0 56px;
}
.related-articles-section .section-head--block h2 { font-size: 26px; }
.related-articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-article-card {
  background: var(--ne-surface);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-lg);
  padding: 18px 20px 16px;
  text-decoration: none;
  display: block;
  transition: border-color .18s, box-shadow .18s;
}
.related-article-card:hover { border-color: var(--ne-gy4); box-shadow: var(--shadow-card); }
.related-article-cat {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--ne-link);
  margin-bottom: 7px;
}
.related-article-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ne-navy);
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color .12s;
}
.related-article-card:hover .related-article-title { color: var(--ne-link); }
.related-article-meta { font-size: 12.5px; color: var(--ne-muted); }
.related-article-arrow {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ne-link);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--ne-line);
}

/* ══════════════════════════════════════════════════════
   CATEGORY HERO (article-list.html)
   ══════════════════════════════════════════════════════ */
.category-hero {
  background: var(--ne-surface);
  padding: 44px 0 28px;
}
.category-hero .breadcrumb { margin-bottom: 16px; }
.category-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ne-navy);
  margin-bottom: 10px;
}
.category-desc {
  font-size: 16px;
  color: var(--ne-muted);
  margin-bottom: 18px;
  max-width: 560px;
  line-height: 1.5;
}
.category-stats-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.category-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ne-gy11);
  font-weight: 600;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(16,97,205,.12);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}
.category-stat i { color: var(--ne-link); font-size: 12px; }
.category-stat .stat-helpful { color: var(--ne-success); }
.category-stat-sep { width: 2px; height: 2px; border-radius: 50%; background: var(--ne-gy6); display: inline-block; }

/* ── Refinement Bar ── */
.refinement-section {
  background: var(--ne-card);
  border-bottom: 1px solid var(--ne-line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 60;
}
.refinement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.subtopic-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subtopic-chips::-webkit-scrollbar { display: none; }
.subtopic-chip {
  padding: 6px 15px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ne-line);
  background: var(--ne-card);
  color: var(--ne-gy11);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
  white-space: nowrap;
  flex-shrink: 0;
}
.subtopic-chip:hover { border-color: var(--ne-navy); color: var(--ne-navy); background: var(--ne-gy1); }
.subtopic-chip.active { background: var(--ne-navy); border-color: var(--ne-navy); color: #fff; }
.refinement-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.result-count { font-size: 13px; color: var(--ne-muted); white-space: nowrap; }
.sort-wrap { position: relative; display: flex; align-items: center; }
.sort-select {
  appearance: none; -webkit-appearance: none;
  border: 1.5px solid var(--ne-line);
  background: var(--ne-card);
  border-radius: var(--r-pill);
  padding: 7px 30px 7px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ne-navy);
  cursor: pointer;
  font-family: var(--font);
  transition: border-color .15s;
  outline: none;
}
.sort-select:hover { border-color: var(--ne-navy); }
.sort-select:focus { border-color: var(--ne-link); box-shadow: 0 0 0 3px rgba(16,97,205,.10); }
.sort-chev {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--ne-muted); pointer-events: none;
}

/* ── Article Rows (list + search results) ── */
.article-list-section { padding: 32px 0 48px; }
.article-list { display: flex; flex-direction: column; gap: 8px; }
.article-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--ne-card);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s;
  cursor: pointer;
}
.article-row:hover { border-color: var(--ne-gy4); box-shadow: var(--shadow-card); }
.article-row-main { flex: 1; min-width: 0; }
.article-row-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.article-row-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ne-navy);
  transition: color .12s;
  line-height: 1.3;
}
.article-row:hover .article-row-title { color: var(--ne-navy); }
.article-row-excerpt {
  font-size: 13.5px;
  color: var(--ne-muted);
  line-height: 1.5;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-row-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ne-muted);
  flex-wrap: wrap;
}
.article-row-meta .helpful-pct { color: var(--ne-success); font-weight: 700; }
.article-row-meta .meta-sep { width: 2px; height: 2px; border-radius: 50%; background: var(--ne-gy6); display: inline-block; }
.subtopic-tag {
  font-size: 11.5px;
  color: var(--ne-gy11);
  background: var(--ne-gy1);
  border: 1px solid var(--ne-line);
  border-radius: 3px;
  padding: 1px 7px;
  font-weight: 600;
}
.article-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-top     { background: var(--ne-orange-soft); color: var(--ne-warning); border: 1px solid rgba(204,65,0,.2); }
.badge-new     { background: var(--ne-info-bg);     color: var(--ne-info);    border: 1px solid rgba(27,58,138,.2); }
.badge-updated { background: var(--ne-success-bg);  color: var(--ne-success); border: 1px solid rgba(31,107,73,.18); }
/* Narrow badge variant — same visual height as article title */
.article-badge { line-height: 1.1; }

/* Category stats as plain text (replaces bubble strip) */
.category-stats-text {
  font-size: 13px;
  color: var(--ne-muted);
  font-weight: 600;
  margin-top: 4px;
}
.category-stats-text .stats-sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--ne-gy4);
}

/* Quick actions in sidebar — content-width buttons */
.quick-actions-sidebar .ne-btn {
  width: auto;
  align-self: flex-start;
}

/* Search: browse-by-topic grid */
.topic-browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 0;
}
.topic-browse-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 18px;
  border: 1.5px solid var(--ne-line);
  border-radius: var(--r-card);
  background: var(--ne-card);
  color: var(--ne-navy);
  font-family: var(--font);
  text-decoration: none;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
  cursor: pointer;
}
.topic-tab-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3px;
}
.topic-tab-count {
  font-size: 12px;
  color: var(--ne-muted);
  font-weight: 600;
  transition: color .15s;
}
.topic-browse-tab:hover {
  border-color: var(--ne-link);
  background: var(--ne-bl1);
  color: var(--ne-link);
  box-shadow: var(--shadow-card);
}
.topic-browse-tab:hover .topic-tab-count { color: var(--ne-link); }

.article-row-arrow {
  color: var(--ne-gy6);
  font-size: 18px;
  flex-shrink: 0;
  transition: color .12s, transform .15s;
}
.article-row:hover .article-row-arrow { color: var(--ne-orange); transform: translateX(3px); }
.list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ne-line);
  background: var(--ne-card);
  font-size: 14px;
  font-weight: 700;
  color: var(--ne-navy);
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}
.load-more-btn:hover { border-color: var(--ne-navy); box-shadow: var(--shadow-card); }

/* ── Related Categories ── */
.related-categories-section {
  background: var(--ne-card);
  border-top: 1px solid var(--ne-line);
  padding: 48px 0 56px;
}
.related-categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-category-card {
  background: var(--ne-surface);
  border: 1px solid var(--ne-line);
  border-radius: var(--r-lg);
  padding: 20px 20px 16px;
  text-decoration: none;
  display: block;
  transition: border-color .18s, box-shadow .18s;
}
.related-category-card:hover { border-color: var(--ne-gy4); box-shadow: var(--shadow-card); }
.related-category-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ne-bl1);
  border: 1px solid rgba(16,97,205,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ne-link);
  font-size: 16px;
  margin-bottom: 12px;
  transition: background .15s, color .15s, border-color .15s;
}
.related-category-card:hover .related-category-icon {
  background: var(--ne-orange);
  color: var(--ne-ink);
  border-color: var(--ne-orange);
}
.related-category-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ne-navy);
  margin-bottom: 5px;
  transition: color .12s;
}
.related-category-card:hover .related-category-name { color: var(--ne-link); }
.related-category-desc {
  font-size: 13px;
  color: var(--ne-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-category-count {
  font-size: 12px;
  color: var(--ne-muted);
  font-family: var(--mono);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ══════════════════════════════════════════════════════
   SEARCH RESULTS PAGE
   ══════════════════════════════════════════════════════ */
.search-page-header {
  background: var(--ne-card);
  padding: 20px 0 24px;
}
.search-page-bar {
  display: flex;
  align-items: center;
  background: var(--ne-card);
  border: 1.5px solid var(--ne-link);
  border-radius: var(--r-pill);
  padding: 0 20px;
  gap: 12px;
  height: 52px;
  box-shadow: 0 0 0 3px rgba(16,97,205,.10);
  margin-bottom: 16px;
}
.search-page-bar > svg { color: var(--ne-link); flex-shrink: 0; }
.search-page-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--ne-ink); font-family: var(--font);
}
.search-clear-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ne-gy2); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ne-muted); font-family: var(--font);
  transition: background .12s, color .12s;
  flex-shrink: 0;
}
.search-clear-btn:hover { background: var(--ne-gy3); color: var(--ne-ink); }
.search-results-meta {
  font-size: 14px;
  color: var(--ne-muted);
}
.search-results-meta strong { color: var(--ne-ink); font-weight: 700; }
.search-results-meta .query-text {
  color: var(--ne-navy);
  font-weight: 700;
}
.search-highlight {
  background: rgba(244,123,10,.14);
  color: #7A3600;
  border-radius: 2px;
  padding: 0 2px;
  font-weight: 700;
}
.search-cat-label {
  display: inline;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ne-link);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.no-results-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ne-muted);
}
.no-results-state .no-results-icon {
  font-size: 40px;
  color: var(--ne-gy4);
  margin-bottom: 16px;
}
.no-results-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ne-navy);
  margin-bottom: 8px;
}
.no-results-state p { font-size: 14px; line-height: 1.5; max-width: 400px; margin: 0 auto 20px; }

/* ── Search filter row (category pills) ── */
.search-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.search-filter-label { font-size: 12.5px; color: var(--ne-muted); font-weight: 600; }
.search-cat-chip {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ne-line);
  background: var(--ne-card);
  color: var(--ne-gy11);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}
.search-cat-chip:hover { border-color: var(--ne-navy); color: var(--ne-navy); }
.search-cat-chip.active { background: var(--ne-navy); border-color: var(--ne-navy); color: #fff; }

/* ── Responsive article detail ── */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc-sidebar { display: none; }
  .related-articles-grid { grid-template-columns: 1fr 1fr; }
  .related-categories-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .article-layout-wrap { padding: 24px 0 40px; }
  .article-h1 { font-size: 26px; }
  .helpfulness-widget { padding: 20px 18px; }
  .related-articles-grid { grid-template-columns: 1fr; }
  .related-categories-grid { grid-template-columns: 1fr 1fr; }
  .refinement-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .refinement-right { width: 100%; justify-content: space-between; }
  .article-header-search { display: none; }
  .article-page-header .container { justify-content: flex-start; }
  .steps-group::before { display: none; }
}
@media (max-width: 480px) {
  .related-categories-grid { grid-template-columns: 1fr; }
  .category-stats-strip { gap: 6px; }
}
