:root {
  --ink: #20262b;
  --muted: #68727a;
  --line: #e2e5e8;
  --paper: #f7f5f1;
  --surface: #ffffff;
  --green: #1f6b57;
  --green-2: #3b806c;
  --gold: #b47a2f;
  --red: #b95845;
  --blue: #315f8f;
  --dark: #263238;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #efede8;
}

button,
input {
  font: inherit;
}

.board {
  width: 1800px;
  min-height: 900px;
  padding: 46px 50px 42px;
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

.subtitle {
  width: 740px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.intro-meta {
  display: flex;
  gap: 12px;
  padding-bottom: 10px;
}

.intro-meta span,
.intro-meta a {
  border: 1px solid #cfd6d2;
  border-radius: 10px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, .76);
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.screens {
  display: grid;
  grid-template-columns: repeat(6, 260px);
  gap: 22px;
  align-items: start;
}

.phone {
  position: relative;
  width: 260px;
  height: 562px;
  overflow: hidden;
  border: 10px solid #17221f;
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 22px 44px rgba(33, 37, 41, .14);
}

.status {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  color: #27332f;
  font-size: 10px;
  font-weight: 800;
}

.status.light {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  color: #fff;
}

.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 8px;
}

.appbar p,
.section-title h3,
.chat-head b,
.lot-head b,
.chain-item b,
.detail-title h2,
.seller-card b,
.order-card b {
  margin: 0;
}

.appbar p {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.appbar h2 {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.icon-button,
.text-button,
.hero-top button,
.chat-head button {
  border: 0;
  border-radius: 12px;
  background: #e9eceb;
  color: var(--ink);
  font-weight: 900;
}

.icon-button {
  width: 34px;
  height: 34px;
}

.text-button {
  padding: 8px 11px;
  color: var(--green);
  font-size: 12px;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 39px;
  margin: 5px 15px 12px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #89938f;
  font-size: 12px;
}

.search-row button {
  margin-left: auto;
  border: 0;
  border-radius: 9px;
  padding: 6px 9px;
  background: var(--dark);
  color: #fff;
  font-size: 11px;
}

.search-icon {
  font-size: 17px;
  color: var(--green);
}

.market-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.18fr;
  gap: 7px;
  padding: 0 15px;
}

.metric {
  min-height: 57px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 9px 8px;
  background: #fff;
}

.metric.strong {
  background: #263238;
  color: #fff;
}

.metric b {
  display: block;
  font-size: 17px;
  line-height: 1.05;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: #7b8782;
  font-size: 10px;
}

.metric.strong span {
  color: rgba(255, 255, 255, .68);
}

.tabs,
.order-tabs {
  display: flex;
  gap: 7px;
  padding: 13px 15px 7px;
  overflow: hidden;
}

.tabs span,
.order-tabs span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: #e7ede9;
  color: #60706a;
  font-size: 11px;
  font-weight: 800;
}

.tabs .active,
.order-tabs .active {
  background: var(--green);
  color: #fff;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
}

.section-title.tight {
  padding: 0 0 9px;
}

.section-title h3 {
  font-size: 15px;
}

.section-title a {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.lot-card {
  display: flex;
  gap: 10px;
  margin: 0 15px 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 9px;
  background: #fff;
}

.featured {
  box-shadow: 0 12px 24px rgba(24, 52, 46, .08);
}

.thumb {
  flex: 0 0 54px;
  height: 62px;
  border-radius: 12px;
  background: #dae2dd;
}

.fabric {
  background:
    radial-gradient(circle at 24% 24%, #f1d39d 0 9px, transparent 10px),
    repeating-linear-gradient(135deg, #d74d44 0 8px, #f2a441 8px 16px, #315f9d 16px 24px);
}

.parts {
  background:
    radial-gradient(circle at 68% 28%, #fff 0 8px, transparent 9px),
    linear-gradient(135deg, #233a5e, #65a4b7 55%, #d8e7e4);
}

.cup {
  background:
    linear-gradient(90deg, transparent 67%, rgba(255, 255, 255, .55) 68% 78%, transparent 79%),
    linear-gradient(145deg, #173d35, #3fb293);
}

.lot-body {
  min-width: 0;
  flex: 1;
}

.lot-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.lot-head b {
  font-size: 13px;
  white-space: nowrap;
}

.lot-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.lot-body p {
  margin: 5px 0 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.lot-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.lot-tags span {
  border-radius: 7px;
  padding: 3px 5px;
  background: #edf4ef;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.price-row strong {
  color: var(--red);
  font-size: 16px;
}

.price-row button,
.primary-full,
.quote-card button,
.input-bar button,
.order-actions .primary,
.action-bar .primary {
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.price-row button {
  padding: 6px 7px;
  font-size: 9px;
  white-space: nowrap;
}

.price-row.compact {
  margin-top: 0;
}

.price-row.compact strong {
  font-size: 14px;
}

.price-row em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
}

.member-note {
  margin: 0 15px;
  border: 1px solid #d8ddd9;
  border-radius: 12px;
  padding: 9px 10px;
  background: #fffdf8;
}

.member-note b,
.member-note span {
  display: block;
}

.member-note b {
  color: var(--ink);
  font-size: 12px;
}

.member-note span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  height: 51px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
}

.bottom-nav span {
  text-align: center;
  color: #728079;
  font-size: 10px;
  font-weight: 900;
}

.bottom-nav .on {
  color: var(--green);
}

.bottom-nav .publish {
  width: 34px;
  height: 34px;
  justify-self: center;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 20px;
}

.mapbar {
  padding-bottom: 2px;
}

.china-map {
  position: relative;
  height: 214px;
  margin: 5px 15px 14px;
  border: 1px solid #d3d8d5;
  border-radius: 14px;
  background: #edf1ed;
  overflow: hidden;
}

.china-map:before {
  content: "";
  position: absolute;
  inset: 36px 31px 30px 36px;
  border-radius: 44% 49% 42% 54%;
  background: rgba(255, 255, 255, .72);
  clip-path: polygon(10% 45%, 27% 20%, 54% 18%, 76% 31%, 88% 53%, 70% 72%, 43% 82%, 16% 70%);
}

.region {
  position: absolute;
  z-index: 2;
  min-width: 82px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 10px;
  padding: 8px;
  background: rgba(38, 50, 56, .94);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 34, 31, .14);
}

.region b,
.region span {
  display: block;
}

.region b {
  font-size: 12px;
}

.region span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
}

.r1 { right: 20px; bottom: 25px; }
.r2 { right: 34px; top: 56px; }
.r3 { left: 68px; top: 29px; }
.r4 { left: 25px; bottom: 43px; }

.route {
  position: absolute;
  z-index: 1;
  border-top: 2px dashed rgba(31, 107, 87, .42);
  transform-origin: left center;
}

.route.a { left: 88px; top: 78px; width: 91px; transform: rotate(12deg); }
.route.b { left: 78px; top: 158px; width: 122px; transform: rotate(-32deg); }
.route.c { left: 117px; top: 99px; width: 71px; transform: rotate(53deg); }

.supply-card,
.filter-panel,
.order-card,
.risk-card {
  margin: 0 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.supply-card {
  padding: 13px;
}

.chain-item {
  display: flex;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid #edf1ef;
}

.chain-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.chain-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.badge {
  flex: 0 0 34px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.green { background: var(--green); }
.blue { background: var(--blue); }
.amber { background: var(--gold); }

.filter-panel {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 9px;
}

.filter-panel button {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 8px 0;
  background: #edf2ee;
  color: #66756e;
  font-size: 10px;
  font-weight: 900;
}

.filter-panel .selected {
  background: #213b35;
  color: #fff;
}

.stepper {
  display: flex;
  gap: 6px;
  padding: 5px 15px 9px;
}

.stepper span {
  flex: 1;
  border-radius: 10px;
  padding: 7px 5px;
  background: #e5ece7;
  color: #718078;
  text-align: center;
  font-size: 9px;
  font-weight: 900;
}

.stepper .done {
  background: #263238;
  color: #fff;
}

.upload-box {
  margin: 0 15px 9px;
  border: 1px dashed rgba(18, 121, 95, .45);
  border-radius: 16px;
  padding: 12px 12px;
  background: #f8fbf8;
  text-align: center;
}

.upload-icon {
  width: 35px;
  height: 35px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #dceee7;
  color: var(--green);
  font-size: 25px;
  font-weight: 700;
}

.upload-box b {
  font-size: 13px;
}

.upload-box p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.publish-form {
  padding: 0 15px;
}

.publish-form label {
  display: block;
  margin-bottom: 7px;
}

.publish-form span {
  display: block;
  margin-bottom: 4px;
  color: #63716b;
  font-size: 10px;
  font-weight: 900;
}

.publish-form input {
  width: 100%;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.cert-row {
  display: flex;
  gap: 7px;
  padding: 0 15px 9px;
}

.cert-row span {
  flex: 1;
  border-radius: 10px;
  padding: 7px 6px;
  background: #fff6e5;
  color: #946416;
  text-align: center;
  font-size: 9px;
  font-weight: 900;
}

.primary-full {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 58px;
  width: auto;
  height: 38px;
  margin: 0;
  font-size: 13px;
  box-shadow: 0 8px 16px rgba(31, 107, 87, .16);
}

.detail-hero {
  height: 202px;
  padding: 40px 16px 0;
  background: #2f5f52;
}

.hero-top {
  display: flex;
  justify-content: space-between;
}

.hero-top button {
  width: 31px;
  height: 31px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.product-stack {
  position: relative;
  height: 124px;
}

.product-stack span {
  position: absolute;
  bottom: 6px;
  width: 48px;
  height: 92px;
  border-radius: 14px 14px 10px 10px;
  background: #dfe5e1;
  box-shadow: inset 0 8px 0 rgba(255, 255, 255, .72), 0 14px 20px rgba(0, 0, 0, .14);
}

.product-stack span:nth-child(1) { left: 54px; transform: rotate(-8deg); }
.product-stack span:nth-child(2) { left: 92px; bottom: 15px; height: 104px; background: #54796f; }
.product-stack span:nth-child(3) { left: 132px; transform: rotate(7deg); background: #c99a56; }

.detail-panel {
  position: relative;
  margin-top: -22px;
  min-height: 356px;
  border-radius: 23px 23px 0 0;
  padding: 16px 15px 70px;
  background: var(--paper);
}

.detail-title {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.detail-title h2 {
  font-size: 18px;
}

.detail-title p,
.desc,
.seller-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.factory,
.avatar {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #263238;
  color: #fff;
  font-weight: 900;
}

.quote-box {
  margin: 14px 0 12px;
  border-radius: 15px;
  padding: 12px;
  background: #fff;
}

.quote-box strong {
  color: var(--red);
  font-size: 24px;
}

.quote-box span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.quote-box em {
  display: block;
  margin-top: 5px;
  color: #8a938f;
  font-size: 10px;
  font-style: normal;
}

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

.spec-grid div {
  border-radius: 13px;
  padding: 9px 5px;
  background: #e7ede9;
  text-align: center;
}

.spec-grid b {
  display: block;
  font-size: 15px;
}

.spec-grid span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.purchase-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.mode-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 8px;
  background: #fff;
}

.mode-card.selected {
  border-color: rgba(31, 107, 87, .45);
  background: #f3faf6;
}

.mode-card b,
.mode-card span,
.mode-card em {
  display: block;
}

.mode-card b {
  font-size: 12px;
}

.mode-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
}

.mode-card em {
  margin-top: 5px;
  color: var(--red);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.deal-progress {
  height: 7px;
  margin: 0 0 12px;
  border-radius: 999px;
  background: #e2e6e3;
  overflow: hidden;
}

.deal-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.deal-progress.wide {
  height: 8px;
  margin: 9px 0 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 13px 0;
}

.timeline span {
  position: relative;
  border-radius: 9px;
  padding: 7px 0;
  background: #eaf2ed;
  color: var(--green);
  text-align: center;
  font-size: 9px;
  font-weight: 900;
}

.seller-card {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 10px;
  background: #fff;
}

.action-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 9px;
  padding: 10px 15px 14px;
  background: #fff;
}

.action-bar button {
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: #e7ede9;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.chat-head {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 8px;
  align-items: center;
  padding: 8px 13px 10px;
}

.chat-head button {
  height: 32px;
}

.chat-head b,
.chat-head span {
  display: block;
}

.chat-head b {
  font-size: 14px;
}

.chat-head span {
  margin-top: 3px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.deal-strip {
  display: grid;
  grid-template-columns: 43px 1fr 52px;
  gap: 9px;
  align-items: center;
  margin: 0 13px;
  border-radius: 14px;
  padding: 8px;
  background: #fff;
}

.mini-thumb {
  height: 43px;
  border-radius: 11px;
  background: linear-gradient(145deg, #173d35, #3fb293);
}

.deal-strip b {
  display: block;
  font-size: 11px;
}

.deal-strip p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.deal-strip button {
  border: 0;
  border-radius: 9px;
  padding: 7px 0;
  background: #e8f1ec;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}

.chat-body {
  height: 345px;
  padding: 15px 13px 0;
  overflow: hidden;
}

.chat-body.group-body {
  height: 334px;
  padding-top: 12px;
}

.group-summary {
  border: 1px solid #d7ddd9;
  border-radius: 14px;
  padding: 13px;
  background: #fff;
}

.group-summary p {
  margin: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.group-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1;
}

.group-summary span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.bubble {
  max-width: 188px;
  margin-bottom: 10px;
  border-radius: 15px;
  padding: 10px 11px;
  font-size: 11px;
  line-height: 1.45;
}

.seller {
  background: #fff;
  color: var(--ink);
}

.buyer {
  margin-left: auto;
  background: var(--green);
  color: #fff;
}

.quote-card {
  margin: 10px 0;
  border: 1px solid rgba(18, 121, 95, .2);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}

.quote-card p {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.quote-card div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid #edf1ef;
  font-size: 11px;
}

.quote-card div:first-of-type {
  border-top: 0;
}

.quote-card span {
  color: var(--muted);
}

.quote-card button {
  width: 100%;
  height: 34px;
  margin-top: 8px;
  font-size: 11px;
}

.participant-list {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.participant-list div {
  padding: 7px 11px;
  border-top: 1px solid #edf0ee;
}

.participant-list div:first-child {
  border-top: 0;
}

.participant-list b,
.participant-list span {
  display: block;
}

.participant-list b {
  font-size: 11px;
}

.participant-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.quick-actions {
  display: flex;
  gap: 7px;
  padding: 0 13px 6px;
}

.quick-actions span {
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.input-bar {
  display: grid;
  grid-template-columns: 28px 1fr 48px;
  gap: 8px;
  align-items: center;
  padding: 8px 13px 12px;
  background: #fff;
}

.input-bar span,
.input-bar p {
  border-radius: 11px;
  background: #edf2ee;
}

.input-bar span {
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
}

.input-bar p {
  margin: 0;
  padding: 7px 9px;
  color: #8b9691;
  font-size: 11px;
}

.input-bar button {
  height: 30px;
  font-size: 11px;
}

.wallet-card {
  margin: 7px 15px 13px;
  border-radius: 14px;
  padding: 16px;
  background: #2f5f52;
  color: #fff;
}

.wallet-card p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 800;
}

.wallet-card strong {
  display: block;
  margin: 8px 0 13px;
  font-size: 25px;
}

.wallet-card div {
  display: flex;
  gap: 8px;
}

.wallet-card span {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, .12);
  font-size: 10px;
  font-weight: 800;
}

.order-card {
  padding: 12px;
}

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.order-head span {
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff6e5;
  color: #956416;
  font-size: 9px;
  font-weight: 900;
}

.order-goods {
  display: flex;
  gap: 10px;
}

.order-goods p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 10px;
}

.order-goods strong {
  color: var(--red);
  font-size: 14px;
}

.progress {
  height: 7px;
  margin: 12px 0;
  border-radius: 999px;
  background: #e7ede9;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.order-actions button {
  height: 34px;
  border: 0;
  border-radius: 11px;
  background: #e8efeb;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.risk-card {
  margin-top: 10px;
  padding: 12px;
}

.risk-card b {
  font-size: 13px;
}

.risk-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
