:root {
  --navy: #0b2239;
  --navy-2: #123a5e;
  --navy-3: #1b4c78;
  --gold: #c8a24a;
  --gold-soft: #e6c887;
  --bg: #f4f6f9;
  --card: #ffffff;
  --line: #e3e8ef;
  --text: #1c2b3a;
  --muted: #6b7a8d;
  --green: #18794e;
  --red: #c0392b;
  --amber: #b7791f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 34, 57, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }

/* ============================ 公共站点 ============================ */
.topbar {
  background: var(--navy);
  color: #cbd8e6;
  font-size: 12.5px;
  letter-spacing: .3px;
}
.topbar .inner {
  max-width: 1200px; margin: 0 auto; padding: 7px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.topbar a { color: #dbe6f2; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .links { display: flex; gap: 18px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  color: var(--gold-soft); display: grid; place-items: center;
  font-weight: 700; font-size: 17px; letter-spacing: 1px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand .txt { line-height: 1.25; }
.brand .txt b { font-size: 16px; letter-spacing: .5px; display: block; }
.brand .txt span { font-size: 11px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; color: #35485c;
}
.nav-links a:hover { background: #eef3f8; color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle {
  display: none; width: 42px; height: 38px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; margin: 4px 0; border-radius: 2px;
  background: var(--navy); transition: .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: 9px; padding: 9px 16px;
  font-size: 13.5px; cursor: pointer; transition: .18s; white-space: nowrap;
  background: #fff; color: var(--text);
}
.btn-primary { background: var(--navy-2); color: #fff; }
.btn-primary:hover { background: var(--navy-3); }
.btn-gold { background: var(--gold); color: #221a05; font-weight: 600; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: var(--line); color: #35485c; }
.btn-ghost:hover { border-color: #c3cedb; background: #f7f9fc; }
.btn-danger { color: var(--red); border-color: #f0cfcb; background: #fff7f6; }
.btn-danger:hover { background: #fdeceb; }
.btn-sm { padding: 6px 11px; font-size: 12.5px; border-radius: 7px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 420px at 82% -10%, rgba(200,162,74,.28), transparent 62%),
    linear-gradient(135deg, #071a2c 0%, #0e3252 55%, #17456e 100%);
  color: #e8f0f8;
  padding: 62px 24px 74px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  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: linear-gradient(180deg, rgba(0,0,0,.9), transparent 92%);
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px;
  border: 1px solid rgba(200,162,74,.28); border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(200,162,74,.06), 0 0 0 140px rgba(200,162,74,.04);
}
.hero .inner { position: relative; max-width: 1200px; margin: 0 auto; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; color: var(--gold-soft);
  border: 1px solid rgba(200,162,74,.4); padding: 5px 12px; border-radius: 999px;
  background: rgba(200,162,74,.08); margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 14px; font-size: 40px; line-height: 1.28; letter-spacing: 1.5px; font-weight: 700;
  max-width: 760px;
}
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p.lead { color: #b9cbdd; font-size: 15px; max-width: 640px; margin: 0 0 26px; line-height: 1.9; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta .btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #e8f0f8; }
.hero .cta .btn-ghost:hover { background: rgba(255,255,255,.12); }

.hero-stats {
  margin: 40px auto 0; max-width: 1200px; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden;
}
.hero-stats div { background: rgba(7,26,44,.42); padding: 18px 22px; }
.hero-stats b { display: block; font-size: 26px; color: var(--gold-soft); letter-spacing: .5px; line-height: 1.3; }
.hero-stats span { font-size: 12.5px; color: #a9bccf; }

.section { max-width: 1200px; margin: 0 auto; padding: 64px 24px; }
.section.tight { padding-top: 44px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { font-size: 24px; margin: 0; letter-spacing: 1px; }
.sec-head h2::after {
  content: ""; display: block; width: 44px; height: 3px; background: var(--gold); margin-top: 10px; border-radius: 2px;
}
.sec-head .sub { color: var(--muted); font-size: 13px; margin-top: 8px; }
.sec-head .en { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #9aa9ba; }

.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(11,34,57,.04);
}
.card.pad { padding: 22px; }
.qual-card { position: relative; padding: 22px; overflow: hidden; }
.qual-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.qual-card .lvl {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 5px;
  background: #f6edd9; color: #8a6a1c; border: 1px solid #ecdcb6; margin-left: 8px; vertical-align: 2px;
}
.qual-card h3 { margin: 0 0 12px; font-size: 15.5px; letter-spacing: .3px; }
.qual-meta { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.qual-meta b { color: #43566b; font-weight: 500; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px;
  padding: 2px 9px; border-radius: 999px; border: 1px solid;
}
.badge.ok { color: var(--green); border-color: #bfe3d0; background: #f1faf5; }
.badge.warn { color: var(--amber); border-color: #f0dfb8; background: #fdf8ec; }
.badge.danger { color: var(--red); border-color: #f2cdc8; background: #fdf2f0; }
.badge.info { color: #1e5f96; border-color: #c6dcf0; background: #f1f7fd; }
.badge.grey { color: #66768a; border-color: #e0e6ee; background: #f6f8fb; }

.profile-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
.prose p { margin: 0 0 12px; color: #3f5266; line-height: 1.95; text-align: justify; }
.info-list { display: grid; gap: 0; }
.info-list .row {
  display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13px;
}
.info-list .row:last-child { border-bottom: 0; }
.info-list .k { color: var(--muted); width: 108px; flex: none; }
.info-list .v { color: #2c3e50; word-break: break-all; }
.scope { color: #4c5f72; font-size: 13px; line-height: 2; text-align: justify; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; padding: 5px 11px; border-radius: 7px; background: #eef3f8;
  color: #33506c; border: 1px solid #e0e9f2;
}
.perf-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.perf-card h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.perf-card .meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--muted); }
.perf-card .amt { color: var(--gold); font-weight: 700; font-size: 16px; letter-spacing: .3px; }
.perf-cover { margin: -20px -20px 4px; height: 158px; overflow: hidden; background: #eef2f7; }
.perf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------------------------------------------------- 业务领域 */
.svc-card { padding: 22px; position: relative; overflow: hidden; transition: .2s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5dfe9; }
.svc-card .no { font-size: 11.5px; letter-spacing: 2.5px; color: var(--gold); font-weight: 700; }
.svc-card h3 { margin: 6px 0 3px; font-size: 16.5px; letter-spacing: .3px; }
.svc-card h3 span { display: block; font-size: 10px; color: #9aa9ba; letter-spacing: 1.4px; font-weight: 400; text-transform: uppercase; margin-top: 3px; }
.svc-card p { color: #55697e; font-size: 12.8px; line-height: 1.85; margin: 10px 0 13px; min-height: 48px; }
.svc-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; border-top: 1px dashed var(--line); padding-top: 12px; }
.svc-card li { font-size: 12.5px; color: #40566c; padding-left: 16px; position: relative; }
.svc-card li::before { content: "◆"; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: 8px; }
.svc-card .ico { position: absolute; right: 18px; top: 16px; font-size: 24px; opacity: .45; }

/* ---------------------------------------------------------- 核心团队 */
.leader-card {
  display: grid; grid-template-columns: 132px 1fr 250px; gap: 26px; padding: 26px;
  margin-bottom: 20px; color: #eaf2fa; border: 0;
  background:
    radial-gradient(600px 240px at 90% -20%, rgba(200,162,74,.22), transparent 65%),
    linear-gradient(135deg, #0b2239, #17456e);
}
.leader-card .ava {
  width: 122px; height: 122px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(230,200,135,.35);
  color: var(--gold-soft); font-size: 42px; font-weight: 700; letter-spacing: 2px;
}
.leader-card .tag {
  display: inline-block; font-size: 11.5px; letter-spacing: 2px; color: var(--gold-soft);
  border: 1px solid rgba(200,162,74,.4); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px;
  background: rgba(200,162,74,.08);
}
.leader-card h3 { margin: 0; font-size: 25px; letter-spacing: 1px; color: #fff; }
.leader-card h3 span { font-size: 13px; color: #b9cbdd; font-weight: 400; margin-left: 10px; letter-spacing: .5px; }
.leader-card p { margin: 10px 0 0; color: #b9cbdd; font-size: 13.2px; line-height: 1.95; text-align: justify; }
.leader-card .side { border-left: 1px solid rgba(255,255,255,.13); padding-left: 22px; display: grid; gap: 12px; align-content: center; }
.leader-card .side .kv { font-size: 11.5px; color: #93a9bf; letter-spacing: .5px; }
.leader-card .side .kv b { display: block; color: #eaf2fa; font-size: 13.5px; font-weight: 500; margin-top: 2px; line-height: 1.6; }
.team-card { padding: 20px; display: flex; gap: 14px; }
.team-card .ava {
  width: 48px; height: 48px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #e8eef6, #d8e4f1); color: var(--navy-2); font-weight: 700; font-size: 18px;
}
.team-card .main { min-width: 0; }
.team-card .n { font-size: 15.5px; font-weight: 600; }
.team-card .r { font-size: 12.5px; color: var(--gold); margin-top: 1px; }
.team-card .t { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.6; }
.team-card .b {
  font-size: 12.5px; color: #55697e; line-height: 1.85; margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------------------------------------------------------- 工程实景 */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-empty {
  grid-column: 1 / -1; border-style: dashed; background: #fafbfd;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.gallery-empty::before {
  content: ""; width: 38px; height: 32px; border: 2px solid #c6d2df; border-radius: 4px;
  background:
    radial-gradient(circle at 12px 10px, #c6d2df 3px, transparent 4px),
    linear-gradient(135deg, transparent 46%, #c6d2df 47%, #c6d2df 53%, transparent 54%);
}
.shot {
  margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  cursor: zoom-in; position: relative; transition: .2s;
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: 250px; object-fit: cover; background: #eef2f7; }
.shot figcaption { padding: 11px 14px; border-top: 1px solid var(--line); background: #fbfcfe; }
.shot figcaption b { display: block; font-size: 13.5px; font-weight: 600; color: #22374c; }
.shot figcaption span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.shot .zoom {
  position: absolute; right: 10px; top: 10px; background: rgba(11,34,57,.62); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 999px; opacity: 0; transition: .2s;
}
.shot:hover .zoom { opacity: 1; }
.gallery-empty { grid-column: 1 / -1; }

/* ---------------------------------------------------------- 联系我们 */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
.contact-card { border: 0; color: #eaf2fa; background: linear-gradient(135deg, #0b2239, #17456e); }
.contact-card .ct { font-size: 19px; letter-spacing: 1px; font-weight: 600; color: #fff; }
.contact-card .ct::after { content: ""; display: block; width: 38px; height: 3px; background: var(--gold); margin-top: 10px; border-radius: 2px; }
.contact-card p { color: #b9cbdd; font-size: 13.2px; line-height: 1.95; margin: 14px 0 18px; text-align: justify; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-card .btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #e8f0f8; }
.contact-card .btn-ghost:hover { background: rgba(255,255,255,.12); }
.contact-note { margin-top: 16px; font-size: 11.5px; color: #93a9bf; }

section[id] { scroll-margin-top: 84px; }
.nav-links a { padding: 8px 11px; font-size: 13.5px; }

.cert-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-thumb {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in;
  background: #fff; transition: .2s; position: relative;
}
.cert-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-thumb img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: top; }
.cert-thumb .cap { padding: 10px 12px; font-size: 12.5px; color: #40536a; border-top: 1px solid var(--line); background: #fbfcfe; }

footer {
  background: var(--navy); color: #9fb3c8; padding: 46px 24px 26px; margin-top: 20px;
}
footer .inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { color: #e6eef7; font-size: 14px; margin: 0 0 14px; letter-spacing: .5px; }
footer .line { font-size: 12.5px; line-height: 2; }
footer .bottom {
  max-width: 1200px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09);
  font-size: 12px; color: #7d92a8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ============================ 登录 ============================ */
.login-wrap {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(700px 400px at 70% 20%, rgba(200,162,74,.18), transparent 60%), linear-gradient(135deg, #071a2c, #10375a);
  padding: 20px;
}
.login-card {
  width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 34px 32px 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.login-card h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: .5px; }
.login-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }

/* ============================ 表单 ============================ */
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; color: #4a5d72; margin-bottom: 6px; font-weight: 500; }
.field label .req { color: var(--red); }
.input, select.input, textarea.input {
  width: 100%; border: 1px solid #d8e0ea; border-radius: 9px; padding: 9px 12px;
  font-size: 13.5px; font-family: inherit; color: var(--text); background: #fff; outline: none;
  transition: .15s;
}
.input:focus { border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(27,76,120,.1); }
textarea.input { resize: vertical; min-height: 78px; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ============================ 管理台 ============================ */
.admin-shell { display: flex; min-height: 100vh; background: #f2f5f9; }
.sidebar {
  width: 236px; flex: none; background: var(--navy); color: #c4d3e2;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.sidebar .logo {
  padding: 22px 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; gap: 11px; align-items: center;
}
.sidebar .logo .mark { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, #1d5285, #2a6fa8); color: var(--gold-soft); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.sidebar .logo b { color: #eaf1f8; font-size: 14px; display: block; line-height: 1.35; }
.sidebar .logo span { font-size: 10.5px; color: #7f97ae; letter-spacing: 1.6px; }
.sidebar nav { padding: 14px 12px; display: flex; flex-direction: column; gap: 3px; overflow-y: auto; flex: 1; }
.sidebar nav .group { font-size: 10.5px; color: #6d8399; letter-spacing: 1.6px; padding: 14px 10px 6px; }
.sidebar nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px;
  font-size: 13.5px; color: #b9cadd; cursor: pointer;
}
.sidebar nav a:hover { background: rgba(255,255,255,.06); color: #eaf1f8; }
.sidebar nav a.active { background: linear-gradient(90deg, rgba(200,162,74,.22), rgba(200,162,74,.05)); color: #fff; box-shadow: inset 2px 0 0 var(--gold); }
.sidebar nav a .ico { width: 20px; text-align: center; opacity: .95; }
.sidebar nav a .cnt { margin-left: auto; font-size: 11px; background: rgba(255,255,255,.1); padding: 1px 7px; border-radius: 999px; }
.sidebar .foot { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; color: #7f97ae; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.main-head {
  height: 62px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 26px; gap: 16px;
  position: sticky; top: 0; z-index: 30;
}
.main-head h1 { font-size: 16px; margin: 0; letter-spacing: .5px; }
.main-head .crumb { font-size: 12px; color: var(--muted); margin-top: 2px; }
.main-head .actions { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #e9eff6; color: var(--navy-2); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.content { padding: 22px 26px 50px; max-width: 1500px; width: 100%; }

.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .spacer { flex: 1; }
.search {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dde4ed;
  border-radius: 9px; padding: 0 12px; height: 36px; min-width: 240px;
}
.search input { border: 0; outline: 0; font-size: 13px; width: 100%; background: transparent; font-family: inherit; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; position: relative; overflow: hidden;
}
.stat .ico { position: absolute; right: 14px; top: 14px; font-size: 20px; opacity: .5; }
.stat b { font-size: 24px; letter-spacing: .5px; display: block; line-height: 1.3; }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat.gold b { color: var(--gold); }
.stat.green b { color: var(--green); }
.stat.red b { color: var(--red); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head h3 { margin: 0; font-size: 14px; letter-spacing: .3px; }
.panel-body { padding: 18px; }
.panel-body.flush { padding: 0; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th {
  text-align: left; font-weight: 600; color: #5a6c80; background: #f8fafc;
  padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 12.5px;
}
table.tbl td { padding: 12px 14px; border-bottom: 1px solid #f0f3f7; vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: #fafcff; }
table.tbl .num { font-variant-numeric: tabular-nums; }
table.tbl .actions { display: flex; gap: 6px; }
.empty { padding: 46px 20px; text-align: center; color: #90a0b2; font-size: 13px; }
.empty .big { font-size: 30px; margin-bottom: 10px; opacity: .5; }

.doc-list { display: flex; flex-direction: column; }
.doc-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid #f0f3f7;
}
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { background: #fafcff; }
.doc-ico {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; flex: none;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; color: #fff; text-transform: uppercase;
}
.doc-ico.pdf { background: #d9534f; }
.doc-ico.doc, .doc-ico.docx { background: #2b579a; }
.doc-ico.xls, .doc-ico.xlsx { background: #217346; }
.doc-ico.jpg, .doc-ico.jpeg, .doc-ico.png, .doc-ico.webp { background: #7a5af8; }
.doc-ico.zip, .doc-ico.rar, .doc-ico.7z { background: #b7791f; }
.doc-ico.other { background: #64748b; }
.doc-main { min-width: 0; flex: 1; }
.doc-main .t { font-size: 13.5px; color: #22374c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-main .s { font-size: 12px; color: var(--muted); margin-top: 2px; display: flex; gap: 10px; flex-wrap: wrap; }
.doc-actions { display: flex; gap: 6px; flex: none; }

.admin-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gcard {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
}
.gcard img { width: 100%; height: 150px; object-fit: cover; display: block; background: #eef2f7; }
.gcard .gb { padding: 10px 12px; display: flex; flex-direction: column; flex: 1; }
.gcard .gt { font-size: 13px; font-weight: 600; color: #22374c; line-height: 1.5; }
.gcard .gs {
  font-size: 11.5px; color: #8b9aab; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button {
  border: 1px solid var(--line); background: #fff; color: #4d6074; padding: 7px 14px;
  border-radius: 8px; font-size: 13px; cursor: pointer;
}
.tabs button.active { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }

.eng-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.team-admin { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.team-admin .eng-top .n { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.eng-top { display: flex; align-items: center; gap: 12px; }
.eng-avatar {
  width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #e8eef6, #d8e4f1);
  color: var(--navy-2); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none;
}
.eng-top .n { font-size: 15px; font-weight: 600; }
.eng-top .m { font-size: 12px; color: var(--muted); }
.eng-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12.5px; color: #566a7f; }
.eng-kv span b { color: #2c4054; font-weight: 500; }
.lock-box { background: #fdf6f4; border: 1px solid #f3d9d3; border-radius: 9px; padding: 9px 12px; font-size: 12.5px; color: #9c3f2e; }
.lock-box.free { background: #f3faf6; border-color: #d3ecdf; color: #1c6b46; }

.modal-mask {
  position: fixed; inset: 0; background: rgba(9,22,36,.55); z-index: 300;
  display: flex; align-items: flex-start; justify-content: center; padding: 46px 18px; overflow-y: auto;
  backdrop-filter: blur(2px);
}
.modal {
  background: #fff; border-radius: 14px; width: 100%; max-width: 640px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28); animation: pop .16s ease-out;
}
@keyframes pop { from { transform: translateY(8px); opacity: .6; } }
.modal.wide { max-width: 880px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 15.5px; }
.modal-head .x { border: 0; background: transparent; font-size: 20px; line-height: 1; color: #8b9aab; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.modal-head .x:hover { background: #f2f5f9; color: #33465a; }
.modal-body { padding: 20px 22px; max-height: calc(100vh - 220px); overflow-y: auto; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; background: #fbfcfe; border-radius: 0 0 14px 14px; }

.toast-wrap { position: fixed; top: 18px; right: 18px; z-index: 500; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #12283d; color: #eaf2fa; padding: 11px 16px; border-radius: 9px; font-size: 13px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25); animation: slidein .2s ease-out; max-width: 360px;
}
.toast.err { background: #7f2a20; }
.toast.ok { background: #14563a; }
@keyframes slidein { from { transform: translateX(16px); opacity: 0; } }

.lightbox {
  position: fixed; inset: 0; background: rgba(6,15,24,.9); z-index: 400;
  display: grid; place-items: center; padding: 30px; cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

.dropzone {
  border: 2px dashed #cfdae7; border-radius: 12px; padding: 26px; text-align: center;
  color: #6d8095; font-size: 13px; background: #fbfdff; cursor: pointer; transition: .18s;
}
.dropzone:hover, .dropzone.on { border-color: var(--navy-3); background: #f2f8fe; color: var(--navy-2); }
.dropzone .big { font-size: 26px; display: block; margin-bottom: 6px; opacity: .6; }
.file-picked { margin-top: 10px; font-size: 12.5px; color: var(--green); }

.progress { height: 6px; background: #eef2f7; border-radius: 999px; overflow: hidden; margin-top: 10px; display: none; }
.progress.on { display: block; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-3), var(--gold)); width: 0; transition: width .2s; }

.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: #e6ecf3; }
.tl-item { position: relative; padding: 0 0 18px 0; }
.tl-item::before {
  content: ""; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold);
}
.tl-item .d { font-size: 11.5px; color: var(--muted); }
.tl-item .t { font-size: 13.5px; margin-top: 2px; }

.alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 10px;
  background: #fdf8ec; border: 1px solid #f0e2bf; color: #7a5c15; font-size: 12.8px; margin-bottom: 16px;
}
.alert .i { font-size: 16px; line-height: 1.2; }
.alert.danger { background: #fdf2f0; border-color: #f2d2cd; color: #8e3423; }

@media (max-width: 1180px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 7px 8px; font-size: 13px; }
  .brand .txt b { font-size: 14.5px; }
}
@media (max-width: 1100px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 1fr; }
  .cert-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 110px 1fr; gap: 20px; }
  .leader-card .ava { width: 100px; height: 100px; font-size: 34px; }
  .leader-card .side {
    grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.13);
    padding: 16px 0 0; grid-template-columns: repeat(3, 1fr);
  }
  footer .inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar .inner { flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 16px; }
  .topbar .links { flex-wrap: wrap; gap: 12px; }
  .topbar .links a { white-space: nowrap; }
  .nav .inner { height: 64px; padding: 0 16px; gap: 12px; }
  .brand .txt b { font-size: 14px; }
  .brand .txt span { font-size: 10px; letter-spacing: 1.5px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 100%; padding: 10px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11,34,57,.12);
  }
  .nav-links.open a { padding: 11px 12px; font-size: 14.5px; border-radius: 8px; }
  .nav-links.open a.btn-primary { margin: 8px 0 0 !important; justify-content: center; }
  .hero h1 { font-size: 28px; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 100; transform: translateX(-100%); transition: .2s; }
  .sidebar.open { transform: none; }
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .content { padding: 16px 14px 40px; }
  .main-head { padding: 0 14px; }
  .doc-row { flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: 1fr; }
  .admin-gallery { grid-template-columns: repeat(2, 1fr); }
  .shot img { height: 215px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-card .ava { width: 84px; height: 84px; font-size: 30px; }
  .leader-card .side { grid-template-columns: 1fr; gap: 10px; }
  .svc-card p { min-height: 0; }
}

/* ---- 自定义模块：附件字段 ---- */
.filefield { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.filelist { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.fileitem { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: #f6f9fc; border: 1px solid #e7eef6; border-radius: 8px; font-size: 12.5px; }
.fileitem a { color: #2a5d8f; text-decoration: none; word-break: break-all; }
.fileitem a:hover { text-decoration: underline; }
.fileitem span { margin-left: auto; color: #8b9aab; white-space: nowrap; }
.fileitem .del { border: 0; background: none; color: #c0392b; cursor: pointer; font-size: 12px; }
