:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --panel: #ffffff;
  --ink: #13201c;
  --muted: #68746f;
  --line: #dfe7e2;
  --brand: #0f766e;
  --brand-dark: #0b514c;
  --accent: #ef7d3c;
  --danger: #b42318;
  --soft: #e8f4f1;
  --shadow: 0 14px 36px rgba(20, 40, 34, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.app {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px 14px 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 4px 16px;
}

.platform-hero {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.platform-title h1 {
  font-size: 27px;
}

.platform-title p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.entry-card {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.entry-card.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.entry-card span,
.entry-card strong,
.entry-card em {
  display: block;
}

.entry-card span {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.88;
}

.entry-card strong {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.entry-card em {
  margin-top: 10px;
  color: inherit;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
  opacity: 0.72;
}

.entry-card:not(.primary) {
  background: var(--soft);
}

.entry-card.muted {
  background: #fff;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.12;
}

h2 {
  font-size: 18px;
}

.date-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.lead-panel {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lead-form-cta {
  padding: 14px;
}

.lead-head {
  padding-bottom: 4px;
}

.lead-head h2 {
  font-size: 19px;
  line-height: 1.3;
}

.lead-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.lead-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.lead-return-tip {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.supplier-note {
  margin: -4px 4px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 13px;
  line-height: 1.55;
}

.publish-entry {
  display: grid;
  gap: 6px;
  margin: 0 4px 12px;
  min-height: 76px;
  padding: 16px 14px;
  border: 1px solid rgba(180, 35, 24, 0.24);
  border-radius: 8px;
  background: #fff4f2;
  color: var(--danger);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.publish-entry strong {
  font-size: 20px;
  line-height: 1.2;
}

.publish-entry span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.summary article,
.panel,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.summary article {
  padding: 12px 10px;
}

.summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.summary strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.panel {
  padding: 12px;
}

.search-line {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 8px;
}

input,
select,
button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

input,
select {
  padding: 0 12px;
}

button {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-weight: 700;
}

.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

label span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 2px 10px;
}

.section-head span {
  color: var(--muted);
  font-size: 13px;
}

.section-head.compact {
  margin: 0 0 10px;
}

.section-head a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.radar-preview,
.radar-toolbar,
.radar-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.radar-preview {
  margin-bottom: 16px;
  padding: 14px;
}

.home-radar-list,
.radar-list {
  display: grid;
  gap: 10px;
}

.home-radar-item {
  display: grid;
  gap: 5px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.home-radar-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.home-radar-item span,
.radar-line,
.radar-original {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-radar-item strong {
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.radar-hero {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.radar-hero p:last-child {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.radar-back,
.radar-toolbar button {
  flex: 0 0 auto;
  min-height: 40px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.radar-back {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
}

.radar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
  padding: 12px;
}

.radar-toolbar > div {
  min-width: 0;
}

.radar-toolbar strong,
.radar-toolbar span {
  display: block;
}

.radar-toolbar span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.radar-toolbar button {
  border: 0;
  width: auto;
  padding: 0 13px;
}

.radar-card {
  padding: 14px;
}

.radar-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.radar-card h2 {
  font-size: 19px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.radar-card p {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.radar-original {
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.radar-card a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 10px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.price-list {
  display: grid;
  gap: 10px;
}

.price-card {
  padding: 13px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.identity {
  min-width: 0;
}

.brand-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 6px;
}

.brand {
  font-size: 18px;
  font-weight: 800;
}

.meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.production-date {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--brand-dark);
  line-height: 1.2;
}

.production-date span {
  font-size: 12px;
  font-weight: 700;
}

.production-date strong {
  font-size: 15px;
  font-weight: 800;
}

.price {
  flex: 0 0 auto;
  color: var(--accent);
  text-align: right;
}

.price strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.price span {
  font-size: 12px;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.details div {
  min-width: 0;
}

.details span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.details strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.empty,
footer {
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.empty {
  margin: 28px 0;
}

footer {
  padding: 28px 8px 4px;
  line-height: 1.6;
}

.site-record {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 430px) {
  .app {
    padding-inline: 12px;
  }

  h1 {
    font-size: 24px;
  }

  .platform-hero {
    padding: 14px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .entry-card {
    min-height: 108px;
  }

  .summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .summary article {
    padding: 10px 8px;
  }

  .summary strong {
    font-size: 18px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

}
