:root {
  --blue-950: #082b61;
  --blue-900: #103a78;
  --blue-700: #1d5fd1;
  --blue-100: #eaf3ff;
  --red-700: #c9272d;
  --green-700: #168a64;
  --amber-700: #b7791f;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e2ee;
  --bg: #f3f6fa;
  --panel: #ffffff;
  --shadow: 0 18px 50px rgba(22, 45, 80, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 14px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.gov-strip {
  color: #d8e7fb;
  background: #06234e;
  font-size: 12px;
}

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

.strip-inner a {
  color: #d8e7fb;
  text-decoration: none;
}

.strip-inner a:hover {
  text-decoration: underline;
}

.strip-inner .utility-link {
  margin-left: auto;
  color: #b9c9e3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  min-height: 70px;
  grid-template-columns: minmax(0, 320px) 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-seal {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--red-700), #8f151a);
  font-size: 20px;
  font-weight: 800;
}

.brand h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: 21px;
  letter-spacing: 0;
}

.brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #31415a;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-700);
  background: var(--blue-100);
  font-weight: 700;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.ghost,
.login-btn,
.full-btn,
.text-action,
.deadline-card button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
}

.login-btn,
.full-btn {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: #fff;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero {
  position: relative;
  min-height: 520px;
  padding: 58px 0 44px;
  background:
    linear-gradient(100deg, rgba(8, 43, 97, 0.96) 0%, rgba(16, 58, 120, 0.92) 58%, rgba(29, 95, 209, 0.8) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 24px);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: 5%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 140, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 15%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 95, 209, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== 通知公告首屏条 ===== */
.notice-top-bar {
  position: relative;
  z-index: 5;
  padding-top: 0;
}

.notice-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(22, 45, 80, 0.06);
}

.notice-bar-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.notice-bar-scroll {
  flex: 1;
  overflow: hidden;
  min-height: 22px;
}

.notice-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}

.notice-bar-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-700);
  flex-shrink: 0;
}

.notice-bar-item b {
  font-weight: 600;
}

.notice-bar-item span {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.notice-more-btn {
  font-size: 13px;
  color: var(--blue-700);
  background: transparent;
  border: none;
  white-space: nowrap;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 热门服务 ===== */
.hot-services .section-head h3 {
  font-size: 20px;
  color: var(--blue-950);
}

.hot-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.hot-svc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(22, 45, 80, 0.06);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.hot-svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(22, 45, 80, 0.12);
}

.hot-svc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.hot-svc-icon-wrap.blue {
  background: var(--blue-100);
  color: var(--blue-700);
}

.hot-svc-icon-wrap.green {
  background: #eaf8f1;
  color: var(--green-700);
}

.hot-svc-icon-wrap.amber {
  background: #fff6df;
  color: var(--amber-700);
}

.hot-svc-icon-wrap.red {
  background: #fde8ea;
  color: var(--red-700);
}

.hot-svc-card b {
  font-size: 16px;
  text-align: center;
  color: var(--ink);
}

.hot-svc-card p {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: center;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 12px;
  font-weight: 800;
}

.hero .label,
.page-hero .label {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

h2,
h3,
p {
  margin: 0;
}

.hero h2 {
  max-width: 790px;
  margin-top: 18px;
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 760px;
  margin-top: 18px;
  color: #d6e5f7;
  font-size: 17px;
  line-height: 1.8;
}

.batch-spotlight {
  display: flex;
  max-width: 780px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 4px solid #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.batch-spotlight span {
  color: #d8e7fb;
  font-size: 12px;
}

.batch-spotlight b {
  display: block;
  margin: 6px 0;
  font-size: 19px;
}

.batch-spotlight p {
  margin-top: 0;
  color: #d8e7fb;
  font-size: 13px;
}

.batch-spotlight button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 132px;
  max-width: 760px;
  margin-top: 28px;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.search-box input,
.login-card input {
  min-height: 46px;
  border: 0;
  padding: 0 14px;
  color: #667085;
  outline: 0;
}

.search-box button {
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--red-700);
  font-weight: 800;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.login-panel,
.section-block,
.guide-card,
.project-main,
.project-side,
.profile-card,
.center-main,
.login-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(22, 45, 80, 0.08);
}

.login-panel {
  padding: 22px;
  color: var(--ink);
}

.panel-title span,
.login-note,
.todo-preview span,
.notice-list span,
.service-card p,
.matter-card p,
.doc span,
.deadline-card p,
.project-side dd,
.profile-card p,
.card p {
  color: var(--muted);
}

.panel-title strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-950);
  font-size: 20px;
}

.login-options,
.auth-methods,
.catalog-tabs,
.identity-switch {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.login-options button,
.auth-methods button,
.catalog-tabs button,
.identity-switch button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.login-options .selected,
.auth-methods .active,
.catalog-tabs .active,
.identity-switch .active {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: var(--blue-100);
  font-weight: 800;
}

.identity-card {
  margin: 18px 0;
  padding: 16px;
  border-radius: 7px;
  background: #f6f9fd;
}

.identity-card b {
  display: block;
  margin: 6px 0;
  color: var(--ink);
}

.full-btn {
  width: 100%;
}

.login-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
}

/* 二维码登录（与 identity-card 同尺寸，点击切换显示） */
.login-switch {
  position: relative;
  height: 124px;
  margin: 18px 0;
}

.identity-card,
.qr-login-section {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 16px;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.identity-card {
  background: #f6f9fd;
}

.qr-login-section {
  background: #f6f9fd;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.qr-login-section.active {
  opacity: 1;
  pointer-events: auto;
}

.identity-card.hidden {
  opacity: 0;
  pointer-events: none;
}

.qr-code-box {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  border: 1px dashed var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.qr-login-section span {
  font-size: 12px;
  color: var(--muted);
}

.home-body {
  padding: 24px 0 44px;
}

/* 热门服务用白色卡片包起来，让标题可见 */
.hot-services {
  padding: 20px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #fff;
}

.identity-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.identity-mini button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.identity-mini .active {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: var(--blue-100);
  font-weight: 800;
}

.workbench-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.workbench-card {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
}

.workbench-card span {
  color: var(--muted);
  font-size: 13px;
}

.workbench-card b {
  display: block;
  margin-top: 12px;
  font-size: 26px;
}

.section-block {
  margin-top: 18px;
  padding: 20px;
}

.no-margin {
  margin-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h3 {
  margin-top: 8px;
  font-size: 22px;
  color: var(--blue-950);
}

.text-action {
  color: var(--blue-700);
  background: #f8fbff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.compact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.announcement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 14px;
}

.batch-board {
  display: grid;
  gap: 12px;
}

.pinned-board {
  padding: 14px;
  border: 1px solid #b8cceb;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.board-title {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-weight: 800;
}

.pinned-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pinned-card {
  min-height: 144px;
  padding: 14px;
  border: 1px solid #c8d8ee;
  border-radius: 7px;
  background: #fff;
}

.pinned-card b {
  display: block;
  margin: 10px 0 8px;
  font-size: 17px;
}

.pinned-card p {
  color: var(--muted);
  font-size: 13px;
}

.pinned-card button {
  min-height: 32px;
  margin-top: 12px;
  border: 1px solid var(--blue-700);
  border-radius: 5px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.batch-list {
  display: grid;
  gap: 10px;
}

.batch-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #b8cceb;
  border-left: 4px solid var(--blue-700);
  border-radius: 7px;
  background: #f6faff;
}

.batch-card b {
  display: block;
  margin: 6px 0 7px;
  font-size: 18px;
  color: var(--ink);
}

.batch-card span {
  color: var(--muted);
  font-size: 13px;
}

.batch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.batch-meta span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #50627a;
  background: #eef3f8;
  font-size: 12px;
}

.legacy-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.legacy-group {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
}

.legacy-group b {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-950);
}

.legacy-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legacy-group button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #c9d8ec;
  border-radius: 999px;
  color: #31415a;
  background: #fff;
}

.legacy-group button:hover {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: var(--blue-100);
}

.support-list {
  display: grid;
  gap: 10px;
}

.support-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
}

.support-item b {
  display: block;
  margin-bottom: 5px;
}

.support-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.service-card,
.matter-card,
.card {
  position: relative;
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.service-card b,
.matter-card b,
.card b {
  display: block;
  font-size: 18px;
}

.service-card p,
.matter-card p,
.card p {
  margin-top: 9px;
  line-height: 1.65;
}

.service-card .tag,
.matter-card .tag {
  display: inline-flex;
  margin-top: 16px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 12px;
  font-weight: 800;
}

.split-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
  gap: 18px;
  margin-top: 18px;
}

.notice-list,
.todo-preview {
  display: grid;
  gap: 10px;
}

.notice-item,
.todo-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfe;
}

.notice-item b,
.todo-item b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.status {
  display: inline-flex;
  min-width: 72px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status.blue {
  color: var(--blue-700);
  background: var(--blue-100);
}

.status.green {
  color: var(--green-700);
  background: #eaf8f1;
}

.status.amber {
  color: var(--amber-700);
  background: #fff6df;
}

.value-chain {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 1.2fr 1.1fr;
  gap: 12px;
}

.value-chain div {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
}

.value-chain .strong {
  border-color: #9fc0ef;
  background: #f0f7ff;
}

.value-chain b {
  display: block;
  margin-bottom: 8px;
}

.value-chain span {
  color: var(--muted);
  line-height: 1.6;
}

.page-hero {
  position: relative;
  padding: 54px 0;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(8, 43, 97, 0.96), rgba(29, 95, 209, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 24px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 8%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 140, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero.compact {
  padding: 42px 0;
}

.page-hero h2 {
  max-width: 860px;
  margin-top: 14px;
  font-size: 34px;
  line-height: 1.35;
}

.page-hero p {
  max-width: 790px;
  margin-top: 12px;
  color: #d8e7fb;
  line-height: 1.75;
}

.page-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0 44px;
}

.guide-card {
  align-self: start;
  padding: 20px;
}

.guide-card label {
  display: block;
  margin: 16px 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
}

.check-list input {
  width: auto;
  min-height: auto;
}

.guide-result {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #b8cceb;
  border-radius: 6px;
  background: #f6faff;
  color: #31415a;
  line-height: 1.65;
}

select,
.guide-card select,
.filters input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 10px;
  background: #fff;
}

.catalog-tabs {
  margin: 0 0 14px;
}

.matter-list,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.matter-card {
  min-height: 190px;
}

.matter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.hero-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 32px;
  align-items: center;
}

.deadline-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.deadline-card span {
  color: #d8e7fb;
}

.deadline-card b {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}

.deadline-card button {
  margin-top: 16px;
}

.project-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 18px;
  padding: 24px 0 44px;
}

.project-main,
.project-side {
  padding: 20px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.step {
  min-height: 54px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.step.done {
  border-color: #b8d9ca;
  color: var(--green-700);
  background: #effaf5;
}

.step.current {
  border-color: #9fc0ef;
  color: var(--blue-700);
  background: var(--blue-100);
  font-weight: 800;
}

.vertical-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 18px 0;
  padding-left: 24px;
}

.vertical-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 2px;
  background: #cbd8e8;
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 14px;
  min-height: 72px;
  padding: 0 0 16px;
}

.timeline-row::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 3px solid #cbd8e8;
  border-radius: 50%;
  background: #fff;
}

.timeline-row.done::before {
  border-color: var(--green-700);
}

.timeline-row.current::before {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 5px var(--blue-100);
}

.timeline-time {
  color: var(--muted);
  font-size: 12px;
}

.timeline-main b {
  display: block;
  margin-bottom: 5px;
}

.timeline-main span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.doc-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.doc {
  min-height: 128px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
}

.doc.active {
  border-color: #9fc0ef;
  background: #f1f7ff;
}

.doc b {
  display: block;
  margin-bottom: 8px;
}

.doc span {
  line-height: 1.55;
  font-size: 13px;
}

.form-preview {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: #f6f9fd;
  border-bottom: 1px solid var(--line);
}

.form-head button,
.project-side button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.form-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.form-steps div {
  padding: 14px;
  border-right: 1px solid var(--line);
}

.form-steps div:last-child {
  border-right: 0;
}

.form-steps b,
.form-steps span {
  display: block;
}

.form-steps span {
  margin-top: 8px;
  color: var(--green-700);
  font-size: 12px;
}

.form-steps .warn {
  color: var(--amber-700);
}

.project-side dl {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  margin: 18px 0;
}

.project-side dt {
  color: var(--muted);
}

.material-warning {
  padding: 14px;
  border-left: 4px solid var(--amber-700);
  border-radius: 5px;
  background: #fff8e8;
}

.material-warning p {
  margin-top: 8px;
  color: #6d551d;
  line-height: 1.6;
}

.fix-btn {
  width: 100%;
  min-height: 36px;
  margin-top: 12px;
  border: 1px solid #f0d28d;
  border-radius: 5px;
  color: #6d551d;
  background: #fff;
}

.card-grid {
  padding: 24px 0 44px;
}

.zone-layout {
  display: grid;
  gap: 18px;
  padding: 24px 0 44px;
}

.flow-panel,
.expert-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(22, 45, 80, 0.06);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.flow-step {
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
}

.flow-step b {
  display: block;
  margin-bottom: 8px;
}

.flow-step span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.inset {
  padding: 0;
}

.expert-work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.expert-task {
  min-height: 158px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
}

.expert-task b {
  display: block;
  margin-bottom: 8px;
}

.expert-task p {
  color: var(--muted);
  line-height: 1.6;
}

.expert-task button {
  margin-top: 14px;
  min-height: 34px;
  border: 1px solid var(--blue-700);
  border-radius: 5px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.center-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0 48px;
}

.identity-page {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  padding: 32px 0 52px;
}

.identity-intro,
.identity-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(22, 45, 80, 0.06);
}

.identity-intro {
  align-self: start;
  padding: 24px;
}

.identity-intro h2 {
  margin-top: 14px;
  font-size: 28px;
}

.identity-intro p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.identity-option {
  min-height: 178px;
  padding: 18px;
}

.identity-option b {
  display: block;
  font-size: 18px;
}

.identity-option p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.identity-option button {
  margin-top: 16px;
  min-height: 34px;
  border: 1px solid var(--blue-700);
  border-radius: 5px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.profile-card,
.center-main {
  padding: 20px;
}

.avatar {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-700);
  font-size: 26px;
  font-weight: 800;
}

.profile-card h2 {
  margin-top: 14px;
}

.identity-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: 6px;
  color: #31415a;
  background: #f6f9fd;
  line-height: 1.65;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

th {
  color: #475467;
  background: #f4f7fb;
}

.login-page {
  position: relative;
  display: grid;
  min-height: calc(100vh - 112px);
  place-items: center;
  padding: 36px 0;
  background:
    linear-gradient(120deg, rgba(8, 43, 97, 0.92), rgba(29, 95, 209, 0.64)),
    #0c316d;
  overflow: hidden;
}

.login-page::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 140, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.login-card {
  width: min(460px, calc(100% - 32px));
  padding: 28px;
}

.login-card h2 {
  margin-top: 12px;
}

.login-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.login-card input {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

@media (max-width: 1280px) {
  .header-inner {
    gap: 12px;
  }

  .nav-link {
    padding: 0 10px;
    font-size: 13px;
  }

  .brand h1 {
    font-size: 18px;
  }

  .brand p {
    font-size: 11px;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .top-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-grid,
  .split-row,
  .page-layout,
  .hero-two,
  .project-shell,
  .center-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .matter-list,
  .card-grid,
  .value-chain,
  .doc-board,
  .announcement-layout,
  .workbench-grid,
  .flow-steps,
  .expert-work,
  .legacy-groups,
  .identity-page,
  .identity-grid,
  .pinned-list,
  .hot-svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-line,
  .form-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .strip-inner,
  .section-head,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h2,
  .page-hero h2 {
    font-size: 28px;
  }

  .search-box,
  .service-grid,
  .matter-list,
  .card-grid,
  .value-chain,
  .doc-board,
  .process-line,
  .form-steps,
  .announcement-layout,
  .workbench-grid,
  .flow-steps,
  .expert-work,
  .timeline-row,
  .legacy-groups,
  .identity-page,
  .identity-grid,
  .pinned-list,
  .hot-svc-grid {
    grid-template-columns: 1fr;
  }

  .batch-spotlight {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ===== 旧系统入口面板 ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.legacy-panel {
  position: fixed;
  top: 0;
  right: -600px;
  width: min(580px, 100vw - 40px);
  height: 100vh;
  background: #fff;
  z-index: 101;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  padding: 24px;
  transition: right 0.3s ease;
}

.legacy-panel.active {
  right: 0;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  font-size: 20px;
  color: var(--blue-950);
  margin: 0;
}

.panel-head p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.close-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f4f7fb;
  color: var(--muted);
  font-size: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

.close-btn:hover {
  background: #e8eef5;
}

.systems-grid {
  display: grid;
  gap: 12px;
}

.system-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.system-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
}

.system-group-head b {
  font-size: 14px;
  color: var(--blue-950);
}

.system-group-head .chevron {
  color: var(--muted);
  transition: transform 0.2s;
  font-size: 12px;
}

.system-group-head.collapsed .chevron {
  transform: rotate(-90deg);
}

.system-group-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.system-group-items.collapsed {
  max-height: 0 !important;
  padding: 0 12px;
}

.system-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}

.system-card:hover {
  border-color: var(--blue-700);
  background: var(--blue-100);
}

.system-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}

.system-icon.blue {
  background: var(--blue-100);
  color: var(--blue-700);
}

.system-icon.green {
  background: #eaf8f1;
  color: var(--green-700);
}

.system-icon.amber {
  background: #fff6df;
  color: var(--amber-700);
}

.system-icon.red {
  background: #fde8ea;
  color: var(--red-700);
}

.system-icon.purple {
  background: #f0e8ff;
  color: #7c3aed;
}

.system-card b {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 1120px) {
  .system-group-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .system-group-items {
    grid-template-columns: 1fr;
  }
}

/* ===== 新增：登录面板待办预览 ===== */
.todo-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
  padding: 14px;
  border-radius: 6px;
  background: var(--bg);
}

.todo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}

.todo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.todo-badge.warn { background: var(--red-700); }
.todo-badge.draft { background: var(--amber-700); }
.todo-badge.doing { background: var(--blue-700); }
.todo-badge.review { background: var(--green-700); }

.todo-hint {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.login-sub-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}

.login-sub-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.login-sub-links a:hover {
  color: var(--blue-700);
}

/* ===== 新增：原系统入口折叠 ===== */
.legacy-collapsible .legacy-groups {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.legacy-collapsible.collapsed .legacy-groups {
  max-height: 0;
}

.legacy-collapsible .collapse-toggle {
  font-size: 12px;
}

.legacy-collapsible h3 small {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

/* ===== 新增：业务全景流程图 ===== */
.value-chain-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 24px 0;
}

.vc-row {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
}

.vc-arrow {
  font-size: 22px;
  color: var(--blue-700);
  line-height: 1;
  padding: 4px 0;
}

.vc-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 28px;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: #fff;
  min-width: 200px;
  transition: transform 0.2s;
}

.vc-node:hover {
  transform: translateY(-2px);
}

.vc-node b {
  font-size: 16px;
  margin-bottom: 6px;
}

.vc-node span {
  font-size: 12px;
  color: var(--muted);
}

.vc-node.foundation {
  border-color: var(--muted);
  background: #f9fafb;
}

.vc-node.core {
  border-color: var(--blue-700);
  background: var(--blue-100);
  min-width: 500px;
}

.vc-node.core b {
  color: var(--blue-950);
}

.vc-node.support {
  border-color: var(--green-700);
  flex: 1;
}

.vc-node.support b {
  color: var(--green-700);
}

.vc-node.extend {
  border-color: var(--amber-700);
  flex: 1;
}

.vc-node.extend b {
  color: var(--amber-700);
}

.vc-branch {
  width: 100%;
}

.vc-branch .vc-node {
  flex: 1;
  min-width: 0;
}

/* ===== 新增：Footer ===== */
.site-footer {
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue-700);
}

.footer-info p {
  margin: 4px 0;
  font-size: 12px;
  color: var(--muted);
}

/* ===== 通知公告单行滚动 ===== */
.notice-marquee-bar {
  background: linear-gradient(90deg, #f0f7ff 0%, #e8f4ff 100%);
  border-bottom: 1px solid #d0e3f7;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  align-items: center;
  height: 40px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 8px;
}

.marquee-label {
  flex-shrink: 0;
  font-size: 13px;
  color: #1d5fd1;
  font-weight: 600;
  margin-right: 16px;
  white-space: nowrap;
}

.marquee-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 50s linear infinite;
}

.marquee-content:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-block;
  padding: 0 30px;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.marquee-item:hover {
  color: #1d5fd1;
  text-decoration: underline;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== 新增样式补丁 ===== */
@media (max-width: 768px) {
  .marquee-inner {
    padding: 0 8px;
  }
  
  .marquee-track {
    animation-duration: 35s;
  }
  
  .marquee-item {
    padding: 0 40px;
  }
}
