:root {
  --accent:#087f6c;
  --accent-dark:#056957;
  --accent-soft:#e8f4ef;
  --ink:#182c27;
  --muted:#6c7d76;
  --quiet:#91a099;
  --canvas:#f6f8f7;
  --panel:#fff;
  --line:#e5ebe7;
  --soft:#f2f6f3;
  --danger:#ad463f;
  --sans:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --heading:'Manrope',var(--sans)
}

* {
  box-sizing:border-box
}

html {
  background:var(--canvas);
  scroll-behavior:smooth
}

body {
  margin:0;
  color:var(--ink);
  background:var(--canvas);
  font-family:var(--sans);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased
}

button,input,select,textarea {
  font:inherit;
  color:inherit
}

button {
  cursor:pointer
}

button:disabled {
  opacity:.45;
  cursor:not-allowed
}

a {
  color:var(--accent)
}

button,a,input,select,textarea {
  touch-action:manipulation
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid #65b6a6;
  outline-offset:3px
}

button,input,select,textarea {
  border-radius:8px
}

h1,h2,h3,h4,p {
  margin-top:0
}

h1,h2,h3,h4 {
  font-family:var(--heading);
  font-weight:750;
  letter-spacing:-.025em
}

svg {
  display:block
}

button {
  transition:background .15s,border-color .15s,color .15s
}

button:hover {
  filter:brightness(.985)
}

.is-hidden {
  display:none!important
}

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

.skip-link {
  position:fixed;
  top:-60px;
  left:20px;
  z-index:100;
  background:var(--accent);
  color:white;
  padding:12px
}

.skip-link:focus {
  top:12px
}

.numeric {
  font-variant-numeric:tabular-nums;
  white-space:nowrap
}

.muted,.unknown {
  color:var(--quiet)
}

.muted-text {
  font-size:12px;
  line-height:1.65;
  color:var(--muted);
  margin:0 0 12px
}

.section-note {
  font-size:11px;
  line-height:1.7;
  color:var(--muted);
  margin:12px 0 0
}

.eyebrow {
  font-size:10px;
  letter-spacing:.14em;
  font-weight:700;
  color:var(--accent);
  margin:0 0 10px
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:40px;
  padding:9px 16px;
  border:1px solid transparent;
  font-weight:600;
  font-size:12px;
  text-decoration:none;
  white-space:nowrap
}

.button.primary {
  background:var(--accent);
  color:#fff;
  border-color:var(--accent)
}

.button.primary:hover {
  background:var(--accent-dark)
}

.button.secondary {
  background:#fff;
  border-color:#dce5df;
  color:var(--ink);
  box-shadow:0 1px 2px #18382d04
}

.button.secondary:hover {
  background:var(--soft);
  border-color:#c5d6cc
}

.button.danger {
  background:var(--danger);
  color:#fff
}

.button.small {
  padding:6px 11px;
  min-height:31px;
  font-size:11px
}

.icon-button {
  width:32px;
  height:32px;
  border:1px solid var(--line);
  background:#fff;
  display:inline-grid;
  place-items:center;
  font-size:17px;
  flex-shrink:0
}

.icon-button:hover {
  background:var(--soft)
}

.text-link {
  color:var(--accent);
  font-size:11px;
  font-weight:600;
  text-decoration:none
}

.text-link:hover {
  text-decoration:underline;
  text-underline-offset:3px
}

.text-button {
  border:0;
  padding:0;
  background:transparent
}

.danger-text {
  color:var(--danger)
}

.topbar {
  height:83px;
  display:flex;
  align-items:center;
  padding:0 42px;
  gap:54px;
  border-bottom:1px solid var(--line);
  background:#fff
}

.brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  color:var(--ink);
  flex-shrink:0
}

.brand-mark {
  width:36px;
  height:38px;
  border-radius:10px;
  background:var(--accent);
  display:grid;
  place-items:center
}

.brand-mark svg {
  width:25px;
  height:25px;
  stroke:#fff;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round
}

.brand strong {
  font-family:var(--heading);
  font-size:19px;
  letter-spacing:-.7px;
  line-height:1.1
}

.brand strong span {
  display:block;
  font-family:var(--sans);
  font-size:9px;
  letter-spacing:.02em;
  font-weight:450;
  color:var(--muted);
  margin-top:6px
}

.primary-nav {
  height:100%;
  display:flex;
  align-items:stretch;
  gap:28px
}

.nav-button {
  position:relative;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--muted);
  padding:0 1px;
  font-size:12px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:7px
}

.nav-button.active {
  color:var(--accent)
}

.nav-button.active:after {
  content:'';
  height:3px;
  background:var(--accent);
  position:absolute;
  bottom:-1px;
  left:0;
  right:0;
  border-radius:2px 2px 0 0
}

.nav-count {
  padding:1px 6px;
  min-width:21px;
  text-align:center;
  border-radius:5px;
  background:var(--soft);
  font-size:10px;
  color:var(--muted)
}

.workspace-label {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  color:var(--muted);
  white-space:nowrap
}

.workspace-avatar {
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border:1px solid #dbe8e1;
  background:#f3f8f5;
  border-radius:50%;
  font-size:9px;
  font-weight:700;
  color:var(--accent)
}

.main-content {
  max-width:1800px;
  margin:0 auto;
  padding:39px 42px 0
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:29px
}

.page-heading h1 {
  font-size:32px;
  line-height:1.25;
  letter-spacing:-1.1px;
  margin-bottom:10px
}

.page-subtitle {
  font-size:13px;
  color:var(--muted);
  margin:0;
  line-height:1.7
}

.page-heading>.button {
  margin-top:14px
}

.overview-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:29px
}

.overview-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
  padding:20px 22px;
  display:flex;
  flex-direction:column;
  gap:7px;
  box-shadow:0 2px 3px #163d2d02
}

.overview-label {
  font-size:11px;
  font-weight:550;
  color:var(--muted)
}

.overview-card>strong {
  font-family:var(--heading);
  font-size:29px;
  line-height:1.4;
  letter-spacing:-.9px;
  font-weight:700
}

.overview-card>strong.date-value {
  font-size:23px;
  line-height:1.76;
  letter-spacing:-.6px
}

.overview-card>span:last-child {
  color:var(--muted);
  font-size:10px
}

.overview-card.concept-overview {
  background:#edf5f0;
  border-color:#dbe9df
}

.concept-overview>strong {
  color:var(--accent)
}

.research-layout {
  display:grid;
  grid-template-columns:minmax(0,1.75fr) minmax(365px,1fr);
  gap:22px;
  align-items:start
}

.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  min-width:0;
  box-shadow:0 2px 6px #0c332302
}

.catalog-panel {
  overflow:hidden
}

.catalog-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:23px 23px 18px
}

.catalog-header h2 {
  font-size:16px;
  margin:0 0 5px
}

.catalog-header p {
  font-size:10px;
  color:var(--muted);
  margin:0
}

.market-tabs {
  display:flex;
  align-items:center;
  gap:2px;
  background:#f3f6f4;
  padding:4px;
  border-radius:7px
}

.market-tabs button {
  border:0;
  background:transparent;
  color:var(--muted);
  font-size:10px;
  font-weight:600;
  padding:6px 11px;
  border-radius:5px
}

.market-tabs button.active {
  background:#fff;
  color:var(--ink);
  box-shadow:0 1px 4px #24423113
}

.catalog-controls {
  padding:0 23px 18px;
  display:flex;
  flex-direction:column;
  gap:12px
}

.search-box {
  display:flex;
  align-items:center;
  gap:9px;
  background:#fbfcfb;
  border:1px solid var(--line);
  border-radius:7px;
  padding:10px 12px;
  min-width:0
}

.search-box>svg {
  width:15px;
  height:15px;
  flex-shrink:0;
  stroke:var(--muted);
  stroke-width:1.5;
  fill:none;
  stroke-linecap:round
}

.search-box input {
  width:100%;
  min-width:0;
  font-size:11px;
  border:0;
  outline:0;
  background:transparent;
  padding:0;
  border-radius:0
}

.search-box:focus-within {
  border-color:var(--accent);
  box-shadow:0 0 0 2px #087f6c0b
}

.search-box input::placeholder {
  color:#8b9891
}

.search-box kbd {
  font-family:inherit;
  font-size:9px;
  border:1px solid #e2e9e4;
  background:white;
  color:var(--quiet);
  border-radius:3px;
  padding:0 4px;
  white-space:nowrap
}

.filter-row {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px
}

.select-wrap {
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0
}

.select-wrap>span {
  font-size:9px;
  font-weight:600;
  color:var(--muted);
  padding-left:1px
}

.select-wrap select {
  width:100%;
  min-width:0;
  appearance:auto;
  background:#fff;
  border:1px solid var(--line);
  padding:8px 24px 8px 8px;
  font-size:10px;
  text-overflow:ellipsis
}

.table-scroll {
  position:relative;
  width:100%;
  overflow:auto
}

.product-table {
  border-collapse:collapse;
  width:100%;
  font-size:11px;
  min-width:650px
}

.product-table thead {
  background:#f7f9f7
}

.product-table th {
  font-size:9px;
  font-weight:550;
  color:var(--muted);
  text-align:left;
  white-space:nowrap;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:11px 9px
}

.product-table th:first-child {
  padding-left:23px
}

.product-table th:last-child {
  padding-right:21px
}

.product-table td {
  padding:14px 9px;
  border-bottom:1px solid #edf1ee;
  vertical-align:middle
}

.product-table td:first-child {
  padding-left:20px;
  max-width:320px;
  min-width:215px;
  border-left:3px solid transparent
}

.product-table td:last-child {
  padding-right:20px
}

.product-table tr:last-child td {
  border-bottom:0
}

.product-table tbody tr {
  transition:background .15s
}

.product-table tbody tr:hover {
  background:#fafcfb
}

.product-table tbody tr.selected {
  background:#f2f8f4
}

.product-table tbody tr.selected td:first-child {
  border-left-color:var(--accent)
}

.product-select {
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  padding:0;
  min-width:0
}

.product-image {
  width:46px;
  height:49px;
  flex-shrink:0;
  border-radius:7px;
  border:1px solid #edf0ed;
  background:#fff;
  display:grid;
  place-items:center;
  padding:5px;
  overflow:hidden
}

.product-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  mix-blend-mode:multiply
}

.image-placeholder {
  color:#adbbb1;
  font-size:24px;
  font-weight:400
}

.product-copy {
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px
}

.product-name {
  font-size:11px;
  font-weight:550;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.product-select:hover .product-name {
  color:var(--accent)
}

.product-meta {
  color:var(--muted);
  font-size:9px;
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:210px
}

.product-meta>span {
  color:var(--quiet)
}

.signal-value {
  font-size:11px;
  font-weight:550;
  font-variant-numeric:tabular-nums;
  white-space:nowrap
}

.cell-note {
  display:block;
  font-size:8px;
  line-height:1.5;
  font-weight:400;
  color:var(--muted);
  margin-top:4px;
  max-width:120px;
  white-space:normal
}

.snapshot-cell {
  font-size:9px;
  white-space:nowrap;
  color:#5c7065
}

.save-button {
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border:1px solid #dce6df;
  background:#fff;
  border-radius:6px;
  color:var(--accent);
  font-size:19px;
  line-height:1
}

.save-button:hover {
  background:var(--accent-soft);
  border-color:#8ab7a3
}

.save-button.saved {
  background:var(--accent-soft);
  border-color:#d7e9df;
  font-size:13px
}

.table-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:13px 22px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:10px
}

.pagination {
  display:flex;
  gap:7px
}

.pagination .icon-button {
  width:27px;
  height:25px;
  font-size:14px
}

.table-note {
  margin:0;
  border-top:1px solid var(--line);
  background:#fbfcfb;
  color:var(--muted);
  font-size:9px;
  line-height:1.8;
  padding:13px 23px
}

.empty-state {
  text-align:center;
  padding:42px 22px;
  color:var(--muted);
  font-size:12px
}

.empty-state h2,.empty-state h3 {
  font-size:15px;
  color:var(--ink);
  margin-bottom:8px
}

.empty-state p {
  font-size:12px;
  line-height:1.7;
  max-width:330px;
  margin:0 auto 17px
}

.empty-symbol {
  display:block;
  color:#7ca893;
  font-size:32px;
  margin-bottom:14px
}

.loading-spinner {
  display:inline-block;
  width:18px;
  height:18px;
  vertical-align:middle;
  border:2px solid #dce9e1;
  border-top-color:var(--accent);
  border-radius:50%;
  animation:spin .7s linear infinite;
  margin:5px 8px
}

@keyframes spin {
  to {
    transform:rotate(360deg)
  }

}

.detail-panel {
  position:sticky;
  top:20px;
  scroll-margin-top:20px;
  overflow:hidden
}

.detail-placeholder {
  padding:65px 28px;
  text-align:center
}

.detail-placeholder .eyebrow {
  font-size:9px
}

.detail-placeholder h2 {
  font-size:20px
}

.detail-placeholder p:not(.eyebrow) {
  color:var(--muted);
  font-size:12px;
  line-height:1.8;
  max-width:290px;
  margin:0 auto
}

.placeholder-icon {
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  border-radius:16px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:38px;
  margin:0 auto 25px
}

.inspector-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:19px 21px 16px
}

.inspector-heading .eyebrow {
  margin:0;
  font-size:9px
}

.detail-product {
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:0 21px 18px
}

.product-image.large {
  width:72px;
  height:78px;
  border-radius:9px;
  padding:8px
}

.detail-product>div {
  min-width:0
}

.market-label {
  display:block;
  font-size:9px;
  letter-spacing:.035em;
  font-weight:650;
  color:#97631f;
  margin-bottom:6px
}

.market-label.etsy {
  color:#bc572b
}

.market-label.ebay {
  color:#4b65a4
}

.detail-product h2 {
  font-size:13px;
  line-height:1.6;
  font-weight:650;
  letter-spacing:-.1px;
  margin:0 0 7px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.detail-product p {
  font-size:9px;
  color:var(--muted);
  line-height:1.6;
  margin:0 0 7px;
  overflow-wrap:anywhere
}

.detail-current {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:0 21px 22px;
  padding:15px 17px;
  border-radius:8px;
  background:#f6f9f6
}

.detail-current>div {
  display:flex;
  flex-direction:column;
  gap:5px
}

.detail-current span {
  font-size:9px;
  color:var(--muted)
}

.detail-current strong {
  font-family:var(--heading);
  font-size:21px;
  font-weight:650;
  letter-spacing:-.6px
}

.inspector-section {
  border-top:1px solid var(--line);
  padding:21px
}

.section-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  margin-bottom:16px
}

.section-heading h3 {
  font-size:12px;
  line-height:1.6;
  margin:0;
  font-weight:700;
  letter-spacing:-.1px
}

.section-heading .muted-text {
  margin:5px 0 0
}

.subtle-badge {
  display:inline-block;
  padding:3px 7px;
  border-radius:5px;
  background:#f0f4f1;
  color:#677e70;
  font-size:9px;
  font-weight:500;
  white-space:nowrap
}

.subtle-badge.warning {
  background:#fbf2e5;
  color:#a1712e
}

.history-controls {
  display:flex;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:19px
}

.metric-tabs {
  display:flex;
  gap:2px;
  align-items:center
}

.metric-tabs button,.range-control button {
  background:transparent;
  border:0;
  padding:5px 7px;
  font-size:9px;
  font-weight:550;
  color:var(--muted);
  border-radius:5px
}

.metric-tabs button.active {
  background:#e9f4ed;
  color:var(--accent)
}

.range-control {
  display:flex;
  align-items:center;
  gap:1px;
  padding:2px;
  background:#f3f6f4;
  border-radius:6px
}

.range-control button {
  padding:4px 7px;
  font-size:8px
}

.range-control button.active {
  background:white;
  color:var(--ink);
  box-shadow:0 1px 3px #15392112
}

.chart-caption {
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:0 1px
}

.chart-caption strong {
  font-size:10px;
  font-weight:550
}

.chart-caption span {
  font-size:9px;
  color:var(--muted)
}

.detail-chart {
  width:100%;
  height:auto;
  min-height:175px;
  margin-top:7px;
  overflow:visible
}

.detail-chart text {
  font-family:var(--sans);
  font-size:10px;
  fill:#8a9a90
}

.chart-grid {
  stroke:#e9eee9;
  stroke-width:1;
  stroke-dasharray:3 4
}

.chart-line {
  fill:none;
  stroke:var(--accent);
  stroke-width:1.7;
  stroke-linejoin:round;
  stroke-linecap:round
}

.chart-point {
  fill:var(--accent);
  opacity:.85
}

.chart-point:hover {
  r:5;
  opacity:1;
  stroke:#fff;
  stroke-width:1.5
}

.chart-empty {
  height:205px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(#fcfdfc,#f8fbf9);
  border-radius:8px;
  margin:12px 0;
  color:var(--muted);
  text-align:center;
  padding:20px
}

.chart-empty>span:not(.loading-spinner) {
  font-size:30px;
  color:#8eaf9b
}

.chart-empty strong {
  font-size:11px;
  font-weight:550;
  color:#5c7968
}

.chart-empty p {
  font-size:10px;
  margin:0
}

.chart-stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding-top:13px;
  gap:8px;
  border-top:1px solid var(--line)
}

.chart-stats>div {
  display:flex;
  flex-direction:column;
  gap:5px
}

.chart-stats span {
  font-size:8px;
  color:var(--muted)
}

.chart-stats strong {
  font-size:12px;
  font-weight:600;
  letter-spacing:-.2px
}

.evidence-list {
  margin:0;
  display:flex;
  flex-direction:column;
  gap:9px
}

.evidence-list>div {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px
}

.evidence-list dt {
  color:var(--muted);
  font-size:10px;
  flex-shrink:0
}

.evidence-list dd {
  font-size:10px;
  margin:0;
  text-align:right;
  overflow-wrap:anywhere
}

.evidence-callout {
  background:#f2f7f3;
  border:1px solid #e2ede4;
  border-radius:7px;
  padding:12px;
  margin-top:16px
}

.evidence-callout strong {
  font-size:10px;
  font-weight:650;
  color:#467c5e
}

.evidence-callout p {
  font-size:10px;
  line-height:1.7;
  color:#697e70;
  margin:5px 0 0
}

.source-notes {
  margin-top:13px
}

.source-notes summary {
  font-size:10px;
  color:var(--muted);
  cursor:pointer
}

.source-notes p {
  font-size:10px;
  color:var(--muted);
  line-height:1.7;
  margin:10px 0
}

.competition-stats {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:15px
}

.competition-stats>div {
  display:flex;
  flex-direction:column;
  gap:5px
}

.competition-stats strong {
  font-size:18px;
  font-family:var(--heading);
  font-weight:650
}

.competition-stats span {
  font-size:8px;
  color:var(--muted);
  line-height:1.6
}

.seller-details {
  border:1px solid var(--line);
  border-radius:7px;
  padding:9px 11px
}

.seller-details summary {
  font-size:10px;
  color:var(--accent);
  cursor:pointer
}

.seller-row {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:10px;
  border-top:1px solid var(--line);
  padding:10px 0;
  margin-top:7px
}

.seller-row>span {
  min-width:0;
  overflow-wrap:anywhere
}

.seller-row>strong {
  text-align:right;
  white-space:nowrap;
  font-weight:550
}

.seller-row small {
  display:block;
  color:var(--muted);
  font-size:9px;
  font-weight:400;
  margin-top:4px
}

.concepts-toolbar {
  display:flex;
  align-items:flex-end;
  gap:15px;
  margin-bottom:22px
}

.concepts-toolbar .search-box {
  max-width:400px;
  flex:1
}

.concepts-toolbar .select-wrap {
  width:160px
}

.concepts-layout {
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:24px;
  align-items:start
}

.concept-list {
  display:flex;
  flex-direction:column;
  gap:13px
}

.concept-card {
  display:block;
  width:100%;
  text-align:left;
  padding:19px 20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px
}

.concept-card.selected {
  border-color:#81b59b;
  box-shadow:0 0 0 1px #81b59b;
  background:#fbfdfb
}

.concept-card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px
}

.status-pill {
  display:inline-flex;
  padding:4px 8px;
  border-radius:5px;
  font-size:9px;
  font-weight:550;
  background:#eef3f7;
  color:#5d7586;
  white-space:nowrap
}

.status-pill.shortlisted {
  color:#28724d;
  background:#e9f5eb
}

.status-pill.archived {
  color:#7b827e;
  background:#f1f2f1
}

.concept-arrow {
  font-size:15px;
  color:#97a49b
}

.concept-card h3 {
  font-size:15px;
  margin:0 0 9px;
  line-height:1.5
}

.concept-card>p {
  color:var(--muted);
  font-size:11px;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0 0 17px;
  min-height:36px
}

.concept-card-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  color:var(--muted);
  font-size:9px
}

.concept-thumbnails {
  display:flex
}

.concept-thumbnails .product-image {
  width:28px;
  height:30px;
  padding:3px;
  border-radius:5px
}

.concept-thumbnails .product-image+.product-image {
  margin-left:-5px
}

.concept-thumbnails .image-placeholder {
  font-size:18px
}

.concept-detail {
  overflow:hidden
}

.concept-detail-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding:28px 30px 24px;
  border-bottom:1px solid var(--line)
}

.concept-detail-header .eyebrow {
  font-size:9px
}

.concept-detail-header h2 {
  font-size:23px;
  margin:0 0 9px
}

.concept-detail-header p:not(.eyebrow) {
  color:var(--muted);
  font-size:10px;
  margin:0
}

.concept-edit-form {
  padding:26px 30px
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}

.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  font-size:11px;
  font-weight:550;
  min-width:0
}

.field.wide {
  grid-column:1/-1
}

.field input,.field select,.field textarea {
  border:1px solid #dde6df;
  padding:10px 12px;
  background:#fff;
  width:100%;
  font-size:12px;
  font-weight:400;
  outline-offset:1px;
  line-height:1.6
}

.field textarea {
  resize:vertical;
  min-height:80px
}

.field input::placeholder,.field textarea::placeholder {
  color:#9aa79e
}

.field small {
  font-size:10px;
  font-weight:400;
  color:var(--muted);
  line-height:1.6
}

.form-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:20px
}

.form-footer .form-error {
  margin:0
}

.concept-comparison {
  padding:26px 30px;
  border-top:1px solid var(--line);
  background:#fcfdfc
}

.concept-comparison>.section-heading h3 {
  font-size:15px
}

.concept-metrics {
  display:grid;
  grid-template-columns:1fr 1fr 1.5fr;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  margin:20px 0 14px;
  padding:16px 18px;
  gap:15px
}

.concept-metrics>div {
  display:flex;
  flex-direction:column;
  gap:6px
}

.concept-metrics span {
  font-size:10px;
  color:var(--muted)
}

.concept-metrics strong {
  font-size:22px;
  font-family:var(--heading);
  font-weight:650;
  letter-spacing:-.5px
}

.concept-metrics strong.price-range {
  font-size:17px;
  line-height:1.95
}

.brand-counts {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}

.brand-counts>span {
  background:#f0f5f1;
  border:1px solid #e2eae4;
  border-radius:5px;
  padding:5px 8px;
  font-size:10px;
  color:#62766a
}

.brand-counts strong {
  color:var(--accent);
  margin-left:7px
}

.comparison-cards {
  display:flex;
  align-items:stretch;
  gap:16px;
  overflow-x:auto;
  padding:20px 0 7px;
  margin-top:5px
}

.comparison-card {
  flex:0 0 230px;
  min-width:0;
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  background:#fff;
  border-radius:9px;
  padding:15px
}

.comparison-card-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:12px
}

.comparison-card-top .market-label {
  margin:0
}

.remove-button {
  border-color:transparent;
  background:#f7f9f7;
  width:24px;
  height:24px;
  font-size:16px;
  color:#87968b
}

.product-image.comparison-image {
  width:100%;
  height:133px;
  padding:15px;
  background:#fafcf9;
  border:0;
  border-radius:6px;
  margin-bottom:15px
}

.comparison-card h4 {
  font-family:var(--sans);
  font-size:12px;
  font-weight:550;
  letter-spacing:0;
  line-height:1.6;
  margin:0 0 6px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:57px
}

.comparison-brand {
  font-size:10px;
  color:var(--muted);
  margin:0 0 11px;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden
}

.relationship-badge {
  display:inline-block;
  align-self:flex-start;
  background:#edf4ef;
  color:#607d6a;
  font-size:8px;
  border-radius:4px;
  padding:3px 6px
}

.comparison-card dl {
  display:flex;
  flex-direction:column;
  gap:11px;
  margin:17px 0
}

.comparison-card dl>div {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start
}

.comparison-card dt {
  font-size:10px;
  color:var(--muted)
}

.comparison-card dd {
  margin:0;
  text-align:right;
  font-size:11px;
  font-weight:550
}

.comparison-card dd small {
  display:block;
  font-size:8px;
  font-weight:400;
  color:var(--muted);
  margin-top:3px;
  max-width:118px
}

.comparable-note {
  font-size:10px;
  line-height:1.8;
  color:#748379;
  border-top:1px solid var(--line);
  padding-top:12px;
  margin:0 0 15px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.comparison-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
  padding-top:13px;
  border-top:1px solid var(--line)
}

.comparison-actions .text-link {
  font-size:10px
}

.empty-comparison {
  padding:36px 20px;
  width:100%;
  text-align:center;
  border:1px dashed #d8e5da;
  border-radius:9px;
  background:#f8fbf8
}

.empty-comparison>span {
  display:block;
  color:#8dac96;
  font-size:30px;
  margin-bottom:12px
}

.empty-comparison h3 {
  font-size:15px;
  margin-bottom:9px
}

.empty-comparison p {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  max-width:330px;
  margin:0 auto 20px
}

.concept-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 30px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:10px
}

.concept-bottom button {
  font-size:10px
}

.app-dialog {
  width:470px;
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 40px);
  overflow:auto;
  margin:auto;
  padding:26px;
  border:1px solid #e1e8e3;
  border-radius:14px;
  color:var(--ink);
  background:#fff;
  box-shadow:0 20px 100px #062a2440
}

.app-dialog::backdrop {
  background:#142d2563;
  backdrop-filter:blur(3px)
}

.small-dialog {
  width:410px
}

.dialog-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px
}

.dialog-heading .eyebrow {
  font-size:9px;
  margin-bottom:7px
}

.dialog-heading h2 {
  font-size:21px;
  margin:0
}

.dialog-heading .icon-button {
  border:0;
  background:#f6f8f6;
  color:var(--muted);
  margin:-3px -4px 0 0
}

.app-dialog .field {
  margin-top:17px
}

.dialog-actions {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:9px;
  padding-top:21px;
  margin-top:16px;
  border-top:1px solid var(--line)
}

.save-product-preview {
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line);
  border-radius:9px;
  padding:12px;
  background:#fafcfa
}

.save-product-preview>span:last-child {
  min-width:0
}

.save-product-preview strong {
  font-size:11px;
  font-weight:550;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.save-product-preview small {
  display:block;
  margin-top:5px;
  font-size:10px;
  color:var(--muted)
}

.form-error {
  font-size:11px;
  color:var(--danger);
  line-height:1.7;
  margin:14px 0 0
}

.form-error:empty {
  display:none
}

.small-dialog>p {
  font-size:12px;
  color:var(--muted);
  line-height:1.8
}

.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translate(-50%,15px);
  opacity:0;
  pointer-events:none;
  z-index:1000;
  background:#1f4031;
  color:#fff;
  padding:12px 20px;
  border-radius:9px;
  box-shadow:0 7px 30px #0a2f2533;
  font-size:12px;
  max-width:calc(100% - 40px);
  transition:opacity .2s,transform .2s;
  text-align:center
}

.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}

.legal-footer {
  display:flex;
  justify-content:space-between;
  gap:30px;
  border-top:1px solid var(--line);
  margin-top:35px;
  padding:22px 0 25px;
  color:#94a297;
  font-size:9px;
  line-height:1.8
}

.legal-footer span:first-child {
  white-space:nowrap;
  color:#7f9387
}

.legal-footer span:last-child {
  max-width:500px;
  text-align:right
}

@media(min-width:1600px) {
  .research-layout {
    grid-template-columns:minmax(0,1.85fr) minmax(420px,1fr)
  }

  .product-name {
    font-size:12px
  }

  .product-meta {
    font-size:10px
  }

  .product-table {
    font-size:12px
  }

  .product-table th {
    font-size:10px
  }

  .cell-note {
    font-size:9px
  }

  .snapshot-cell {
    font-size:10px
  }

  .product-table td {
    padding-top:17px;
    padding-bottom:17px
  }

  .detail-product h2 {
    font-size:15px
  }

  .inspector-section {
    padding:24px
  }

  .section-heading h3 {
    font-size:13px
  }

  .section-note {
    font-size:11px
  }

  .metric-tabs button {
    font-size:10px;
    padding:5px 9px
  }

}

@media(max-width:1250px) {
  .topbar {
    padding:0 28px;
    gap:35px
  }

  .main-content {
    padding:30px 28px 0
  }

  .research-layout {
    grid-template-columns:minmax(0,1.5fr) minmax(335px,1fr);
    gap:17px
  }

  .overview-card {
    padding:17px
  }

  .overview-card>span:last-child {
    font-size:9px
  }

  .catalog-header {
    padding:20px 17px 16px;
    align-items:flex-start;
    flex-direction:column;
    gap:13px
  }

  .market-tabs {
    align-self:flex-start
  }

  .catalog-controls {
    padding:0 17px 16px
  }

  .product-table td:first-child {
    min-width:220px
  }

  .inspector-heading {
    padding:18px
  }

  .detail-product {
    padding:0 18px 17px
  }

  .detail-current {
    margin:0 18px 19px
  }

  .inspector-section {
    padding:18px
  }

  .metric-tabs button {
    padding:5px 6px
  }

  .concepts-layout {
    grid-template-columns:260px minmax(0,1fr);
    gap:20px
  }

  .concept-detail-header,.concept-edit-form,.concept-comparison {
    padding:23px
  }

  .concept-bottom {
    padding:19px 23px
  }

}

@media(max-width:1000px) {
  .research-layout {
    grid-template-columns:minmax(0,1fr)
  }

  .detail-panel {
    position:static;
    display:grid;
    grid-template-columns:1fr 1fr
  }

  .inspector-heading,.detail-product,.detail-current {
    grid-column:1/-1
  }

  .detail-current {
    max-width:none
  }

  .detail-product h2 {
    font-size:15px;
    max-width:650px
  }

  .detail-product .large {
    width:85px;
    height:90px
  }

  .history-section {
    grid-column:1/-1
  }

  .detail-chart {
    max-height:275px
  }

  .history-controls {
    justify-content:flex-start;
    gap:20px
  }

  .metric-tabs button {
    font-size:11px;
    padding:6px 10px
  }

  .range-control button {
    font-size:10px;
    padding:5px 9px
  }

  .chart-caption {
    gap:4px
  }

  .chart-caption strong {
    font-size:12px
  }

  .chart-caption span {
    font-size:10px
  }

  .chart-stats strong {
    font-size:15px
  }

  .chart-stats span {
    font-size:10px
  }

  .catalog-header {
    flex-direction:row;
    align-items:center;
    padding:22px
  }

  .catalog-controls {
    padding:0 22px 19px
  }

  .product-table {
    min-width:650px
  }

  .product-table td:first-child {
    max-width:420px
  }

  .product-meta {
    max-width:310px
  }

  .product-name {
    font-size:12px
  }

  .product-table th {
    font-size:10px
  }

  .signal-value,.product-table td.numeric {
    font-size:12px
  }

  .cell-note {
    font-size:9px
  }

  .snapshot-cell {
    font-size:10px
  }

  .detail-placeholder {
    grid-column:1/-1
  }

  .concepts-layout {
    grid-template-columns:230px minmax(0,1fr);
    gap:17px
  }

  .concept-card {
    padding:16px
  }

  .concept-card-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:10px
  }

  .concept-detail-header h2 {
    font-size:20px
  }

  .concept-metrics {
    grid-template-columns:1fr 1fr
  }

  .concept-metrics>div:last-child {
    grid-column:1/-1
  }

  .form-grid {
    grid-template-columns:1fr
  }

  .field.wide {
    grid-column:auto
  }

  .workspace-label {
    display:none
  }

  .topbar {
    gap:45px
  }

}

@media(max-width:760px) {
  .topbar {
    height:auto;
    min-height:80px;
    flex-wrap:wrap;
    padding:18px 20px 0;
    gap:20px
  }

  .brand-mark {
    width:33px;
    height:35px
  }

  .brand strong {
    font-size:18px
  }

  .primary-nav {
    height:43px;
    margin-top:0;
    gap:25px;
    margin-left:auto
  }

  .nav-button {
    font-size:11px
  }

  .main-content {
    padding:29px 20px 0
  }

  .page-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:15px;
    margin-bottom:25px
  }

  .page-heading h1 {
    font-size:28px;
    letter-spacing:-1px
  }

  .eyebrow {
    font-size:9px
  }

  .page-subtitle {
    font-size:12px;
    max-width:470px
  }

  .page-heading>.button {
    margin-top:0
  }

  .overview-grid {
    grid-template-columns:1fr 1fr;
    gap:11px;
    margin-bottom:24px
  }

  .overview-card {
    padding:16px;
    gap:5px
  }

  .overview-label {
    font-size:10px
  }

  .overview-card>strong {
    font-size:25px
  }

  .overview-card>strong.date-value {
    font-size:19px;
    line-height:1.85
  }

  .overview-card>span:last-child {
    font-size:9px
  }

  .catalog-header {
    padding:18px;
    gap:15px
  }

  .catalog-header h2 {
    font-size:15px
  }

  .catalog-header p {
    font-size:9px
  }

  .market-tabs button {
    padding:6px 8px;
    font-size:9px
  }

  .catalog-controls {
    padding:0 18px 17px
  }

  .filter-row {
    gap:7px
  }

  .select-wrap select {
    font-size:9px;
    padding:8px 3px 8px 7px
  }

  .search-box input {
    font-size:11px
  }

  .table-footer {
    padding:12px 17px
  }

  .table-note {
    padding:12px 18px
  }

  .detail-panel {
    display:block
  }

  .detail-product h2 {
    font-size:14px
  }

  .inspector-section {
    padding:20px
  }

  .detail-current {
    margin:0 20px 21px
  }

  .detail-product {
    padding:0 20px 20px
  }

  .inspector-heading {
    padding:20px
  }

  .detail-current strong {
    font-size:23px
  }

  .section-heading h3 {
    font-size:13px
  }

  .evidence-list dt,.evidence-list dd {
    font-size:11px
  }

  .evidence-callout p,.evidence-callout strong {
    font-size:11px
  }

  .competition-stats span {
    font-size:9px
  }

  .chart-stats span {
    font-size:9px
  }

  .chart-caption strong {
    font-size:11px
  }

  .concepts-layout {
    grid-template-columns:1fr
  }

  .concept-list {
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:stretch
  }

  .concept-card {
    padding:16px
  }

  .concept-card h3 {
    font-size:14px
  }

  .concept-card-bottom {
    font-size:9px
  }

  .concept-card>p {
    font-size:10px
  }

  .concept-detail-header,.concept-edit-form,.concept-comparison {
    padding:22px
  }

  .form-grid {
    grid-template-columns:1fr 1fr;
    gap:17px
  }

  .field.wide {
    grid-column:1/-1
  }

  .concept-metrics {
    grid-template-columns:1fr 1fr 1.5fr;
    padding:15px;
    gap:12px
  }

  .concept-metrics>div:last-child {
    grid-column:auto
  }

  .concept-metrics strong {
    font-size:20px
  }

  .concept-metrics strong.price-range {
    font-size:13px;
    line-height:2.3
  }

  .concept-comparison>.section-heading {
    flex-direction:column;
    gap:10px
  }

  .concept-bottom {
    padding:18px 22px
  }

  .legal-footer {
    flex-direction:column;
    gap:10px;
    margin-top:28px;
    padding:20px 0
  }

  .legal-footer span:last-child {
    text-align:left;
    max-width:none
  }

  .app-dialog {
    padding:23px
  }

  .dialog-heading h2 {
    font-size:20px
  }

}

@media(max-width:480px) {
  .topbar {
    padding:18px 17px 0;
    gap:10px
  }

  .brand {
    width:100%
  }

  .primary-nav {
    width:100%;
    margin:3px 0 0;
    gap:28px
  }

  .main-content {
    padding:25px 16px 0
  }

  .page-heading h1 {
    font-size:26px
  }

  .page-heading .eyebrow {
    font-size:8px;
    letter-spacing:.1em
  }

  .page-subtitle {
    font-size:11px
  }

  .overview-card {
    padding:14px 12px
  }

  .overview-label {
    font-size:9px
  }

  .overview-card>strong {
    font-size:23px
  }

  .overview-card>strong.date-value {
    font-size:17px
  }

  .overview-card>span:last-child {
    font-size:8px;
    line-height:1.7
  }

  .catalog-header {
    align-items:flex-start;
    flex-direction:column;
    gap:12px
  }

  .market-tabs {
    width:100%;
    justify-content:stretch
  }

  .market-tabs button {
    flex:1;
    font-size:10px
  }

  .filter-row {
    grid-template-columns:1fr 1fr
  }

  .filter-row>.select-wrap:last-child {
    grid-column:1/-1
  }

  .select-wrap select {
    font-size:10px
  }

  .product-table td:first-child {
    min-width:230px
  }

  .history-controls {
    gap:10px
  }

  .metric-tabs {
    gap:0
  }

  .metric-tabs button {
    padding:5px 8px;
    font-size:10px
  }

  .range-control button {
    font-size:9px
  }

  .detail-product .large {
    width:65px;
    height:72px
  }

  .detail-product h2 {
    font-size:12px
  }

  .detail-product p {
    font-size:8px
  }

  .detail-product {
    gap:11px
  }

  .inspector-section {
    padding:18px
  }

  .detail-current span {
    font-size:8px
  }

  .detail-current strong {
    font-size:21px
  }

  .detail-chart {
    min-height:145px
  }

  .chart-stats strong {
    font-size:12px
  }

  .chart-stats span {
    font-size:8px
  }

  .section-heading h3 {
    font-size:12px
  }

  .subtle-badge {
    font-size:8px
  }

  .competition-stats strong {
    font-size:16px
  }

  .competition-stats span {
    font-size:8px
  }

  .concepts-toolbar {
    gap:10px
  }

  .concepts-toolbar .select-wrap {
    width:128px
  }

  .concepts-toolbar .search-box {
    padding:10px
  }

  .concepts-toolbar .search-box input {
    font-size:10px
  }

  .concepts-toolbar .search-box>svg {
    display:none
  }

  .concept-list {
    grid-template-columns:1fr
  }

  .concept-card-bottom {
    flex-direction:row;
    align-items:center
  }

  .concept-card>p {
    min-height:0
  }

  .concept-detail-header,.concept-edit-form,.concept-comparison {
    padding:20px
  }

  .concept-detail-header {
    flex-direction:column;
    gap:12px
  }

  .concept-detail-header h2 {
    font-size:21px
  }

  .form-grid {
    grid-template-columns:1fr
  }

  .field.wide {
    grid-column:auto
  }

  .concept-metrics {
    grid-template-columns:1fr 1fr
  }

  .concept-metrics>div:last-child {
    grid-column:1/-1
  }

  .concept-metrics strong.price-range {
    font-size:18px;
    line-height:1.5
  }

  .concept-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:10px
  }

  .comparison-card {
    flex-basis:220px
  }

  .app-dialog {
    padding:20px
  }

  .dialog-heading h2 {
    font-size:19px
  }

  .dialog-actions .button {
    padding:9px 13px
  }

  .app-dialog .field {
    font-size:11px
  }

  .app-dialog .field input,.app-dialog .field select,.app-dialog .field textarea {
    font-size:16px
  }

  .form-footer {
    flex-direction:column;
    align-items:stretch
  }

  .form-footer .button {
    align-self:flex-end
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  * {
    animation:none!important;
    transition:none!important
  }

}

.review-distribution {
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  padding:14px 16px;
  margin-top:16px
}

.review-distribution-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:12px
}

.review-distribution-heading strong {
  font-size:11px;
  font-weight:550
}

.review-distribution-heading>span {
  font-size:9px;
  color:var(--muted)
}

.review-bucket {
  display:grid;
  grid-template-columns:68px 1fr 28px;
  gap:12px;
  align-items:center;
  margin-top:8px
}

.review-bucket>span:first-child {
  font-size:10px;
  color:var(--muted)
}

.review-bucket>strong {
  font-size:10px;
  text-align:right;
  font-weight:550
}

.review-bar-track {
  height:5px;
  border-radius:3px;
  background:#edf3ee;
  overflow:hidden
}

.review-bar-track>span {
  display:block;
  height:100%;
  border-radius:3px;
  background:#6ca687
}

.concepts-layout.access-unavailable {
  grid-template-columns:minmax(0,1fr);
}
.concept-access-state {
  max-width:650px;
  margin:0 auto;
  padding:64px 28px;
  text-align:center;
}
.concept-access-state h2 {
  font-size:23px;
  line-height:1.45;
  margin-bottom:13px;
}
.concept-access-state p {
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  max-width:470px;
  margin:0 auto 25px;
}
.access-actions {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
}

/* Niche research uses the same workspace, with room for source evidence. */
.niche-heading { margin-bottom:25px; }
.niche-heading .page-subtitle { max-width:650px; }
.niche-scope-badge { display:flex; align-items:center; gap:8px; white-space:nowrap; padding:9px 13px; border:1px solid #d8e8df; background:#eef6f1; border-radius:30px; font-size:11px; color:#38644f; }
.niche-scope-badge>span { width:6px; height:6px; border-radius:50%; background:#469071; }
.niche-search-panel { padding:25px 28px 0; overflow:hidden; }
.niche-query-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:13px; }
.niche-search-box { background:#fafcfb; border-color:#dbe5de; min-height:51px; }
.niche-search-box input { font-size:14px; }
.niche-query-row>.button { min-width:150px; font-size:13px; padding:13px 20px; }
.niche-presets { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:17px 0 23px; }
.niche-preset-label { font-size:11px; color:var(--muted); margin-right:5px; }
.niche-chip { border:1px solid #e0e9e3; background:#fff; color:#5f7468; font-size:11px; border-radius:30px; padding:7px 12px; }
.niche-chip:hover { border-color:#8db7a2; background:#f2f8f4; }
.niche-chip.active { color:#096e57; background:#e8f4ed; border-color:#b2d5bf; font-weight:650; }
.niche-threshold-row { display:grid; grid-template-columns:minmax(220px,1fr) repeat(3,minmax(100px,145px)); gap:18px; align-items:end; padding:21px 0; border-top:1px solid var(--line); }
.niche-threshold-intro { display:flex; flex-direction:column; gap:5px; align-self:center; }
.niche-threshold-intro>strong { font-size:12px; font-weight:650; }
.niche-threshold-intro>span { font-size:11px; color:var(--muted); }
.niche-number-field { display:flex; flex-direction:column; gap:7px; font-size:11px; font-weight:550; }
.niche-number-field input,.niche-number-field select { width:100%; min-height:39px; background:#fff; border:1px solid #dbe5df; padding:8px 10px; font-size:13px; font-weight:450; }
.niche-search-note { background:#f8faf8; color:#6e7f75; font-size:11px; line-height:1.7; padding:12px 28px; margin:0 -28px; border-top:1px solid var(--line); }
.niche-results { margin-top:30px; }
.niche-loading { display:flex; flex-direction:column; align-items:center; text-align:center; padding:65px 25px; min-height:290px; }
.niche-loading>.loading-spinner { width:25px; height:25px; margin-bottom:20px; }
.niche-loading h2 { font-size:21px; margin:0 0 10px; }
.niche-loading p { color:var(--muted); font-size:13px; line-height:1.8; max-width:500px; }
.niche-loading>.button { margin-top:8px; }
.small-spinner { width:13px; height:13px; border-color:#ffffff40; border-top-color:#fff; margin:0; }
.niche-results-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:0 0 18px; }
.niche-results-heading .eyebrow { font-size:9px; margin-bottom:6px; }
.niche-results-heading h2 { font-size:25px; margin:0 0 7px; }
.niche-results-heading p { font-size:11px; color:var(--muted); margin:0; }
.niche-results-heading p strong { font-weight:500; }
.niche-results-heading>span { font-size:11px; color:#637b6c; text-align:right; }
.niche-results-heading>span small { display:block; font-size:10px; color:var(--muted); margin-top:5px; }
.niche-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:23px; }
.niche-stat { background:#fff; border:1px solid var(--line); border-radius:10px; padding:19px 21px 17px; display:flex; flex-direction:column; align-items:flex-start; }
.niche-stat>span { font-size:11px; font-weight:550; color:#536b5e; line-height:1.7; }
.niche-stat>strong { font-family:var(--heading); font-size:34px; font-weight:650; letter-spacing:-1px; line-height:1.7; }
.niche-stat>p { font-size:10px; line-height:1.7; color:var(--muted); margin:2px 0 0; max-width:235px; }
.niche-stat.accent-stat { background:#edf5ef; border-color:#d5e7db; }
.niche-stat.accent-stat>strong { color:#14704d; }
.niche-sample-notice { background:#fff7e8; border:1px solid #efdfc2; border-radius:8px; font-size:12px; color:#846334; padding:13px 17px; margin:0 0 20px; line-height:1.8; }
.niche-comparison-layout { display:grid; grid-template-columns:minmax(0,1fr) 235px; align-items:start; gap:20px; }
.niche-family-panel { min-width:0; overflow:hidden; }
.niche-section-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; padding:23px 23px 0; }
.niche-section-heading h2 { font-size:17px; line-height:1.5; margin:0; }
.niche-section-heading>div>p:not(.eyebrow) { font-size:11px; line-height:1.7; color:var(--muted); margin:5px 0 0; }
.niche-section-heading .eyebrow { font-size:9px; letter-spacing:.09em; margin-bottom:7px; }
.niche-section-heading .subtle-badge { margin-top:3px; font-size:10px; white-space:nowrap; }
.niche-table-controls { padding:19px 23px 18px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.niche-checkbox { display:flex; align-items:flex-start; gap:8px; font-size:11px; color:#546b5e; cursor:pointer; line-height:1.6; }
.niche-checkbox input { accent-color:var(--accent); width:15px; height:15px; flex-shrink:0; margin:1px 0 0; }
.niche-sort { display:flex; align-items:center; gap:7px; flex-shrink:0; }
.niche-sort>span { font-size:10px; color:var(--muted); }
.niche-sort select { min-height:33px; font-size:10px; border:1px solid var(--line); padding:6px 8px; background:#fff; max-width:175px; }
.niche-table-scroll { overflow-x:auto; }
.niche-family-table { width:100%; min-width:900px; border-collapse:collapse; text-align:left; table-layout:fixed; }
.niche-family-table th { font-size:10px; color:#688070; font-weight:550; padding:12px 13px; background:#f4f8f5; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.niche-family-table th:first-child { width:35%; padding-left:23px; }
.niche-family-table th:nth-child(2) { width:14%; }
.niche-family-table th:nth-child(3) { width:16%; }
.niche-family-table th:nth-child(4) { width:15%; }
.niche-family-table th:nth-child(5) { width:20%; }
.niche-family-table td { padding:21px 13px; border-bottom:1px solid var(--line); vertical-align:top; }
.niche-family-table td:first-child { padding-left:23px; }
.niche-family-table tbody tr:last-child td { border-bottom:0; }
.niche-product-button { background:none; border:0; padding:0; display:flex; gap:12px; align-items:flex-start; text-align:left; width:100%; }
.niche-product-button>.product-image { width:51px; height:56px; flex:0 0 51px; }
.niche-product-button>span:last-child { min-width:0; }
.niche-product-button strong { font-size:12px; font-weight:550; line-height:1.7; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.niche-product-button:hover strong { color:var(--accent); }
.niche-product-button small { display:block; color:#7a8d80; font-size:10px; line-height:1.6; margin-top:5px; }
.niche-row-actions { display:flex; flex-wrap:wrap; gap:5px 14px; margin-top:13px; }
.niche-row-actions>.text-link { font-size:10px; line-height:1.8; }
.niche-row-actions button:disabled { cursor:not-allowed; }
.niche-number { display:block; font-size:13px; font-weight:600; line-height:1.6; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.niche-cell-note { display:block; font-size:10px; line-height:1.7; color:var(--muted); margin-top:5px; }
.niche-caution { color:#967440; }
.niche-traction { display:inline-block; font-size:10px; line-height:1.6; font-weight:550; background:#f0f3f1; color:#6b7c71; border:1px solid #e4ebe6; border-radius:5px; padding:5px 7px; }
.niche-traction.sustained { color:#24714c; background:#ebf5ed; border-color:#d2e7d9; }
.niche-traction.below_threshold,.niche-traction.stale { color:#8b6a3f; background:#fbf4e7; border-color:#f0e4cf; }
.niche-qualified { display:block; font-size:10px; color:#26794e; margin-top:7px; font-weight:550; line-height:1.7; }
.niche-trace { margin-top:12px; font-size:10px; line-height:1.7; }
.niche-trace summary,.niche-history-note summary { color:#708879; font-size:10px; cursor:pointer; }
.niche-trace[open] { background:#f7faf7; border:1px solid #e6ede8; padding:10px; border-radius:6px; }
.niche-trace dl { margin:13px 0 0; display:flex; flex-direction:column; gap:10px; }
.niche-trace dt { color:#526e5d; font-weight:600; margin:0 0 2px; }
.niche-trace dd { margin:0; color:#708275; overflow-wrap:anywhere; }
.niche-trace code { font-size:9px; color:#587764; background:#e9f1eb; padding:2px 4px; border-radius:3px; display:inline-block; margin:1px 2px 1px 0; }
.niche-trace p { margin:12px 0 0; color:var(--muted); }
.niche-history-note { margin-top:10px; }
.niche-history-note p { font-size:10px; line-height:1.8; color:#6f8076; margin:8px 0 0; }
.niche-table-footer { border-top:1px solid var(--line); }
.niche-table-footnote { color:#75877b; font-size:10px; line-height:1.8; background:#fafcf9; padding:14px 23px; margin:0; border-top:1px solid var(--line); }
.niche-table-empty { padding:45px 15px; text-align:center; }
.niche-table-empty>span { font-size:30px; color:#94b09d; }
.niche-table-empty h3 { font-size:17px; margin:12px 0 8px; }
.niche-table-empty p { max-width:520px; margin:0 auto 18px; color:var(--muted); font-size:12px; line-height:1.8; }
.niche-brands-panel { padding-bottom:7px; }
.niche-brands-panel .niche-section-heading { padding:22px 19px 0; }
.niche-brands-panel .niche-section-heading h2 { font-size:16px; }
.niche-panel-intro { color:var(--muted); font-size:11px; line-height:1.8; margin:10px 23px 20px; }
.niche-brands-panel .niche-panel-intro { margin:10px 19px 18px; }
.niche-brand-list { padding:0 19px; }
.niche-brand-row { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; font-size:11px; padding:10px 0; border-top:1px solid #edf1ed; }
.niche-brand-row>span { overflow-wrap:anywhere; }
.niche-brand-row strong { font-weight:550; white-space:nowrap; color:#416953; }
.niche-brand-row small { color:#7f9485; font-size:9px; font-weight:400; }
.niche-more-brands { margin:5px 19px 0; }
.niche-more-brands summary { color:var(--accent); font-size:10px; cursor:pointer; padding:8px 0; }
.niche-brand-context { display:flex; flex-direction:column; gap:7px; background:#f3f7f2; border:1px solid #e6eee4; border-radius:7px; margin:23px 19px 0; padding:14px; }
.niche-brand-context>span { font-size:10px; color:#6d8473; }
.niche-brand-context>strong { font-size:18px; font-family:var(--heading); font-weight:600; letter-spacing:-.4px; }
.niche-brand-context>small { font-size:9px; color:#73887b; }
.niche-panel-footnote { color:#7a8b7f; font-size:10px; line-height:1.8; padding:14px 23px 17px; margin:0; }
.niche-brands-panel .niche-panel-footnote { padding:14px 19px 17px; }
.niche-evidence-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:20px; align-items:start; margin:24px 0; }
.niche-evidence-panel { min-width:0; overflow:hidden; }
.niche-feature-list { padding:0 23px; }
.niche-feature { border-top:1px solid var(--line); padding:18px 0; }
.niche-feature>div { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:#6c8173; font-size:10px; }
.niche-evidence-kind { border:1px solid #e1e9e3; padding:3px 6px; color:#60826e; border-radius:4px; background:#f6f9f5; font-size:9px; }
.niche-feature h4 { font-size:13px; font-family:var(--sans); font-weight:600; line-height:1.7; margin:9px 0 7px; letter-spacing:0; overflow-wrap:anywhere; }
.niche-feature p { color:var(--muted); font-size:11px; line-height:1.8; margin:0 0 10px; overflow-wrap:anywhere; }
.niche-feature footer { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#7a8e80; font-size:9px; line-height:1.8; }
.niche-feature footer .text-link { font-size:10px; }
.niche-more-features { border-top:1px solid var(--line); }
.niche-more-features>summary { padding:15px 23px; font-size:11px; color:var(--accent); cursor:pointer; background:#fafcf9; }
.niche-evidence-empty { padding:30px 25px 40px; text-align:center; max-width:480px; margin:0 auto; }
.niche-evidence-empty>span { display:block; color:#9db4a3; font-size:30px; margin-bottom:15px; }
.niche-evidence-empty h3 { font-size:17px; line-height:1.6; margin:0 0 11px; }
.niche-evidence-empty p { font-size:12px; line-height:1.9; color:var(--muted); margin:0; }
.niche-complaint-list { padding:0 23px; }
.niche-complaint { border-top:1px solid var(--line); padding:18px 0; }
.niche-complaint>div:first-child { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }
.niche-complaint h4 { margin:0; font-size:13px; line-height:1.7; }
.niche-complaint>div>span { white-space:nowrap; color:#698271; font-size:10px; }
.niche-complaint>p { color:var(--muted); font-size:10px; margin:7px 0 12px; }
.niche-complaint blockquote { margin:0 0 14px; border-left:2px solid #c6dfcf; padding:2px 0 2px 13px; font-size:12px; color:#536e5e; line-height:1.9; overflow-wrap:anywhere; }
.niche-complaint-sources { display:flex; flex-wrap:wrap; gap:8px 13px; font-size:10px; color:var(--muted); }
.niche-complaint-sources .text-link { font-size:10px; }
.niche-coverage { overflow:hidden; }
.niche-coverage>summary { cursor:pointer; padding:20px 23px; color:#476753; }
.niche-coverage>summary>span { font-size:13px; font-weight:600; }
.niche-coverage>summary>small { margin-left:13px; color:var(--muted); font-size:11px; }
.niche-coverage[open]>summary { border-bottom:1px solid var(--line); background:#fafcf9; }
.niche-coverage-body { padding:21px 23px; }
.niche-coverage-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:20px; margin-bottom:23px; }
.niche-coverage-metrics>div { display:flex; flex-direction:column; gap:5px; }
.niche-coverage-metrics strong { font-family:var(--heading); font-size:23px; font-weight:600; color:#3e6950; }
.niche-coverage-metrics span { font-size:10px; color:var(--muted); }
.niche-coverage-body h3 { font-size:13px; margin:0 0 12px; }
.niche-coverage-body p,.niche-coverage-body li { color:#748579; font-size:11px; line-height:1.9; }
.niche-coverage-body ul { margin:20px 0; padding-left:18px; }
.niche-coverage-body li { margin:7px 0; }
.niche-coverage-body>p:last-child { margin-bottom:0; }
.niche-query-history { border:1px solid var(--line); border-radius:6px; overflow:hidden; margin:0 0 17px; }
.niche-query-history>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:15px; align-items:start; padding:12px 15px; border-bottom:1px solid var(--line); font-size:10px; color:#6e8376; }
.niche-query-history>div:last-child { border:0; }
.niche-query-history strong { font-weight:550; overflow-wrap:anywhere; }
.niche-query-history small { font-size:10px; }
.niche-back-link { margin:0 0 21px; font-size:12px; }

.niche-market-control { display:flex; justify-content:flex-end; align-items:center; gap:14px; margin:-7px 0 19px; }
.niche-market-control>span { color:var(--muted); font-size:11px; }
.niche-threshold-row.ebay-threshold-row { grid-template-columns:minmax(0,1fr); }
.ebay-niche-stats .niche-stat:last-child>strong { font-size:22px; letter-spacing:-.5px; line-height:2.25; overflow-wrap:anywhere; }
.ebay-table-controls>p { margin:0; color:var(--muted); font-size:11px; line-height:1.7; }
.ebay-table-controls .niche-sort select { max-width:195px; }
.ebay-coverage-list { padding:8px 23px 20px; }
.ebay-coverage-list>div { display:flex; flex-direction:column; gap:5px; padding:17px 0; border-bottom:1px solid var(--line); }
.ebay-coverage-list>div:last-child { border-bottom:0; }
.ebay-coverage-list strong { font-family:var(--heading); font-size:25px; font-weight:600; color:#3e6950; }
.ebay-coverage-list strong small { font-size:13px; font-weight:450; color:var(--muted); }
.ebay-coverage-list span { color:var(--muted); font-size:11px; line-height:1.7; }
.ebay-enrichment .evidence-list dd { overflow-wrap:anywhere; }
.ebay-enrichment .source-notes { margin-top:18px; }
.ebay-enrichment .source-notes>summary { cursor:pointer; }
.ebay-enrichment .source-notes>.evidence-list { margin-top:14px; }
.ebay-shipping-option { display:flex; flex-direction:column; gap:6px; margin-top:15px; padding-bottom:15px; border-bottom:1px solid var(--line); }
.ebay-shipping-option strong { font-size:12px; font-weight:550; }
.ebay-shipping-option span { font-size:12px; color:#506c5b; }
.ebay-shipping-option small { color:var(--muted); font-size:11px; line-height:1.8; }

@media(max-width:1250px) {
  .niche-comparison-layout { grid-template-columns:minmax(0,1fr); }
  .niche-brands-panel { display:grid; grid-template-columns:minmax(200px,1fr) minmax(200px,1.5fr) minmax(200px,1fr); gap:0 15px; padding:0 8px; }
  .niche-brands-panel>.niche-section-heading { grid-column:1; grid-row:1; }
  .niche-brands-panel>.niche-panel-intro { grid-column:1; grid-row:2; }
  .niche-brands-panel>.niche-brand-list { grid-column:2; grid-row:1/4; padding-top:13px; padding-bottom:13px; }
  .niche-brands-panel>.niche-more-brands { grid-column:2; }
  .niche-brands-panel>.niche-brand-context { grid-column:3; grid-row:1/3; align-self:start; }
  .niche-brands-panel>.niche-panel-footnote { grid-column:3; }
  .niche-stat { padding:17px; }
  .niche-table-controls { gap:10px; }
}
@media(max-width:1000px) {
  .niche-family-table { min-width:850px; }
  .niche-threshold-row { grid-template-columns:minmax(180px,1fr) repeat(3,minmax(100px,125px)); gap:12px; }
  .niche-scope-badge { align-self:flex-start; }
  .niche-heading { align-items:flex-start; }
  .niche-stat>span { font-size:10px; }
  .niche-stat>p { font-size:9px; }
  .niche-evidence-grid { grid-template-columns:1fr 1fr; }
  .niche-section-heading { padding:20px 19px 0; }
  .niche-section-heading h2 { font-size:16px; }
  .niche-feature-list,.niche-complaint-list { padding:0 19px; }
  .niche-evidence-panel .niche-section-heading { flex-direction:column; gap:8px; }
  .niche-panel-intro { margin:10px 19px 19px; }
  .niche-panel-footnote { padding:14px 19px; }
}
@media(max-width:760px) {
  .primary-nav { width:100%; margin:0; gap:22px; justify-content:flex-start; }
  .nav-button { white-space:nowrap; }
  .niche-heading .page-subtitle { font-size:13px; }
  .niche-search-panel { padding:19px 19px 0; }
  .niche-search-box input { font-size:14px; }
  .niche-query-row>.button { min-width:125px; padding:11px 14px; font-size:12px; }
  .niche-threshold-row { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding-top:17px; }
  .niche-threshold-intro { grid-column:1/-1; margin:0 0 3px; }
  .niche-number-field { font-size:10px; }
  .niche-search-note { margin:0 -19px; padding:12px 19px; font-size:10px; }
  .niche-presets { margin:15px 0 18px; gap:7px; }
  .niche-preset-label { display:none; }
  .niche-chip { padding:6px 10px; font-size:10px; }
  .niche-stats { grid-template-columns:1fr 1fr; gap:10px; }
  .niche-stat { padding:15px 17px; }
  .niche-stat>span { font-size:11px; }
  .niche-stat>p { font-size:10px; }
  .niche-stat>strong { font-size:31px; }
  .niche-results-heading { align-items:flex-start; flex-direction:column; gap:10px; }
  .niche-results-heading>span { text-align:left; }
  .niche-results-heading>span small { display:inline; margin-left:6px; }
  .niche-results-heading h2 { font-size:23px; }
  .niche-family-table { display:block; min-width:0; table-layout:auto; }
  .niche-family-table thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; clip:rect(0,0,0,0); overflow:hidden; white-space:nowrap; }
  .niche-family-table tbody { display:block; }
  .niche-family-table tr { display:grid; grid-template-columns:1fr 1fr; padding:21px 19px; border-top:1px solid var(--line); gap:19px 20px; }
  .niche-family-table td,.niche-family-table td:first-child { display:block; padding:0; border:0; min-width:0; }
  .niche-family-table .niche-product-cell,.niche-family-table td[colspan] { grid-column:1/-1; }
  .niche-family-table td[data-label]::before { content:attr(data-label); display:block; color:#567360; font-size:10px; font-weight:600; margin-bottom:7px; }
  .niche-family-table .niche-product-cell { padding-bottom:17px; border-bottom:1px solid #edf2ed; }
  .niche-product-button strong { font-size:13px; -webkit-line-clamp:3; }
  .niche-product-button small { font-size:11px; }
  .niche-product-button>.product-image { width:58px; height:62px; flex-basis:58px; }
  .niche-row-actions { gap:8px 16px; }
  .niche-row-actions>.text-link { font-size:11px; }
  .niche-trace summary,.niche-history-note summary { font-size:11px; }
  .niche-number { font-size:14px; }
  .niche-cell-note { font-size:11px; }
  .niche-traction { font-size:11px; }
  .niche-history-note p { font-size:11px; }
  .niche-trace { font-size:11px; }
  .niche-trace code { font-size:10px; }
  .niche-table-controls { flex-direction:column; align-items:flex-start; gap:13px; padding:19px; }
  .niche-checkbox { font-size:12px; }
  .niche-sort { width:100%; }
  .niche-sort>span { font-size:11px; }
  .niche-sort select { max-width:none; flex:1; font-size:12px; }
  .niche-brands-panel { display:block; padding:0 0 6px; }
  .niche-brands-panel>.niche-brand-list { display:grid; grid-template-columns:1fr 1fr; gap:0 22px; padding-top:0; }
  .niche-brands-panel .niche-brand-context { margin-top:10px; }
  .niche-evidence-grid { grid-template-columns:1fr; }
  .niche-evidence-panel .niche-section-heading { flex-direction:row; }
  .niche-evidence-panel .niche-panel-intro { font-size:12px; }
  .niche-feature h4 { font-size:14px; }
  .niche-feature p { font-size:12px; }
  .niche-feature footer { font-size:10px; }
  .niche-coverage>summary>small { display:block; margin:6px 0 0 17px; }
  .niche-coverage-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
  .niche-coverage-body { padding:20px; }
  .niche-query-history>div { grid-template-columns:1fr; gap:5px; font-size:11px; }
  .niche-query-history small { font-size:11px; }
  .niche-table-empty { padding:20px 0; }
}
@media(max-width:480px) {
  .primary-nav { gap:16px; justify-content:space-between; }
  .nav-button { font-size:11px; }
  .niche-query-row { grid-template-columns:minmax(0,1fr); gap:10px; }
  .niche-query-row>.button { justify-content:center; }
  .niche-search-box kbd { display:none; }
  .niche-search-box input,.niche-number-field input,.niche-number-field select { font-size:16px; }
  .niche-threshold-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .niche-threshold-row>.niche-number-field:last-child { grid-column:1/-1; }
  .niche-number-field>span { min-height:30px; display:flex; align-items:flex-end; }
  .niche-threshold-intro>span { font-size:10px; }
  .niche-stat { padding:14px; }
  .niche-stat>span { font-size:10px; }
  .niche-stat>p { font-size:9px; }
  .niche-results-heading>span small { display:block; margin:4px 0 0; }
  .niche-evidence-panel .niche-section-heading { flex-direction:column; }
  .niche-feature footer { flex-wrap:wrap; }
  .niche-coverage-metrics { grid-template-columns:1fr 1fr; }
  .niche-complaint>div:first-child { flex-direction:column; gap:5px; }
  .niche-scope-badge { font-size:10px; }
}
@media(max-width:1200px) {
  .ebay-coverage-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  .ebay-coverage-list>div { border-bottom:0; }
}
@media(max-width:760px) {
  .niche-market-control { justify-content:space-between; margin:0 0 17px; }
  .niche-threshold-row.ebay-threshold-row { grid-template-columns:minmax(0,1fr); }
  .ebay-threshold-row .niche-number-field>span { min-height:0; }
  .ebay-table-controls .niche-sort select { max-width:none; }
  .ebay-niche-stats .niche-stat:last-child>strong { font-size:21px; line-height:1.8; margin:8px 0; }
}
@media(max-width:480px) {
  .ebay-coverage-list { grid-template-columns:minmax(0,1fr); gap:0; }
  .ebay-coverage-list>div { border-bottom:1px solid var(--line); }
  .ebay-niche-stats .niche-stat:last-child>strong { font-size:18px; }
}

.catalog-page-control { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.catalog-page-control input { width: 54px; min-height: 32px; padding: 4px; border: 1px solid #deded7; border-radius: 6px; background: white; color: inherit; font: inherit; text-align: center; }

.collection-status { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12px; }
.collection-status summary { display: flex; align-items: center; gap: 10px; padding: 14px 17px; cursor: pointer; list-style: none; }
.collection-status summary::-webkit-details-marker { display: none; }
.collection-status summary > strong { white-space: nowrap; }
.collection-status-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #929a97; }
.collection-status[data-state="active"] .collection-status-dot { background: #258266; }
.collection-status[data-state="error"] .collection-status-dot { background: #bb7436; }
#collectionStatusSummary { color: var(--muted); }
.collection-status-expand { margin-left: auto; color: var(--muted); font-size: 11px; }
.collection-status-details { border-top: 1px solid var(--line); padding: 16px 17px; }
.collection-status-details dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 0; }
.collection-status-details dt { color: var(--muted); margin-bottom: 5px; font-size: 11px; }
.collection-status-details dd { margin: 0; font-weight: 650; }
.collection-status-details p { color: var(--muted); margin: 12px 0 0; line-height: 1.6; }
@media(max-width:760px) {
  .collection-status summary { flex-wrap: wrap; gap: 8px; }
  #collectionStatusSummary { flex-basis: 100%; order: 4; padding-left: 15px; }
  .collection-status-details dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
