* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #f5f7f6;
  color: #1f2937;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: #1f6e53; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ================= 顶部条 ================= */
.topbar {
  background: #0b2b3b;
  color: #cfe0e8;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.topbar-contact { color: #a8c4d0; }
.topbar-user { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.topbar-user a { color: #d9ecf5; font-weight: 500; }
.topbar-user a:hover { color: #fff; }
.topbar-user .hi { color: #8fd3b6; }

/* ================= 头部 ================= */
.header { background: linear-gradient(135deg, #0b2b3b 0%, #17505f 100%); color: #fff; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 14px;
}
.logo { color: #fff; }
.logo:hover { text-decoration: none; }
.logo strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: .2px; }
.logo small { display: block; font-size: 12.5px; color: #9fc4cf; margin-top: 4px; letter-spacing: 1px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: #2c7a5e; color: #fff; }
.btn-primary:hover { background: #24684f; }
.btn-accent { background: #f5b042; color: #40300a; }
.btn-accent:hover { background: #e8a22f; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-line { background: #fff; color: #1f6e53; border-color: #cfe3da; }
.btn-line:hover { border-color: #2c7a5e; }
.btn-sm { padding: 5px 14px; font-size: 13px; }
.btn-block { display: block; width: 100%; text-align: center; padding: 12px; font-size: 15px; }
.btn-danger { background: #fff; color: #b4423a; border-color: #eac7c4; }
.btn-danger:hover { background: #fdf3f2; }
.btn-ok { background: #2c7a5e; color: #fff; }

/* 导航 */
.nav { border-top: 1px solid rgba(255,255,255,.12); }
.nav .wrap { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  color: #dceaf0;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.nav a.on { color: #fff; border-bottom-color: #f5b042; background: rgba(255,255,255,.1); }

/* ================= 通用区块 ================= */
main { padding: 26px 0 40px; }

.card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.03);
}
.card-tight { padding: 20px 22px; }

.sec-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f3b2c;
  border-left: 5px solid #2c7a5e;
  padding-left: 12px;
  margin-bottom: 18px;
}
.sec-title small { font-size: 13px; color: #7b8b86; font-weight: 400; margin-left: 10px; }
.sec-sub { font-size: 16px; font-weight: 600; color: #2c5a4a; margin: 18px 0 10px; }
.muted { color: #6b7c78; font-size: 13px; }
.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.mb8 { margin-bottom: 8px; } .mb16 { margin-bottom: 16px; }
.hr { height: 1px; background: #e8eeeb; margin: 18px 0; border: 0; }

.grid2, .grid3, .grid4 { display: grid; gap: 18px; }
.grid2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.box {
  background: #fdfefe;
  border: 1px solid #e9f0ec;
  border-radius: 12px;
  padding: 18px 20px;
}
.box h3 { font-size: 16.5px; color: #1f5e4a; margin-bottom: 8px; }
.box p { font-size: 14px; color: #4b5563; }

.badge {
  display: inline-block;
  background: #e6f4ed;
  color: #1f6e53;
  padding: 2px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
}
.badge-warn { background: #fdf1dd; color: #a9741a; }
.badge-gray { background: #eef1f0; color: #63736e; }
.badge-red { background: #fdeceb; color: #b4423a; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }

.highlight {
  background: #fef9e3;
  border-left: 4px solid #f5b042;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.notice {
  background: #eef7f3;
  border: 1px solid #d3e9de;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #25604b;
}
.notice-warn { background: #fdf6e8; border-color: #f2ddb0; color: #8a6417; }
.notice-error { background: #fdeeed; border-color: #f0cdca; color: #a6392f; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 14px;
  background: #f1f9f5; border-radius: 12px; padding: 18px;
}
.trust-strip div { flex: 1; min-width: 170px; text-align: center; font-size: 13.5px; color: #2d5b4b; }

/* ================= 首页 ================= */
.hero {
  background: linear-gradient(135deg, #0e3a35 0%, #1f6e53 60%, #2c7a5e 100%);
  border-radius: 16px;
  color: #fff;
  padding: 40px 36px;
  margin-bottom: 22px;
}
.hero h2 { font-size: 30px; line-height: 1.35; margin-bottom: 12px; letter-spacing: .5px; }
.hero p { font-size: 15px; color: #d6ece3; max-width: 780px; }
.hero .hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats div { border-left: 2px solid rgba(255,255,255,.35); padding-left: 14px; }
.hero-stats b { display: block; font-size: 24px; color: #ffe6b8; }
.hero-stats span { font-size: 12.5px; color: #bcd8ce; }

/* ================= 供需广场列表 ================= */
.filter-bar { display: grid; gap: 12px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.filter-row .lbl { color: #6b7c78; min-width: 56px; }
.filter-row a {
  padding: 3px 13px;
  border-radius: 999px;
  color: #40514c;
  border: 1px solid transparent;
}
.filter-row a:hover { background: #eef4f1; text-decoration: none; }
.filter-row a.on { background: #2c7a5e; color: #fff; }

.search-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.search-form input[type=text] {
  flex: 1; min-width: 220px;
  padding: 10px 14px; border: 1px solid #dbe5e1; border-radius: 8px; font-size: 14px;
}
.search-form select, .form select, .form input[type=text], .form input[type=password],
.form input[type=tel], .form input[type=email], .form textarea {
  padding: 10px 12px; border: 1px solid #dbe5e1; border-radius: 8px; font-size: 14px;
  font-family: inherit; background: #fff; color: #1f2937;
}
.search-form select { padding: 10px 12px; border: 1px solid #dbe5e1; border-radius: 8px; font-size: 14px; background: #fff; }

.info-list { display: grid; gap: 14px; }
.info-item {
  background: #fff; border: 1px solid #edf2f0; border-radius: 12px;
  padding: 18px 20px; transition: box-shadow .18s, transform .18s;
}
.info-item:hover { box-shadow: 0 8px 22px -12px rgba(0,0,0,.18); transform: translateY(-1px); }
.info-item h3 { font-size: 17px; margin-bottom: 8px; }
.info-item h3 a { color: #17402f; }
.info-item h3 a:hover { color: #2c7a5e; }
.info-item .desc { font-size: 13.5px; color: #55615d; margin-bottom: 10px; }
.info-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: #83948f; align-items: center; }
.info-meta .pub { color: #4a5a56; }

.pager { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.pager a, .pager span {
  min-width: 36px; height: 36px; line-height: 34px; text-align: center;
  border: 1px solid #dfe8e4; border-radius: 8px; padding: 0 11px; font-size: 14px; color: #40514c;
  background: #fff;
}
.pager a:hover { border-color: #2c7a5e; color: #2c7a5e; text-decoration: none; }
.pager span.on { background: #2c7a5e; border-color: #2c7a5e; color: #fff; }

/* ================= 详情页 ================= */
.detail-head h1 { font-size: 24px; color: #133327; line-height: 1.45; margin-bottom: 12px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #7b8b86; align-items: center; }
.detail-content { font-size: 15.5px; color: #2f3d39; }
.detail-content p { margin: 12px 0; }

.contact-panel { background: #f6faf8; border: 1px solid #e2ede8; border-radius: 12px; padding: 18px 20px; }
.contact-panel .row { display: flex; gap: 10px; font-size: 14.5px; margin-bottom: 8px; }
.contact-panel .row b { min-width: 76px; color: #55706a; font-weight: 500; }
.phone-big { font-size: 22px; font-weight: 700; color: #2c7a5e; letter-spacing: .5px; }
.locked { color: #8a9a95; font-size: 14px; }

/* ================= 表单 ================= */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 6px; }
.form-row > label { font-size: 14px; font-weight: 600; color: #2f423c; }
.form-row .req { color: #c0392b; }
.form-hint { font-size: 12.5px; color: #86958f; }
.form-2col { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.form textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.form-narrow { max-width: 620px; }
.checkline { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }
.checkline input { margin-top: 5px; }
.file-input { border: 1px dashed #c8d8d2; background: #f8fbfa; border-radius: 8px; padding: 12px; font-size: 13.5px; width: 100%; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid #e6edea; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 9px 18px; font-size: 14.5px; color: #4a5a56; border-bottom: 3px solid transparent; }
.tabs a.on { color: #1f6e53; border-bottom-color: #2c7a5e; font-weight: 600; }

table.list { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.list th, table.list td { border-bottom: 1px solid #eef2f0; padding: 10px 10px; text-align: left; vertical-align: top; }
table.list th { background: #f7faf9; color: #47605a; font-weight: 600; white-space: nowrap; }
table.list tr:hover td { background: #fbfdfc; }
.tag-type { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 12px; background: #eef1f0; color: #55635f; }
.tag-type.personal { background: #eaf1fb; color: #37618f; }
.tag-type.company { background: #fdf1dd; color: #96661a; }

/* 弹窗 */
.modal { display: none; position: fixed; inset: 0; background: rgba(12,32,28,.55); z-index: 1000; padding: 40px 18px; overflow: auto; }
.modal.show { display: block; }
.modal-box { background: #fff; border-radius: 14px; max-width: 820px; margin: 0 auto; padding: 26px 30px; }
.modal-box h3 { font-size: 18px; margin-bottom: 12px; color: #14372b; }
.modal-box .body { max-height: 56vh; overflow: auto; font-size: 14px; color: #37453f; }
.modal-box .body h4 { margin: 14px 0 6px; font-size: 14.5px; color: #1f5e4a; }
.modal-box .body p { margin: 8px 0; }
.modal-actions { margin-top: 18px; display: flex; gap: 12px; justify-content: flex-end; }

/* 页脚 */
.footer { background: #0e2a2f; color: #b9cfc9; padding: 24px 0 20px; margin-top: 20px; font-size: 13.5px; }
.footer a { color: #a9d6c6; }
.footer p { margin: 6px 0; line-height: 1.8; }
.footer-bottom { text-align: center; line-height: 2; }
.footer-bottom .icp a { color: #cfe6dd; }
.footer-bottom .copy { color: #86a09a; font-size: 12.5px; }
.footer .disclaimer { color: #86a09a; font-size: 12px; margin-top: 12px; text-align: center; }

/* 步骤条 */
.steps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.steps div {
  flex: 1; min-width: 160px; background: #f4f8f6; border-radius: 10px; padding: 12px 14px;
  font-size: 13px; color: #4a5a56; border-left: 3px solid #2c7a5e;
}
.steps b { display: block; color: #1f5e4a; font-size: 14px; margin-bottom: 2px; }

.empty { text-align: center; color: #86958f; padding: 40px 10px; font-size: 14px; }

@media (max-width: 700px) {
  .hero { padding: 28px 22px; }
  .hero h2 { font-size: 22px; }
  .logo strong { font-size: 19px; }
  .card { padding: 20px 18px; }
  .nav a { padding: 10px 13px; font-size: 14px; }
  .topbar-contact { display: none; }
  table.list { font-size: 12.5px; }
}
