/* 巩义市心遇之恋婚介有限公司 · 租房信息发布平台 */

:root {
  --brand: #1c6b5f;
  --brand-d: #14554b;
  --brand-l: #2b8b79;
  --brand-soft: #eaf3f0;
  --accent: #c8894a;
  --accent-soft: #fbf4ea;
  --ink: #1b2422;
  --ink2: #43514e;
  --muted: #7d8b87;
  --line: #e3e9e6;
  --line2: #eef2f0;
  --bg: #f5f7f6;
  --card: #ffffff;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 50, 45, .05), 0 10px 26px -14px rgba(20, 50, 45, .18);
  --shadow-hover: 0 2px 4px rgba(20, 50, 45, .06), 0 18px 36px -16px rgba(20, 50, 45, .26);
}

* { box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-l); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: .2px; }
p { margin: 0 0 12px; }
input, select, textarea, button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.only-mobile { display: none; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------- 页头 */

.site-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}

.head-inner { display: flex; align-items: center; gap: 22px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark { display: flex; }
.logo-mark { display: block; border-radius: 12.5px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .3px; }
.brand__sub { font-size: 12px; color: var(--muted); letter-spacing: 1.4px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.site-nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink2);
  font-size: 15px;
  position: relative;
}
.site-nav__link:hover { background: var(--brand-soft); color: var(--brand-d); }
.site-nav__link.is-on { color: var(--brand-d); font-weight: 600; }
.site-nav__link.is-on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}

.head-account { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-link, .head-user {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 8px; color: var(--ink2);
  background: none; border: 0; cursor: pointer; font-size: 14px;
}
.head-link:hover, .head-user:hover { background: var(--brand-soft); color: var(--brand-d); }
.head-user { font-weight: 600; color: var(--brand-d); }

.site-head .nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; cursor: pointer; color: var(--ink2);
}
.site-head .nav-toggle svg.i { width: 20px; height: 20px; }

/* ------------------------------------------------------------- 按钮 */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink2);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background .16s, border-color .16s, color .16s, box-shadow .16s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--brand); color: var(--brand-d); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; box-shadow: 0 8px 18px -10px var(--brand); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: #b87a3c; border-color: #b87a3c; color: #fff; }
.btn--sm { padding: 7px 14px; font-size: 14px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn--danger { color: #b4472f; border-color: #e8cfc8; background: #fdf6f4; }
.btn--danger:hover { border-color: #b4472f; color: #a03c26; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ------------------------------------------------------------- 首页 */

.hero {
  background: linear-gradient(180deg, #eef5f2 0%, #f5f7f6 100%);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 46px;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #d8e6e1; color: var(--brand-d);
  font-size: 13px; margin-bottom: 16px;
}
.hero h1 { font-size: 36px; line-height: 1.35; letter-spacing: .5px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead { margin-top: 14px; font-size: 16px; color: var(--ink2); max-width: 560px; }
.hero__stats { display: flex; gap: 34px; margin-top: 28px; }
.hero__stat b { display: block; font-size: 26px; color: var(--brand-d); font-weight: 700; letter-spacing: .5px; }
.hero__stat span { font-size: 13px; color: var(--muted); }

.searchbar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 16px; margin-top: 26px;
}
.searchbar__row { display: flex; gap: 10px; }
.searchbar input, .searchbar select {
  flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 9px; background: #fbfcfc; outline: none;
}
.searchbar input:focus, .searchbar select:focus { border-color: var(--brand); background: #fff; }
.searchbar__hints { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.searchbar__hints a { padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-d); font-size: 13px; }

.hero__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px;
}
.hero__panel h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.flowlist { list-style: none; margin: 0; padding: 0; }
.flowlist li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.flowlist li:last-child { border-bottom: 0; padding-bottom: 0; }
.flowlist b { display: block; font-size: 14px; }
.flowlist span { font-size: 13px; color: var(--muted); line-height: 1.55; }
.flowlist__no {
  width: 26px; height: 26px; flex: 0 0 auto; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand-d);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

.section { padding: 52px 0; }
.section--tight { padding: 34px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-size: 24px; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.section-head .more { font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }

.catgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.catcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; display: block; color: var(--ink);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.catcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cfe2dd; color: var(--ink); }
.catcard__ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.catcard__ico svg.i { width: 24px; height: 24px; }
.catcard b { display: block; font-size: 16px; margin-bottom: 5px; }
.catcard span { font-size: 13px; color: var(--muted); line-height: 1.5; display: block; }
.catcard__n { margin-top: 12px; font-size: 13px; color: var(--accent); font-weight: 600; }

.localrow { display: flex; flex-wrap: wrap; gap: 10px; }
.localrow a {
  padding: 8px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--ink2); font-size: 14px;
}
.localrow a:hover { border-color: var(--brand); color: var(--brand-d); background: var(--brand-soft); }

/* ------------------------------------------------------- 房源卡片 */

.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.lcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cfe2dd; }
.lcard__media { position: relative; aspect-ratio: 3 / 2; background: #eef2f0; overflow: hidden; }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; }
.lcard__cat {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: rgba(20, 85, 75, .88); color: #fff;
  padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.lcard__cat svg.i { width: 14px; height: 14px; }
.lcard__rent {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(255, 255, 255, .95); color: #b4472f;
  padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700;
}
.lcard__rent i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; }
.lcard__body { padding: 15px 16px 0; flex: 1; display: flex; flex-direction: column; gap: 9px; }
.lcard__title { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard:hover .lcard__title { color: var(--brand-d); }
.lcard__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 6px; background: #f4f7f6;
  color: var(--ink2); font-size: 12.5px;
}
.chip svg.i { width: 13px; height: 13px; color: var(--muted); }
.lcard__foot {
  margin-top: auto; padding: 12px 16px 14px;
  border-top: 1px solid var(--line2);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; color: var(--muted);
}
.lcard__pub { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); min-width: 0; }
.lcard__pub em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard__date { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }

/* ------------------------------------------------------- 列表页 */

.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0 26px; }
.page-hero h1 { font-size: 26px; }
.page-hero p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb svg.i { width: 13px; height: 13px; }

.layout-side { display: grid; grid-template-columns: 268px 1fr; gap: 26px; align-items: start; }

.filtercard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; position: sticky; top: 92px;
}
.filtercard h4 { font-size: 14px; margin: 0 0 10px; color: var(--ink2); }
.filtercard .fld { margin-bottom: 16px; }
.filtercard .fld:last-child { margin-bottom: 0; }
.catchips { display: flex; flex-wrap: wrap; gap: 8px; }
.catchips a {
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink2); font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 5px;
}
.catchips a svg.i { width: 14px; height: 14px; }
.catchips a:hover { border-color: var(--brand); color: var(--brand-d); }
.catchips a.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.catchips a.is-on svg.i { color: #fff; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; color: var(--ink2); margin-bottom: 6px; font-weight: 600; }
.field label .req { color: #b4472f; }
.field input[type=text], .field input[type=password], .field input[type=number],
.field input[type=email], .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 9px; background: #fbfcfc; outline: none; transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 20px;
}
.toolbar__count { font-size: 14px; color: var(--ink2); margin-right: auto; }
.toolbar__count b { color: var(--brand-d); font-size: 16px; }
.toolbar select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfc; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.pager button {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink2); cursor: pointer;
}
.pager button:hover:not([disabled]) { border-color: var(--brand); color: var(--brand-d); }
.pager button.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.empty {
  background: #fff; border: 1px dashed #d5ded9; border-radius: var(--radius);
  padding: 64px 24px; text-align: center; color: var(--muted);
}
.empty svg.i { width: 40px; height: 40px; color: #c3d1cc; margin-bottom: 12px; }
.empty b { display: block; color: var(--ink2); font-size: 16px; margin-bottom: 6px; }

/* ------------------------------------------------------- 详情页 */

.detail-grid { display: grid; grid-template-columns: 1fr 336px; gap: 26px; align-items: start; }

.gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.gallery__main { aspect-ratio: 3 / 2; background: #eef2f0; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.gallery__thumbs button {
  flex: 0 0 auto; width: 96px; height: 64px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: #eef2f0;
}
.gallery__thumbs button.is-on { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; margin-top: 22px;
}
.panel h2 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.panel h2 svg.i { color: var(--brand); }

.dtitle { font-size: 23px; line-height: 1.5; margin-bottom: 12px; }
.dtags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600;
}
.tag--brand { background: var(--brand-soft); color: var(--brand-d); }
.tag--accent { background: var(--accent-soft); color: #9c6a2f; }
.tag--ok { background: #e9f4ec; color: #2b7a45; }
.tag--pending { background: #fdf3e3; color: #a8761f; }
.tag--reject { background: #fbeceb; color: #b4472f; }
.tag--plain { background: #f4f7f6; color: var(--ink2); font-weight: 500; }

.inftable { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.inftable__cell { background: #fff; padding: 13px 16px; }
.inftable__cell span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.inftable__cell b { font-weight: 600; font-size: 14.5px; }

.faclist { display: flex; flex-wrap: wrap; gap: 9px; }
.faclist span {
  padding: 6px 13px; border-radius: 8px; background: #f4f7f6;
  color: var(--ink2); font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px;
}
.faclist span svg.i { width: 14px; height: 14px; color: var(--brand); }

.prose p { color: var(--ink2); line-height: 1.9; margin-bottom: 13px; font-size: 15px; }
.prose p:last-child { margin-bottom: 0; }

.sidecard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; position: sticky; top: 92px;
}
.sidecard__rent { font-size: 30px; font-weight: 700; color: #b4472f; line-height: 1.2; }
.sidecard__rent i { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.sidecard__pay { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.sidecard hr { border: 0; border-top: 1px solid var(--line2); margin: 16px 0; }
.sidecard__row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; padding: 7px 0; }
.sidecard__row span { color: var(--muted); }
.sidecard__row b { font-weight: 600; }
.contactbox {
  background: var(--brand-soft); border-radius: 10px; padding: 14px 16px; margin-top: 6px;
}
.contactbox__label { font-size: 12.5px; color: var(--brand-d); display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.contactbox__phone { font-size: 21px; font-weight: 700; color: var(--brand-d); letter-spacing: .8px; }
.contactbox__note { font-size: 12.5px; color: var(--ink2); margin-top: 6px; }
.contactbox__note a { font-weight: 600; }
.statusbar {
  border-radius: 10px; padding: 12px 16px; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px; font-size: 14px;
}
.statusbar--pending { background: #fdf3e3; color: #8d6113; border: 1px solid #f0dcb6; }
.statusbar--rejected { background: #fbeceb; color: #9c3a26; border: 1px solid #eecfc9; }

/* ------------------------------------------------------- 表单页 */

.authwrap { max-width: 460px; margin: 0 auto; }
.authcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.authcard h1 { font-size: 23px; margin-bottom: 6px; }
.authcard .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.checkrow { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink2); margin-bottom: 10px; line-height: 1.6; }
.checkrow input[type=checkbox] { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--brand); }
.formfoot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.formerr { background: #fbeceb; border: 1px solid #eecfc9; color: #9c3a26; border-radius: 9px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }

.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.formcard h2 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.formcard h2 svg.i { color: var(--brand); }
.formsec { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--line); }
.formsec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.checkgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.checkgrid label {
  display: flex; align-items: center; gap: 6px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; cursor: pointer; background: #fbfcfc;
}
.checkgrid label:hover { border-color: #cfe2dd; }
.checkgrid input { accent-color: var(--brand); }
.dropzone {
  border: 1.5px dashed #cbd8d3; border-radius: 10px; padding: 22px;
  text-align: center; color: var(--muted); background: #fbfcfc; cursor: pointer;
}
.dropzone:hover { border-color: var(--brand); color: var(--brand-d); }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbs .titem { position: relative; border-radius: 9px; overflow: hidden; aspect-ratio: 3/2; background: #eef2f0; border: 1px solid var(--line); }
.thumbs .titem img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .titem button {
  position: absolute; right: 4px; top: 4px; z-index: 2;
  width: 22px; height: 22px; border-radius: 6px; border: 0; cursor: pointer;
  background: rgba(20, 30, 28, .68); color: #fff; display: flex; align-items: center; justify-content: center;
}
.thumbs .titem button svg.i { width: 13px; height: 13px; }
.thumbs .titem .tn { position: absolute; left: 4px; bottom: 4px; z-index: 2; background: rgba(20,85,75,.85); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 4px; }

/* ------------------------------------------------------- 个人中心 / 后台 */

.ucard { display: grid; grid-template-columns: 264px 1fr; gap: 26px; align-items: start; }
.sidemenu { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 92px; }
.sidemenu__head { padding: 22px; border-bottom: 1px solid var(--line2); display: flex; gap: 13px; align-items: center; }
.avatar {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-d);
  display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; flex: 0 0 auto;
}
.sidemenu__head b { display: block; font-size: 15px; }
.sidemenu__head span { font-size: 12.5px; color: var(--muted); }
.sidemenu nav { padding: 10px; }
.sidemenu nav a, .sidemenu nav button {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  padding: 10px 13px; border-radius: 9px; color: var(--ink2); background: none; border: 0;
  cursor: pointer; font-size: 14.5px; margin-bottom: 2px;
}
.sidemenu nav a:hover, .sidemenu nav button:hover { background: var(--brand-soft); color: var(--brand-d); }
.sidemenu nav .is-on { background: var(--brand); color: #fff; font-weight: 600; }
.sidemenu nav .is-on:hover { background: var(--brand); color: #fff; }

.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 14px; }
.statcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.statcard span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.statcard b { display: block; font-size: 25px; margin-top: 6px; color: var(--brand-d); }

table.data { width: 100%; border-collapse: collapse; background: #fff; min-width: 880px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line2); font-size: 14px; vertical-align: middle; }
table.data th { background: #f7faf9; color: var(--ink2); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
table.data th:first-child { min-width: 168px; }
table.data tr:hover td { background: #fbfcfc; }
.tblwrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.row-actions { display: flex; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.row-actions button { padding: 5px 11px; font-size: 13px; border-radius: 7px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink2); }
.row-actions button:hover { border-color: var(--brand); color: var(--brand-d); }
.row-actions button.ok { color: #2b7a45; border-color: #cfe3d6; background: #f2f9f4; }
.row-actions button.ok:hover { border-color: #2b7a45; }
.row-actions button.no { color: #b4472f; border-color: #e8cfc8; background: #fdf6f4; }
.row-actions button.no:hover { border-color: #b4472f; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button {
  padding: 8px 15px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; color: var(--ink2); font-size: 14px;
}
.tabs button:hover { border-color: var(--brand); color: var(--brand-d); }
.tabs button.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.adminbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ------------------------------------------------------- 弹层 / 提示 */

.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal__mask { position: absolute; inset: 0; background: rgba(16, 28, 26, .55); }
.modal__box {
  position: relative; z-index: 2; background: #fff; border-radius: var(--radius-lg);
  max-width: 720px; width: 100%; max-height: 88vh; overflow: auto; padding: 24px;
  box-shadow: 0 30px 70px -24px rgba(10, 25, 22, .5);
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.modal__head h3 { font-size: 18px; }
.modal__close { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 8px; }
.modal__close:hover { background: #f2f5f4; color: var(--ink); }
.drawer-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.drawer-imgs img { border-radius: 9px; aspect-ratio: 3/2; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 140; background: rgba(10, 20, 18, .9); display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; border-radius: 10px; }
.lightbox__close { position: absolute; right: 26px; top: 22px; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox__close svg.i { width: 26px; height: 26px; }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 16px);
  background: #1d2b28; color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s;
  z-index: 200; max-width: 82vw; text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast--err { background: #a03c26; }

/* ------------------------------------------------------------- 流程 / 特性 */

.flowgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flowcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.flowcard__no {
  width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-bottom: 13px;
}
.flowcard b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.flowcard span { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.aboutgrid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; align-items: start; }
.infocard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.infocard h3 { font-size: 17px; margin-bottom: 14px; }
.kvlist { list-style: none; margin: 0; padding: 0; }
.kvlist li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kvlist li:last-child { border-bottom: 0; }
.kvlist li span { color: var(--muted); flex: 0 0 92px; }
.kvlist li b { font-weight: 500; color: var(--ink2); }

/* ------------------------------------------------------------- 页脚 */

.site-foot { background: #16211f; color: #a9bab5; margin-top: 60px; }
.site-foot a { color: #cddcd8; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: 34px; padding: 46px 20px 34px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.foot-brand span { color: #fff; font-size: 16px; font-weight: 700; }
.foot-desc { font-size: 13.5px; line-height: 1.75; color: #93a5a0; margin-bottom: 12px; }
.foot-note { font-size: 12.5px; line-height: 1.7; color: #7d8f8a; }
.foot-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; font-weight: 600; }
.foot-col a { display: block; font-size: 13.5px; padding: 4px 0; }
.foot-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; margin-bottom: 9px; line-height: 1.6; }
.foot-line svg.i { margin-top: 4px; color: var(--brand-l); }
.foot-bottom { border-top: 1px solid #26332f; }
.foot-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 13px; flex-wrap: wrap; }
.foot-icp { display: flex; align-items: center; gap: 18px; }
.foot-admin { color: #7d8f8a !important; font-size: 13px; }

/* ------------------------------------------------------------- 响应式 */

@media (max-width: 1080px) {
  .catgrid { grid-template-columns: repeat(3, 1fr); }
  .lgrid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidecard { position: static; }
  .layout-side { grid-template-columns: 1fr; }
  .filtercard { position: static; }
  .ucard { grid-template-columns: 1fr; }
  .sidemenu { position: static; }
  .aboutgrid { grid-template-columns: 1fr; }
  .flowgrid { grid-template-columns: repeat(2, 1fr); }
  .checkgrid { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 820px) {
  .head-inner { height: auto; min-height: 66px; flex-wrap: wrap; padding: 10px 20px; }
  .brand__name { font-size: 15px; }
  .brand__sub { font-size: 11px; letter-spacing: 1px; }
  .site-head .nav-toggle { display: flex; }
  .head-account { display: none; }
  .site-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 2px; margin: 8px 0 4px; padding-top: 8px; border-top: 1px solid var(--line2);
  }
  .site-nav.open { display: flex; }
  .site-nav__link { display: block; }
  .only-mobile { display: block; }
  .site-nav__link.is-on::after { display: none; }
  .inftable { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 27px; }
  .hero__stats { gap: 22px; }
  .hero__stat b { font-size: 22px; }
  .section { padding: 38px 0; }
  .searchbar__row { flex-direction: column; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .drawer-imgs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  .lgrid { grid-template-columns: 1fr; }
  .flowgrid { grid-template-columns: 1fr; }
  .checkgrid { grid-template-columns: repeat(3, 1fr); }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .authcard { padding: 22px; }
  .formcard { padding: 18px; }
  .inftable { grid-template-columns: 1fr 1fr; }
  .dtitle { font-size: 20px; }
}
