/* ParseShelf v3: one visual system for marketing, docs, tools and product UI. */
:root {
  --ps-bg: #f3f6f5;
  --ps-surface: #ffffff;
  --ps-surface-soft: #f8faf9;
  --ps-ink: #101a17;
  --ps-muted: #5f6f69;
  --ps-subtle: #5f6f69;
  --ps-line: #d8e2de;
  --ps-line-strong: #bdcbc6;
  --ps-green: #087e64;
  --ps-green-dark: #05634f;
  --ps-green-soft: #ddf1ea;
  --ps-amber: #f3a83b;
  --ps-amber-soft: #fff2dc;
  --ps-blue: #4e8ee8;
  --ps-code: #101b27;
  --ps-danger: #b42318;
  --ps-shadow: 0 22px 60px rgba(16, 26, 23, .09);
  --ps-shadow-soft: 0 10px 28px rgba(16, 26, 23, .06);
  --ps-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html { background: var(--ps-bg); }
body,
body.seo-body,
body.app-body,
body.public-body,
body:has(.amazon-landing) {
  background: var(--ps-bg) !important;
  color: var(--ps-ink) !important;
  font-family: Inter, "Helvetica Neue", Arial, "Liberation Sans", sans-serif !important;
}
body::before,
body.seo-body::before,
body:has(.amazon-landing)::before { display: none !important; }
body * { letter-spacing: 0 !important; }
a { text-underline-offset: 3px; }

.topbar,
body:has(.amazon-landing) .topbar {
  border-bottom: 1px solid var(--ps-line) !important;
  background: rgba(250, 252, 251, .98) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.topbar.is-scrolled { box-shadow: 0 8px 28px rgba(16, 26, 23, .07) !important; }
.nav,
body:has(.amazon-landing) .nav,
.seo-body .nav {
  width: min(1280px, calc(100% - 40px)) !important;
  max-width: none !important;
  min-height: 68px !important;
  margin: 0 auto !important;
  padding: 9px 0 !important;
  gap: 18px !important;
}
.brand,
body:has(.amazon-landing) .brand,
.seo-body .brand {
  gap: 9px !important;
  color: var(--ps-ink) !important;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 19px !important;
  font-style: normal !important;
  font-weight: 800 !important;
}
.brand-mark,
body:has(.amazon-landing) .brand-mark,
.seo-body .brand-mark {
  display: grid !important;
  width: 39px !important;
  height: 28px !important;
  place-items: center !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ps-ink) !important;
}
.brand-mark svg,
body:has(.amazon-landing) .brand-mark svg,
.seo-body .brand-mark svg { width: 39px !important; height: 28px !important; }
.nav-links { justify-content: center !important; gap: 2px !important; }
.nav-links a,
body:has(.amazon-landing) .nav-links a {
  padding: 9px 10px !important;
  border-radius: 6px !important;
  color: #52615c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
.nav-links a:hover,
body:has(.amazon-landing) .nav-links a:hover,
.nav-links a.is-active {
  background: #e7efec !important;
  color: var(--ps-ink) !important;
  transform: none !important;
}
.nav-links a.nav-item-create-job {
  background: var(--ps-green) !important;
  color: #fff !important;
}
.nav-actions,
.seo-body .nav-actions,
.public-body .nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto;
}
.nav-actions .button { min-height: 40px !important; padding: 0 14px !important; font-size: 13px !important; }
.seo-body .nav-actions .green { display: inline-flex !important; }
.nav-toggle {
  position: relative !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid var(--ps-line-strong) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--ps-ink) !important;
  box-shadow: none !important;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 18px !important;
  height: 2px !important;
  margin: -1px 0 0 -9px !important;
  transform-origin: center !important;
}
.nav-toggle::before { transform: translateY(-6px) !important; }
.nav-toggle span { transform: none !important; }
.nav-toggle::after { transform: translateY(6px) !important; }
.nav.nav-open .nav-toggle,
.nav.nav-open .nav-toggle:hover { background: #fff !important; color: var(--ps-ink) !important; }
.nav.nav-open .nav-toggle::before { transform: rotate(45deg) !important; }
.nav.nav-open .nav-toggle span { opacity: 0 !important; }
.nav.nav-open .nav-toggle::after { transform: rotate(-45deg) !important; }

.button,
button,
body:has(.amazon-landing) .button,
body:has(.amazon-landing) button {
  min-height: 42px;
  border-radius: 6px !important;
  background: var(--ps-green) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 760 !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}
.button:hover,
button:hover,
body:has(.amazon-landing) .button:hover,
body:has(.amazon-landing) button:hover {
  background: var(--ps-green-dark) !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}
.button.secondary,
button.secondary,
body:has(.amazon-landing) .button.secondary {
  border: 1px solid var(--ps-line-strong) !important;
  background: #fff !important;
  color: var(--ps-ink) !important;
}
.button.secondary:hover,
button.secondary:hover { background: #edf3f1 !important; }
button.danger { background: var(--ps-danger) !important; }
.sort-head,
.sort-head:hover,
.tab,
.category-tab,
.copy-btn,
.shot-tabs button,
.thumb-button,
.lightbox-close,
.lightbox-nav {
  box-shadow: none !important;
}

.page,
body:has(.amazon-landing) .page,
.seo-body .page {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: none !important;
  padding: 0 0 72px !important;
}
.seo-body .page { width: min(1180px, calc(100% - 40px)) !important; }
h1, h2, h3, .page-title,
.hero h1,
.seo-page .hero h1,
.compare-page .hero h1,
.amazon-landing h1,
.amazon-landing h2,
.amazon-landing h3 {
  color: var(--ps-ink) !important;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
  font-style: normal !important;
  overflow-wrap: anywhere;
}
.hero,
.seo-page .hero,
.compare-page .hero,
.resource-page .hero {
  display: block !important;
  min-height: 0 !important;
  padding: 68px 0 28px !important;
  text-align: left !important;
}
.hero-copy,
.seo-page .hero-copy,
.compare-page .hero-copy {
  max-width: 880px !important;
  margin: 0 !important;
}
.hero h1,
.seo-page .hero h1,
.compare-page .hero h1 {
  max-width: 920px !important;
  margin: 17px 0 18px !important;
  font-size: 64px !important;
  font-weight: 780 !important;
  line-height: 1.02 !important;
}
.page-title {
  margin: 14px 0 12px !important;
  font-size: 48px !important;
  font-weight: 780 !important;
  line-height: 1.05 !important;
}
.lead,
.hero .lead,
.seo-page .hero .lead {
  max-width: 760px !important;
  margin: 0 0 24px !important;
  color: var(--ps-muted) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}
.eyebrow,
.badge,
.ps-kicker {
  min-height: 28px;
  padding: 0 10px !important;
  border: 1px solid #add8ca !important;
  border-radius: 999px !important;
  background: var(--ps-green-soft) !important;
  box-shadow: none !important;
  color: #08634f !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}
.accent-text { color: var(--ps-green) !important; }
.section,
.ps-section { margin-top: 96px !important; }
.section-head { margin-bottom: 28px !important; }
.section-head h2,
.ps-section h2,
.ps-final h2 { font-size: 38px !important; font-weight: 760 !important; line-height: 1.12 !important; }
.section-head p { color: var(--ps-muted) !important; }

.card,
.metric,
.band,
.panel,
.pricing-card,
.feature-card,
.tool-card,
.decision-card,
.compare-brand,
.score-card,
.related-card,
.seo-code-card,
.browser-frame,
.terminal-card,
.auth-card,
.table-wrap {
  border: 1px solid var(--ps-line) !important;
  border-radius: var(--ps-radius) !important;
  background: var(--ps-surface) !important;
  box-shadow: var(--ps-shadow-soft) !important;
  backdrop-filter: none !important;
}
.feature-card:hover,
.tool-card:hover,
.related-card:hover,
.pricing-card:hover {
  border-color: #9ccaba !important;
  box-shadow: var(--ps-shadow) !important;
  transform: translateY(-2px) !important;
}
.muted { color: var(--ps-muted) !important; }
.seo-card-icon,
.feature-icon,
.ps-workflow-icon {
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--ps-green-soft) !important;
  color: var(--ps-green) !important;
}
.feature-icon.amber,
.ps-workflow-icon.amber { background: var(--ps-amber-soft) !important; color: #9d5c00 !important; }
.feature-icon.dark,
.ps-workflow-icon.dark { background: var(--ps-ink) !important; color: #fff !important; }
.term-cloud span {
  min-height: 32px !important;
  border: 1px solid var(--ps-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #53635e !important;
  font-size: 13px !important;
}
.related-grid { gap: 10px !important; }
.related-card {
  min-height: 58px !important;
  padding: 13px 15px !important;
  color: var(--ps-ink) !important;
  font-size: 13px !important;
}
.related-card::after { color: var(--ps-green) !important; }

.v3-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 18px 40px;
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 0;
  padding: 30px 0 36px;
  border-top: 1px solid var(--ps-line);
  color: var(--ps-muted);
}
.v3-footer-main { display: grid; gap: 8px; }
.v3-footer-main p { max-width: 480px; margin: 0; font-size: 13px; }
.v3-footer-brand { display: inline-flex; width: fit-content; align-items: center; gap: 9px; color: var(--ps-ink); font-size: 17px; font-weight: 820; }
.v3-footer-brand span { display: grid; width: 34px; height: 25px; place-items: center; }
.v3-footer-brand svg { width: 34px; height: 25px; }
.v3-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; align-self: center; }
.v3-footer nav a { color: #52615c; font-size: 12px; font-weight: 720; }
.v3-footer nav a:hover { color: var(--ps-green); }
.v3-footer > small { grid-column: 1 / -1; color: var(--ps-subtle); font-size: 11px; }

/* Product-flow stage shared by homepage, product pages and docs. */
.v3-product-stage {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  min-height: 410px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: #fff;
  box-shadow: var(--ps-shadow);
}
.v3-product-stage.compact { grid-template-columns: 1fr; min-height: 360px; }
.v3-pipeline {
  min-width: 0;
  padding: 18px;
  background: #14201d;
  color: #eef7f3;
}
.v3-pipeline-head,
.v3-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 36px;
}
.v3-pipeline-head b,
.v3-console-head b { font-size: 13px; }
.v3-pipeline-head span { color: #b4c5bf; font-size: 11px; }
.v3-console-head small { color: #5f6f69; font-size: 11px; }
.v3-flow-map { position: relative; height: 320px; margin-top: 8px; overflow: hidden; }
.v3-amazon-source {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 50%;
  display: flex;
  width: 150px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #b7c8c2;
  border-radius: 7px;
  background: #fff;
  color: #17231f;
  transform: translateX(-50%);
}
.v3-amazon-word { position: relative; padding-bottom: 7px; font-size: 18px; font-weight: 820; }
.v3-amazon-word::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 5px;
  height: 5px;
  border-bottom: 2px solid var(--ps-amber);
  border-radius: 0 0 50% 50%;
  transform: rotate(-4deg);
}
.v3-amazon-source small { color: #56655f; font-size: 9px; font-weight: 760; text-transform: uppercase; }
.v3-flow-lines { position: absolute; inset: 52px 0 64px; width: 100%; height: 210px; }
.v3-flow-lines path {
  fill: none;
  stroke: rgba(109, 207, 178, .48);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  animation: v3-line-flow 1.6s linear infinite;
}
.v3-flight {
  position: absolute;
  z-index: 5;
  top: 72px;
  left: calc(50% - 17px);
  display: grid;
  width: 34px;
  height: 26px;
  place-items: center;
  border: 1px solid #bad0c8;
  border-radius: 5px;
  background: #fff;
  color: #17231f;
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}
.v3-flight::after { content: ""; width: 15px; height: 4px; border-bottom: 2px solid var(--ps-amber); border-radius: 50%; position: absolute; bottom: 2px; }
.v3-flight-json { animation: v3-fly-json 5.4s ease-in-out -1.1s infinite; }
.v3-flight-csv { animation: v3-fly-csv 5.4s ease-in-out -2.4s infinite; }
.v3-flight-xlsx { animation: v3-fly-xlsx 5.4s ease-in-out -3.7s infinite; }
.v3-flight-md { animation: v3-fly-md 5.4s ease-in-out -4.8s infinite; }
.v3-format-grid {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.v3-format-target,
.v3-format-target:hover {
  display: grid;
  min-width: 0;
  min-height: 74px;
  padding: 9px 5px;
  place-items: center;
  border: 1px solid #3b5049 !important;
  border-radius: 6px !important;
  background: #1b2a25 !important;
  box-shadow: none !important;
  color: #eef7f3 !important;
  transform: none !important;
}
.v3-format-target:hover { border-color: #72c7ad !important; background: #22352f !important; }
.v3-format-target i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  background: #dff2eb;
  color: #09624f;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.v3-format-target span { font-size: 10px; font-weight: 780; }
.v3-format-target:nth-child(1) i { background: #dff2eb; color: #09624f; }
.v3-format-target:nth-child(2) i { background: #e6effc; color: #2868b9; }
.v3-format-target:nth-child(3) i { background: #e2f2e7; color: #167044; }
.v3-format-target:nth-child(4) i { background: #fff0d2; color: #975900; }
body:has(.amazon-landing) .v3-format-target,
body:has(.amazon-landing) .v3-format-target:hover {
  border: 1px solid #3b5049 !important;
  background: #1b2a25 !important;
  color: #eef7f3 !important;
}
.v3-output-console { min-width: 0; background: #fff; }
.v3-console-head { min-height: 58px; padding: 9px 14px 9px 18px; border-bottom: 1px solid var(--ps-line); }
.v3-console-title { display: flex; align-items: center; gap: 8px; }
.v3-console-title > div { display: grid; gap: 1px; min-width: 0; }
.v3-console-title b,
.v3-console-title small { display: block; }
.v3-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a47f; box-shadow: 0 0 0 4px rgba(22, 164, 127, .12); animation: v3-live-pulse 1.8s ease-in-out infinite; }
.v3-output-tabs { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--ps-line); border-radius: 6px; background: #f3f7f5; }
.v3-output-tab,
.v3-output-tab:hover {
  min-height: 30px;
  padding: 0 10px;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #53645e !important;
  font-size: 11px;
  transform: none !important;
}
.v3-output-tab.is-active { background: #fff !important; color: var(--ps-ink) !important; box-shadow: 0 2px 7px rgba(16, 26, 23, .08) !important; }
body:has(.amazon-landing) .v3-output-tab,
body:has(.amazon-landing) .v3-output-tab:hover {
  border: 0 !important;
  background: transparent !important;
  color: #53645e !important;
}
body:has(.amazon-landing) .v3-output-tab.is-active {
  background: #fff !important;
  color: var(--ps-ink) !important;
}
.v3-preview-panels { position: relative; min-height: 350px; }
.v3-output-panel { display: none; min-height: 350px; animation: v3-panel-in .24s ease both; }
.v3-output-panel.is-active { display: block; }
.v3-table-head,
.v3-data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px 74px;
  gap: 12px;
  align-items: center;
}
.v3-table-head { min-height: 38px; padding: 0 16px; border-bottom: 1px solid var(--ps-line); color: var(--ps-subtle); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.v3-data-row { min-height: 72px; padding: 9px 16px; border-bottom: 1px solid #e9efed; }
.v3-data-row:last-child { border-bottom: 0; }
.v3-product-cell { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.v3-product-cell img { width: 48px; height: 48px; border: 1px solid #e3eae7; border-radius: 5px; background: #fff; object-fit: contain; }
.v3-product-cell b { overflow: hidden; color: var(--ps-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.v3-product-cell small { display: block; margin-top: 4px; color: var(--ps-subtle); font-size: 10px; }
.v3-data-row > span,
.v3-data-row > strong { color: #40504a; font-size: 12px; text-align: right; }
.v3-code-panel { position: relative; overflow: hidden; background: var(--ps-code); }
.v3-code-panel pre {
  min-height: 350px;
  max-height: 350px;
  margin: 0;
  overflow: auto;
  border: 0;
  border-radius: 0 !important;
  background: var(--ps-code) !important;
  box-shadow: none !important;
  color: #dce9e4;
  font: 12px/1.58 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}
.v3-code-panel .tok-key { color: #7dd3fc; }
.v3-code-panel .tok-string { color: #86efac; }
.v3-code-panel .tok-number { color: #fbbf24; }
.v3-code-panel .tok-literal { color: #c4b5fd; }
.v3-code-toolbar { position: absolute; z-index: 2; top: 10px; right: 10px; }
.v3-copy,
.v3-copy:hover {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #41505d !important;
  border-radius: 5px !important;
  background: #1c2a38 !important;
  color: #dce9e4 !important;
  box-shadow: none !important;
  font-size: 10px;
  transform: none !important;
}
.v3-stage-foot { display: flex; justify-content: space-between; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--ps-line); color: var(--ps-subtle); font-size: 10px; }
.v3-stage-foot a { color: var(--ps-green); font-weight: 760; }

@keyframes v3-line-flow { to { stroke-dashoffset: -28; } }
@keyframes v3-live-pulse { 50% { box-shadow: 0 0 0 7px rgba(22, 164, 127, 0); } }
@keyframes v3-panel-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes v3-fly-json {
  0%, 8% { left: calc(50% - 17px); top: 72px; opacity: 0; transform: scale(.72); }
  18% { opacity: 1; }
  58% { left: calc(12.5% - 17px); top: 194px; opacity: 1; transform: scale(1); }
  80%, 100% { left: calc(12.5% - 17px); top: 250px; opacity: 0; transform: scale(.55); }
}
@keyframes v3-fly-csv {
  0%, 8% { left: calc(50% - 17px); top: 72px; opacity: 0; transform: scale(.72); }
  18% { opacity: 1; }
  58% { left: calc(37.5% - 17px); top: 194px; opacity: 1; transform: scale(1); }
  80%, 100% { left: calc(37.5% - 17px); top: 250px; opacity: 0; transform: scale(.55); }
}
@keyframes v3-fly-xlsx {
  0%, 8% { left: calc(50% - 17px); top: 72px; opacity: 0; transform: scale(.72); }
  18% { opacity: 1; }
  58% { left: calc(62.5% - 17px); top: 194px; opacity: 1; transform: scale(1); }
  80%, 100% { left: calc(62.5% - 17px); top: 250px; opacity: 0; transform: scale(.55); }
}
@keyframes v3-fly-md {
  0%, 8% { left: calc(50% - 17px); top: 72px; opacity: 0; transform: scale(.72); }
  18% { opacity: 1; }
  58% { left: calc(87.5% - 17px); top: 194px; opacity: 1; transform: scale(1); }
  80%, 100% { left: calc(87.5% - 17px); top: 250px; opacity: 0; transform: scale(.55); }
}

/* Existing marketing sections are brought into the same restrained system. */
body:has(.amazon-landing) .ps-hero h1 { font-size: 64px !important; }
.ps-sample-rail { border-color: var(--ps-line-strong) !important; box-shadow: var(--ps-shadow-soft) !important; }
.ps-output,
.ps-price-grid,
.ps-plan-table { border-color: var(--ps-line) !important; box-shadow: var(--ps-shadow-soft) !important; }
.ps-dashboard { border-radius: var(--ps-radius) !important; background: #14201d !important; }
.ps-dashboard h2,
.ps-dashboard h3,
.ps-dashboard strong { color: #fff !important; }
.ps-dashboard p,
.ps-dashboard li,
.ps-dashboard .muted { color: #c7d5d0 !important; }
.ps-dashboard-shot img { border-radius: 6px !important; }
.ps-price-grid article.featured,
.ps-plan-row.is-featured { background: var(--ps-amber-soft) !important; }
.ps-price-grid small { color: #53645e !important; }
.ps-plan-head { color: #53645e !important; }
.ps-final { border: 1px solid #bfded4; border-radius: var(--ps-radius) !important; background: var(--ps-green-soft) !important; }
.ps-final span { color: var(--ps-green-dark) !important; }
.ps-unit-note,
.ps-plan-row small { color: #53645e !important; }
.ps-workflow-grid article { transition: transform .18s ease, border-color .18s ease; }
.ps-workflow-grid article:hover { border-color: var(--ps-green); transform: translateY(-3px); }

/* Generic SEO, comparison, tool and resource templates. */
.seo-page .terminal-card,
.resource-page .terminal-card { margin-top: 28px; min-height: 0 !important; }
.terminal-card { background: var(--ps-code) !important; color: #dce9e4 !important; }
.terminal-top { border-bottom-color: #2b3b49 !important; color: #9db0bc !important; }
.terminal-body { color: #dce9e4 !important; }
.output-pills span { border-radius: 5px !important; }
.compare-page .hero { padding-bottom: 26px !important; }
.compare-page .hero-copy { max-width: 900px !important; }
.compare-page .hero h1 { font-size: 58px !important; }
.compare-hero-card {
  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 16px !important;
  border: 1px solid var(--ps-line) !important;
  border-radius: var(--ps-radius) !important;
  background: #fff !important;
  box-shadow: var(--ps-shadow-soft) !important;
}
.compare-brand { min-height: 190px !important; padding: 20px !important; }
.compare-brand.primary { border-color: #a9d6c7 !important; background: #f2faf7 !important; }
.vs-badge { width: 44px !important; height: 44px !important; background: var(--ps-ink) !important; box-shadow: none !important; font-size: 12px !important; }
.score-card { border-radius: 6px !important; }
.decision-card.primary { border-color: #a9d6c7 !important; background: #f2faf7 !important; }
.compare-matrix td:nth-child(2) { background: #f2faf7 !important; }
.seo-code-card { overflow: hidden; background: var(--ps-code) !important; }
.seo-code-card pre { background: var(--ps-code) !important; }
.resource-content { gap: 24px !important; }
.resource-article article { padding-bottom: 22px; border-bottom: 1px solid var(--ps-line); }
.resource-article h3 { font-size: 22px !important; }
.resource-checklist li { border-radius: 6px !important; background: #fff !important; }
.seo-tool-panel { border-radius: var(--ps-radius) !important; background: #fff !important; }
.tool-card { min-height: 104px !important; border-radius: var(--ps-radius) !important; }
.faq-item,
.ps-faq-list details { border-color: var(--ps-line) !important; }
.faq-item summary,
.ps-faq-list summary { color: var(--ps-ink) !important; }

/* Product application: quieter, denser and work-focused. */
.app-body .nav { width: min(1360px, calc(100% - 36px)) !important; }
.app-body .nav-links { justify-content: flex-start !important; overflow-x: auto; flex-wrap: nowrap !important; scrollbar-width: none; }
.app-body .nav-links::-webkit-scrollbar { display: none; }
.app-body .nav-actions { margin-left: auto; }
.app-body .page { width: min(1220px, calc(100% - 36px)) !important; padding-top: 30px !important; }
.app-body .hero { padding: 24px 0 30px !important; }
.app-body .hero h1,
.app-body .page-title { max-width: 760px !important; font-size: 42px !important; line-height: 1.08 !important; }
.app-body h2,
.app-body .section-head h2 { font-size: 28px !important; font-weight: 760 !important; }
.app-body h3 { font-size: 18px !important; }
.app-body .section { margin-top: 52px !important; }
.app-body .card,
.app-body .metric,
.app-body .panel,
.app-body .table-wrap { box-shadow: 0 7px 20px rgba(16, 26, 23, .045) !important; }
.app-body .metric { min-height: 112px !important; padding: 17px !important; }
.app-body .metric strong { font-size: 28px !important; }
.app-body .estimate-card { border-radius: var(--ps-radius) !important; background: #14201d !important; box-shadow: none !important; }
.app-body .estimate-card h2,
.app-body .estimate-card h3,
.app-body .estimate-card strong,
.app-body .estimate-card label { color: #fff !important; }
.app-body .estimate-card p,
.app-body .estimate-card .muted { color: #c7d5d0 !important; }
.app-body .estimate-card .mini-button {
  border-color: #dce9e4 !important;
  background: #dce9e4 !important;
  color: #17231f !important;
}
.app-body .estimate-card .toast {
  border-color: #a8d8c8 !important;
  background: #d9efe7 !important;
  color: #075d4b !important;
}
.app-body .pricing-card.recommended { background: #14201d !important; color: #fff !important; }
.app-body .pricing-card.recommended h2,
.app-body .pricing-card.recommended h3,
.app-body .pricing-card.recommended .price,
.app-body .pricing-card.recommended strong { color: #fff !important; }
.app-body .pricing-card.recommended p,
.app-body .pricing-card.recommended small,
.app-body .pricing-card.recommended .muted,
.app-body .pricing-card.recommended .check-list { color: #c7d5d0 !important; }
.app-body .price { font-family: inherit !important; font-size: 42px !important; font-style: normal !important; font-weight: 780 !important; }
.app-body table { font-size: 13px; }
.app-body th { background: #f4f7f6 !important; color: #53645e !important; }
.app-body td,
.app-body th { padding: 13px 14px !important; }
.app-body .timeline-step { background: #fff !important; }
.app-body .timeline-step.active { background: var(--ps-green-soft) !important; }
.admin-head { align-items: end; margin-bottom: 24px !important; }
.admin-head .page-title { margin-bottom: 6px !important; }
.admin-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-form { display: grid; gap: 18px; padding: 20px !important; }
.admin-form h2 { margin: 8px 0 0; }
.admin-form-grid { display: grid; grid-template-columns: minmax(90px, .65fr) repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-form-grid label { display: grid; gap: 6px; font-size: 12px; font-weight: 760; }
.admin-form button { width: fit-content; }
.admin-page .section { margin-top: 42px !important; }
.admin-page .section-head { align-items: center; margin-bottom: 12px !important; }
.admin-page .section-head h2 { margin: 0; }
.admin-page details pre { max-width: 560px; max-height: 260px; overflow: auto; }
.item-detail-head { align-items: end; }
.item-detail-head .page-title { overflow-wrap: normal; word-break: normal; }

input,
select,
textarea {
  border: 1px solid var(--ps-line-strong) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--ps-ink) !important;
}
input:focus,
select:focus,
textarea:focus { border-color: var(--ps-green) !important; box-shadow: 0 0 0 3px rgba(8, 126, 100, .12) !important; }
label { color: #495953 !important; }

.auth-page { min-height: calc(100vh - 69px) !important; padding: 52px 0 !important; }
.auth-card { width: min(460px, 100%) !important; padding: 30px !important; }
.auth-card .page-title { font-size: 38px !important; }
.auth-card .eyebrow { margin-bottom: 5px; }
.auth-card button,
.auth-card .button { width: 100%; }
.auth-note { border-radius: 6px !important; }
.button.google-auth-button,
.button.google-auth-button:visited,
button.google-auth-button {
  border: 1px solid var(--ps-line-strong) !important;
  background: #fff !important;
  color: var(--ps-ink) !important;
  box-shadow: none !important;
}
.button.google-auth-button:hover,
button.google-auth-button:hover { background: #f3f7f5 !important; }

input[type="checkbox"],
input[type="radio"] {
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  accent-color: var(--ps-green);
  box-shadow: none !important;
}
.checkbox-line,
.sample-launcher .checkbox-line {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 28px;
}
.app-body .job-template-button {
  min-height: 132px !important;
  padding: 18px !important;
  align-content: start;
}

.reveal { transform: translateY(16px) !important; transition-duration: .46s !important; }
.reveal.is-visible { transform: translateY(0) !important; }

/* Open-source browser extension landing and policy. */
.extension-hero-preview {
  width: min(1120px, 100%);
  margin: 32px 0 0;
}
.extension-landing,
.extension-landing .hero,
.extension-landing .hero-copy,
.extension-landing .extension-hero-preview { min-width: 0; max-width: 100%; }
.extension-landing .hero .actions { justify-content: flex-start; margin-left: 0; margin-right: 0; }
.extension-hero-preview img,
.extension-popup-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ps-line-strong);
  border-radius: 8px;
  background: var(--ps-bg);
  box-shadow: var(--ps-shadow-soft);
}
.extension-hero-preview figcaption,
.extension-popup-shot figcaption {
  margin-top: 9px;
  color: var(--ps-muted);
  font-size: 12px;
  line-height: 1.45;
}
.extension-hero-preview img { aspect-ratio: 8 / 5; object-fit: cover; }
.extension-showcase-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.extension-popup-shot { margin: 0; }
.extension-step-list { display: grid; gap: 0; }
.extension-step-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--ps-line);
}
.extension-step-list article:first-child { padding-top: 4px; }
.extension-step-list article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 7px;
  background: var(--ps-green-soft);
  color: var(--ps-green-dark);
  font-size: 11px;
  font-weight: 850;
}
.extension-step-list h3 { margin: 0 0 5px; font-size: 19px !important; }
.extension-step-list p { margin: 0; color: var(--ps-muted); line-height: 1.55; }
.extension-step-list .actions { margin-top: 24px; }
.extension-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.extension-trust-row span {
  padding: 7px 9px;
  border: 1px solid var(--ps-line);
  border-radius: 6px;
  background: #fff;
  color: #43544e;
  font-size: 11px;
  font-weight: 760;
}
.extension-fields-section { border-top: 1px solid var(--ps-line); }
.extension-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--ps-line);
  border-bottom: 1px solid var(--ps-line);
}
.extension-field-grid > div { min-width: 0; padding: 22px 20px; border-left: 1px solid var(--ps-line); }
.extension-field-grid > div:first-child { border-left: 0; }
.extension-field-grid dt,
.extension-paths dt { margin-bottom: 7px; color: var(--ps-ink); font-size: 14px; font-weight: 820; }
.extension-field-grid dd,
.extension-paths dd { margin: 0; color: var(--ps-muted); font-size: 14px; line-height: 1.55; }
.extension-upgrade-band,
.extension-privacy-band { padding: 36px 0; border-top: 1px solid var(--ps-line); border-bottom: 1px solid var(--ps-line); }
.extension-upgrade-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 64px; align-items: end; }
.extension-upgrade-grid h2 { max-width: 680px; margin: 15px 0 12px; }
.extension-upgrade-grid p { max-width: 700px; margin: 0 0 24px; color: var(--ps-muted); font-size: 16px; line-height: 1.65; }
.extension-paths { margin: 0; border-top: 1px solid var(--ps-line-strong); }
.extension-paths > div { padding: 18px 0; border-bottom: 1px solid var(--ps-line); }
.extension-privacy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0 0 24px; }
.extension-privacy-grid p { display: grid; gap: 6px; margin: 0; }
.extension-privacy-grid strong { color: var(--ps-ink); font-size: 14px; }
.extension-privacy-grid span { color: var(--ps-muted); font-size: 14px; line-height: 1.55; }
.extension-privacy-page .hero { padding-bottom: 0 !important; }
.legal-copy { display: grid; gap: 34px; max-width: 820px; }
.legal-copy article { padding-bottom: 28px; border-bottom: 1px solid var(--ps-line); }
.legal-copy article:last-child { border-bottom: 0; }
.legal-copy h2 { margin: 0 0 12px; font-size: 27px !important; }
.legal-copy p { color: var(--ps-muted); font-size: 16px; line-height: 1.72; }

@media (max-width: 980px) {
  .nav,
  body:has(.amazon-landing) .nav,
  .seo-body .nav { width: min(100% - 28px, 1280px) !important; }
  .hero h1,
  .seo-page .hero h1,
  .compare-page .hero h1,
  body:has(.amazon-landing) .ps-hero h1 { font-size: 50px !important; }
  .v3-product-stage { grid-template-columns: 1fr; }
  .v3-pipeline { min-height: 380px; }
  .compare-stack { grid-template-columns: 1fr !important; }
  .vs-badge { margin: -4px auto !important; }
  .app-body .nav-actions { display: none; }
  .admin-action-grid { grid-template-columns: 1fr; }
  .extension-showcase-grid { grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); gap: 28px; }
  .extension-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extension-field-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--ps-line); }
  .extension-field-grid > div:nth-child(4) { border-top: 1px solid var(--ps-line); }
  .extension-upgrade-grid { grid-template-columns: 1fr; gap: 28px; }
}

.url-cleaner-preview {
  min-height: 0 !important;
  align-content: start;
}
.url-cleaner-preview p {
  margin: 0;
  overflow-wrap: anywhere;
}
.url-cleaner-preview .cleaner-meta {
  margin-top: 6px;
  color: var(--ps-muted);
  font-size: 12px;
  font-weight: 760;
}

@media (max-width: 720px) {
  .seo-body .section-head {
    display: grid !important;
    justify-items: center;
    align-items: start;
    gap: 10px;
    text-align: center;
  }
  .seo-body .section-head > p,
  .seo-body .section-head > div > p {
    max-width: 34rem;
    margin: 8px auto 0;
  }
  .seo-body .table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .seo-body .table-wrap table {
    min-width: 620px;
  }
  .nav,
  body:has(.amazon-landing) .nav,
  .seo-body .nav { width: calc(100% - 24px) !important; padding: 8px 0 !important; }
  .nav-toggle { display: inline-flex !important; margin-left: auto; }
  .nav-links,
  .nav-actions {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    border-color: var(--ps-line) !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: var(--ps-shadow) !important;
  }
  .seo-body .nav-actions,
  .public-body .nav-actions { display: none !important; margin-left: 0; }
  .nav.nav-open .nav-links,
  .nav.nav-open .nav-actions { display: grid !important; }
  .nav.nav-open .nav-links,
  .nav.nav-open .nav-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px !important;
    padding: 8px !important;
    justify-content: stretch !important;
  }
  .nav.nav-open .nav-links a,
  .nav.nav-open .nav-actions .button {
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    align-items: center;
    justify-content: flex-start !important;
  }
  .nav.nav-open .nav-actions .button { justify-content: center !important; }
  .button,
  button,
  input:not([type="checkbox"]):not([type="radio"]),
  select { min-height: 44px; }
  .app-body .nav-links { overflow: visible; }
  .app-body .nav-actions { display: none !important; }
  .page,
  body:has(.amazon-landing) .page,
  .seo-body .page,
  .app-body .page { width: calc(100% - 24px) !important; }
  .hero,
  .seo-page .hero,
  .compare-page .hero,
  .resource-page .hero { padding: 42px 0 20px !important; text-align: left !important; }
  .hero h1,
  .seo-page .hero h1,
  .compare-page .hero h1,
  body:has(.amazon-landing) .ps-hero h1 { font-size: 38px !important; line-height: 1.06 !important; }
  .page-title,
  .app-body .page-title,
  .app-body .hero h1 { font-size: 34px !important; }
  .lead,
  .hero .lead,
  .seo-page .hero .lead { font-size: 16px !important; }
  .section,
  .ps-section { margin-top: 72px !important; }
  .section-head h2,
  .ps-section h2,
  .ps-final h2 { font-size: 30px !important; }
  .v3-product-stage { margin-top: 20px; }
  .v3-pipeline { min-height: 360px; padding: 14px; }
  .v3-flow-map { height: 300px; }
  .v3-preview-panels,
  .v3-output-panel { min-height: 330px; }
  .v3-code-panel pre { min-height: 330px; max-height: 330px; font-size: 11px; }
  .v3-console-head { display: grid; padding: 10px; }
  .v3-output-tabs { width: 100%; }
  .v3-output-tab { flex: 1; }
  .v3-table-head { display: none; }
  .v3-data-row { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 10px; }
  .v3-data-row > span { display: none; }
  .v3-product-cell { grid-template-columns: 42px minmax(0, 1fr); }
  .v3-product-cell img { width: 42px; height: 42px; }
  .v3-stage-foot { display: grid; }
  .compare-hero-card { padding: 10px !important; }
  .app-body .page { padding-top: 20px !important; }
  .auth-card { padding: 22px !important; }
  .sample-launcher-controls { grid-template-columns: 1fr !important; }
  .sample-launcher-actions { display: grid !important; }
  .sample-launcher-actions button { width: 100%; }
  .app-body .job-template-button { min-height: 116px !important; padding: 16px !important; }
  .admin-head { align-items: start; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form button { width: 100%; }
  .item-detail-head { display: grid !important; align-items: start; gap: 12px; }
  .item-detail-head .page-title { font-size: 30px !important; }
  .item-detail-head .button { width: 100%; }
  .v3-footer { grid-template-columns: 1fr; width: calc(100% - 24px); margin-top: 34px; }
  .v3-footer nav { justify-content: flex-start; }
  .v3-footer > small { grid-column: auto; }
  .extension-showcase-grid { grid-template-columns: 1fr; }
  .extension-landing .hero h1 { overflow-wrap: normal; word-break: normal; }
  .extension-landing .hero .actions { margin-left: 0 !important; margin-right: 0 !important; }
  .extension-popup-shot { width: min(360px, 100%); }
  .extension-step-list article { grid-template-columns: 38px minmax(0, 1fr); }
  .extension-step-list .actions { display: grid; }
  .extension-step-list .actions .button { width: 100%; justify-content: center; }
  .extension-field-grid { grid-template-columns: 1fr; }
  .extension-field-grid > div { padding: 17px 0; border-top: 1px solid var(--ps-line); border-left: 0; }
  .extension-field-grid > div:first-child { border-top: 0; }
  .extension-privacy-grid { grid-template-columns: 1fr; gap: 20px; }
  .extension-upgrade-band .actions,
  .extension-privacy-band .actions { display: grid; }
  .extension-upgrade-band .button,
  .extension-privacy-band .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .v3-flight { display: none !important; }
}

/* Amazon Market Pulse */
.market-pulse-page {
  --pulse-code: #101b27;
}
.pulse-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding: 76px 0 18px;
}
.pulse-hero-copy {
  max-width: 820px;
}
.pulse-hero h1 {
  max-width: 780px;
  margin: 13px 0 18px;
  font-size: 68px;
  line-height: .98;
}
.pulse-hero .lead {
  max-width: 690px;
  margin: 0;
  color: var(--ps-muted);
  font-size: 20px;
  line-height: 1.55;
}
.pulse-lookup {
  width: min(680px, 100%);
  margin-top: 30px;
}
.pulse-lookup > label {
  display: block;
  margin-bottom: 8px;
  color: var(--ps-ink);
  font-size: 13px;
  font-weight: 800;
}
.pulse-lookup > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.pulse-lookup input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ps-ink);
  font: 760 16px/1 Inter, "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
}
.pulse-lookup input:focus {
  border-color: var(--ps-green);
  outline: 3px solid rgba(8, 126, 100, .14);
}
.pulse-lookup button {
  min-width: 146px;
  min-height: 52px;
  padding: 0 18px;
}
.pulse-lookup small {
  display: block;
  margin-top: 8px;
  color: var(--ps-muted);
  font-size: 12px;
}
.pulse-live-panel {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  align-items: center;
  gap: 24px;
  min-height: 146px;
  padding: 22px 26px;
  border: 1px solid #263745;
  border-radius: 8px;
  background: var(--pulse-code);
  color: #f7fbfa;
  box-shadow: var(--ps-shadow-soft);
}
.pulse-live-head {
  display: grid;
  gap: 10px;
}
.pulse-live-head span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c7d4d0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.pulse-live-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47d9ad;
  box-shadow: 0 0 0 5px rgba(71, 217, 173, .12);
}
.pulse-live-head strong {
  color: #fff;
  font-size: 15px;
}
.pulse-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid rgba(255, 255, 255, .12);
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.pulse-kpis div {
  min-width: 0;
  padding: 8px 20px;
}
.pulse-kpis strong {
  display: block;
  color: #fff !important;
  font-size: 29px;
  line-height: 1;
}
.pulse-kpis span {
  display: block;
  margin-top: 7px;
  color: #98aaa4;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}
.pulse-live-panel > p {
  margin: 0;
  color: #b8c6c1;
  font-size: 12px;
  line-height: 1.55;
}
.pulse-scan {
  display: none;
}
.pulse-result {
  margin-top: 54px;
  padding: 24px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--ps-shadow-soft);
  scroll-margin-top: 90px;
}
.pulse-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ps-line);
}
.pulse-product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.pulse-product img {
  width: 70px;
  height: 70px;
  border: 1px solid var(--ps-line);
  border-radius: 6px;
  object-fit: contain;
}
.pulse-product span {
  color: var(--ps-green);
  font: 800 11px/1 Inter, sans-serif;
  text-transform: uppercase;
}
.pulse-product h2 {
  margin: 6px 0 4px;
  font-size: 23px;
  line-height: 1.15;
}
.pulse-product p {
  margin: 0;
  color: var(--ps-muted);
  font-size: 13px;
}
.pulse-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
  border: 1px solid var(--ps-line);
  border-radius: 8px;
  overflow: hidden;
}
.pulse-metrics > div {
  min-height: 118px;
  padding: 19px;
  border-left: 1px solid var(--ps-line);
}
.pulse-metrics > div:first-child {
  border-left: 0;
}
.pulse-metrics span,
.pulse-metrics small {
  display: block;
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 720;
}
.pulse-metrics span {
  text-transform: uppercase;
}
.pulse-metrics strong {
  display: block;
  margin: 12px 0 7px;
  color: var(--ps-ink);
  font-size: 23px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.pulse-chart-wrap {
  margin-top: 22px;
  padding: 19px;
  border: 1px solid var(--ps-line);
  border-radius: 8px;
  background: var(--ps-surface-soft);
}
.pulse-chart-wrap > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.pulse-chart-wrap h3 {
  margin: 0;
  font-size: 15px;
}
.pulse-chart-wrap span {
  color: var(--ps-muted);
  font-size: 12px;
}
.pulse-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 230px;
  margin-top: 12px;
}
.pulse-empty {
  margin-top: 48px;
  padding: 18px 20px;
  border: 1px solid var(--ps-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ps-muted);
  font-size: 14px;
}
.pulse-empty.is-error {
  border-color: #efb6b1;
  background: #fff5f4;
  color: var(--ps-danger);
}
.pulse-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pulse-category,
.pulse-category-empty,
.pulse-category-skeleton {
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--ps-line);
  border-radius: 8px;
  background: #fff;
}
.pulse-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}
.pulse-category span {
  color: var(--ps-ink);
  font-size: 14px;
  font-weight: 780;
}
.pulse-category strong {
  color: var(--ps-green);
  font-size: 25px;
  line-height: 1;
}
.pulse-category small {
  grid-column: 1 / -1;
  align-self: end;
  color: var(--ps-muted);
  font-size: 12px;
  line-height: 1.5;
}
.pulse-category-empty {
  grid-column: 1 / -1;
  min-height: 100px;
  color: var(--ps-muted);
}
.pulse-category-skeleton {
  background: linear-gradient(90deg, #f1f5f3 25%, #fafcfb 50%, #f1f5f3 75%);
  background-size: 200% 100%;
  animation: pulseSkeleton 1.4s linear infinite;
}
@keyframes pulseSkeleton {
  to { background-position: -200% 0; }
}
.pulse-signal-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--ps-line);
}
.pulse-signal-guide strong {
  color: var(--ps-ink);
  font-size: 14px;
}
.pulse-signal-guide p {
  margin: 8px 0 0;
  color: var(--ps-muted);
  font-size: 13px;
  line-height: 1.6;
}
.pulse-method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 88px;
  border-top: 1px solid var(--ps-line-strong);
  border-bottom: 1px solid var(--ps-line-strong);
}
.pulse-method > div {
  min-height: 190px;
  padding: 28px 26px;
  border-left: 1px solid var(--ps-line);
}
.pulse-method > div:first-child {
  border-left: 0;
}
.pulse-method span {
  color: var(--ps-green);
  font: 800 12px/1 Inter, sans-serif;
}
.pulse-method h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}
.pulse-method p {
  margin: 0;
  color: var(--ps-muted);
  font-size: 14px;
  line-height: 1.6;
}
.pulse-method-note {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ps-muted);
  font-size: 13px;
  line-height: 1.65;
}
.pulse-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 88px;
  padding: 42px 0;
  border-top: 1px solid var(--ps-line-strong);
  border-bottom: 1px solid var(--ps-line-strong);
}
.pulse-cta h2 {
  margin: 8px 0;
  font-size: 34px;
}
.pulse-cta p {
  margin: 0;
  color: var(--ps-muted);
}
.pulse-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .pulse-live-panel {
    grid-template-columns: 1fr;
  }
  .pulse-kpis {
    border: 0;
  }
  .pulse-live-panel > p {
    max-width: 48rem;
  }
  .pulse-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pulse-metrics > div:nth-child(3) {
    border-left: 0;
  }
  .pulse-metrics > div:nth-child(n+3) {
    border-top: 1px solid var(--ps-line);
  }
}

/* Amazon Market Intelligence */
.market-intel-page {
  padding-bottom: 44px;
}
.market-intel-page .reveal {
  opacity: 1;
  transform: none !important;
}
.market-intel-page > .reveal {
  animation: intelRise .42s ease both;
}
.market-intel-page > .reveal:nth-child(2) {
  animation-delay: .04s;
}
.market-intel-page > .reveal:nth-child(3) {
  animation-delay: .08s;
}
@keyframes intelRise {
  from { opacity: 0; }
  to { opacity: 1; }
}
.intel-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 58px 0 28px;
  border-bottom: 1px solid var(--ps-line-strong);
}
.intel-hero > div:first-child {
  max-width: 820px;
}
.intel-hero h1 {
  margin: 12px 0 13px;
  font-size: 56px;
  line-height: 1;
}
.intel-hero p {
  max-width: 740px;
  margin: 0;
  color: var(--ps-muted);
  font-size: 18px;
  line-height: 1.55;
}
.intel-status {
  display: grid;
  flex: 0 0 auto;
  gap: 7px;
  min-width: 210px;
  padding-bottom: 4px;
  text-align: right;
}
.intel-status span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--ps-green);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}
.intel-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17b989;
  box-shadow: 0 0 0 5px rgba(23, 185, 137, .12);
}
.intel-status strong {
  color: var(--ps-ink);
  font-size: 14px;
}
.intel-status small {
  color: var(--ps-muted);
  font-size: 12px;
}
.intel-command {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #263745;
  border-radius: 6px;
  background: #101b27;
  box-shadow: 0 18px 50px rgba(15, 29, 39, .12);
}
.intel-market-control {
  display: grid;
  grid-template-columns: auto minmax(0, 280px);
  align-items: center;
  gap: 13px;
}
.intel-market-control label {
  color: #d5dfdc !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.intel-market-control select,
.intel-table-controls input,
.intel-table-controls select {
  width: 100%;
  min-height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px;
  background: #182736;
  color: #fff;
  font: 720 13px/1 Inter, sans-serif;
}
.intel-command-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(70px, 1fr));
  border-right: 1px solid rgba(255, 255, 255, .13);
  border-left: 1px solid rgba(255, 255, 255, .13);
}
.intel-command-stats div {
  padding: 0 22px;
}
.intel-command-stats span {
  display: block;
  color: #c1cfcb;
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}
.intel-command-stats strong {
  display: block;
  margin-top: 7px;
  color: #fff !important;
  font-size: 21px;
  line-height: 1;
}
.intel-command .button.secondary {
  min-height: 42px;
  border-color: #5b6c77;
  background: #fff;
  color: #101b27;
}
.intel-market-tabs {
  display: flex;
  gap: 4px;
  margin: 18px 0 0;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.intel-market-tabs button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #fff !important;
  color: #43534d !important;
  font: 740 12px/1 Inter, sans-serif;
  cursor: pointer;
}
.intel-market-tabs button:hover {
  border-color: var(--ps-line);
  background: #edf5f2 !important;
  color: var(--ps-ink) !important;
}
.intel-market-tabs button.is-active {
  border-color: #087e64;
  background: #087e64 !important;
  color: #fff !important;
}
.intel-context {
  margin: 10px 2px 0;
  color: #566761;
  font-size: 12px;
  line-height: 1.5;
}
.intel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.intel-kpi-grid article {
  min-width: 0;
  min-height: 126px;
  padding: 20px;
  border-left: 1px solid var(--ps-line);
}
.intel-kpi-grid article:first-child {
  border-left: 0;
}
.intel-kpi-grid span,
.intel-kpi-grid small {
  display: block;
}
.intel-kpi-grid span {
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.intel-kpi-grid strong {
  display: block;
  margin: 17px 0 8px;
  color: var(--ps-ink);
  font-size: 25px;
  line-height: 1;
  overflow-wrap: anywhere;
}
.intel-kpi-grid article:nth-child(2) strong {
  color: #bd5a22;
}
.intel-kpi-grid article:nth-child(4) strong {
  color: var(--ps-green);
}
.intel-kpi-grid article:nth-child(5) strong {
  color: #2c718d;
}
.intel-kpi-grid article:nth-child(6) strong {
  color: #6d4f91;
}
.intel-kpi-grid small {
  color: var(--ps-muted);
  font-size: 12px;
  line-height: 1.35;
}
.intel-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.intel-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 6px;
  background: #fff;
}
.intel-panel > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.intel-panel > header span {
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.intel-panel > header h2 {
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 1.2;
}
.intel-panel > header > strong {
  color: var(--ps-green);
  font-size: 12px;
  white-space: nowrap;
}
.intel-panel canvas {
  display: block;
  width: 100%;
  height: 280px;
  margin-top: 12px;
}
.intel-quartiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 4px;
  border-top: 1px solid var(--ps-line);
}
.intel-quartiles div {
  min-width: 0;
  padding: 13px 9px 0;
  border-left: 1px solid var(--ps-line);
}
.intel-quartiles div:first-child {
  padding-left: 0;
  border-left: 0;
}
.intel-quartiles span,
.intel-quartiles strong {
  display: block;
}
.intel-quartiles span {
  color: var(--ps-muted);
  font-size: 10.5px;
  font-weight: 780;
  text-transform: uppercase;
}
.intel-quartiles strong {
  margin-top: 5px;
  color: var(--ps-ink);
  font-size: 12.5px;
}
.intel-scatter-panel p {
  min-height: 20px;
  margin: 7px 0 0;
  color: var(--ps-muted);
  font-size: 11px;
  line-height: 1.4;
}
.intel-shelf-body {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  min-height: 248px;
}
.intel-donut {
  display: grid;
  width: 136px;
  height: 136px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#ef8d4e 0 var(--sponsored-angle, 0deg), #0b8e70 var(--sponsored-angle, 0deg) 360deg);
  box-shadow: inset 0 0 0 1px rgba(16, 27, 39, .08);
}
.intel-donut::before {
  grid-area: 1 / 1;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.intel-donut div {
  z-index: 1;
  grid-area: 1 / 1;
  text-align: center;
}
.intel-donut strong,
.intel-donut span {
  display: block;
}
.intel-donut strong {
  color: var(--ps-ink);
  font-size: 22px;
}
.intel-donut span {
  margin-top: 4px;
  color: var(--ps-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.intel-shelf-body dl {
  margin: 0;
}
.intel-shelf-body dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ps-line);
}
.intel-shelf-body dt {
  color: var(--ps-muted);
  font-size: 12px;
}
.intel-shelf-body dd {
  margin: 0;
  color: var(--ps-ink);
  font-size: 12px;
  font-weight: 800;
}
.intel-coverage-bars {
  display: grid;
  gap: 12px;
  margin-top: 21px;
}
.intel-coverage-row > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}
.intel-coverage-row span,
.intel-coverage-row strong {
  font-size: 11px;
}
.intel-coverage-row span {
  color: var(--ps-muted);
}
.intel-coverage-row strong {
  color: var(--ps-ink);
}
.intel-coverage-row > i {
  display: block;
  height: 6px;
  border-radius: 2px;
  background: #e9eeec;
  overflow: hidden;
}
.intel-coverage-row > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #087e64, #51b995);
  transition: width .35s ease;
}
.intel-distribution-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 6px;
  background: #f7faf9;
  overflow: hidden;
}
.intel-distribution-band > article {
  min-width: 0;
  padding: 20px;
  border-left: 1px solid var(--ps-line);
}
.intel-distribution-band > article:first-child {
  border-left: 0;
}
.intel-distribution-band header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.intel-distribution-band header span {
  color: var(--ps-ink);
  font-size: 12px;
  font-weight: 800;
}
.intel-distribution-band header strong {
  color: var(--ps-muted);
  font-size: 11px;
}
.intel-mini-bar {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  min-height: 25px;
}
.intel-mini-bar span,
.intel-mini-bar strong {
  color: var(--ps-muted);
  font-size: 10.5px;
}
.intel-mini-bar strong {
  color: var(--ps-ink);
  text-align: right;
}
.intel-mini-bar i {
  display: block;
  height: 7px;
  background: #dfe8e4;
}
.intel-mini-bar i b {
  display: block;
  height: 100%;
  background: #58a5c4;
}
.intel-distribution-band > article:nth-child(2) .intel-mini-bar i b {
  background: #087e64;
}
.intel-distribution-band > article:nth-child(3) .intel-mini-bar i b {
  background: #ed8b49;
}
.intel-distribution-band > article:nth-child(4) .intel-mini-bar i b {
  background: #8b6db1;
}
.intel-brand-strip {
  display: grid;
  grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr);
  align-items: start;
  gap: 38px;
  margin-top: 12px;
  padding: 22px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 6px;
  background: #fff;
}
.intel-brand-strip > div:first-child > span {
  color: var(--ps-green);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}
.intel-brand-strip h2 {
  margin: 7px 0 0;
  font-size: 18px;
}
.intel-brand-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
}
.intel-brand-bars > p {
  grid-column: 1 / -1;
}
.intel-brand-row {
  display: grid;
  grid-template-columns: minmax(82px, 1fr) minmax(64px, 1.3fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 24px;
}
.intel-brand-row span {
  overflow: hidden;
  color: var(--ps-ink);
  font-size: 11px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.intel-brand-row i {
  display: block;
  height: 7px;
  background: #e2ebe7;
}
.intel-brand-row i b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #087e64, #58a5c4);
}
.intel-brand-row strong {
  color: #52625d;
  font-size: 10.5px;
  white-space: nowrap;
}
.intel-sales-board {
  margin-top: 12px;
  padding: 28px;
  border: 1px solid #263c35;
  border-radius: 6px;
  background: #13231f;
  color: #f4faf7;
  box-shadow: 0 22px 54px rgba(19, 35, 31, .13);
}
.intel-sales-board > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}
.intel-sales-board > header > div:first-child > span {
  color: #7bd2b8;
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}
.intel-sales-board h2 {
  margin: 7px 0 8px;
  color: #fff !important;
  font-size: 24px;
}
.intel-sales-board > header p {
  max-width: 720px;
  margin: 0;
  color: #aebfba;
  font-size: 12px;
  line-height: 1.55;
}
.intel-sales-total {
  min-width: 220px;
  text-align: right;
}
.intel-sales-total span,
.intel-sales-total strong,
.intel-sales-total small {
  display: block;
}
.intel-sales-total span {
  color: #aebfba;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}
.intel-sales-total strong {
  margin: 8px 0 5px;
  color: #ffbe78;
  font-size: 38px;
  line-height: 1;
}
.intel-sales-total small {
  color: #d7e3df;
  font-size: 11px;
}
.intel-sales-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}
.intel-sales-row {
  display: grid;
  grid-template-columns: minmax(118px, .9fr) minmax(72px, 1.1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 70px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  text-align: left;
  cursor: pointer;
}
.intel-sales-row:hover,
.intel-sales-row.is-active {
  background: rgba(255, 255, 255, .055) !important;
  transform: none !important;
}
.intel-sales-row.is-active {
  box-shadow: inset 3px 0 #72d0b5 !important;
}
.intel-sales-row > div:first-child {
  min-width: 0;
}
.intel-sales-row > div:first-child strong,
.intel-sales-row > div:first-child span,
.intel-sales-value strong,
.intel-sales-value span {
  display: block;
}
.intel-sales-row > div:first-child strong {
  overflow: hidden;
  color: #f7fbfa;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.intel-sales-row > div:first-child span {
  margin-top: 5px;
  color: #8fa59f;
  font-size: 10px;
}
.intel-sales-row > i {
  display: block;
  height: 8px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.intel-sales-row > i b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffad62, #72d0b5);
  transition: width .35s ease;
}
.intel-sales-value {
  min-width: 104px;
  text-align: right;
}
.intel-sales-value strong {
  color: #ffbe78;
  font-size: 13px;
}
.intel-sales-value span {
  margin-top: 5px;
  color: #aebfba;
  font-size: 9.5px;
  white-space: nowrap;
}
.intel-sales-board > footer {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 20px;
}
.intel-sales-board > footer span {
  color: #aebfba;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}
.intel-sales-board > footer strong {
  color: #fff;
  font-size: 22px;
}
.intel-sales-board > footer small {
  margin-left: auto;
  color: #8fa59f;
  font-size: 10.5px;
}
.intel-no-data {
  margin: 10px 0 0;
  color: var(--ps-muted);
  font-size: 11px;
}
.intel-market-section,
.intel-products-section {
  margin-top: 76px;
}
.intel-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.intel-market-card {
  display: block;
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 6px;
  background: #fff !important;
  color: var(--ps-ink) !important;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.intel-market-card:hover {
  border-color: #78aa9c;
  background: #f7fbf9 !important;
  box-shadow: 0 14px 34px rgba(16, 38, 32, .08);
  transform: translateY(-2px);
}
.intel-market-card.is-active {
  border-color: #087e64;
  background: #e9f5f1 !important;
  box-shadow: 0 0 0 2px rgba(8, 126, 100, .1);
}
.intel-market-card > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.intel-market-card > div:first-child span {
  color: var(--ps-ink);
  font-size: 15px;
  font-weight: 800;
}
.intel-market-card > div:first-child strong {
  color: var(--ps-green);
  font-size: 23px;
}
.intel-market-card > i {
  display: block;
  height: 5px;
  margin: 16px 0 18px;
  border-radius: 2px;
  background: #e6eeeb;
  overflow: hidden;
}
.intel-market-card > i b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #087e64, #58a5c4);
}
.intel-market-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
  margin: 0;
}
.intel-market-card dl div {
  min-width: 0;
}
.intel-market-card dt {
  color: #53635e;
  font-size: 10.5px;
  text-transform: uppercase;
}
.intel-market-card dd {
  margin: 5px 0 0;
  color: var(--ps-ink);
  font-size: 12px;
  font-weight: 760;
  overflow-wrap: anywhere;
}
.intel-table-headline {
  align-items: end;
}
.intel-table-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px;
  gap: 8px;
  width: min(520px, 100%);
}
.intel-table-controls input,
.intel-table-controls select {
  border-color: var(--ps-line-strong);
  background: #fff;
  color: var(--ps-ink);
}
.intel-table-wrap {
  border: 1px solid var(--ps-line-strong);
  border-radius: 6px;
  background: #fff;
  overflow-x: auto;
}
.intel-product-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.intel-product-table th {
  padding: 12px 10px;
  border-bottom: 1px solid var(--ps-line-strong);
  background: #f3f7f5;
  color: var(--ps-muted);
  font-size: 10.5px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
}
.intel-product-table th:first-child {
  width: 34%;
  padding-left: 14px;
}
.intel-product-table th:last-child {
  width: 64px;
}
.intel-product-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--ps-line);
  color: var(--ps-ink);
  font-size: 12px;
  vertical-align: middle;
}
.intel-product-table tr:last-child td {
  border-bottom: 0;
}
.intel-product-table tbody tr:hover {
  background: #f8fbfa;
}
.intel-product-cell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.intel-product-cell img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ps-line);
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
}
.intel-product-cell strong,
.intel-product-cell span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.intel-product-cell strong {
  color: var(--ps-ink);
  font-size: 12.5px;
}
.intel-product-cell span {
  margin-top: 5px;
  color: var(--ps-muted);
  font-size: 10.5px;
}
.intel-demand-score {
  display: inline-block;
  min-width: 26px;
  color: var(--ps-green);
  font-size: 14px;
}
.intel-demand-stack {
  display: grid;
  gap: 4px;
}
.intel-demand-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.intel-demand-line .intel-confidence {
  display: inline;
  margin-top: 0;
}
.intel-sales-signal {
  color: #087e64;
  font-size: 9.5px;
  font-weight: 760;
  line-height: 1.25;
}
.intel-sales-signal.is-missing {
  color: #596863;
  font-weight: 700;
}
.intel-confidence {
  display: block;
  margin-top: 3px;
  color: var(--ps-muted);
  font-size: 9.5px;
  font-weight: 760;
  text-transform: uppercase;
}
.intel-confidence.is-high {
  color: #087e64;
}
.intel-confidence.is-medium,
.intel-confidence.is-low {
  color: #b65b26;
}
.intel-row-action {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 4px;
  background: #fff;
  color: var(--ps-ink);
  background: #fff !important;
  color: var(--ps-ink) !important;
  font: 760 11px/1 Inter, sans-serif;
  cursor: pointer;
}
.intel-row-action:hover {
  border-color: var(--ps-green);
  background: #eaf5f1 !important;
  color: var(--ps-green) !important;
}
.intel-table-count {
  margin: 0;
  color: var(--ps-muted);
  font-size: 11px;
}
.intel-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  margin-top: 10px;
}
.intel-show-more {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ps-line-strong);
  background: #fff !important;
  color: #075f4e !important;
  font-size: 11px;
  cursor: pointer;
}
.intel-show-more:hover {
  border-color: #087e64;
  background: #eaf5f1 !important;
  color: #075f4e !important;
}
.intel-inspector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  align-items: end;
  gap: 50px;
  margin-top: 76px;
  padding: 34px 0;
  border-top: 1px solid var(--ps-line-strong);
  border-bottom: 1px solid var(--ps-line-strong);
}
.intel-inspector-copy h2 {
  margin: 8px 0;
  font-size: 28px;
}
.intel-inspector-copy p {
  max-width: 580px;
  margin: 0;
  color: var(--ps-muted);
  font-size: 13px;
  line-height: 1.55;
}
.intel-inspector .pulse-lookup {
  margin-top: 0;
}
.intel-product-result {
  margin-top: 22px;
}
.intel-method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 76px;
  border-top: 1px solid var(--ps-line-strong);
  border-bottom: 1px solid var(--ps-line-strong);
}
.intel-method div {
  min-height: 132px;
  padding: 24px;
  border-left: 1px solid var(--ps-line);
}
.intel-method div:first-child {
  border-left: 0;
}
.intel-method span {
  color: var(--ps-green);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}
.intel-method p {
  margin: 14px 0 0;
  color: var(--ps-muted);
  font-size: 12px;
  line-height: 1.55;
}
.intel-resources {
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 40px;
  margin-top: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ps-line-strong);
}
.intel-resources h2 {
  margin: 8px 0 0;
  font-size: 22px;
}
.intel-resources nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.intel-resources a {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--ps-line);
  color: #075f4e;
  font-size: 12px;
  font-weight: 740;
  text-decoration: none;
}
.intel-resources a::after {
  float: right;
  content: "↗";
}
.market-intel-page button:focus-visible,
.market-intel-page a:focus-visible,
.market-intel-page input:focus-visible,
.market-intel-page select:focus-visible {
  outline: 3px solid #f1a66d;
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .intel-command {
    grid-template-columns: minmax(240px, 1fr) auto;
  }
  .intel-command-stats {
    grid-row: 2;
    grid-column: 1 / -1;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
  }
  .intel-command-stats div {
    padding: 15px 0 0;
  }
  .intel-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .intel-kpi-grid article:nth-child(4) {
    border-left: 0;
  }
  .intel-kpi-grid article:nth-child(n+4) {
    border-top: 1px solid var(--ps-line);
  }
  .intel-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intel-distribution-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intel-distribution-band > article:nth-child(3) {
    border-top: 1px solid var(--ps-line);
    border-left: 0;
  }
  .intel-distribution-band > article:nth-child(4) {
    border-top: 1px solid var(--ps-line);
  }
  .intel-product-table th:first-child {
    width: 28%;
  }
}

@media (max-width: 780px) {
  .intel-hero {
    display: grid;
    gap: 20px;
    padding-top: 40px;
  }
  .intel-hero h1 {
    font-size: 40px;
  }
  .intel-hero p {
    font-size: 15px;
  }
  .intel-status {
    min-width: 0;
    text-align: left;
  }
  .intel-status span {
    justify-content: flex-start;
  }
  .intel-command {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .intel-market-control {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .intel-market-control select {
    max-width: none;
  }
  .intel-command .button {
    width: 100%;
  }
  .intel-command-stats {
    grid-row: auto;
    grid-column: auto;
  }
  .intel-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intel-kpi-grid article:nth-child(3),
  .intel-kpi-grid article:nth-child(5) {
    border-left: 0;
  }
  .intel-kpi-grid article:nth-child(even) {
    border-left: 1px solid var(--ps-line);
  }
  .intel-kpi-grid article:nth-child(n+3) {
    border-top: 1px solid var(--ps-line);
  }
  .intel-chart-grid,
  .intel-market-grid,
  .intel-inspector,
  .intel-method,
  .intel-brand-strip,
  .intel-resources {
    grid-template-columns: 1fr;
  }
  .intel-method div {
    border-top: 1px solid var(--ps-line);
    border-left: 0;
  }
  .intel-method div:first-child {
    border-top: 0;
  }
  .intel-table-headline {
    align-items: start;
  }
  .intel-table-controls {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .intel-table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .intel-product-table,
  .intel-product-table tbody {
    display: block;
    width: 100%;
  }
  .intel-product-table thead {
    display: none;
  }
  .intel-product-table tbody {
    display: grid;
    gap: 9px;
  }
  .intel-product-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--ps-line-strong);
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
  }
  .intel-product-table td {
    display: grid;
    min-width: 0;
    min-height: 54px;
    align-content: center;
    padding: 10px 12px;
    border-bottom: 0;
    border-left: 1px solid var(--ps-line);
  }
  .intel-product-table td::before {
    margin-bottom: 5px;
    color: var(--ps-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    content: attr(data-label);
  }
  .intel-product-table td:first-child {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 74px;
    border-bottom: 1px solid var(--ps-line);
    border-left: 0;
  }
  .intel-product-table td:first-child::before,
  .intel-product-table td:last-child::before {
    display: none;
  }
  .intel-product-cell img {
    width: 52px;
    height: 52px;
  }
  .intel-product-cell strong {
    font-size: 12px;
  }
  .intel-product-table td:nth-child(2),
  .intel-product-table td:nth-child(5),
  .intel-product-table td:last-child {
    border-left: 0;
  }
  .intel-product-table td:last-child {
    grid-column: 1 / -1;
    min-height: 42px;
    padding-top: 0;
  }
  .intel-row-action {
    width: 100%;
    min-height: 34px;
  }
  .intel-inspector {
    gap: 24px;
  }
  .intel-brand-bars {
    grid-template-columns: 1fr;
  }
  .intel-sales-board > header {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .intel-sales-total {
    min-width: 0;
    text-align: left;
  }
  .intel-sales-grid {
    grid-template-columns: 1fr;
  }
  .intel-sales-board > footer {
    flex-wrap: wrap;
  }
  .intel-sales-board > footer small {
    width: 100%;
    margin-left: 0;
  }
  .intel-resources {
    gap: 18px;
  }
  .intel-resources nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .market-intel-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .intel-hero h1 {
    font-size: 35px;
  }
  .intel-command {
    padding: 15px;
  }
  .intel-command-stats div {
    padding-right: 8px;
  }
  .intel-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intel-kpi-grid article,
  .intel-kpi-grid article:nth-child(4) {
    min-height: 118px;
  }
  .intel-panel {
    padding: 14px;
  }
  .intel-panel canvas {
    height: 250px;
  }
  .intel-quartiles div {
    padding-right: 4px;
    padding-left: 4px;
  }
  .intel-quartiles strong {
    font-size: 11px;
  }
  .intel-shelf-body {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .intel-shelf-body dl {
    width: 100%;
  }
  .intel-market-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intel-market-card dl div {
    display: block;
  }
  .intel-market-card dd {
    margin-top: 5px;
  }
  .intel-sales-board {
    padding: 20px 16px;
  }
  .intel-sales-board h2 {
    font-size: 21px;
  }
  .intel-sales-total strong {
    font-size: 34px;
  }
  .intel-sales-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
  }
  .intel-sales-row > i {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  .intel-sales-value {
    grid-row: 1;
    grid-column: 2;
  }
  .intel-market-section,
  .intel-products-section,
  .intel-inspector,
  .intel-method,
  .intel-resources {
    margin-top: 56px;
  }
  .intel-distribution-band {
    grid-template-columns: 1fr;
  }
  .intel-distribution-band > article {
    border-top: 1px solid var(--ps-line);
    border-left: 0;
  }
  .intel-distribution-band > article:first-child {
    border-top: 0;
  }
  .intel-resources nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .intel-kpi-grid {
    grid-template-columns: 1fr;
  }
  .intel-kpi-grid article,
  .intel-kpi-grid article:nth-child(even) {
    min-height: 0;
    border-left: 0;
  }
  .intel-kpi-grid article:nth-child(2) {
    border-top: 1px solid var(--ps-line);
  }
}

@media (max-width: 720px) {
  .pulse-hero {
    gap: 24px;
    padding-top: 44px;
  }
  .pulse-hero h1 {
    font-size: 42px;
    line-height: 1.02;
  }
  .pulse-hero .lead {
    font-size: 16px;
  }
  .pulse-lookup > div {
    grid-template-columns: 1fr;
  }
  .pulse-lookup button {
    width: 100%;
  }
  .pulse-live-panel {
    gap: 18px;
    padding: 20px;
  }
  .pulse-kpis div {
    padding: 7px 10px;
  }
  .pulse-kpis strong {
    font-size: 24px;
  }
  .pulse-result {
    margin-top: 34px;
    padding: 14px;
  }
  .pulse-result-head,
  .pulse-cta {
    display: grid;
  }
  .pulse-result-head .button,
  .pulse-cta .button {
    width: 100%;
  }
  .pulse-product {
    align-items: start;
  }
  .pulse-product img {
    width: 56px;
    height: 56px;
  }
  .pulse-product h2 {
    font-size: 18px;
  }
  .pulse-metrics,
  .pulse-category-grid,
  .pulse-signal-guide,
  .pulse-method {
    grid-template-columns: 1fr;
  }
  .pulse-signal-guide {
    gap: 22px;
  }
  .pulse-metrics > div,
  .pulse-metrics > div:nth-child(3),
  .pulse-method > div {
    min-height: 0;
    border-top: 1px solid var(--ps-line);
    border-left: 0;
  }
  .pulse-metrics > div:first-child,
  .pulse-method > div:first-child {
    border-top: 0;
  }
  .pulse-chart-wrap {
    padding: 12px;
  }
  .pulse-method {
    margin-top: 68px;
  }
  .pulse-method > div {
    padding: 24px 4px;
  }
  .pulse-method h3 {
    margin-top: 18px;
  }
  .pulse-cta {
    margin-top: 68px;
    padding: 34px 0;
  }
  .pulse-cta h2 {
    font-size: 28px;
  }
}
