/* 北京中科智测科技有限公司 官网样式 */
:root {
  --navy: #0A1E3C;
  --navy-2: #123254;
  --navy-3: #1B4470;
  --blue: #1668B8;
  --blue-lt: #2A8AD4;
  --cyan: #17B4D8;
  --red: #C8102E;
  --ink: #10203A;
  --body: #3C4A5E;
  --muted: #6B7C93;
  --line: #E2E9F1;
  --line-2: #EDF2F7;
  --bg: #F6F9FC;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(10, 30, 60, .06), 0 12px 32px rgba(10, 30, 60, .07);
  --shadow-lg: 0 8px 24px rgba(10, 30, 60, .10), 0 24px 56px rgba(10, 30, 60, .10);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar b { color: var(--cyan); font-weight: 600; }

header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative; overflow: hidden;
}
.logo .mark::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 47%, rgba(23,180,216,.95) 47%, rgba(23,180,216,.95) 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255,255,255,.55) 47%, rgba(255,255,255,.55) 53%, transparent 53%);
}
.logo .mark::after {
  content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cyan); left: 50%; top: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255,255,255,.9);
}
.logo .txt { line-height: 1.25; }
.logo .txt strong { display: block; font-size: 19px; color: var(--ink); letter-spacing: .5px; font-weight: 700; }
.logo .txt span { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: .9px; text-transform: uppercase; }

nav.main { display: flex; gap: 4px; align-items: center; }
nav.main a {
  padding: 9px 15px; border-radius: 7px; font-size: 15px; color: var(--ink);
  font-weight: 500; transition: .18s; white-space: nowrap;
}
nav.main a:hover { background: var(--bg); color: var(--blue); }
nav.main a.on { color: var(--blue); background: #EAF3FB; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: .2s; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1259a0; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(22,104,184,.32); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #071731 0%, #0E2A50 45%, #123C6B 100%);
  padding: 92px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 65% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 65% 20%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(23,180,216,.28) 0%, transparent 62%);
  border-radius: 50%;
}
.hero .wrap { position: relative; z-index: 2; max-width: 1080px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 1.6px; color: var(--cyan); font-weight: 600;
  border: 1px solid rgba(23,180,216,.4); border-radius: 999px; padding: 6px 15px;
  background: rgba(23,180,216,.09); margin-bottom: 22px;
}
.hero h1 {
  font-size: 42px; line-height: 1.32; font-weight: 700; letter-spacing: -.4px;
  margin-bottom: 20px; color: #fff;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p.lead {
  font-size: 16.5px; color: rgba(255,255,255,.8); max-width: 760px; line-height: 1.85;
}
.hero .cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 62px; background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.13); border-radius: 12px; overflow: hidden;
}
.hero-stats div { background: rgba(7,23,49,.55); padding: 22px 20px; }
.hero-stats b { display: block; font-size: 30px; color: #fff; font-weight: 700; letter-spacing: -.5px; }
.hero-stats b i { font-style: normal; font-size: 16px; color: var(--cyan); margin-left: 2px; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.62); }

/* ---------- 通用区块 ---------- */
section { padding: 78px 0; }
section.alt { background: var(--bg); }
section.tight { padding: 62px 0; }

.sec-head { max-width: 780px; margin-bottom: 46px; }
.sec-head .tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: var(--blue);
  text-transform: uppercase; margin-bottom: 12px; display: block;
}
.sec-head h2 { font-size: 31px; color: var(--ink); line-height: 1.42; font-weight: 700; letter-spacing: -.3px; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .22s; position: relative; overflow: hidden;
}
.card:hover { border-color: #C6DCF0; box-shadow: var(--shadow); transform: translateY(-3px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: #EAF3FB; margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 17.5px; color: var(--ink); margin-bottom: 10px; font-weight: 650; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.card ul.mini { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.card ul.mini li { font-size: 13.5px; color: var(--body); padding-left: 16px; position: relative; }
.card ul.mini li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px;
  border-radius: 2px; background: var(--cyan);
}

/* ---------- 产品卡 ---------- */
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .22s; display: flex; flex-direction: column;
}
.prod:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #C6DCF0; }
.prod .ph {
  height: 158px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0E2A50 0%, #1B4470 100%);
  display: grid; place-items: center;
}
.prod .ph::before {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 30px 30px;
}
.prod .ph svg { width: 62px; height: 62px; stroke: rgba(255,255,255,.94); fill: none; stroke-width: 1.35; position: relative; z-index: 2; }
.prod .ph .badge {
  position: absolute; left: 14px; top: 14px; z-index: 3;
  font-size: 11.5px; font-weight: 700; letter-spacing: .6px; color: var(--navy);
  background: var(--cyan); padding: 4px 10px; border-radius: 5px;
}
.prod .bd { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.prod h3 { font-size: 18px; color: var(--ink); font-weight: 650; margin-bottom: 4px; }
.prod .sub { font-size: 12.5px; color: var(--blue); letter-spacing: .4px; margin-bottom: 12px; font-weight: 600; }
.prod p.d { font-size: 14px; color: var(--muted); line-height: 1.78; flex: 1; }
.prod .specs { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.prod .specs div { font-size: 13px; color: var(--body); display: flex; gap: 8px; }
.prod .specs div b { color: var(--muted); font-weight: 500; flex: none; min-width: 62px; }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line-2); }
.tbl th { background: #F2F7FC; color: var(--ink); font-weight: 650; font-size: 14px; letter-spacing: .3px; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #FAFCFE; }
.tbl td b { color: var(--ink); }

/* ---------- 案例 ---------- */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: .2s; border-left: 3px solid var(--blue);
}
.case:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.case .org { font-size: 15px; font-weight: 650; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.case .org .pill {
  font-size: 11px; font-weight: 700; padding: 2.5px 8px; border-radius: 4px;
  background: #EAF3FB; color: var(--blue); letter-spacing: .3px;
}
.case .use { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.case .use::before { content: "应用"; font-size: 11.5px; color: var(--cyan); border: 1px solid #BFE7F1; background: #F0FAFD; border-radius: 4px; padding: 1px 6px; flex: none; font-weight: 600; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 46px; }
.stat-row .s { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.stat-row .s b { display: block; font-size: 34px; font-weight: 700; color: var(--blue); letter-spacing: -1px; line-height: 1.2; }
.stat-row .s b i { font-style: normal; font-size: 17px; }
.stat-row .s span { font-size: 13.5px; color: var(--muted); }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: f; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; position: relative; }
.flow .step::before {
  counter-increment: f; content: "0" counter(f);
  font-size: 13px; font-weight: 800; color: var(--cyan); letter-spacing: 1px; display: block; margin-bottom: 10px;
}
.flow .step h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 8px; font-weight: 650; }
.flow .step p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 页头（内页） ---------- */
.pagehead {
  background: linear-gradient(135deg, #071731 0%, #0E2A50 55%, #16406E 100%);
  color: #fff; padding: 62px 0 56px; position: relative; overflow: hidden;
}
.pagehead::after {
  content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(23,180,216,.22) 0%, transparent 65%); border-radius: 50%;
}
.pagehead .wrap { position: relative; z-index: 2; }
.crumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.crumb a:hover { color: var(--cyan); }
.pagehead h1 { font-size: 33px; font-weight: 700; letter-spacing: -.3px; }
.pagehead p { margin-top: 12px; color: rgba(255,255,255,.72); max-width: 720px; font-size: 15px; }

/* ---------- 关于页 ---------- */
.intro-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: start; }
.prose p { margin-bottom: 16px; font-size: 15.3px; line-height: 1.9; color: var(--body); }
.prose h3 { font-size: 20px; color: var(--ink); margin: 28px 0 12px; font-weight: 650; }
.prose ul { margin: 14px 0 18px; display: flex; flex-direction: column; gap: 11px; }
.prose ul li { padding-left: 22px; position: relative; font-size: 15px; color: var(--body); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px;
  background: var(--cyan);
}
.prose ul li b { color: var(--ink); }

.sidecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.sidecard h4 { font-size: 15px; color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); font-weight: 650; }
.kv { display: flex; flex-direction: column; gap: 13px; }
.kv div { display: flex; gap: 12px; font-size: 14px; }
.kv div span:first-child { color: var(--muted); flex: none; width: 68px; }
.kv div span:last-child { color: var(--ink); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline .tl { position: relative; padding-bottom: 26px; }
.timeline .tl:last-child { padding-bottom: 0; }
.timeline .tl::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--blue);
}
.timeline .tl b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.timeline .tl span { font-size: 13px; color: var(--blue); font-weight: 600; letter-spacing: .4px; }
.timeline .tl p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.cbox h3 { font-size: 17px; color: var(--ink); margin-bottom: 20px; font-weight: 650; display: flex; align-items: center; gap: 10px; }
.cbox h3 svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.crow { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); align-items: flex-start; }
.crow:last-child { border-bottom: none; }
.crow .lb { font-size: 13px; color: var(--muted); flex: none; width: 62px; padding-top: 2px; }
.crow .vl { font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.6; }
.crow .vl small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 3px; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #0A1E3C 0%, #16406E 100%);
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px;
  background: radial-gradient(circle, rgba(23,180,216,.25) 0%, transparent 65%); border-radius: 50%;
}
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { font-size: 27px; font-weight: 700; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.72); font-size: 15px; max-width: 620px; }

/* ---------- 页脚 ---------- */
footer.site { background: #071731; color: rgba(255,255,255,.62); padding: 56px 0 0; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
footer.site h5 { color: #fff; font-size: 14.5px; margin-bottom: 16px; font-weight: 650; letter-spacing: .4px; }
footer.site a:hover { color: var(--cyan); }
footer.site ul { display: flex; flex-direction: column; gap: 10px; }
footer.site .about p { font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,.55); margin-top: 14px; }
footer.site .fl { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
footer.site .fl .mark { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #1B4470, var(--blue)); position: relative; overflow: hidden; flex: none; }
footer.site .fl .mark::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); left: 50%; top: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
footer.site .fl b { color: #fff; font-size: 16.5px; letter-spacing: .4px; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.45);
}

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 34px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .topbar { display: none; }
  nav.main {
    display: none; position: absolute; left: 0; right: 0; top: 74px; background: #fff;
    flex-direction: column; padding: 12px; gap: 2px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 26px rgba(10,30,60,.1);
  }
  nav.main.open { display: flex; }
  nav.main a { width: 100%; }
  .burger { display: block; }
  header.site .wrap { position: relative; }
  .hero { padding: 62px 0 66px; }
  .hero h1 { font-size: 27px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 42px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
  .sec-head h2 { font-size: 24px; }
  .pagehead h1 { font-size: 25px; }
  footer.site .cols { grid-template-columns: 1fr; gap: 26px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .tbl { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- 表单（在线咨询 / 后台登录） ---------- */
.inq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px 30px; box-shadow: var(--shadow); }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--ink); font-weight: 600; letter-spacing: .2px; }
.field label i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #FCFDFE;
  transition: .16s; line-height: 1.6;
}
.field textarea { resize: vertical; min-height: 128px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7C93' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-lt); background: #fff; box-shadow: 0 0 0 3px rgba(42,138,212,.13);
}
.field input::placeholder, .field textarea::placeholder { color: #A9B6C6; }
.ferr { font-size: 12.5px; color: var(--red); font-style: normal; min-height: 0; display: block; }
.ferr:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.inq-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.inq-note { font-size: 12.8px; color: var(--muted); line-height: 1.7; max-width: 640px; }
.formmsg { margin-top: 18px; font-size: 14.5px; border-radius: 8px; padding: 0; line-height: 1.7; }
.formmsg:empty { display: none; }
.formmsg.ok { background: #EEF9F1; border: 1px solid #C4E8D0; color: #1F7A43; padding: 13px 16px; }
.formmsg.err { background: #FDF2F3; border: 1px solid #F3CFD4; color: #A8121F; padding: 13px 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.or { display: flex; align-items: center; gap: 14px; margin: 22px 0 18px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- 后台 ---------- */
.adm-shell { max-width: 940px; margin: 0 auto; }
.adm-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.adm-who { font-size: 14px; color: var(--muted); }
.adm-who b { color: var(--ink); }
.adm-acts { display: flex; gap: 10px; }
.adm-acts .btn { padding: 9px 18px; font-size: 14px; }
.adm-filters { display: flex; gap: 12px; margin: 26px 0 18px; flex-wrap: wrap; }
.adm-filters select, .adm-filters input {
  font-family: inherit; font-size: 14px; color: var(--ink); padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.adm-filters select { appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7C93' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 11px; }
.adm-filters input { flex: 1; min-width: 220px; }
/* ⚠️ 后台专项样式一律用 adm- 前缀。
   曾用裸类名 .lead 与首页 hero 的 <p class="lead"> 撞车：hero 只覆盖了文字颜色，
   没覆盖背景，于是白底白字、整段导语看不见（2026-10-12 修复）。 */
.adm-lead { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; border-left: 3px solid var(--blue); }
.adm-lead.s-done { border-left-color: #B7C6D6; }
.adm-lead.s-closed { border-left-color: #D6DEE8; opacity: .78; }
.adm-lead-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-lead-head .who { font-size: 15.5px; font-weight: 650; color: var(--ink); }
.adm-lead-head .co { font-size: 13.5px; color: var(--muted); }
.adm-lead-head .sp { margin-left: auto; }
.statuspill { font-size: 11.5px; font-weight: 700; letter-spacing: .3px; padding: 3px 10px; border-radius: 999px; background: #EAF3FB; color: var(--blue); }
.statuspill.new { background: #EAF3FB; color: var(--blue); }
.statuspill.doing { background: #FFF6E5; color: #9A6200; }
.statuspill.done { background: #EEF9F1; color: #1F7A43; }
.statuspill.closed { background: #F1F4F8; color: var(--muted); }
.adm-lead-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--body); margin-bottom: 12px; }
.adm-lead-meta b { color: var(--muted); font-weight: 500; margin-right: 5px; }
.adm-lead-msg { font-size: 14.5px; color: var(--body); line-height: 1.8; white-space: pre-wrap; word-break: break-word; background: #FAFCFE; border: 1px solid var(--line-2); border-radius: 8px; padding: 13px 15px; }
.adm-lead-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.adm-lead-foot .btn { padding: 7px 14px; font-size: 13px; }
.adm-lead-foot .when { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.empty { text-align: center; padding: 54px 20px; color: var(--muted); font-size: 14.5px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.linkish { color: var(--blue); font-weight: 600; cursor: pointer; }
footer.site .stafflink { color: rgba(255,255,255,.5); }
footer.site .stafflink:hover { color: var(--cyan); }

@media (max-width: 780px) {
  .inq { padding: 26px 20px 24px; }
  .inq-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .inq-foot { flex-direction: column; align-items: stretch; }
  .inq-foot .btn { width: 100%; justify-content: center; }
  .adm-lead-head .sp { margin-left: 0; }
  .adm-lead-foot .when { margin-left: 0; }
}
