/* =========================================================
   企业网站前台样式 —— 现代科技风
   ========================================================= */

:root {
  --bg: #070b18;
  --bg-soft: #0d1428;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #94a3b8;
  --line: #e6ebf5;
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --accent-grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --glow: 0 0 40px rgba(37, 99, 235, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.empty.small { padding: 12px 0; font-size: 14px; }

.site-main { min-height: 60vh; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--brand-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section { padding: 88px 0; }
.section-alt { background: #f6f9ff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head.row-between {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; max-width: none; margin-bottom: 36px;
}
.section-head h2 { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }
.link-more { color: var(--brand); font-weight: 600; white-space: nowrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(6,182,212,.5); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-nav { padding: 9px 20px; background: var(--accent-grad); color: #fff; margin-left: 8px; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  font-size: 26px; color: var(--brand-2);
  filter: drop-shadow(0 0 8px rgba(6,182,212,.8));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: 1px; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: 2px; }
.brand-logo { height: 40px; width: auto; max-width: 200px; object-fit: contain; display: block; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #cbd5e1; padding: 8px 16px; border-radius: 999px; font-size: 15px;
  font-weight: 500; transition: all .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a.active { color: #fff; background: rgba(37,99,235,.25); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(37,99,235,.35), transparent 45%),
    radial-gradient(700px circle at 85% 30%, rgba(6,182,212,.28), transparent 45%),
    linear-gradient(180deg, #070b18 0%, #0d1428 100%);
}
.hero-bg::after {
  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: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: center; padding: 110px 24px 120px;
}
.hero-content h1 { font-size: 50px; line-height: 1.18; letter-spacing: -1px; margin-bottom: 22px; }
.hero-content .lead { font-size: 18px; color: #b6c2d9; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 380px; display: grid; place-items: center; }
.orbit {
  position: absolute; border-radius: 50%; border: 1px solid rgba(6,182,212,.35);
  animation: spin 18s linear infinite;
}
.orbit-1 { width: 200px; height: 200px; }
.orbit-2 { width: 290px; height: 290px; border-color: rgba(37,99,235,.3); animation-duration: 26s; animation-direction: reverse; }
.orbit-3 { width: 370px; height: 370px; border-color: rgba(6,182,212,.18); animation-duration: 34s; }
.orbit::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
  border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 14px var(--brand-2);
}
.core {
  font-size: 60px; color: #fff; z-index: 2;
  filter: drop-shadow(0 0 24px rgba(6,182,212,.9)); animation: pulse 3s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .9 } 50% { transform: scale(1.08); opacity: 1 } }

/* ---------- Stats ---------- */
.stats-section { background: var(--bg-soft); padding: 0; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.06);
  transform: translateY(-40px); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stat-card { background: #111a33; padding: 34px 20px; text-align: center; }
.stat-num { font-size: 44px; font-weight: 800; color: #fff; letter-spacing: -1px;
  background: linear-gradient(135deg,#fff,#7dd3fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-suffix { font-size: 24px; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- 卡片 ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { font-size: 34px; margin-bottom: 16px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb {
  height: 180px; background: var(--accent-grad); background-size: cover; background-position: center;
  display: grid; place-items: center; position: relative;
}
.thumb-cat { color: rgba(255,255,255,.9); font-weight: 700; letter-spacing: 2px; font-size: 15px; }
.news-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.tag { background: rgba(37,99,235,.1); color: var(--brand); padding: 3px 12px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.news-body h3 { font-size: 18px; line-height: 1.4; }
.news-body p { color: var(--ink-soft); font-size: 14px; flex: 1; }
.read-more { color: var(--brand); font-weight: 600; font-size: 14px; }

/* ---------- CTA ---------- */
.cta-section { background: var(--accent-grad); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 30px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.9); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg); color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 40px; padding: 64px 24px 40px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col a, .footer-col p { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-brand p { margin-top: 16px; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; font-size: 13px; color: #64748b; flex-wrap: wrap; gap: 8px; }

/* ---------- 内页 hero ---------- */
.page-hero { background: var(--bg); color: #fff; padding: 84px 0 70px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 80% 10%, rgba(6,182,212,.25), transparent 45%),
    radial-gradient(500px circle at 10% 80%, rgba(37,99,235,.25), transparent 45%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: 42px; letter-spacing: -1px; margin-bottom: 14px; }
.page-hero .lead { color: #b6c2d9; max-width: 640px; }
.page-hero-sm { padding: 56px 0 46px; }
.back-link { color: var(--brand-2); font-size: 14px; display: inline-block; margin-bottom: 16px; }
.detail-meta { margin-bottom: 14px; }
.detail-meta .tag { background: rgba(6,182,212,.18); color: #7dd3fc; }
.detail-meta .date { color: #94a3b8; }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-text h2 { font-size: 28px; margin-bottom: 20px; }
.rich-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-side { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: #f6f9ff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: all .3s; }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card h3 { font-size: 17px; margin-bottom: 8px; }
.info-card p { color: var(--ink-soft); font-size: 14.5px; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 78px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2)); }
.timeline-item { display: flex; gap: 30px; margin-bottom: 30px; position: relative; }
.timeline-year { min-width: 62px; font-weight: 800; color: var(--brand); font-size: 18px; text-align: right; }
.timeline-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; flex: 1; position: relative; }
.timeline-body::before { content: ""; position: absolute; left: -27px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(6,182,212,.2); }
.timeline-body h4 { margin-bottom: 6px; }
.timeline-body p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 新闻列表 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center; }
.chip { padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: all .2s; background: #fff; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip-active { background: var(--accent-grad); color: #fff; border-color: transparent; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination a { min-width: 42px; padding: 10px 14px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-soft); font-weight: 500; transition: all .2s; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination a.current { background: var(--accent-grad); color: #fff; border-color: transparent; }

/* ---------- 新闻详情 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article { background: var(--surface); }
.article-lead { font-size: 18px; color: var(--ink-soft); font-weight: 500; padding: 20px 24px; background: #f6f9ff; border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 28px; }
.article-cover { border-radius: var(--radius); margin-bottom: 28px; }
.article .rich-text { font-size: 16px; }
.article .rich-text p { margin-bottom: 18px; color: #334155; }
.detail-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.side-box { background: #f6f9ff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-box h4 { margin-bottom: 16px; font-size: 16px; }
.related-list { list-style: none; }
.related-list li { border-bottom: 1px dashed var(--line); padding: 12px 0; }
.related-list li:last-child { border-bottom: 0; }
.related-list a { display: flex; flex-direction: column; gap: 4px; }
.related-title { font-size: 14.5px; font-weight: 500; transition: color .2s; }
.related-list a:hover .related-title { color: var(--brand); }
.related-date { font-size: 12px; color: var(--muted); }
.side-cta p { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }

/* ---------- 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 24px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.req { color: #ef4444; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; transition: all .2s; background: #fbfcfe; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); background: #fff;
}
.form-field textarea { resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; }

/* 部门联系方式卡片 */
.dept-contact {
  background: linear-gradient(135deg, rgba(99, 102, 241, .05), rgba(34, 211, 238, .05));
  border: 1px solid rgba(99, 102, 241, .2);
}
.dept-contact h3 {
  color: var(--brand, #2563eb);
  font-size: 16px;
  margin-bottom: 10px;
}
.dept-phone, .dept-email {
  margin: 6px 0;
  font-size: 15px;
}
.dept-phone a, .dept-email a {
  color: var(--ink, #0f172a);
  text-decoration: none;
  transition: color .2s;
}
.dept-phone a:hover, .dept-email a:hover {
  color: var(--brand, #2563eb);
}

/* ---------- Flash ---------- */
.flash-wrap { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 200; width: 100%; max-width: 480px; padding: 0 16px; }
.flash { padding: 14px 20px; border-radius: var(--radius-sm); font-weight: 500; box-shadow: var(--shadow-lg); animation: slideDown .35s ease; }
.flash-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-14px) } to { opacity: 1; transform: translateY(0) } }

/* ---------- 404 ---------- */
.error-section { padding: 120px 0; }
.error-code { font-size: 120px; font-weight: 900; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.error-section h1 { font-size: 30px; margin: 12px 0; }
.error-section .lead { color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 80px 24px 90px; }
  .hero-content h1 { font-size: 38px; }
  .hero-visual { height: 300px; order: -1; }
  .cards-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .detail-layout, .contact-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(7,11,24,.98); padding: 16px; gap: 4px; display: none; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; }
  .btn-nav { margin: 8px 0 0; }
  .cards-grid, .news-grid, .contact-info, .form-row { grid-template-columns: 1fr; }
  .section-head.row-between { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-content h1 { font-size: 31px; }
  .page-hero h1 { font-size: 32px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .timeline::before { left: 8px; }
  .timeline-item { flex-direction: column; gap: 8px; }
  .timeline-year { text-align: left; }
  .timeline-body::before { left: -4px; top: -14px; }
}

/* =========================================================
   弹出式广告
   ========================================================= */
.ad-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(2, 6, 23, .6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: adFade .25s ease;
}
.ad-overlay[hidden] { display: none; }
@keyframes adFade { from { opacity: 0; } to { opacity: 1; } }
.ad-modal {
  position: relative; width: 100%; max-width: 440px; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(2, 6, 23, .4);
  animation: adPop .32s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes adPop { from { transform: translateY(24px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.ad-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(15, 23, 42, .55); color: #fff; font-size: 22px; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.ad-close:hover { background: rgba(15, 23, 42, .85); }
.ad-media img { width: 100%; display: block; border-radius: 18px 18px 0 0; }
.ad-body { padding: 26px 26px 28px; text-align: center; }
.ad-title { font-size: 22px; font-weight: 800; margin: 0 0 10px; color: #0f172a; }
.ad-content { font-size: 15px; line-height: 1.7; color: #475569; margin-bottom: 20px; }
.ad-btn {
  display: inline-block; padding: 12px 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent-grad, linear-gradient(135deg, #6366f1, #22d3ee));
  color: #fff; font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 26px rgba(99, 102, 241, .4); transition: transform .15s, box-shadow .15s;
}
.ad-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(99, 102, 241, .5); }
body.ad-open { overflow: hidden; }
@media (max-width: 480px) {
  .ad-body { padding: 22px 18px 24px; }
  .ad-title { font-size: 19px; }
}

/* =========================================================
   部门联系方式（后台设置）
   ========================================================= */
.dept-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr 60px 80px 40px;
  gap: 12px;
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, #e5e7eb);
}
.dept-row:last-child { border-bottom: none; }
.dept-field label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.dept-field input[type="text"],
.dept-field input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}
.dept-field input[type="text"]:focus,
.dept-field input[type="number"]:focus {
  outline: none;
  border-color: var(--accent, #6366f1);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, .15);
}
.dept-sort input { text-align: center; }
.dept-active { display: flex; align-items: center; padding-bottom: 8px; }
.dept-active label { margin-bottom: 0; cursor: pointer; }
.dept-delete {
  align-self: center;
  padding: 6px 10px;
  border: 1px solid #ef4444;
  border-radius: 6px;
  background: #fff;
  color: #ef4444;
  cursor: pointer;
  transition: all .2s;
}
.dept-delete:hover {
  background: #ef4444;
  color: #fff;
}
@media (max-width: 768px) {
  .dept-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
