/* ============================================================
   锡聚 · 设计系统
   工业可信风：深钢蓝 + 琥珀强调 + 冷灰底
   ============================================================ */

:root {
  --ink-900: #0b1a27;
  --ink-800: #12283a;
  --ink-700: #1d3a52;
  --ink-600: #2f5170;
  --ink-400: #6b8299;
  --ink-300: #94a8bb;
  --line: #e3e8ee;
  --line-strong: #d2dae3;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --brand: #16507f;
  --brand-dark: #0f3a5e;
  --brand-light: #e8f0f8;
  --amber: #e08b1a;
  --amber-light: #fdf3e3;
  --green: #15803d;
  --green-light: #e7f5ec;
  --red: #c0392b;
  --red-light: #fdecea;
  --violet: #6d4aff;
  --violet-light: #f0ecff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 39, .06), 0 1px 3px rgba(11, 26, 39, .04);
  --shadow: 0 4px 16px rgba(11, 26, 39, .07), 0 1px 3px rgba(11, 26, 39, .05);
  --shadow-lg: 0 18px 48px rgba(11, 26, 39, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-900);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 880px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo__mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ink-800), var(--brand));
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.logo__mark svg { width: 19px; height: 19px; }
.logo small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-400);
  letter-spacing: .06em;
  line-height: 1.1;
}
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a {
  font-size: 14.5px;
  color: var(--ink-600);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s;
}
.nav a:hover { color: var(--ink-900); }
.nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(22, 80, 127, .3);
}
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink-700);
}
.btn--ghost:hover { border-color: var(--ink-300); background: var(--surface-2); }
.btn--amber { background: var(--amber); color: #fff; }
.btn--amber:hover { background: #c97812; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn--lg { height: 48px; padding: 0 26px; font-size: 15.5px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ---------------- 徽章 ---------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge--green { background: var(--green-light); color: var(--green); }
.badge--blue { background: var(--brand-light); color: var(--brand); }
.badge--amber { background: var(--amber-light); color: #a8620b; }
.badge--red { background: var(--red-light); color: var(--red); }
.badge--violet { background: var(--violet-light); color: var(--violet); }
.badge--gray { background: #eef1f5; color: var(--ink-400); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------------- 区块标题 ---------------- */
.section { padding: 44px 0; }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section__title {
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section__title span.dot {
  width: 6px; height: 18px; border-radius: 3px; background: var(--amber);
}
.section__sub { font-size: 13.5px; color: var(--ink-400); margin-top: 4px; }
.section__more { font-size: 13.5px; color: var(--brand); font-weight: 600; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 420px at 82% -10%, rgba(22, 80, 127, .10), transparent 65%),
    linear-gradient(180deg, #fbfcfd 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 26, 39, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 26, 39, .032) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(760px 420px at 30% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 60px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-600);
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.18;
  margin: 18px 0 0;
  letter-spacing: -.028em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  white-space: nowrap;
  background: linear-gradient(transparent 68%, rgba(224, 139, 26, .26) 68%);
  padding: 0 2px;
}
.hero__lead {
  font-size: 16px;
  color: var(--ink-600);
  margin-top: 16px;
  max-width: 480px;
  line-height: 1.75;
}
.hero__cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
}
.hero__stat b {
  display: block;
  font-size: 25px;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.hero__stat span { font-size: 12.5px; color: var(--ink-400); }

/* ---------------- 地图面板 ---------------- */
.map-panel {
  position: relative;
  background: linear-gradient(160deg, #0d2133 0%, #123049 55%, #0a1b29 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: hidden;
  isolation: isolate;
}
.map-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 10px;
  color: #e8f1f8;
  flex-wrap: wrap;
}
.map-panel__head h3 { font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.map-panel__head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: #7fd3a1; font-weight: 600;
}
.map-panel__head .live i {
  width: 6px; height: 6px; border-radius: 50%; background: #38d07f;
  box-shadow: 0 0 0 0 rgba(56, 208, 127, .6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 208, 127, .55); }
  70% { box-shadow: 0 0 0 8px rgba(56, 208, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 208, 127, 0); }
}
.map-canvas { position: relative; height: 372px; }
.map-canvas svg { width: 100%; height: 100%; display: block; }

/* 地图上的类目筛选小胶囊 */
.map-filter {
  height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: #a8c0d2;
  font-size: 11.5px;
  cursor: pointer;
  transition: all .15s;
}
.map-filter:hover { border-color: rgba(255, 255, 255, .34); color: #dceaf4; }
.map-filter.is-on {
  background: #e8f1f8;
  border-color: #e8f1f8;
  color: var(--ink-900);
  font-weight: 650;
}
.map-legend {
  position: absolute;
  left: 16px; bottom: 14px;
  display: flex; gap: 14px; flex-wrap: wrap;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(9, 24, 37, .72);
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  color: #b9cddc;
}
.map-legend i {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px;
}
.map-tip {
  position: absolute;
  right: 14px; bottom: 14px;
  font-size: 11px;
  color: rgba(200, 218, 232, .55);
}
.map-hovercard {
  position: absolute;
  z-index: 6;
  min-width: 168px;
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(3, 12, 20, .35);
  font-size: 12.5px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .14s, transform .14s;
}
.map-hovercard.is-on { opacity: 1; transform: translateY(0); }
.map-hovercard b { display: block; font-size: 12.5px; line-height: 1.45; margin-bottom: 4px; color: var(--ink-900); }
.map-hovercard .price { color: var(--red); font-weight: 700; }
.map-hovercard .meta { color: var(--ink-400); font-size: 11.5px; margin-top: 3px; }

/* 地图点位 */
.map-dot { cursor: pointer; }
.map-dot circle.core { transition: r .15s, opacity .15s; }
.map-dot:hover circle.core { r: 6; }

@keyframes dotPulse {
  0%   { transform: scale(1);   opacity: .45; }
  60%  { transform: scale(3.1); opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}

/* ---------------- 类目导航 ---------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cat-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cat-card__icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--brand);
}
.cat-card__icon svg { width: 20px; height: 20px; }
.cat-card__title { font-size: 15.5px; font-weight: 700; }
.cat-card__count { font-size: 12px; color: var(--ink-400); font-weight: 500; }
.cat-card__links { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip {
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-700);
  transition: all .15s;
}
.cat-chip:hover { background: var(--brand-light); border-color: #c6dcf0; color: var(--brand); }
.cat-chip b { font-weight: 600; color: var(--ink-300); margin-left: 4px; font-variant-numeric: tabular-nums; }

/* ---------------- 卡片列表 ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .16s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__cover {
  position: relative;
  height: 132px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card__cover::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .55;
}
.card__cover svg {
  width: 56px;
  height: 56px;
  opacity: .86;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .22));
}
.card__cover-label {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  background: rgba(11, 26, 39, .34);
  border: 1px solid rgba(255,255,255,.18);
  padding: 3px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card__cover-verify {
  position: absolute;
  right: 10px; top: 10px;
  z-index: 2;
}
.card__body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card__title {
  font-size: 14.8px;
  font-weight: 650;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.3px;
  color: var(--ink-400);
  flex-wrap: wrap;
}
.card__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }
.card__price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.card__price b {
  font-size: 18px;
  color: var(--red);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.card__price .views { font-size: 11.5px; color: var(--ink-300); }
.card__tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* 封面配色（按一级类目） */
.cover--equipment { background: linear-gradient(140deg, #1b3d5a, #2b6390 60%, #35749f); }
.cover--property { background: linear-gradient(140deg, #4a3a1c, #8a6420 55%, #b3812a); }
.cover--vehicle { background: linear-gradient(140deg, #1c4536, #2a6b52 60%, #33805f); }
.cover--misc { background: linear-gradient(140deg, #2c3140, #454f66 60%, #556180); }

/* ---------------- 筛选项 ---------------- */
.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 84px;
}
.filters__group + .filters__group { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.filters__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.filter-list { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow: auto; }
.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-700);
  cursor: pointer;
  transition: background .12s;
}
.filter-item:hover { background: var(--surface-2); }
.filter-item.is-on { background: var(--brand-light); color: var(--brand); font-weight: 650; }
.filter-item span.n { font-size: 11.5px; color: var(--ink-300); font-variant-numeric: tabular-nums; }
.filter-item.is-on span.n { color: var(--brand); }
.filter-parent { font-size: 13.5px; font-weight: 700; color: var(--ink-900); padding: 8px 8px 4px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; }

/* ---------------- 表单 ---------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.field__label .req { color: var(--red); margin-left: 2px; }
.field__hint { font-size: 12px; color: var(--ink-400); }
input[type="text"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], select, textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
textarea { height: auto; min-height: 110px; padding: 11px 12px; line-height: 1.65; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 80, 127, .12);
}
input::placeholder, textarea::placeholder { color: var(--ink-300); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5L6 8.5L10 4.5' stroke='%236b8299' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__error { font-size: 12px; color: var(--red); display: none; }
.field.has-error .field__error { display: block; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--brand); }

/* ---------------- 留资卡 ---------------- */
.inquiry {
  background: linear-gradient(180deg, #fff, #fbfcfd);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.inquiry h3 { font-size: 16px; margin-bottom: 4px; }
.inquiry .sub { font-size: 12.8px; color: var(--ink-400); margin-bottom: 14px; }

/* ---------------- 详情页 ---------------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 26px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.detail-title { font-size: clamp(21px, 2.3vw, 27px); line-height: 1.35; letter-spacing: -.02em; }
.detail-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.detail-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-400); }
.note-box {
  background: linear-gradient(180deg, #f0f6fc, #f7fafd);
  border: 1px solid #d4e4f2;
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 14px 16px;
}
.note-box__title {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.8px; font-weight: 700; color: var(--brand);
  letter-spacing: .02em; margin-bottom: 6px;
}
.note-box__body { font-size: 13.8px; color: var(--ink-700); line-height: 1.75; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.8px; }
.spec-table tr + tr { border-top: 1px solid var(--line); }
.spec-table th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-400);
  padding: 10px 12px 10px 0;
  width: 104px;
  white-space: nowrap;
  vertical-align: top;
}
.spec-table td { padding: 10px 0; color: var(--ink-900); }
.prose { font-size: 15px; line-height: 1.85; color: var(--ink-700); white-space: pre-wrap; }
.divider { height: 1px; background: var(--line); margin: 20px 0; }

/* 走势图 */
.trend { position: relative; height: 172px; }
.trend svg { width: 100%; height: 100%; overflow: visible; }
.trend-legend { display: flex; gap: 16px; font-size: 12px; color: var(--ink-400); margin-top: 6px; }

/* 画廊 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery__item {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--ink-300);
}

/* ---------------- 面包屑 ---------------- */
.crumbs {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.8px; color: var(--ink-400);
  padding: 18px 0 0;
  flex-wrap: wrap;
}
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--ink-300); }

/* ---------------- 发布页 ---------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--ink-400);
  margin-bottom: 22px;
}
.step { display: flex; align-items: center; gap: 7px; }
.step i {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: #eef1f5; color: var(--ink-400);
  font-size: 11px; font-style: normal; font-weight: 700;
}
.step.is-on { color: var(--ink-900); font-weight: 600; }
.step.is-on i { background: var(--brand); color: #fff; }
.step-line { flex: 1; height: 1px; background: var(--line-strong); }
.extras {
  background: #f6fafd;
  border: 1px dashed #c3dbee;
  border-radius: 12px;
  padding: 16px;
}
.extras__title {
  font-size: 12.8px; font-weight: 700; color: var(--brand);
  margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}

/* ---------------- 估价器 ---------------- */
.valuation-result {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow);
}
.valuation-result__label { font-size: 13px; color: var(--ink-400); letter-spacing: .06em; }
.valuation-result__range {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.03em;
  margin: 8px 0 6px;
  font-variant-numeric: tabular-nums;
}
.valuation-result__mid { font-size: 13.5px; color: var(--ink-400); }
.breakdown { margin-top: 24px; text-align: left; border-top: 1px solid var(--line); }
.breakdown__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.8px;
}
.breakdown__row .k { color: var(--ink-600); display: flex; flex-direction: column; }
.breakdown__row .k small { color: var(--ink-300); font-size: 11.8px; margin-top: 2px; }
.breakdown__row .v { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------------- 动态流 ---------------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--line-strong), transparent);
}
.tl-item { position: relative; padding-bottom: 20px; }
.tl-item::before {
  content: ""; position: absolute; left: -24px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
}
.tl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s;
}
.tl-card:hover { border-color: var(--line-strong); transform: translateX(2px); }
.tl-card__main { flex: 1; min-width: 0; }
.tl-card__time { font-size: 11.8px; color: var(--ink-300); white-space: nowrap; }

/* ---------------- 信任条 ---------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust__item { background: var(--surface); padding: 20px 18px; display: flex; gap: 12px; }
.trust__icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--green-light); color: var(--green);
}
.trust__icon svg { width: 17px; height: 17px; }
.trust__item h4 { font-size: 13.6px; margin-bottom: 3px; }
.trust__item p { font-size: 12.3px; color: var(--ink-400); line-height: 1.55; }

/* ---------------- CTA 区块 ---------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--ink-900), #16405f 62%, #1d5578);
  color: #fff;
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-band::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 139, 26, .28), transparent 68%);
}
.cta-band h2 { font-size: 23px; letter-spacing: -.02em; }
.cta-band p { color: rgba(255,255,255,.72); font-size: 14px; margin-top: 8px; max-width: 520px; }
.cta-band .btn--amber { flex-shrink: 0; position: relative; z-index: 1; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 34px 0 40px;
  font-size: 13px;
  color: var(--ink-400);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
}
.site-footer h5 { font-size: 12.5px; color: var(--ink-900); margin-bottom: 10px; letter-spacing: .04em; }
.site-footer a { display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--brand); }
.site-footer__bottom {
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.2px; color: var(--ink-300);
}

/* ---------------- 骨架屏 / 状态 ---------------- */
.skeleton {
  background: linear-gradient(90deg, #eef1f5 25%, #f6f8fa 37%, #eef1f5 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
  border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skel-card { height: 272px; border-radius: var(--radius); }
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-400);
  font-size: 14px;
}
.empty svg { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--ink-300); }
.offline-bar {
  position: fixed;
  left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 90;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  display: none;
}
.offline-bar.is-on { display: block; }

/* Toast */
.toast-host {
  position: fixed;
  right: 22px; top: 22px;
  z-index: 120;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  min-width: 240px;
  max-width: 360px;
  padding: 12px 15px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  box-shadow: var(--shadow-lg);
  font-size: 13.6px;
  animation: toastIn .22s ease;
}
.toast--ok { border-left-color: var(--green); }
.toast--err { border-left-color: var(--red); }
.toast--warn { border-left-color: var(--amber); }
.toast b { display: block; font-size: 12.5px; margin-bottom: 2px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pager button {
  min-width: 36px; height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13.5px;
  color: var(--ink-700);
  cursor: pointer;
}
.pager button:hover:not([disabled]) { border-color: var(--ink-300); }
.pager button.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager button[disabled] { opacity: .45; cursor: not-allowed; }
.pager .pinfo { font-size: 12.6px; color: var(--ink-400); margin-left: 8px; }

/* ---------------- 后台 ---------------- */
.admin-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.admin-shell > section { min-width: 0; }
.admin-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 84px;
}
.admin-side a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 9px;
  font-size: 14px; color: var(--ink-700);
}
.admin-side a.is-on { background: var(--brand-light); color: var(--brand); font-weight: 650; }
.admin-side a:hover { background: var(--surface-2); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 25px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.3px; color: var(--ink-400); }
.stat--amber b { color: var(--amber); }
.stat--green b { color: var(--green); }
.stat--red b { color: var(--red); }

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: var(--shadow-sm);
}
table.data { width: 100%; border-collapse: collapse; font-size: 13.4px; }
table.data th {
  text-align: left; font-weight: 600; font-size: 12px;
  color: var(--ink-400); letter-spacing: .05em; text-transform: uppercase;
  padding: 11px 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #fcfdfe; }
.row-actions { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; }
.link-btn {
  background: none; border: none; padding: 0;
  font-size: 12.6px; color: var(--brand); cursor: pointer; font-weight: 600;
}
.link-btn:hover { text-decoration: underline; }
.link-btn--red { color: var(--red); }
.link-btn--muted { color: var(--ink-400); }

/* 登录卡 */
.login-wrap { min-height: 78vh; display: grid; place-items: center; padding: 40px 20px; }
.login-card {
  width: 100%; max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding: 40px 0 44px; }
  .detail-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: static; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; }
  .admin-side a { white-space: nowrap; flex: 0 0 auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .hero h1 { font-size: 27px; }
  .hero__stats { gap: 20px; }
  .hero__stat b { font-size: 21px; }
  .card-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .trust { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 26px; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .map-canvas { height: 300px; }
  .hide-sm { display: none !important; }
}

/* ============================================================
   移动端底部主导航（桌面隐藏）
   ============================================================ */
.mobile-tabbar { display: none; }

@media (max-width: 720px) {
  body.has-tabbar { padding-bottom: 78px; }

  .mobile-tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 2px;
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px rgba(11, 26, 39, .08);
  }
  .mobile-tabbar a {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 5px 0 3px;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink-400);
    text-decoration: none;
    border-radius: 10px;
  }
  .mobile-tabbar a.is-active { color: var(--brand); }
  .mobile-tabbar__ico { display: grid; place-items: center; height: 22px; }
  .mobile-tabbar__accent { color: var(--brand); }
  .mobile-tabbar__accent .mobile-tabbar__ico {
    width: 42px; height: 42px;
    margin-top: -20px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, var(--brand), var(--brand-dark));
    box-shadow: 0 8px 18px rgba(22, 80, 127, .34);
  }
  .mobile-tabbar__accent span:last-child { margin-top: 2px; }

  .hero__eyebrow { font-size: 11.5px; padding: 0 10px; gap: 6px; }
}

/* ---------- 列表页布局：桌面侧栏 / 移动端可折叠 ---------- */
.listings-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.filters-toggle { display: none; }

@media (max-width: 720px) {
  .listings-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .filters-toggle { display: inline-flex; }
  .filters { display: none; }
  .filters.is-open { display: block; }
  .filters .filter-list { max-height: 210px; }
}

/* ---------- 估价页布局 ---------- */
.val-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 720px) {
  .val-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .spec-table th { width: 84px; white-space: normal; }
}

/* ============================================================
   本地生活服务：色调体系
   ============================================================ */
.svc--errand { background: linear-gradient(145deg, #1f6f93, #14507a); }
.svc--house { background: linear-gradient(145deg, #2f8759, #166534); }
.svc--care { background: linear-gradient(145deg, #7c5cf0, #4c2fd6); }
.svc--repair { background: linear-gradient(145deg, #d08b1c, #a35f0f); }
.svc--misc { background: linear-gradient(145deg, var(--ink-700), var(--brand)); }

/* ---------- 首页：快捷下单面板 ---------- */
.quick-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 18px 14px;
}
.quick-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.quick-panel__head h3 { font-size: 16px; font-weight: 800; color: var(--ink-900); }
.quick-panel__more {
  display: block;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-align: center;
}
.quick-list { display: grid; gap: 8px; }
.quick-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink-900);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.quick-item:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.quick-item__ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex: none;
}
.quick-item__text { display: grid; gap: 2px; min-width: 0; }
.quick-item__text b { font-size: 14.5px; font-weight: 700; }
.quick-item__text i {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-400);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quick-item__price {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
}
.quick-item > svg { color: var(--ink-300); flex: none; }

/* ---------- 首页：服务类目大卡 ---------- */
.life-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.life-card {
  display: flex;
  gap: 13px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink-900);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.life-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.life-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex: none;
}
.life-card__body { min-width: 0; }
.life-card__title { font-size: 15.5px; font-weight: 800; }
.life-card__tag {
  font-size: 12.5px;
  color: var(--ink-400);
  margin-top: 3px;
  line-height: 1.5;
}
.life-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-400);
}
.life-card__meta b { color: var(--amber); font-size: 13px; margin-left: auto; }

/* ---------- 服务卡片 ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 17px 17px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink-900);
  transition: transform .16s, box-shadow .16s;
}
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-card__head { display: flex; gap: 11px; align-items: flex-start; }
.svc-card__icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  flex: none;
}
.svc-card__titles { min-width: 0; }
.svc-card__cat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-400);
  letter-spacing: .02em;
}
.svc-hot {
  background: var(--amber-light);
  color: #a35f0f;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}
.svc-card__titles h3 {
  font-size: 14.8px;
  font-weight: 700;
  line-height: 1.42;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card__sub {
  font-size: 12.8px;
  color: var(--ink-400);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.svc-card__tags span {
  font-size: 11.5px;
  color: var(--ink-600);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}
.svc-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.svc-price b {
  font-size: 18px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.02em;
}
.svc-price em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--ink-300);
  margin-top: 2px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-rate {
  font-size: 11.5px;
  color: var(--ink-400);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.skel-svc { height: 218px; border-radius: var(--radius); }

/* ---------- 首页：三步流程 ---------- */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.how__item { display: flex; gap: 12px; }
.how__num {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
}
.how__item h4 { font-size: 14.5px; font-weight: 700; }
.how__item p { font-size: 12.8px; color: var(--ink-400); line-height: 1.65; margin-top: 4px; }

/* ---------- 首页：设备板块 ---------- */
.equip-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.equip-side { display: grid; gap: 12px; }
.equip-cats { display: grid; gap: 8px; }
.equip-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-900);
  font-size: 13.5px;
  font-weight: 600;
}
.equip-cat:hover { border-color: var(--line-strong); }
.equip-cat__icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  flex: none;
}
.equip-cat__name { min-width: 0; }
.equip-cat b { margin-left: auto; color: var(--ink-400); font-size: 13px; }
.equip-list { display: grid; gap: 8px; }
.equip-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-900);
}
.equip-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.equip-row__main { min-width: 0; }
.equip-row__title {
  font-size: 13.8px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.equip-row__meta {
  font-size: 11.8px;
  color: var(--ink-400);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.equip-row__price { margin-left: auto; color: var(--red); font-size: 15px; white-space: nowrap; }

@media (max-width: 1040px) {
  .life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equip-layout { grid-template-columns: minmax(0, 1fr); }
  .how { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 720px) {
  .life-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .quick-panel { padding: 15px 14px 12px; }
  .hero--life .hero__inner { padding-top: 26px; }
}

/* ============================================================
   生活服务：大厅 / 详情 / 下单 / 订单查询
   ============================================================ */
.page-head { padding: 26px 0 6px; }
.crumb { font-size: 12.8px; color: var(--ink-400); display: flex; flex-wrap: wrap; gap: 4px; }
.crumb a { color: var(--ink-400); }
.crumb a:hover { color: var(--brand); }
.page-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.page-head__lead { font-size: 14px; color: var(--ink-400); margin-top: 8px; max-width: 640px; line-height: 1.7; }

/* ---------- 服务大厅工具栏 ---------- */
.svc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}
.svc-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-600);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.svc-tab span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-300);
  background: var(--bg);
  border-radius: 999px;
  padding: 1px 6px;
}
.svc-tab:hover { border-color: var(--brand-light); color: var(--brand); }
.svc-tab.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.svc-tab.is-on span { background: rgba(255,255,255,.2); color: #fff; }
.svc-tools { display: flex; gap: 8px; }
.svc-tools select { height: 38px; width: auto; min-width: 128px; }
.svc-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-400);
  margin-bottom: 14px;
}
.pager-host { margin-top: 26px; }

/* ---------- 服务详情 ---------- */
.svc-detail { padding-bottom: 52px; }
.svc-hero {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 26px 24px;
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow);
}
.svc-hero__icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  flex: none;
}
.svc-hero__cat { font-size: 12.5px; font-weight: 600; opacity: .82; letter-spacing: .04em; }
.svc-hero__body h1 { font-size: 25px; font-weight: 800; margin-top: 6px; line-height: 1.32; }
.svc-hero__body p { font-size: 13.5px; opacity: .86; margin-top: 7px; line-height: 1.6; }
.svc-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.8px;
  opacity: .92;
}
.svc-hero__meta .sep { background: rgba(255,255,255,.35); }

.panel__title {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel__title::before {
  content: "";
  width: 4px; height: 15px;
  border-radius: 2px;
  background: var(--brand);
}
.svc-tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc-tagrow span {
  font-size: 12px;
  color: var(--bench, var(--ink-600));
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600;
}
.includes { display: grid; gap: 9px; }
.includes li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.6;
}
.includes__tick {
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: grid; place-items: center;
  flex: none;
  margin-top: 2px;
}
.panel--notice { background: #fffdf7; border-color: #f0e2c8; }
.panel--notice .panel__title::before { background: var(--amber); }
.notice-text { font-size: 13.8px; color: #7a5a1e; line-height: 1.75; }

.provider { display: flex; gap: 14px; align-items: flex-start; }
.provider__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ink-700), var(--brand));
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: grid; place-items: center;
  flex: none;
}
.provider__name {
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.provider__body p { font-size: 13.5px; color: var(--ink-400); line-height: 1.65; margin-top: 6px; }
.provider__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--ink-400);
}

/* ---------- 下单卡片 ---------- */
.order-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.order-card__price { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-card__price b {
  font-size: 27px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.02em;
}
.order-card__price em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: var(--ink-400);
  margin-top: 4px;
}
.order-form { display: grid; gap: 12px; margin-top: 14px; }
.order-form .field { display: grid; gap: 5px; }
.order-form input, .order-form select, .order-form textarea { height: 40px; }
.order-form textarea { height: auto; min-height: 62px; resize: vertical; }
.amount-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-600);
  margin-top: 2px;
}
.amount-box b { font-size: 22px; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.amount-note { font-size: 11.8px; color: var(--ink-300); line-height: 1.6; margin-top: -4px; }
.order-card__tip { font-size: 11.8px; color: var(--ink-300); line-height: 1.65; text-align: center; }

/* ---------- 下单成功 ---------- */
.order-success { text-align: center; padding: 4px 0 0; }
.order-success__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  margin: 0 auto 12px;
  box-shadow: 0 8px 20px rgba(21, 128, 61, .28);
}
.order-success h3 { font-size: 19px; font-weight: 800; }
.order-success__code {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 8px;
  padding: 5px 12px;
  letter-spacing: .04em;
}
.order-success__tip { font-size: 12.8px; color: var(--ink-400); line-height: 1.65; margin-top: 12px; }
.order-success__dl { margin: 16px 0 18px; text-align: left; font-size: 13.2px; }
.order-success__dl > div {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px dashed var(--line);
}
.order-success__dl > div:first-child { border-top: none; }
.order-success__dl dt { color: var(--ink-400); flex: none; width: 68px; }
.order-success__dl dd { color: var(--ink-900); font-weight: 600; }
.order-success__dl .red { color: var(--red); }

/* ---------- 订单查询 ---------- */
.lookup-panel { margin-top: 16px; }
.lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.lookup-form .field { display: grid; gap: 5px; }
.lookup-form input { height: 42px; }
.lookup-form .btn { height: 42px; padding: 0 22px; }
.orders-host { margin-top: 22px; }
.orders-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.orders-head h2 { font-size: 16.5px; font-weight: 800; }
.orders-head span { font-size: 12.5px; color: var(--ink-400); }
.orders-list { display: grid; gap: 12px; }
.order-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.order-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.order-item__code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-400);
  letter-spacing: .04em;
}
.order-item__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-900);
  display: block;
}
.order-item__title:hover { color: var(--brand); }
.order-item__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-400);
  margin-top: 7px;
}
.order-item__addr { font-size: 12.8px; color: var(--ink-600); margin-top: 5px; line-height: 1.55; }
.order-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.order-item__amount { font-size: 19px; font-weight: 800; color: var(--red); }
.order-item__provider { font-size: 12.5px; color: var(--ink-400); }
.order-item__note {
  margin-top: 10px;
  font-size: 12.5px;
  color: #7a5a1e;
  background: #fffdf7;
  border: 1px solid #f0e2c8;
  border-radius: 10px;
  padding: 8px 11px;
  line-height: 1.6;
}

/* 订单进度 */
.order-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 13px;
  font-size: 11.8px;
}
.order-step {
  color: var(--ink-300);
  font-weight: 600;
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg);
}
.order-step.is-done { background: var(--green-light); color: var(--green); }
.order-step.is-cancel { background: var(--red-light); color: var(--red); }
.order-step__line {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  margin: 0 4px;
}
.order-help {
  margin-top: 30px;
  padding: 18px 20px;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.order-help h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.order-help p { font-size: 12.8px; color: var(--ink-400); line-height: 1.85; }
.order-help code {
  font-family: var(--mono);
  background: var(--bg);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
}

@media (max-width: 720px) {
  .page-head h1 { font-size: 24px; }
  .svc-hero { flex-direction: column; padding: 20px; gap: 13px; }
  .svc-hero__icon { width: 54px; height: 54px; border-radius: 15px; }
  .svc-hero__body h1 { font-size: 20px; }
  .lookup-form { grid-template-columns: minmax(0, 1fr); }
  .svc-toolbar { align-items: stretch; }
  .svc-tools { width: 100%; }
  .svc-tools select { flex: 1; min-width: 0; }
}
.svc-hero__body { flex: 1; min-width: 0; }

/* ---------- 后台：预约管理 ---------- */
.stat-grid { grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); }
.admin-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.admin-panel__title { font-size: 17px; font-weight: 800; }
.admin-panel__sub { font-size: 12.5px; color: var(--ink-400); margin-top: 5px; }
.admin-chiprow { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-chip {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-600);
  font-size: 12.8px;
  font-weight: 600;
  cursor: pointer;
}
.admin-chip:hover { border-color: var(--brand-light); color: var(--brand); }
.admin-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cell-title { font-size: 13.5px; font-weight: 600; color: var(--ink-900); }
.cell-sub { font-size: 11.8px; color: var(--ink-400); margin-top: 3px; }
.cell-addr { font-size: 12.5px; color: var(--ink-600); max-width: 220px; line-height: 1.5; }
.data td.mono { font-family: var(--mono); font-size: 12.2px; color: var(--ink-600); }
.btn--xs { height: 26px; padding: 0 9px; font-size: 12px; border-radius: 7px; }

/* 预约表格：列多，给最小宽度让它横向滚动而不是把字挤成竖排 */
.data--orders { min-width: 940px; }
.data--orders th:nth-child(2), .data--orders td:nth-child(2) { min-width: 168px; }
.data--orders th:nth-child(4), .data--orders td:nth-child(4) { min-width: 108px; }
.data--orders th:nth-child(5), .data--orders td:nth-child(5) { min-width: 168px; }
.data--orders td .row-actions { flex-wrap: nowrap; }
.data--orders td { vertical-align: middle; }
.stat-grid { grid-template-columns: repeat(auto-fit, minmax(146px, 1fr)); }

/* 预约表格 6 列版：重新分配宽度 */
.data--orders { min-width: 820px; }
.data--orders th:nth-child(1), .data--orders td:nth-child(1) { min-width: 190px; }
.data--orders th:nth-child(3), .data--orders td:nth-child(3) { min-width: 104px; }
.data--orders th:nth-child(4), .data--orders td:nth-child(4) { min-width: 150px; }
.data--orders th:nth-child(5), .data--orders td:nth-child(5) { min-width: 92px; }
.cell-amount { font-size: 15px; font-weight: 800; color: var(--red); }
.data--orders .cell-sub.mono { font-family: var(--mono); letter-spacing: .02em; }

/* 服务商品表格 7 列 */
.data--services { min-width: 860px; }
.data--services th:nth-child(1), .data--services td:nth-child(1) { min-width: 200px; }
.data--services th:nth-child(2), .data--services td:nth-child(2) { min-width: 100px; }
.data--services th:nth-child(3), .data--services td:nth-child(3) { min-width: 160px; }
.data--services th:nth-child(4), .data--services td:nth-child(4) { min-width: 130px; }
.data--services td { vertical-align: middle; }
.data--services td .row-actions { flex-wrap: nowrap; }
