/* Page-scoped buying discovery; existing theme tokens and controls remain usable. */
.nth-buyer-guide { max-width:1280px; width:100%; margin:auto; padding:24px; box-sizing:border-box; color:#0f172a; }
.nth-buyer-hero { padding:28px; border:1px solid #dbe4f1; border-radius:20px; background:linear-gradient(120deg,#eff6ff,#f5f3ff); margin-bottom:20px; }
.nth-buyer-hero h1 { font-size:clamp(27px,3vw,40px); line-height:1.2; letter-spacing:-.025em; margin:6px 0 12px; }
.nth-buyer-kicker { color:#4338ca; text-transform:uppercase; letter-spacing:.09em; font-size:12px; font-weight:800; }
.nth-buyer-guide p { max-width:90ch; line-height:1.65; }
.nth-buyer-chips { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.nth-buyer-chips a,.nth-buyer-link { display:inline-flex; align-items:center; min-height:44px; padding:8px 14px; box-sizing:border-box; border:1px solid #bfdbfe; border-radius:12px; background:#fff; color:#1d4ed8; font-weight:700; text-decoration:none; }
.nth-buyer-chips a:hover,.nth-buyer-link:hover { background:#eff6ff; border-color:#2563eb; }
.nth-buyer-primary { display:inline-flex; align-items:center; min-height:44px; padding:10px 16px; box-sizing:border-box; border-radius:10px; background:#1d4ed8; color:#fff!important; font-weight:700; text-decoration:none; }
.nth-buyer-primary:hover { background:#1e40af; }
.nth-buyer-tier { margin:28px 0; padding:24px; border:1px solid #e2e8f0; border-radius:18px; background:#fff; scroll-margin-top:100px; }
.nth-buyer-tier .nth-neo-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.nth-buyer-tier h2 { margin:0; font-size:clamp(22px,2vw,28px); }
.nth-buyer-tier .nth-section-head { display:flex; align-items:center; flex-wrap:wrap; gap:12px; justify-content:space-between; }
.nth-buyer-status { padding:6px 10px; border-radius:8px; color:#334155; background:#f1f5f9; font-size:12px; font-weight:700; }
.nth-buyer-method,.nth-buyer-pending,.nth-buyer-faq details,.nth-buyer-report { padding:12px 16px; border:1px solid #e2e8f0; border-radius:12px; margin:16px 0; background:#fff; }
.nth-buyer-method summary,.nth-buyer-pending summary,.nth-buyer-faq summary,.nth-buyer-report summary,.nth-buyer-price-context summary { cursor:pointer; font-weight:700; padding:8px 0; min-height:44px; box-sizing:border-box; color:#1d4ed8; }
.nth-buyer-table-scroll { width:100%; overflow-x:auto; overscroll-behavior-inline:contain; margin:12px 0; }
.nth-buyer-table { width:100%; min-width:640px; border-collapse:collapse; font-size:14px; color:#334155; background:#fff; }
.nth-buyer-table caption { text-align:left; padding:8px 0 12px; color:#475569; }
.nth-buyer-table th,.nth-buyer-table td { padding:14px; vertical-align:top; border:1px solid #e2e8f0; text-align:left; }
.nth-buyer-table thead th { background:#f1f5f9; color:#0f172a; }
.nth-buyer-table th[scope="row"] { min-width:150px; }
.nth-buyer-table small { display:block; margin-top:6px; color:#475569; font-weight:400; }
.nth-buyer-table p { margin:0 0 8px; }
.nth-buyer-table .nth-price-truth-line { min-width:140px; }
.nth-buyer-table a.nth-buyer-link { white-space:nowrap; word-break:normal; overflow-wrap:normal; min-width:max-content; }
.nth-buyer-price-context { padding:12px 16px; margin:12px 0; border:1px solid #dbe4ef; border-left:3px solid #6366f1; border-radius:10px; font-size:13px; line-height:1.6; background:#f8fafc; color:#334155; }
.nth-buyer-price-context p { margin:4px 0; }
.nth-buyer-alternatives { margin:24px 0; padding:20px; border:1px solid #e2e8f0; border-radius:16px; background:#fff; scroll-margin-top:100px; }
/* Keep a replaced rail hidden even when a later plugin uses display:flex!important.
   Both markers are set by the existing merger and removed on fallback restoration. */
body main.nth-buyer-unified-nav .nth-buyer-replaced-nav[hidden] { display:none!important; }
/* Older UI plugins may rebuild their rail after the first theme enhancement. */
body .nth-buyer-unified-nav .nth-p19d-section-nav,
body .nth-buyer-unified-nav .nth-p19d2-section-nav { display:none!important; }
.nth-buyer-notice { padding:18px; margin:20px 0; border:1px solid #fcd34d; border-radius:12px; background:#fffbeb; color:#78350f; }
.nth-buyer-notice p { margin:6px 0 0; }
.nth-buyer-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:20px 0; }
.nth-buyer-kpis > div { padding:20px; border:1px solid #e2e8f0; border-radius:14px; background:#fff; }
.nth-buyer-kpis strong { display:block; font-size:24px; color:#1e40af; }
.nth-buyer-kpis span { display:block; font-size:13px; color:#475569; margin-top:8px; }
.nth-buyer-rules section { margin:30px 0; }
.nth-buyer-status-list { display:grid; grid-template-columns:90px minmax(0,1fr); gap:12px; }
.nth-buyer-status-list dt { font-weight:700; }.nth-buyer-status-list dd { margin:0; }
.nth-buyer-placement { margin:0 0 16px; }
.nth-buyer-placement-frame { display:flex; flex-direction:column; gap:8px; padding:12px; border:1px solid #cbd5e1; background:#f8fafc; border-radius:10px; height:154px; box-sizing:border-box; }
.nth-buyer-placement-header { font-size:10px; color:#64748b; border-bottom:1px solid #cbd5e1; padding-bottom:6px; }
.nth-buyer-placement-ad { display:flex; align-items:center; justify-content:center; min-height:40px; background:#e0e7ff; color:#3730a3; border:1px dashed #818cf8; border-radius:5px; font-size:11px; font-weight:700; }
.nth-buyer-placement-content { display:flex; flex:1; gap:8px; }.nth-buyer-placement-content i { flex:1; background:#e2e8f0; border-radius:5px; }
.nth-buyer-placement--product .nth-buyer-placement-ad { order:3; min-height:28px; }
.nth-buyer-placement figcaption { font-size:11px; line-height:1.5; margin-top:6px; color:#475569; }
body .nth16b-package-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
body .nth16b-package { display:flex; flex-direction:column; min-width:0; }
body .nth16b-package .nth-buyer-primary { margin-top:14px; align-self:flex-start; }
body .nth16b-package .nth16b-rate { margin-top:auto; }
#campaign-inquiry { scroll-margin-top:100px; }
.nth-buyer-logo-unavailable { display:none!important; }
body.home #nth-home .nth-hero { padding:24px!important; }
body.home #nth-home .nth-hero h1 { font-size:clamp(28px,3.2vw,44px)!important; line-height:1.15!important; max-width:24ch; }
body.home #nth-home .nth-hero-main { display:flex; flex-direction:column; gap:14px; min-width:0; }
body.home #nth-home .nth-hero-text > p:not(.nth-hero-eyebrow) { margin-bottom:12px; max-width:62ch; }
body.home #nth-home .nth-hero-actions { margin:12px 0 0!important; }
body.home #nth-home .nth-buyer-home-budget .nth-neo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
body.home #nth-home .nth-home-discovery-split { grid-template-columns:minmax(0,1fr)!important; }
body.home #nth-home .nth-home-group-section { margin:0 0 24px; padding:0; min-width:0; }
body.home #nth-home .nth-home-group-section .nth-prod-grid { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:16px; }
body.home #nth-home .nth-home-group-section .nth-prod-grid > * { width:auto!important; min-width:0!important; max-width:none!important; }
.nth-buyer-guide a:focus-visible,.nth-buyer-guide summary:focus-visible,.nth-buyer-table-scroll:focus-visible,.nth-buyer-primary:focus-visible { outline:3px solid #7c3aed; outline-offset:3px; }
@media(max-width:767px) {
  .nth-buyer-tier .nth-neo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nth-buyer-guide { padding:14px; }.nth-buyer-hero { padding:20px; }.nth-buyer-tier { padding:16px; }
  .nth-buyer-kpis,body .nth16b-package-grid { grid-template-columns:minmax(0,1fr); }
  .nth-buyer-status-list { grid-template-columns:minmax(0,1fr); gap:5px; }.nth-buyer-status-list dd { margin-bottom:12px; }
  body.home #nth-home .nth-hero { padding:18px!important; }
  body.home #nth-home .nth-hero-layout,body.home #nth-home .nth-hero-layout.has-pulse { display:block!important; }
  body.home #nth-home .nth-hero-pulse { margin-top:18px; }
  body.home #nth-home .nth-home-group-section .nth-prod-grid,body.home #nth-home .nth-buyer-home-budget .nth-neo-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px; }
  body.home #nth-home .nth-buyer-home-budget .nth-neo-card:last-child:nth-child(odd) { grid-column:1 / -1; }
  .nth-buyer-alternatives { padding:14px; }
}
@media(prefers-reduced-motion:reduce) { .nth-buyer-guide * { scroll-behavior:auto!important; transition:none!important; } }
