@font-face {
  font-family: Barlow Condensed;
  src: url(./barlow-condensed.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --panel: #fff;
  --soft: #eff1eb;
  --ink: #191e19;
  --muted: #596455;
  --line: #d8ded4;
  --selected: #253127;
  --inverse: #fff;
  --brand: #d5f54c;
  --accent: #527000;
  --green: #397552;
  --chart: #678900;
  --shadow: 0 16px 70px #10180c20;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101310;
  --panel: #191d19;
  --soft: #232923;
  --ink: #f0f3e9;
  --muted: #a6b0a3;
  --line: #343c33;
  --selected: #e1edce;
  --inverse: #172015;
  --accent: #d5f54c;
  --green: #9cd7a4;
  --chart: #c7e84d;
  --shadow: 0 16px 70px #0006;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101310;
    --panel: #191d19;
    --soft: #232923;
    --ink: #f0f3e9;
    --muted: #a6b0a3;
    --line: #343c33;
    --selected: #e1edce;
    --inverse: #172015;
    --accent: #d5f54c;
    --green: #9cd7a4;
    --chart: #c7e84d;
    --shadow: 0 16px 70px #0006;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  font:
    1rem/1.45 Arial,
    Helvetica,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid var(--chart);
  outline-offset: 3px;
}
svg.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
span[data-icon] {
  display: inline-flex;
}
.shell {
  width: min(1440px, 92%);
  margin-inline: auto;
}
header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.topbar,
.brand,
nav,
.tools,
.theme-control,
.hero-source,
.eyebrow,
.stat-name,
.title-group,
.filters,
.tabs,
.search,
.sort,
.market-heading,
.inventory-heading,
.scan-time,
.card-base,
.btn,
.dialog-head,
.chart-meta {
  display: flex;
  align-items: center;
}
.topbar {
  height: 70px;
  gap: 3.4rem;
}
.brand {
  font-size: 1.27rem;
  font-weight: 750;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.brand img {
  width: 32px;
  height: 32px;
  margin-right: 9px;
}
.brand span {
  font-weight: 400;
}
.tools {
  margin-left: auto;
  gap: 8px;
}
nav {
  gap: 1.5rem;
}
.navlink,
.tools,
.sort,
.tabs,
.search {
  font-size: 0.89rem;
}
.navlink {
  color: var(--muted);
}
.navlink:hover,
.hero-source:hover {
  text-decoration: underline;
}
.theme-control,
.icon-button,
.search,
.sort select {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.theme-control {
  padding-left: 9px;
  color: var(--muted);
}
select {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 26px 8px 7px;
  background-image: url(./chevron.svg);
  background-repeat: no-repeat;
  background-position: right 9px center;
}
select option {
  background: var(--panel);
  color: var(--ink);
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
}
.icon-button:hover {
  color: var(--ink);
  background: var(--soft);
}
.hero {
  margin-top: 24px;
  min-height: 235px;
  display: flex;
  align-items: center;
  color: white;
  background: #18201b url(./mustang.jpg) center 57% / cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #101811ee 0%,
    #101810a8 31%,
    transparent 65%
  );
}
.hero-copy {
  position: relative;
  padding: 26px 3.4%;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  gap: 10px;
  color: #e0e4d9;
}
.flag {
  width: 18px;
  height: 12px;
  display: inline-block;
  border-radius: 2px;
  background: linear-gradient(#c7514c 33%, #eee 33% 66%, #596dae 66%);
}
h1,
h2,
h3,
.stat strong,
.card-price,
.headline-price {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(3.2rem, 5.8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
h1 span {
  color: var(--brand);
}
.hero p {
  font-size: 0.97rem;
  color: #d6dbd3;
  margin: 9px 0 17px;
}
.hero-source {
  width: max-content;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
}
.hero-source svg.icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
}
.market-heading,
.inventory-heading,
.filters,
.card-base,
.dialog-head,
.chart-meta {
  justify-content: space-between;
  gap: 12px;
}
.market-heading {
  margin: 23px 0 11px;
}
.inventory-heading {
  margin: 29px 0 14px;
}
h2 {
  font-size: 2.05rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.scan-time {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 15px 19px 14px;
}
.stat-name {
  font-size: 0.87rem;
  color: var(--muted);
  gap: 8px;
  font-weight: 600;
}
.stat-name svg {
  width: 16px;
  height: 16px;
}
.stat strong {
  font-size: 2.35rem;
  line-height: 1.1;
  display: block;
  letter-spacing: -0.02em;
  margin: 5px 0 1px;
}
.stat small,
.dealer,
.mini {
  font-size: 0.81rem;
  color: var(--muted);
}
.title-group {
  gap: 10px;
}
.count {
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 0.81rem;
  font-weight: 600;
  min-width: 26px;
  text-align: center;
  padding: 2px 7px;
  color: var(--muted);
}
.sort {
  gap: 7px;
  color: var(--muted);
}
.sort select {
  color: var(--ink);
  padding-left: 11px;
  background-image: url(./chevron.svg);
  background-repeat: no-repeat;
  background-position: right 9px center;
}
.filters {
  padding-bottom: 14px;
}
.tabs {
  border-radius: 7px;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.tabs button {
  padding: 6px 12px;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
}
.tabs button[aria-pressed="true"] {
  background: var(--selected);
  color: var(--inverse);
}
.search {
  color: var(--muted);
  padding: 0 10px;
  gap: 7px;
}
.search input {
  border: 0;
  outline-offset: 0;
  background: transparent;
  padding: 9px 0;
  width: 165px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  transition:
    transform 0.16s,
    border-color 0.16s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--muted);
}
.visual {
  position: relative;
  background: var(--soft);
  aspect-ratio: 1.88;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.card-copy {
  padding: 13px 14px 10px;
  width: 100%;
}
.card h3 {
  font-size: 1.49rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}
.variant {
  color: var(--muted);
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 3px 0 11px;
}
.card-base {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding: 9px 14px;
  width: 100%;
  min-height: 46px;
}
.card-price {
  font-size: 1.49rem;
  line-height: 1;
}
.card-base .icon {
  color: var(--muted);
}
.drop {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: bold;
}
.more,
.btn {
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}
.more {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  margin: 22px auto;
}
.empty {
  grid-column: 1/-1;
  padding: 36px;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--muted);
  border-radius: 8px;
}
.more[hidden],
[hidden] {
  display: none !important;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 18px 0;
  margin-top: 38px;
}
dialog {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  width: min(660px, 94vw);
  max-height: 91dvh;
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: #080e0acd;
  backdrop-filter: blur(4px);
}
#dialogBody {
  padding: 22px;
}
.dialog-head {
  align-items: flex-start;
}
.dialog-head h2 {
  font-size: 2.1rem;
}
.dialog-head .icon-button {
  flex: none;
}
.dialog-head p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-top: 4px;
}
.detail-summary {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--soft);
  border-radius: 7px;
  padding: 11px;
  margin: 16px 0;
}
.detail-summary img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
}
.headline-price {
  font-size: 2.4rem;
  line-height: 1.15;
}
.detail-summary p,
.duplicate-form p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 3px;
}
.chart-meta {
  align-items: baseline;
  margin: 18px 0 0;
}
.chart-meta h3,
.duplicate-form h3 {
  font-size: 1.5rem;
}
.plot {
  display: block;
  width: 100%;
  height: auto;
}
.gridline {
  stroke: var(--line);
  stroke-dasharray: 3 4;
}
.chart-label {
  fill: var(--muted);
  font:
    13px Arial,
    sans-serif;
}
.plot-line {
  fill: none;
  stroke: var(--chart);
  stroke-width: 2.5;
}
.plot-dot {
  fill: var(--chart);
  stroke: var(--panel);
  stroke-width: 2;
}
.plot-area {
  fill: var(--chart);
  opacity: 0.1;
}
.log {
  max-height: 170px;
  overflow: auto;
}
.log-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.btn {
  display: inline-flex;
  gap: 7px;
  background: var(--brand);
  color: #1b2613;
  margin-top: 14px;
}
.btn .icon {
  width: 15px;
}
.duplicate-form label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.duplicate-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  padding: 10px;
  margin-top: 4px;
}
.notice {
  color: var(--muted);
  padding: 9px 0;
}
details {
  margin: 10px 0;
}
summary {
  font-size: 0.93rem;
  cursor: pointer;
}
.changes {
  font-size: 0.84rem;
  color: var(--muted);
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 272px;
  }
}
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topbar {
    gap: 2rem;
  }
  .stat {
    padding: 12px;
  }
  .hero {
    min-height: 215px;
  }
  .hero-copy {
    padding: 23px;
  }
  .scan-time {
    max-width: 55%;
  }
}
@media (max-width: 620px) {
  .shell {
    width: 93%;
  }
  .topbar {
    height: 57px;
    gap: 8px;
  }
  .topbar nav {
    display: none;
  }
  .hero {
    margin-top: 14px;
    min-height: 190px;
    background-position: 56% center;
  }
  .hero:before {
    background: linear-gradient(90deg, #111910eb, #11191077 64%, transparent);
  }
  .hero-copy {
    padding: 16px;
  }
  .hero p {
    font-size: 0.87rem;
    max-width: 260px;
  }
  .desktop {
    display: none;
  }
  .market-heading {
    margin-top: 17px;
  }
  .stats {
    gap: 5px;
  }
  .stat-name {
    font-size: 0.76rem;
    gap: 4px;
  }
  .stat-name .icon {
    width: 13px;
  }
  .stat {
    padding: 8px;
    border-radius: 5px;
  }
  .stat strong {
    font-size: 1.7rem;
  }
  .stat small {
    display: none;
  }
  h2 {
    font-size: 1.7rem;
  }
  .inventory-heading {
    margin-top: 19px;
  }
  .filters {
    flex-wrap: wrap;
    gap: 7px;
  }
  .search {
    flex: 1;
    min-width: 140px;
  }
  .search input {
    width: 100%;
    min-width: 0;
  }
  .tabs button {
    padding: 6px 8px;
  }
  .sort {
    font-size: 0;
    gap: 0;
  }
  .sort select {
    font-size: 0.82rem;
  }
  .cards {
    gap: 8px;
  }
  .card-copy,
  .card-base {
    padding: 9px;
  }
  .card h3 {
    font-size: 1.2rem;
  }
  .card-price {
    font-size: 1.28rem;
  }
  .variant,
  .scan-time {
    font-size: 0.76rem;
  }
  .visual {
    aspect-ratio: 1.48;
  }
  .detail-summary {
    grid-template-columns: 85px 1fr;
  }
  .detail-summary img {
    height: 74px;
  }
  .stat-name {
    flex-wrap: wrap;
  }
  .title-group {
    gap: 5px;
  }
  #dialogBody {
    padding: 15px;
  }
  .card-base .icon {
    width: 14px;
  }
  .hero-source {
    font-size: 0.78rem;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card {
    transition: none;
  }
}
.card-title {
  display: block;
  font:
    700 1.49rem/1.15 "Barlow Condensed",
    "Arial Narrow",
    sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.variant {
  display: block;
}
@media (max-width: 620px) {
  .card-title {
    font-size: 1.2rem;
  }
}

.inventory-heading {
  flex-wrap: wrap;
}
.inventory-controls,
.layout-switch button,
.price-top,
.spark-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}
.inventory-controls {
  flex-wrap: wrap;
  gap: 12px;
}
.layout-switch svg.icon {
  width: 15px;
  height: 15px;
}
.card {
  position: relative;
  min-width: 0;
}
.card h3 {
  white-space: normal;
  overflow: visible;
}
.listing-open {
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
}
.listing-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card:focus-within {
  border-color: var(--chart);
}
.price-panel {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  min-width: 0;
}
.price-top,
.spark-meta {
  justify-content: space-between;
}
.net-change {
  font-size: 0.82rem;
  font-weight: bold;
}
.net-change.down {
  color: var(--green);
}
.preview {
  position: relative;
  z-index: 2;
  min-height: 56px;
  margin-top: 8px;
}
.spark-meta {
  font-size: 0.76rem;
  color: var(--muted);
}
.spark-meta span:first-child {
  font-weight: 600;
}
.scrubber {
  position: relative;
  cursor: crosshair;
  border-radius: 4px;
  touch-action: pan-y;
}
.scrubber svg {
  width: 100%;
  height: 36px;
  display: block;
  overflow: visible;
}
.scrubber:focus-visible {
  outline: 2px solid var(--chart);
  outline-offset: 1px;
}
.spark-guide {
  stroke: var(--line);
  stroke-dasharray: 2 4;
  vector-effect: non-scaling-stroke;
}
.spark-line {
  fill: none;
  stroke: var(--chart);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.spark-dot {
  fill: var(--chart);
}
.spark-marker line {
  stroke: var(--muted);
  stroke-dasharray: 2 2;
}
.spark-marker circle {
  stroke: var(--panel);
  stroke-width: 1.5;
  fill: var(--chart);
}
.spark-tip {
  pointer-events: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  min-width: min(175px, 100%);
  max-width: 100%;
  display: grid;
  padding: 7px 9px;
  border-radius: 5px;
  box-shadow: var(--shadow);
  background: var(--selected);
  color: var(--inverse);
  font-size: 0.76rem;
}
.spark-tip b {
  font-size: 0.94rem;
}
.retry-chart {
  font-size: 0.82rem;
  background: var(--soft);
  color: var(--ink);
  border-radius: 4px;
  padding: 5px;
}
.cards.list-view {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}
.list-view .card {
  display: grid;
  grid-template-columns: clamp(150px, 19%, 260px) minmax(0, 1fr) clamp(
      185px,
      23%,
      295px
    );
  align-items: center;
}
.list-view .visual {
  height: 100%;
  min-height: 130px;
  aspect-ratio: auto;
}
.list-view .card-copy {
  min-width: 0;
  padding: 14px 18px;
}
.list-view .variant {
  white-space: normal;
  margin-bottom: 8px;
}
.vehicle-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin: 0;
}
.vehicle-facts dt,
.row-dealer {
  color: var(--muted);
  font-size: 0.76rem;
}
.vehicle-facts dd {
  margin: 0;
  font-size: 0.85rem;
}
.row-dealer {
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.list-view .price-panel {
  padding: 6px 18px;
  margin: 10px 0;
  border-top: 0;
  border-left: 1px solid var(--line);
}
.list-view .card-price {
  font-size: 1.75rem;
}
@media (max-width: 760px) {
  .list-view .card {
    grid-template-columns: clamp(95px, 30%, 175px) minmax(0, 1fr);
  }
  .list-view .visual {
    grid-row: 1;
    align-self: start;
    min-height: 0;
    height: auto;
    aspect-ratio: 4/3;
    margin: 12px 0 10px 12px;
    width: calc(100% - 12px);
    border-radius: 5px;
  }
  .list-view .card-copy {
    padding: 12px 12px 6px;
  }
  .list-view .price-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: clamp(95px, 30%, 175px) minmax(0, 1fr);
    align-items: center;
    margin: 0;
    padding: 5px 12px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .list-view .price-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .list-view .preview {
    margin: 0;
    min-height: 52px;
  }
  .vehicle-facts {
    gap: 4px 12px;
  }
}
@media (max-width: 620px) {
  .inventory-controls {
    gap: 5px;
  }
  .layout-switch button {
    gap: 4px;
  }
  .price-panel {
    padding: 9px;
  }
  .spark-tip {
    font-size: 0.72rem;
  }
  .list-view .card-price {
    font-size: 1.45rem;
  }
}
.market-heading .activity-link {
  margin-right: auto;
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.activity-page {
  max-width: 1200px;
}
.activity-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 38px 0 12px;
}
.activity-heading h1 {
  font-size: clamp(2.8rem, 5vw, 4.7rem);
}
.activity-heading h1 span {
  color: var(--accent);
}
.activity-heading p,
#coverage,
#adjustment,
.method p {
  color: var(--muted);
  font-size: 0.92rem;
}
#coverage,
#adjustment {
  margin: 13px 0;
}
.activity-box {
  margin-top: 17px;
  background: var(--panel);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.activity-box h2 {
  margin-bottom: 12px;
}
.activity-box svg {
  max-width: 100%;
  width: 100%;
  display: block;
}
.activity-box details,
.method {
  margin: 18px 0 0;
}
.activity-page table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.activity-page th,
.activity-page td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.activity-page th {
  color: var(--muted);
}
.activity-page td a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.table-wrap,
#events {
  overflow: auto;
  max-height: 400px;
}
.method p {
  margin-top: 8px;
}
.flow-legend {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
}
.flow-legend span:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  background: var(--chart);
}
.flow-legend span:nth-child(2):before {
  background: #bd7452;
}
.flow-legend span:nth-child(3):before {
  background: #7396c4;
}
.flow-new {
  fill: var(--chart);
}
.flow-removed {
  fill: #bd7452;
}
.flow-returned {
  fill: #7396c4;
}
.no-scan {
  fill: var(--soft);
}
.activity-page .stat small {
  display: block;
}
@media (max-width: 620px) {
  .market-heading {
    flex-wrap: wrap;
  }
  .market-heading .activity-link {
    margin-right: 0;
  }
  .activity-heading {
    flex-wrap: wrap;
  }
  .activity-box {
    padding: 12px;
  }
  .activity-page .topbar {
    gap: 12px;
  }
  .activity-page .stat small {
    font-size: 0.73rem;
  }
}
.source-names {
  margin: 6px 0 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}
.offer-list {
  display: grid;
  gap: 5px;
  margin: 7px 0 12px;
}
.offer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 10px;
}
.offer-list a:hover {
  background: var(--soft);
}
.offer-list span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.offer-list svg.icon {
  width: 14px;
}
.offer-list small {
  color: var(--muted);
  text-align: right;
}
.join-open {
  margin: 10px 0 0;
}
.duplicate-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-top: 4px;
}
#comparison {
  margin-top: 12px;
}
.card-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 8px;
}
.card-offers a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.card-offers .icon {
  width: 12px;
  height: 12px;
}
.card-offers small {
  color: var(--muted);
}

.market-links, .section-links { display: inline-flex; gap: 1rem; align-items: center; }
.market-links { margin-right: auto; }
.market-links .activity-link { white-space: nowrap; }
@media (max-width: 620px) {
  .topbar:has(.section-links) { flex-wrap: wrap; height: auto; padding-block: 9px; }
  .section-links { order: 3; width: 100%; }
}


.about-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 600;
}
.about-link:hover, .about-link[aria-current="page"] {
  background: var(--soft);
  color: var(--accent);
}
.about-page { max-width: 720px; padding-bottom: 40px; }
.about-page .activity-heading p { max-width: 60ch; }
.about-page .activity-box { margin-top: 24px; }
.about-sources { padding: 0; margin: 0; list-style: none; }
.about-sources li + li { border-top: 1px solid var(--line); }
.about-sources a {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 12px 0; font-weight: 600;
}
.about-sources a:hover { color: var(--accent); text-decoration: underline; }
.about-sources span { color: var(--accent); }
.about-checked { color: var(--muted); font-size: .85rem; margin-top: 14px; }
