/* ============================================================
   RWS专委会官网 设计系统（参照中国卫生人才网 www.21wecan.com）
   主色：人才蓝 #368EC9 | 强调：#3DA3FF | 点缀：琥珀金 #F0A52E
   ============================================================ */
:root {
  --indigo: #368EC9;
  --indigo-dark: #2A74A8;
  --indigo-light: #5CA4D5;
  --cyan: #3DA3FF;
  --cyan-dark: #2486C7;
  --cyan-light: #E0F4FF;
  --gold: #F0A52E;
  --gold-dark: #D98A1F;
  --gold-light: #FDF3DF;
  --bg: #F6F6F6;
  --card: #FFFFFF;
  --text: #333333;
  --muted: #666666;
  --border: #DCDCDC;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 1px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.14);
  --nav-h: 64px;
  --topbar-h: 34px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--indigo); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select {
  font-family: inherit; font-size: 14px; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; background: #fff; outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(18, 165, 184, .12);
}
textarea { resize: vertical; min-height: 90px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
label b { color: #D9534F; font-weight: normal; margin-left: 2px; }

/* ---------- 头部（参照中国卫生人才网：蓝底+白色圆角搜索+底部白字导航） ---------- */
.gov {
  background:
    radial-gradient(900px 320px at 88% -20%, rgba(61,163,255,.25), transparent 60%),
    linear-gradient(135deg, #2A74A8 0%, #368EC9 60%, #4A9BD4 100%);
  color: #fff; position: relative; z-index: 50;
}
.gov::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px; pointer-events: none;
}
.gov-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 20px 14px; position: relative; z-index: 1; }
.gov-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gov-brand { display: flex; align-items: center; gap: 18px; min-width: 0; flex: 1; }
.gov-brand img { width: 80px; height: 80px; border-radius: 50%; background: #fff; padding: 6px; object-fit: contain; box-shadow: 0 3px 10px rgba(0,0,0,.15); flex-shrink: 0; }
.gov-titles { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; flex: 1; }
.gt1 { font-size: 40px; font-weight: 700; color: #fff; letter-spacing: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.2); white-space: nowrap; }
.gt2 { font-size: 15px; color: rgba(255,255,255,.9); letter-spacing: 1.35px; margin-top: 6px; }
.gov-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.gov-topbar { display: flex; align-items: center; gap: 4px; font-size: 14px; padding-top: 4px; }
.gov-topbar a { color: #fff; padding: 4px 10px; border-radius: 5px; transition: background .2s; }
.gov-topbar a:hover { background: rgba(255,255,255,.16); color: #fff; }
.gov-search { position: relative; width: 360px; max-width: 100%; }
.gov-search input {
  box-sizing: border-box; width: 100%; background: rgba(255,255,255,.12);
  border: 1px solid #D8E9F4; color: #fff; line-height: 36px; height: 38px;
  padding: 0 48px 0 18px; border-radius: 19px; font-size: 15px;
}
.gov-search input::placeholder { color: rgba(255,255,255,.85); }
.gov-search input:focus { box-shadow: none; border-color: #fff; background: rgba(255,255,255,.18); }
.gov-search button {
  position: absolute; top: 0; right: 4px; width: 38px; height: 100%; border: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat center;
  cursor: pointer; opacity: .95;
}
.gov-search button:hover { opacity: 1; }
/* 品牌大标题窄视口回退字号并收紧字距、收窄搜索框，保证文字不越过搜索框 */
@media screen and (max-width: 1199px) and (min-width: 992px) { .gt1 { font-size: 36px; letter-spacing: 2px; } .gt2 { letter-spacing: 1px; } }
@media screen and (max-width: 1059px) and (min-width: 992px) { .gov-search { width: 300px; } }

/* 主导航（白字，悬停加粗，下拉浅蓝卡片） */
.gov-nav { display: flex; align-items: center; justify-content: flex-start; gap: 0; margin-top: 16px; }
.gov-nav > a, .gov-item > a {
  display: flex; align-items: center; gap: 6px; padding: 6px 15px; color: #fff;
  font-size: 18px; white-space: nowrap; transition: all .2s;
}
/* 悬停加粗不抖动：用不可见的加粗占位撑定文字宽度 */
.gov-nav > a span::after, .gov-item > a span::after {
  content: attr(data-text); display: block; font-weight: 700;
  height: 0; overflow: hidden; visibility: hidden;
}
.gov-nav > a:hover, .gov-item > a:hover { font-weight: 700; color: #fff; }
.gov-nav > a.active, .gov-item > a.active {
  font-weight: 700; color: #fff;
  border-bottom: 3px solid #FFD98A; padding-bottom: 3px;
}
.gov-caret { font-style: normal; font-size: 11px; font-weight: 400; opacity: .85; transition: transform .2s; }
.gov-item { position: relative; }
.gov-item:hover .gov-caret, .gov-item.open .gov-caret { transform: rotate(180deg); }
.gov-sub {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 158px; background: #E0F4FF;
  border-radius: 4px; box-shadow: var(--shadow-lg); padding: 6px 4px; display: none; z-index: 60;
}
/* 透明桥接：覆盖菜单与下拉之间的间隙，鼠标移过时不触发 mouseleave */
.gov-sub::before { content: ""; position: absolute; top: -4px; left: 0; right: 0; height: 4px; }
.gov-item:hover .gov-sub, .gov-item.open .gov-sub { display: block; }
.gov-sub a { display: block; padding: 8px 14px; font-size: 15px; color: var(--cyan-dark); border-radius: 3px; white-space: nowrap; text-align: center; }
.gov-sub a:hover { color: var(--indigo); font-weight: 700; background: rgba(255,255,255,.4); }

/* ---------- 通用布局 ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.page { min-height: 60vh; padding: 34px 0 60px; }
.page-head { margin-bottom: 30px; }
.page-title { font-size: 30px; font-weight: 700; color: var(--indigo); display: flex; align-items: center; gap: 12px; }
.page-title::before { content: ""; width: 6px; height: 28px; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--gold)); }
.page-sub { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.section { margin-bottom: 46px; }
.section-title { font-size: 22px; font-weight: 700; color: var(--indigo); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--indigo), var(--cyan)); flex-shrink: 0; }
.section-title .tag { font-size: 12px; font-weight: 500; color: #fff; background: var(--cyan); padding: 2px 9px; border-radius: 20px; }
.section-desc { color: var(--muted); margin-bottom: 20px; font-size: 14.5px; }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; border: 1px solid rgba(226,231,242,.6);
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 24px; border-radius: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.4;
  border: 1px solid var(--border); background: #F5F7FB; color: var(--text);
  transition: all .2s; white-space: nowrap;
}
.btn:not(.btn-primary):not(.btn-cyan):not(.btn-gold):not(.btn-outline):not(.btn-blue):not(.btn-violet):not(.btn-indigo):hover { background: var(--cyan-light); color: var(--indigo); }
.btn-primary { background: linear-gradient(135deg, var(--indigo), var(--indigo-light)); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(27,42,107,.35); transform: translateY(-1px); color: #fff; }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), var(--cyan-dark)); color: #fff; }
.btn-cyan:hover { box-shadow: 0 6px 18px rgba(18,165,184,.35); transform: translateY(-1px); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; }
.btn-gold:hover { box-shadow: 0 6px 18px rgba(217,161,59,.4); transform: translateY(-1px); color: #fff; }
.btn-outline { border-color: var(--indigo); color: var(--indigo); background: #fff; }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-blue { background: linear-gradient(135deg, #4A8DFF, #2B5BD7); color: #fff; }
.btn-blue:hover { box-shadow: 0 6px 18px rgba(74,141,255,.4); transform: translateY(-1px); color: #fff; }
.btn-violet { background: linear-gradient(135deg, #8B5CF6, #6D3FD8); color: #fff; }
.btn-violet:hover { box-shadow: 0 6px 18px rgba(139,92,246,.4); transform: translateY(-1px); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------- 标签 ---------- */
.badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 20px; font-weight: 500; }
.badge-cyan { background: var(--cyan-light); color: var(--cyan-dark); }
.badge-gold { background: var(--gold-light); color: var(--gold-dark); }
.badge-indigo { background: #E8ECF9; color: var(--indigo); }
.badge-green { background: #E4F5E7; color: #2E8B44; }
.badge-red { background: #FDEBEB; color: #C0392B; }
.badge-gray { background: #EEF1F7; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(18,165,184,.28), transparent 60%),
    radial-gradient(800px 400px at 10% 110%, rgba(217,161,59,.16), transparent 60%),
    linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo) 55%, var(--indigo-light) 100%);
  color: #fff; padding: 76px 0 66px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.hero .inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-main { flex: 1.25; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 14px; border-radius: 30px; margin-bottom: 22px;
}
.hero h1 { font-size: 40px; line-height: 1.35; font-weight: 700; letter-spacing: 1px; }
.hero h1 .hl { color: #7FE0EA; }
.hero .slogan { margin: 18px 0 6px; font-size: 16.5px; color: rgba(255,255,255,.88); }
.hero .slogan em { font-style: normal; color: #F2CE8A; font-weight: 600; }
.hero .ctas { flex-basis: 100%; margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero .ctas .btn { font-size: 15px; padding: 13px 10px; text-align: center; white-space: nowrap; }
.hero-side { flex: .75; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-side .patent { display: flex; flex-direction: column; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 22px 30px; text-align: center; }
.hero-side .patent .no { font-size: 15px; font-weight: 700; color: #F2CE8A; letter-spacing: 1px; }
.hero-side .patent .cap { font-size: 12px; color: rgba(255,255,255,.75); }
.hero-side .note { font-size: 12px; color: rgba(255,255,255,.6); text-align: center; }

/* ---------- 理念横幅 ---------- */
.philosophy { background: linear-gradient(90deg, var(--indigo), var(--cyan-dark)); color: #fff; }
.philosophy .inner { max-width: var(--maxw); margin: 0 auto; padding: 26px 20px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.philosophy .p1 { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.philosophy .p1 span { color: #F2CE8A; }
.philosophy .p2 { font-size: 13.5px; color: rgba(255,255,255,.75); }

/* ---------- 闭环流程（阶段化） ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.phase {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  position: relative; display: flex; flex-direction: column;
}
.phase::before { content: ''; height: 4px; flex-shrink: 0; border-radius: var(--radius) var(--radius) 0 0; }
.phase-indigo::before { background: linear-gradient(90deg, var(--indigo), var(--indigo-light)); }
.phase-cyan::before { background: linear-gradient(90deg, var(--cyan-dark), var(--cyan)); }
.phase-gold::before { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.phase::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 18px; font-weight: 700; z-index: 2;
}
.phase-head { display: flex; align-items: center; gap: 8px; padding: 16px 18px 4px; }
.phase-chip {
  font-size: 11.5px; font-weight: 700; color: #fff; padding: 3px 10px; border-radius: 999px; letter-spacing: 1px;
}
.phase-indigo .phase-chip { background: linear-gradient(135deg, var(--indigo), var(--indigo-light)); }
.phase-cyan .phase-chip { background: linear-gradient(135deg, var(--cyan-dark), var(--cyan)); }
.phase-gold .phase-chip { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.phase-head h4 { font-size: 14px; color: var(--indigo); }
.phase-steps {
  flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 10px 18px 18px; position: relative;
}
.phase-steps::before { content: ''; position: absolute; left: 35px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; }
.phase-indigo .phase-steps::before { background: #D9E1F5; }
.phase-cyan .phase-steps::before { background: #CDE9ED; }
.phase-gold .phase-steps::before { background: #F0E2C3; }
.ps { display: flex; gap: 10px; flex: 1; align-items: flex-start; }
.ps .num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px var(--card); z-index: 1;
}
.phase-indigo .ps .num { background: linear-gradient(135deg, var(--indigo), var(--indigo-light)); }
.phase-cyan .ps .num { background: linear-gradient(135deg, var(--cyan-dark), var(--cyan)); }
.phase-gold .ps .num { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.ps h5 { font-size: 13.5px; color: var(--indigo); margin-bottom: 2px; }
.ps p { font-size: 12px; color: var(--muted); line-height: 1.55; }
.flow-loop {
  border: 1.5px dashed var(--cyan); background: var(--cyan-light); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px;
}
.flow-loop .num {
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
  color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.flow-loop h4 { color: var(--cyan-dark); font-size: 14.5px; margin-bottom: 5px; }
.flow-loop p { color: var(--muted); font-size: 12px; line-height: 1.55; }

/* ---------- 数据看板 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 10px; }
.stat .n { font-size: 34px; font-weight: 800; background-image: linear-gradient(135deg, var(--indigo), var(--cyan-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .n-gold { background-image: linear-gradient(135deg, var(--gold-dark), #8A6210); }
.stat .n-cyan { background-image: linear-gradient(135deg, var(--cyan-dark), #0A6674); }
.stat .n-indigo { background-image: linear-gradient(135deg, var(--indigo), var(--indigo-dark)); }
.stat .l { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* ---------- 列表 ---------- */
.board-card { display: block; transition: transform .2s, box-shadow .2s; }
.board-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.board-card .ico {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.board-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.board-feat {
  grid-column: span 2; position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 26px 28px; display: flex; align-items: center; min-height: 132px;
  transition: transform .2s, box-shadow .2s; color: #fff;
}
.board-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.feat-indigo { background: linear-gradient(135deg, var(--indigo) 0%, #33479C 100%); }
.feat-cyan { background: linear-gradient(135deg, var(--cyan-dark) 0%, #17B4C7 100%); }
.board-feat .bf-ico {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px;
}
.board-feat h3 { font-size: 17px; margin-bottom: 5px; }
.board-feat p { font-size: 12.5px; color: rgba(255,255,255,.82); line-height: 1.6; max-width: 78%; }
.board-feat .bf-go {
  display: inline-block; margin-top: 10px; font-size: 12.5px; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 1px;
}
.board-feat .bf-mark {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(-8deg);
  font-size: 76px; opacity: .22; pointer-events: none;
}
/* ---------- 信息公开列表行 ---------- */
.drow {
  display: flex; align-items: center; gap: 14px; padding: 14px 4px;
  border-bottom: 1px dashed var(--border); transition: padding .2s, background .2s;
}
.drow:last-child { border-bottom: none; }
.drow:hover { padding-left: 10px; background: #FAFBFE; }
.drow .idx {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.drow .dtitle {
  flex: 1; font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.5;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.drow:hover .dtitle { color: var(--cyan-dark); }
.drow .badge { flex-shrink: 0; }
.drow .dmeta { flex-shrink: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.drow .darrow { flex-shrink: 0; color: var(--gold); font-weight: 700; }
.side-stats { flex: 1; display: flex; flex-direction: column; padding: 0; }
.side-title { font-size: 15.5px; font-weight: 700; color: var(--indigo); padding: 18px 20px 4px; }
.stats-side { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 16px 18px; }
.stats-side .stat { padding: 16px 6px; box-shadow: none; border: 1px solid var(--border); }
.stats-side .n { font-size: 26px; }
.stats-side .l { font-size: 12px; }
.stats-side .stat-link { transition: transform .2s, box-shadow .2s, border-color .2s; }
.stats-side .stat-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--cyan); }
.stats-side .stat-link .l { transition: color .2s; }
.stats-side .stat-link:hover .l { color: var(--indigo); }
.list-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 4px;
  border-bottom: 1px dashed var(--border); transition: padding .2s;
}
.list-item:hover { padding-left: 10px; }
.list-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.list-item .t { flex: 1; color: var(--text); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .t:hover { color: var(--cyan-dark); }
.list-item .d { color: var(--muted); font-size: 12.5px; white-space: nowrap; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { background: #F0F3FA; color: var(--indigo); text-align: left; padding: 12px 14px; font-weight: 600; white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.tbl tr:hover td { background: #FAFBFE; }

/* ---------- 项目备案横条（白底版，与信息公开一致） ---------- */
.home-band {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 30px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(27,42,107,.05); position: relative; overflow: hidden;
}
.home-band::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--indigo), var(--cyan));
}
.hb-main { position: relative; flex: 1; min-width: 250px; }
.hb-main h3 { font-size: 19px; margin-bottom: 6px; color: var(--indigo); }
.hb-main p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.hb-actions {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-width: 210px; align-items: stretch; flex: none;
}
.hb-actions .btn { justify-content: center; }
.hb-link { position: relative; color: var(--cyan-dark); font-size: 13px; text-decoration: underline; white-space: nowrap; text-align: center; }

/* ---------- 五步流程（首页 inline） ---------- */
.steps-inline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.steps-inline .st {
  background: #F6F8FD; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 10px; text-align: center; font-size: 13px; color: var(--indigo); font-weight: 600;
}
.steps-inline .st b {
  display: inline-flex; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cyan-light); color: var(--cyan-dark);
  align-items: center; justify-content: center; font-size: 13px; margin-bottom: 6px;
}

/* ---------- 流程卡（proc） ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.proc-grid .pc {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 16px; position: relative; overflow: hidden;
}
.proc-grid .pc b { font-size: 30px; font-weight: 800; color: #DCE3F5; display: block; margin-bottom: 8px; line-height: 1; }
.proc-grid .pc h5 { font-size: 14.5px; color: var(--indigo); margin-bottom: 6px; }
.proc-grid .pc p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 页内查询框 ---------- */
.dsearch { display: flex; gap: 10px; align-items: center; }
.dsearch input {
  flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--border);
  border-radius: 10px; padding: 0 16px; font-size: 14px; outline: none; transition: border-color .2s;
}
.dsearch input:focus { border-color: var(--cyan); }

/* ---------- 医疗机构 ---------- */
.org-tabs {
  display: flex; gap: 8px; margin-bottom: 24px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; padding: 6px;
  width: fit-content; max-width: 100%; overflow-x: auto;
}
.org-tab {
  border: none; background: transparent; padding: 9px 20px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer;
  white-space: nowrap; transition: all .2s;
}
.org-tab.active {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-light));
  color: #fff; box-shadow: 0 3px 10px rgba(27,42,107,.28);
}
.org-card { text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.org-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.org-logo {
  height: 64px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 26px; color: var(--indigo); font-weight: 700;
}
.org-logo img { max-height: 64px; max-width: 140px; object-fit: contain; }
.org-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.org-logo-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.org-logo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.org-logo-card img { height: 52px; max-width: 140px; object-fit: contain; }
.olg-txt {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #E8ECF9, var(--cyan-light));
  color: var(--indigo); font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.olg-name { font-size: 13px; color: var(--indigo); font-weight: 600; text-align: center; }

/* ---------- 研究员 ---------- */
.res-card { text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.res-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: #E8ECF9;
  margin: 0 auto 10px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--indigo);
}
.res-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 订阅服务 ---------- */
.subs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.subs-card { display: flex; flex-direction: column; }
.subs-actions { margin-top: auto; padding-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.subs-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.subs-head h3 { font-size: 18px; color: var(--indigo); flex: 1; }

/* ---------- 备案向导 ---------- */
.wiz-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.wiz-steps .ws {
  flex: 1; text-align: center; padding: 10px 6px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border); font-size: 12.5px; color: var(--muted);
}
.wiz-steps .ws b { display: block; font-size: 15px; margin-bottom: 3px; }
.wiz-steps .ws.on { background: linear-gradient(135deg, var(--indigo), var(--indigo-light)); color: #fff; border-color: transparent; font-weight: 600; }
.wiz-steps .ws.done { background: var(--cyan-light); color: var(--cyan-dark); border-color: transparent; }
.wiz-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; box-shadow: 0 2px 10px rgba(27,42,107,.05); }
.wiz-card h3 { font-size: 17px; color: var(--indigo); margin-bottom: 4px; }
.wiz-card .wiz-desc { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.wiz-foot { display: flex; gap: 12px; margin-top: 22px; justify-content: space-between; flex-wrap: wrap; }
.chk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chk {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
  font-size: 14px; background: #fff; transition: all .15s; user-select: none;
}
.chk.on { border-color: var(--cyan); background: var(--cyan-light); color: var(--cyan-dark); font-weight: 600; }
.upload-row {
  display: flex; align-items: center; gap: 12px; margin-top: 10px;
  padding: 10px 14px; background: #F8FAFE; border: 1px dashed var(--border); border-radius: 10px;
}
.upload-row .uinfo { font-size: 12.5px; color: var(--muted); flex: 1; min-width: 0; word-break: break-all; }
.upload-row .uinfo a { color: var(--cyan-dark); text-decoration: underline; }
.upload-row .uinfo .ok { color: #2E8B44; font-weight: 600; }
.commit-list { font-size: 13.5px; color: #3E4A6B; line-height: 2; padding-left: 20px; margin: 10px 0; }
.canvas-wrap { text-align: center; }
.canvas-wrap canvas { max-width: 100%; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 18px rgba(27,42,107,.12); }

/* ---------- 按钮补色 ---------- */
.btn-indigo { background: linear-gradient(135deg, var(--indigo), var(--indigo-light)); color: #fff; }
.btn-indigo:hover { box-shadow: 0 6px 18px rgba(27,42,107,.35); transform: translateY(-1px); color: #fff; }

/* ---------- 参考站通用组件（21wecan） ---------- */
.tab { position: relative; }
.tab .hd { position: relative; }
.bd > .c { display: none; }
.bd > .c.on { display: block; }
.htitle { border-bottom: 1px solid #dcdcdc; height: 34px; position: relative; }
.htitle a { display: inline-block; font-size: 18px; padding-bottom: 10px; line-height: 22px; color: var(--text); cursor: pointer; }
.htitle a:hover { color: var(--text); }
.htitle a.on { font-size: 20px; font-weight: 700; border-bottom: 2px solid var(--indigo); color: var(--text); }
.htitle i { font-style: normal; color: #dcdcdc; display: inline-block; margin: 0 10px; font-size: 20px; vertical-align: top; }
.htitle a.hmore { position: absolute; top: 5px; right: 0; color: var(--muted); font-size: 14px; font-weight: 400; }
.htitle a.hmore:hover { color: var(--indigo); }
.newslist li { line-height: 44px; height: 44px; position: relative; }
.newslist li span.date { position: absolute; right: 0; top: 0; color: #999; }
.newslist li a.title { width: 100%; display: inline-block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; }
.newslist li a.title:hover { color: var(--indigo); }
.newslist li i { font-style: normal; color: #bc1b2d; }
.newslist.MD li { padding-right: 4em; }
.newslist.YMD li { padding-right: 6em; }
.newslist.dot li { padding-left: 16px; }
.newslist.dot li:before { content: ''; position: absolute; left: 0; top: 50%; margin-top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #789cd2; }
.tab .column-more { position: absolute; font-size: 14px; color: var(--muted); top: 0; right: 0; }
.tab .column-more:hover { color: var(--indigo); }
.flex { display: flex; justify-content: space-between; flex-wrap: wrap; }
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }

/* ---------- 首页：轮播+要闻（21wecan 版式） ---------- */
.column1 { padding: 2%; display: flex; flex-wrap: wrap; justify-content: space-between; background: #fff; }
.hm-slide { position: relative; width: 566px; height: 303px; overflow: hidden; flex-shrink: 0; }
.hm-slide .hs {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; flex-direction: column; justify-content: center; padding: 0 56px;
  color: #fff; z-index: 1;
}
.hm-slide .hs.on { opacity: 1; z-index: 2; }
.hm-slide a.hs { text-decoration: none; }
.hm-slide .hs h3 { font-size: 26px; letter-spacing: 2px; margin-bottom: 12px; text-shadow: 1px 2px 4px rgba(0,0,0,.25); }
.hm-slide .hs p { font-size: 14px; opacity: .93; line-height: 1.7; text-shadow: 1px 1px 3px rgba(0,0,0,.25); }
.hm-slide .hs .hs-go { display: inline-block; margin-top: 18px; width: 116px; text-align: center; border: 1px solid rgba(255,255,255,.75); color: #fff; font-size: 13.5px; border-radius: 20px; padding: 7px 0; }
.hm-slide .hs .hs-go:hover { background: rgba(255,255,255,.18); color: #fff; }
/* 文章式轮播（带封面图）：图片铺底 + 底部渐变压题 */
.hm-slide .hs.has-img { padding: 0; justify-content: flex-end; }
.hm-slide .hs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hm-slide .hs.has-img .hs-tx {
  position: relative; z-index: 1; display: block; width: 100%; box-sizing: border-box;
  padding: 22px 30px; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.62) 100%);
}
.hm-slide .hs.has-img h3 { font-size: 22px; letter-spacing: 1px; margin-bottom: 6px; }
.hm-slide .hs.has-img p { font-size: 13px; line-height: 1.65; }
.hm-slide .arrow-left, .hm-slide .arrow-right {
  position: absolute; top: 50%; margin-top: -22px; width: 24px; height: 44px;
  background-color: rgba(0,0,0,.28); color: #fff; text-align: center; line-height: 44px;
  opacity: 0; z-index: 5; cursor: pointer; font-family: monospace; transition: opacity .25s; border: none; padding: 0;
}
.hm-slide:hover .arrow-left, .hm-slide:hover .arrow-right { opacity: 1; }
.hm-slide .arrow-left { left: 10px; }
.hm-slide .arrow-right { right: 10px; }
.hm-slide .pagination { position: absolute; bottom: 13px; right: 8px; z-index: 6; }
.hm-slide .pagination span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background-color: #fff; margin: 0 4px; cursor: pointer; opacity: .5; }
.hm-slide .pagination span.on { opacity: 1; }
.hm-focus { width: calc(100% - 596px); height: 303px; min-width: 280px; }
.hm-focus .bd { height: 259px; overflow: hidden; }

/* ---------- 首页：项目备案（左竖排横幅+按钮行+流程） ---------- */
.hm-filing { position: relative; background: #fff; }
.hm-filing .ft-title {
  position: absolute; top: 0; left: 0; width: 143px; height: 100%; z-index: 2;
  background: linear-gradient(160deg, var(--cyan) 0%, var(--indigo) 60%, var(--indigo-dark) 100%);
  display: flex; align-items: center; justify-content: center;
}
.hm-filing .ft-title a { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 8px; writing-mode: vertical-rl; }
.hm-filing .ft-title a:hover { color: #FFD98A; }
.hm-filing .hd { padding: 14px 24px 14px 180px; display: flex; align-items: center; gap: 16px; }
.hm-filing .hd .btn { flex: 1; justify-content: center; }
.hm-filing .bd { padding: 12px 24px 14px 180px; }
.hm-filing .steps { display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; }
.hm-filing .st {
  position: relative; flex: 1; min-width: 120px; text-align: center; font-size: 14px; color: var(--text);
  background: #F0F7FE; border: 1px solid #DDF0FF; border-radius: 6px; padding: 13px 10px;
}
.hm-filing .st:not(:last-child)::after {
  content: '→'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%);
  color: #7FB2E5; font-size: 14px; line-height: 1;
}
.hm-filing .st b { display: block; color: var(--indigo); margin-bottom: 6px; font-size: 16px; }

/* ---------- 首页：信息公开（左侧竖排标签） ---------- */
.column2 { position: relative; padding-left: 210px; background: #fff; }
.column2 .ctitle { position: absolute; top: 0; left: 0; width: 200px; height: 100%; background: #fff; }
.column2 .ctitle a {
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid #f6f6f6; box-sizing: border-box; height: 33.333%;
  font-size: 18px; font-weight: 700; text-align: center; position: relative; cursor: pointer; color: var(--text);
}
.column2 .ctitle a:hover { color: var(--indigo); }
.column2 .ctitle a.on { background-color: #3da3ff; color: #fff; }
.column2 .ctitle a.on:hover { color: #fff; }
.column2 .ctitle a.on:after { content: ""; position: absolute; width: 0; height: 0; border: 8px solid transparent; border-left-color: #3da3ff; top: 50%; margin-top: -8px; right: -16px; }
.column2 > .bd { height: 445px; padding: 20px; box-sizing: border-box; }
.column2 .bd > .c { height: 100%; }
.column2 .bd > .c.on { display: flex; justify-content: space-between; flex-wrap: wrap; }
.column2 .left { width: 48.88%; }
.column2 .right { width: 47.61%; }
.column2 .hd2 { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid #dcdcdc; height: 34px; margin-bottom: 10px; position: relative; }
.column2 .hd2 a { font-size: 18px; color: var(--text); padding-bottom: 10px; line-height: 22px; }
.column2 .hd2 a.on { font-size: 20px; font-weight: 700; border-bottom: 2px solid var(--indigo); }
.column2 .hd2 .hmore { position: absolute; right: 0; top: 5px; font-size: 14px; color: var(--muted); padding-bottom: 0; }
.column2 .hd2 .hmore:hover { color: var(--indigo); }
.column2 .more { display: block; background-color: #e0f4ff; line-height: 38px; text-align: center; font-size: 14px; color: var(--muted); }
.column2 .more:hover { background-color: #bae7ff; color: var(--text); }
.column2 .side-stats .stats-side { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.column2 .side-stats .stat { padding: 10px 6px; }

/* ---------- 登录弹窗（页眉登录入口） ---------- */
.modal.auth-modal { max-width: 420px; padding: 26px 28px 24px; }
.auth-modal h3 { margin-bottom: 16px; }
.auth-modal .auth-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.auth-modal .auth-tabs a { flex: 1; text-align: center; font-size: 16px; padding: 10px 0 12px; color: var(--muted); }
.auth-modal .auth-tabs a.on { color: var(--indigo); font-weight: 700; border-bottom: 2px solid var(--indigo); }
.auth-modal .auth-demo { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.auth-modal .auth-err {
  background: #FDEBEB; color: #C0392B; border: 1px solid #F5C6C6; border-radius: 8px;
  padding: 9px 14px; font-size: 13px; margin-bottom: 16px;
}

/* ---------- 全站搜索 ---------- */
.search-hero { background: linear-gradient(135deg, var(--indigo-dark), var(--indigo) 60%, var(--indigo-light)); border-radius: 10px; color: #fff; padding: 30px 32px; margin-bottom: 26px; }
.search-hero h2 { font-size: 22px; margin-bottom: 6px; }
.search-hero p { font-size: 13px; opacity: .85; margin-bottom: 16px; }
.search-hero .sbar { position: relative; max-width: 620px; }
.search-hero .sbar input { height: 44px; border-radius: 22px; border: 1px solid #D8E9F4; background: rgba(255,255,255,.14); color: #fff; padding: 0 96px 0 18px; font-size: 15px; }
.search-hero .sbar input::placeholder { color: rgba(255,255,255,.8); }
.search-hero .sbar input:focus { box-shadow: none; border-color: #fff; background: rgba(255,255,255,.2); }
.search-hero .sbar button { position: absolute; top: 0; right: 4px; height: 44px; border: none; background: none; color: #fff; padding: 0 18px; font-size: 15px; }
.search-group { margin-bottom: 28px; }
.search-group .sg-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.search-group .sg-head h3 { font-size: 19px; color: var(--indigo); }
.search-group .sg-head span { font-size: 13px; color: var(--muted); }
.search-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; margin-top: 20px; align-items: center; }

/* ---------- 提示 ---------- */
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 12px 22px; font-size: 14px; display: flex; align-items: center; gap: 9px;
  animation: toastIn .3s ease; max-width: 86vw;
}
.toast.ok { border-left: 4px solid #2E8B44; color: #2E8B44; }
.toast.err { border-left: 4px solid #C0392B; color: #C0392B; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 模态 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(16,28,78,.55); z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center; padding: 6vh 20px 20px;
  overflow-y: auto; animation: fadeIn .2s;
}
.modal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 560px; padding: 30px; position: relative; animation: modalIn .25s; }
.modal h3 { font-size: 19px; color: var(--indigo); margin-bottom: 20px; }
.modal .close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 22px; color: var(--muted); line-height: 1; }
.modal .close:hover { color: #C0392B; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- 用户工作台（固定高度控制台，内容面板内滚动） ---------- */
.wb { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: stretch; height: 600px; }
.wb-side { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden auto; }
.wb-tool { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 14.5px; color: var(--text); border-left: 3px solid transparent; border-bottom: 1px solid #f0f2f7; cursor: pointer; }
.wb-tool:last-child { border-bottom: none; }
.wb-tool i { width: 7px; height: 7px; border-radius: 50%; background: #c3cad9; flex-shrink: 0; }
.wb-tool:hover { background: #f4f8fc; color: var(--indigo); }
.wb-tool.on { color: var(--indigo); font-weight: 600; background: #eef4fb; border-left-color: var(--indigo); }
.wb-tool.on i { background: var(--indigo); }
.wb-main { min-width: 0; height: 100%; overflow-y: auto; }
.wb-panel { display: none; }
.wb-panel.on { display: block; }
.wb-panel-title { font-size: 19px; color: var(--indigo); margin-bottom: 14px; }
.wb-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.wb-panel-head .wb-panel-title { margin-bottom: 0; }
.wb-hello { font-size: 14px; color: #555; background: #f4f8fc; border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; line-height: 1.8; }
.wb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.wb-stat { background: linear-gradient(135deg, var(--indigo-dark), var(--indigo)); color: #fff; border-radius: 10px; padding: 18px 16px; }
.wb-stat b { display: block; font-size: 28px; margin-bottom: 4px; }
.wb-stat span { font-size: 13px; opacity: .9; }
.wb-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.wb-sub-title { font-size: 16px; color: var(--indigo); margin: 4px 0 12px; }
.wb-recent { list-style: none; margin: 0; padding: 0; }
.wb-recent li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #f0f2f7; font-size: 14px; flex-wrap: wrap; }
.wb-recent li:last-child { border-bottom: none; }
.wb-recent-title { flex: 1 1 auto; min-width: 120px; color: var(--text); }
.wb-recent-date { color: var(--muted); font-size: 13px; margin-left: auto; }
.wb-empty { color: var(--muted); padding: 16px 0; font-size: 14px; }
.wb-tip { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
@media screen and (max-width: 991px) {
  /* 手机端：工具侧边栏变横向滚动标签，工作台恢复自然高度（整页滚动） */
  .wb { grid-template-columns: 1fr; gap: 14px; height: auto; }
  .wb-main { height: auto; overflow: visible; }
  .wb-side { position: static; display: flex; overflow-x: auto; background: transparent; box-shadow: none; border-radius: 0; }
  .wb-tool { flex: 0 0 auto; padding: 8px 14px; margin-right: 8px; border: 1px solid #dde3ee; border-left: 1px solid #dde3ee; border-bottom: 1px solid #dde3ee; border-radius: 18px; background: var(--card); font-size: 13.5px; }
  .wb-tool i { display: none; }
  .wb-tool.on { background: var(--indigo); color: #fff; border-color: var(--indigo); }
  .wb-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .wb-stat { padding: 14px 12px; }
  .wb-stat b { font-size: 24px; }
  .wb-panel-head { flex-wrap: wrap; }
  .wb-recent li { padding: 10px 12px; }
  .wb .form-actions { flex-wrap: wrap; }
}

/* ---------- 页脚（参照21wecan：蓝底白字，手机端灰底深字） ---------- */
.footer { background-color: #368ec9; font-size: 15px; padding: 18px 0; color: #fff; margin-top: 30px; }
.footer a { color: #fff; }
.footer a:hover { color: #fff; opacity: .85; }
.footer .flex { align-items: center; justify-content: space-between; gap: 40px; }
.footer .middle { text-align: center; line-height: 30px; flex: 1 1 auto; }
.footer .right { background-color: #5ca9dd; border: 2px solid #6bbdf5; padding: 7px; align-items: center; height: 84px; }
.footer .right img { width: 70px; height: 70px; object-fit: contain; background: #fff; border-radius: 4px; padding: 4px; }
.footer .right span { font-size: 12px; line-height: 20px; margin-left: 8px; }
.footer .copyright { font-size: 13px; line-height: 28px; }
.footer .copyright > span { display: block; padding-right: 0; }
.footer .copyright a { display: block; padding-right: 0; }
.footer .copyright .nb { white-space: nowrap; }
@media screen and (max-width: 991px) {
  /* 手机端页脚：仅主办单位+备案号+二维码，左右排列 */
  .footer { background-color: #f3f3f3; color: #333; font-size: 14px; text-align: left; padding: 16px 0; }
  .footer a { color: #333; }
  .footer .flex { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .footer .middle { flex: 0 1 auto; min-width: 0; text-align: left; line-height: 25px; margin: 0; }
  .footer .copyright { font-size: 12.5px; line-height: 24px; }
  .footer .copyright > span { display: block; padding-right: 0; }
  .footer .copyright a { display: block; padding-right: 0; }
  .footer .right { display: flex; align-items: center; width: auto !important; background: none; border: none; height: auto; padding: 0; margin: 0 0 0 auto; flex-shrink: 0; }
  .footer .right img { width: 80px; height: 80px; padding: 4px; }
  .footer .right span { display: none; }
}

/* ---------- AI 悬浮窗 ---------- */
.chat-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #fff; font-size: 26px; box-shadow: 0 8px 26px rgba(18,165,184,.45);
  display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.chat-fab:hover { transform: scale(1.07); }
.chat-fab .pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(18,165,184,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
.chat-panel {
  position: fixed; right: 26px; bottom: 96px; z-index: 950; width: 370px; max-width: calc(100vw - 40px);
  height: 540px; max-height: calc(100vh - 140px); background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; animation: modalIn .25s; }
.chat-head { background: linear-gradient(135deg, var(--indigo), var(--cyan-dark)); color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.chat-head .t1 { font-weight: 700; font-size: 15px; }
.chat-head .t2 { font-size: 11.5px; opacity: .8; }
.chat-head .close { margin-left: auto; background: none; border: none; color: #fff; font-size: 20px; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: #F4F6FB; }
.msg { margin-bottom: 14px; display: flex; }
.msg .bubble { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 14px; line-height: 1.65; word-break: break-word; white-space: pre-wrap; }
.msg.user { justify-content: flex-end; }
.msg.user .bubble { background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { justify-content: flex-start; }
.msg.ai .bubble { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg .typing { color: var(--muted); font-size: 13px; padding: 12px 0; }
.chat-foot { border-top: 1px solid var(--border); padding: 12px; display: flex; gap: 10px; background: #fff; }
.chat-foot textarea { flex: 1; min-height: 44px; max-height: 100px; border-radius: 12px; }
.chat-foot .send { width: 46px; border-radius: 12px; border: none; background: linear-gradient(135deg, var(--cyan), var(--cyan-dark)); color: #fff; font-size: 18px; }
.chat-foot .send[disabled] { opacity: .5; }
/* 手机端AI按钮上移，让出页脚二维码空间（≤991 页脚为简化版；需在基础规则之后才生效） */
@media screen and (max-width: 991px) {
  .chat-panel { right: 10px; bottom: 176px; }
  .chat-fab { right: 14px; bottom: 108px; }
}

/* ---------- 详情页 ---------- */
.detail-head h1 { font-size: 26px; color: var(--indigo); line-height: 1.5; }
.detail-meta { color: var(--muted); font-size: 13px; margin: 10px 0 22px; display: flex; gap: 18px; flex-wrap: wrap; }
.rich { font-size: 15px; line-height: 2; color: #33405F; }
.rich p { margin-bottom: 14px; }
.rich h2, .rich h3 { color: var(--indigo); margin: 22px 0 10px; }
.rich img { max-width: 100%; height: auto; border-radius: 6px; }
.rich table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 14px; }
.rich th, .rich td { border: 1px solid #D5E2EF; padding: 8px 12px; vertical-align: top; }
.rich-src { margin-top: 26px; padding-top: 14px; border-top: 1px dashed #D5E2EF; text-align: right; }
.rich-src a { color: var(--indigo); font-size: 14px; }
.rich-src a:hover { text-decoration: underline; }

/* ---------- 手机端（参照21wecan自适应，断点991px） ---------- */
@media screen and (max-width: 991px) {
  body { background-color: #fff; }
  .m-hide { display: none !important; }
  .m-100 { width: 100% !important; }
  .m-mt20 { margin-top: 20px !important; }
  .m-hauto { height: auto !important; }
  /* 头部：品牌单行 + 登录/搜索同行 + 深蓝网格导航（子项收起，参考站手机版） */
  .gov { height: auto; }
  .gov-inner { padding: 12px 2% 10px; }
  .gov-top { flex-direction: column; align-items: stretch; gap: 8px; }
  .gov-brand { width: 100%; margin: 0; justify-content: flex-start; gap: 8px; }
  .gov-brand img { width: 40px; height: 40px; padding: 4px; border-radius: 50%; }
  .gov-titles { line-height: 1.2; }
  .gt1 { font-size: 16.5px; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
  .gt2 { display: none; }
  .gov-right { width: 100%; flex-direction: row; align-items: center; gap: 8px; }
  .gov-topbar { font-size: 13px; padding-top: 0; white-space: nowrap; flex-shrink: 0; }
  .gov-topbar a { padding: 3px 8px; }
  .gov-search { flex: 1; width: auto; max-width: 100%; margin: 0; }
  .gov-search input { height: 36px; line-height: 34px; border-radius: 18px; padding: 0 40px 0 14px; font-size: 14px; }
  .gov-search button { width: 36px; }
  .gov-nav {
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin: 10px -2.2% 0; background-color: #395fa2; padding: 2px 0; width: calc(100% + 4.4%);
  }
  .gov-nav > a, .gov-item > a {
    justify-content: center; text-align: center; padding: 8px 4px; font-size: 15px;
    border-right: 1px solid #729dd5; width: 100%;
  }
  .gov-nav > a:nth-child(3n), .gov-item:nth-child(3n) > a { border-right: none; }
  .gov-nav > a.active, .gov-item > a.active { border-bottom: none; padding-bottom: 8px; color: #FFD98A; }
  .gov-item { position: static; }
  .gov-caret { display: none; }
  .gov-sub { display: none; }
  .gov-item:hover .gov-sub, .gov-item.open .gov-sub { display: none; }
  /* 首页 */
  .column1 { padding: 0; display: block; }
  .hm-slide { width: 100%; height: 0; padding-top: 60.88%; }
  .hm-slide .hs { padding: 0 36px; }
  .hm-slide .hs.has-img { padding: 0; }
  .hm-slide .hs.has-img .hs-tx { padding: 12px 16px; }
  .hm-slide .hs.has-img h3 { font-size: 16px; letter-spacing: 0; margin-bottom: 4px; }
  .hm-slide .hs.has-img p { font-size: 12px; line-height: 1.5; }
  .hm-slide .hs h3 { font-size: 20px; letter-spacing: 1px; margin-bottom: 8px; }
  .hm-slide .hs p { font-size: 13px; line-height: 1.6; }
  .hm-slide .hs .hs-go { margin-top: 12px; padding: 5px 0; font-size: 12.5px; width: 100px; }
  .hm-slide .hs, .hm-slide .pagination { position: absolute; }
  .hm-slide .arrow-left, .hm-slide .arrow-right { opacity: 1; }
  .hm-slide .pagination span { margin: 0 2px; }
  .hm-focus { width: 100%; height: auto; padding: 0 4%; margin-top: 20px; }
  .hm-focus .bd { height: auto; }
  .newslist li { line-height: 32px; height: 32px; }
  .hm-filing .ft-title { position: relative; height: auto; width: 100%; background: none; border-bottom: 1px solid #dcdcdc; justify-content: flex-start; padding: 0 4%; }
  .hm-filing .ft-title a { writing-mode: horizontal-tb; letter-spacing: 0; font-size: 20px; color: #333; border-bottom: 2px solid var(--indigo); padding-bottom: 3px; }
  .hm-filing .ft-title a:hover { color: #333; }
  .hm-filing .hd { padding: 0 4%; margin-top: 16px; height: auto; flex-wrap: wrap; gap: 10px; }
  .hm-filing .hd .btn { flex: 1 1 auto; }
  .hm-filing .bd { padding: 10px 4% 16px; }
  .hm-filing .st { min-width: 100%; text-align: left; }
  .hm-filing .st::after { display: none; }
  .hm-filing .st b { display: inline-block; margin: 0 6px 0 0; }
  .column2 { padding-left: 0; }
  .column2 .ctitle { position: relative; width: 100%; height: auto; display: flex; flex-wrap: wrap; }
  .column2 .ctitle a { display: inline-flex; height: auto; line-height: 42px; padding: 0 8px; font-size: 15px; border-bottom: none; }
  .column2 .ctitle a.on:after { display: none; }
  .column2 > .bd { height: auto; padding: 15px 4% 10px; }
  .column2 .bd > .c { height: auto; flex-direction: column; }
  .column2 .left, .column2 .right { width: 100%; }
  .column2 .hd2 { height: 29px; }
  .column2 .hd2 a { font-size: 16px; padding-bottom: 5px; }
  .column2 .hd2 a.on { font-size: 18px; }
  .column2 .right .hd2 { margin-top: 20px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .board-bento { grid-template-columns: repeat(2, 1fr); }
  .board-rest { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .phase::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .proc-grid { grid-template-columns: repeat(3, 1fr); }
  .subs-grid { grid-template-columns: 1fr; }
  .footer .inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero .inner { flex-direction: column; }
  .hero h1 { font-size: 26px; }
  .hero { padding: 46px 0 42px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .board-bento, .board-rest { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .home-band { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .hb-actions { width: 100%; }
  .hb-actions .btn { flex: 1; }
  .steps-inline { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .subs-grid { grid-template-columns: 1fr; }
  .dsearch { flex-wrap: wrap; }
  .dsearch button { flex: 1; }
  .org-tabs { width: 100%; }
  .org-tab { flex: 1; padding: 9px 10px; }
  .wiz-steps { flex-wrap: wrap; }
  .wiz-steps .ws { flex: 1 1 30%; }
  .wiz-card { padding: 20px 16px; }
  .chk-grid { grid-template-columns: 1fr; }
  .upload-row { flex-wrap: wrap; }
  .disclose-layout { grid-template-columns: 1fr; }
  .drow { flex-wrap: wrap; }
  .drow .dtitle { flex-basis: calc(100% - 48px); white-space: normal; }
  .drow .badge, .drow .dmeta { margin-left: 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .hero .ctas { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 24px; }
  .footer .inner { grid-template-columns: 1fr; gap: 22px; }
  /* 手机端表格转卡片：每行一个卡片，字段名+值上下/左右排列 */
  .table-wrap { overflow: visible; }
  .tbl, .tbl tbody { display: block; }
  .tbl thead { display: none; }
  .tbl tr { display: block; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; background: #fff; box-shadow: 0 1px 4px rgba(27,42,107,.04); }
  .tbl td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px dashed var(--border); text-align: right; }
  .tbl tr td:last-child { border-bottom: none; }
  .tbl td::before { content: attr(data-label); font-weight: 600; color: var(--indigo); text-align: left; flex-shrink: 0; }
  .tbl tr:hover td { background: #fff; }
}
@media (max-width: 420px) {
  .hero .ctas { grid-template-columns: 1fr; }
}
