/* ==========================================================================
   小二接单 · 威客系统前台设计系统 (home.css)
   一套统一、大气、精致的视觉语言，覆盖：导航 / 卡片 / 按钮 / 表单 /
   任务流 / 资金托管 / 会员中心 / 推广 等全部页面。
   ========================================================================== */

:root {
  /* 主色：深邃靛紫 + 科技蓝 + 暖金点缀 */
  --c-brand: #4f46e5;
  --c-brand-600: #4338ca;
  --c-brand-700: #3730a3;
  --c-brand-50: #eef2ff;
  --c-brand-100: #e0e7ff;
  --c-accent: #0ea5e9;
  --c-accent-600: #0284c7;
  --c-accent-50: #e0f2fe;
  --c-emerald: #10b981;
  --c-emerald-50: #ecfdf5;
  --c-gold: #f59e0b;
  --c-gold-50: #fffbeb;
  --c-rose: #f43f5e;
  --c-rose-50: #fff1f2;

  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --muted: #94a3b8;
  --line: #e7eaf3;
  --line-2: #eef1f7;
  --bg: #f6f7fb;
  --bg-soft: #fbfcfe;
  --card: #ffffff;

  --grad-brand: linear-gradient(135deg, #6366f1 0%, #4f46e5 45%, #7c3aed 100%);
  --grad-brand-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  --grad-accent: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --grad-emerald: linear-gradient(135deg, #34d399 0%, #10b981 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 4px 16px rgba(15, 23, 42, .07);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --shadow-brand: 0 14px 40px rgba(79, 70, 229, .28);

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --maxw: 1240px;
  --header-h: 68px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
i.fa-solid, i.fa-regular, i.fa-brands { font-style: normal; }
::selection { background: var(--c-brand-100); color: var(--c-brand-700); }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container-wide { max-width: 1480px; }

/* ---------- 头部导航 ---------- */
.head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.head__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--ink);
  white-space: nowrap;
}
.logo__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #fff; font-size: 20px;
  box-shadow: var(--shadow-brand);
}
.logo b { color: var(--c-brand); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14.5px;
  transition: .18s;
}
.nav a:hover { background: var(--c-brand-50); color: var(--c-brand); }
.nav a.active { color: var(--c-brand); background: var(--c-brand-50); }
.head__search {
  margin-left: auto;
  flex: 0 1 320px;
  position: relative;
}
.head__search input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 0 16px 0 42px;
  font-size: 14px;
  outline: none;
  transition: .18s;
}
.head__search input:focus { border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-50); }
.head__search i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 15px;
}
.head__actions { display: flex; align-items: center; gap: 10px; }
.head__user {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 6px 5px 5px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #fff;
}
.head__user img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--c-brand-100); }
.head__av { width: 34px; height: 34px; border-radius: 50%; background: var(--c-brand-100); color: var(--c-brand); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.head__user .u-name { font-weight: 700; font-size: 14px; padding-right: 8px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-size: 14.5px; font-weight: 700; cursor: pointer;
  transition: .2s; white-space: nowrap; line-height: 1;
  font-family: inherit;
}
.btn i { font-size: 15px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(79, 70, 229, .38); }
.btn-accent { background: var(--grad-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); }
.btn-gold { background: var(--grad-gold); color: #fff; }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--c-brand); color: var(--c-brand); }
.btn-soft { background: var(--c-brand-50); color: var(--c-brand); }
.btn-soft:hover { background: var(--c-brand-100); }
.btn-emerald { background: var(--grad-emerald); color: #fff; }
.btn-emerald:hover { transform: translateY(-2px); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn-link { background: none; border: none; color: var(--c-brand); padding: 0; height: auto; font-weight: 600; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 22px; }

/* ---------- 徽标 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; line-height: 1.6;
}
.badge i { font-size: 11px; }
.badge-brand { background: var(--c-brand-50); color: var(--c-brand); }
.badge-accent { background: var(--c-accent-50); color: var(--c-accent-600); }
.badge-emerald { background: var(--c-emerald-50); color: #047857; }
.badge-gold { background: var(--c-gold-50); color: #b45309; }
.badge-rose { background: var(--c-rose-50); color: #be123c; }
.badge-slate { background: #f1f5f9; color: var(--ink-3); }
.badge-line { background: #fff; border: 1px solid var(--line); color: var(--ink-3); }

/* ---------- 区块标题 ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section-head { margin-bottom: 30px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-brand); font-weight: 800; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 {
  font-size: 30px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.5px;
}
.section-head p { color: var(--ink-3); margin: 0; font-size: 15.5px; max-width: 640px; }
.section-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 78px 0 70px;
  background: radial-gradient(1100px 520px at 82% -8%, rgba(124, 58, 237, .20), transparent 60%),
              radial-gradient(900px 480px at 6% 8%, rgba(14, 165, 233, .18), transparent 55%),
              linear-gradient(180deg, #ffffff 0%, #f7f8fe 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(79, 70, 229, .07) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: .6;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center;
}
.hero h1 {
  font-size: 50px; line-height: 1.12; font-weight: 900; letter-spacing: -1px;
  margin: 18px 0 18px;
}
.hero h1 .grad {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 540px; margin: 0 0 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; margin-top: 38px; }
.hero__stats .s-num { font-size: 28px; font-weight: 900; color: var(--ink); }
.hero__stats .s-lbl { font-size: 13px; color: var(--ink-3); }
.hero__search {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 16px; display: flex; gap: 10px;
}
.hero__search input {
  flex: 1; height: 50px; border: 1px solid var(--line); border-radius: 14px;
  padding: 0 18px; font-size: 15px; outline: none;
}
.hero__search input:focus { border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-50); }
.hero__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hero__chips a { font-size: 13px; color: var(--ink-3); padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: .15s; }
.hero__chips a:hover { color: var(--c-brand); border-color: var(--c-brand); }

/* 装饰卡片（右栏） */
.hero__panel {
  background: linear-gradient(160deg, #ffffff, #fbfbff);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.hero__panel .pp-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.hero__panel .pp-row:last-child { border-bottom: none; }
.hero__panel .pp-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: #fff; flex: none; }
.hero__panel .pp-tt { font-weight: 700; }
.hero__panel .pp-ds { font-size: 13px; color: var(--ink-3); }
.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; font-weight: 700;
}
.float-badge i { color: var(--c-emerald); font-size: 18px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; position: relative; padding: 0 8px; }
.step__no {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 18px;
  background: var(--grad-brand-soft); color: var(--c-brand);
  display: grid; place-items: center; font-size: 22px; font-weight: 900;
  border: 1px solid var(--c-brand-100); position: relative;
}
.step__no::after { content: attr(data-n); position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-brand); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 800; }
.step h4 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-3); font-size: 14px; }
.steps--line .step:not(:last-child)::before {
  content: ""; position: absolute; top: 28px; left: 56%; right: -8%; height: 2px;
  background: linear-gradient(90deg, var(--c-brand-100), transparent); z-index: -0;
}

/* ---------- 任务卡片（招标大厅） ---------- */
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.task-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  transition: .2s; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.task-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-brand-100); }
.task-card__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.task-card__title { font-size: 17px; font-weight: 800; line-height: 1.4; margin: 0; color: var(--ink); }
.task-card__title a:hover { color: var(--c-brand); }
.task-card__desc { color: var(--ink-3); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.task-card__meta { display: flex; gap: 16px; color: var(--ink-3); font-size: 13px; flex-wrap: wrap; }
.task-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.task-card__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: auto; }
.task-card__price { color: var(--c-rose); font-weight: 900; font-size: 20px; }
.task-card__price small { font-size: 13px; font-weight: 700; }
.task-card__av { width: 26px; height: 26px; border-radius: 50%; background: var(--c-brand-100); color: var(--c-brand); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.task-card .ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(45deg); background: var(--grad-gold); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 40px; box-shadow: var(--shadow-sm); }

/* 分类网格 */
.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 10px; text-align: center; transition: .18s; cursor: pointer;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-brand-100); }
.cat__ic { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 13px; background: var(--grad-brand-soft); color: var(--c-brand); display: grid; place-items: center; font-size: 20px; }
.cat span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- 统计带 ---------- */
.stat-band { background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg); padding: 38px; }
.stat-band .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-band .s-num { font-size: 34px; font-weight: 900; }
.stat-band .s-lbl { opacity: .85; font-size: 14px; }

/* ---------- 双栏布局（详情页） ---------- */
.layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.layout--reverse { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }

/* ---------- 侧栏卡片 ---------- */
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; margin-bottom: 20px; }
.aside-card h4 { margin: 0 0 14px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.aside-card h4 i { color: var(--c-brand); }

/* ---------- 表单 ---------- */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.form-row label .req { color: var(--c-rose); }
.form-control, .form-select, textarea.form-control {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 14px; font-size: 14.5px; outline: none; background: #fff; color: var(--ink);
  font-family: inherit; transition: .15s;
}
textarea.form-control { height: auto; padding: 12px 14px; resize: vertical; }
.form-control:focus, .form-select:focus, textarea.form-control:focus {
  border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-50);
}
.form-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.form-error { color: var(--c-rose); font-size: 13px; margin-top: 6px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 分段选择 */
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label {
  position: relative; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; font-weight: 600; font-size: 14px; transition: .15s; background: #fff;
}
.seg input { position: absolute; opacity: 0; }
.seg label:hover { border-color: var(--c-brand); }
.seg input:checked + span { color: var(--c-brand); }
.seg label:has(input:checked) { border-color: var(--c-brand); background: var(--c-brand-50); color: var(--c-brand); }

/* 开关卡（推广选项） */
.promo-opt {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 12px; transition: .15s; cursor: pointer;
}
.promo-opt:has(input:checked) { border-color: var(--c-gold); background: var(--c-gold-50); }
.promo-opt .po-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-gold); color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.promo-opt .po-tt { font-weight: 700; }
.promo-opt .po-ds { font-size: 13px; color: var(--ink-3); }
.promo-opt .po-price { margin-left: auto; font-weight: 800; color: #b45309; white-space: nowrap; }

/* ---------- 标签页 ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.tabs a, .tab {
  padding: 11px 16px; font-weight: 700; color: var(--ink-3); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .15s; font-size: 14.5px;
}
.tabs a:hover, .tab:hover { color: var(--c-brand); }
.tabs a.active, .tab.active { color: var(--c-brand); border-color: var(--c-brand); }

/* ---------- 投标/留言列表 ---------- */
.bid {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
  display: flex; gap: 16px; background: #fff; transition: .15s;
}
.bid:hover { box-shadow: var(--shadow-sm); }
.bid__av { width: 46px; height: 46px; border-radius: 50%; background: var(--c-brand-100); color: var(--c-brand); display: grid; place-items: center; font-weight: 800; font-size: 16px; flex: none; }
.bid__body { flex: 1; }
.bid__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bid__name { font-weight: 800; }
.bid__price { color: var(--c-rose); font-weight: 900; font-size: 18px; }
.bid__txt { color: var(--ink-2); font-size: 14px; margin: 8px 0 0; }

/* ---------- 进度里程碑 ---------- */
.milestones { position: relative; padding-left: 8px; }
.ms {
  display: flex; gap: 14px; padding: 0 0 22px; position: relative;
}
.ms::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.ms:last-child::before { display: none; }
.ms__dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 12px; flex: none; z-index: 1; }
.ms__dot.done { background: var(--grad-emerald); border-color: transparent; color: #fff; }
.ms__dot.doing { background: var(--grad-brand); border-color: transparent; color: #fff; }
.ms__tt { font-weight: 700; }
.ms__ds { font-size: 13px; color: var(--ink-3); }

/* ---------- 评价星级 ---------- */
.stars { color: var(--c-gold); letter-spacing: 2px; }
.stars .off { color: var(--line); }

/* ---------- 空态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty i { font-size: 46px; color: var(--c-brand-100); margin-bottom: 14px; }
.empty h3 { margin: 0 0 6px; color: var(--ink-2); }

/* ---------- 提示条 ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border-radius: 14px; background: var(--c-brand-50); color: var(--c-brand-700); font-size: 14px;
  border: 1px solid var(--c-brand-100); margin-bottom: 18px;
}
.notice i { margin-top: 2px; }
.notice--gold { background: var(--c-gold-50); color: #b45309; border-color: #fde68a; }
.notice--emerald { background: var(--c-emerald-50); color: #047857; border-color: #a7f3d0; }

/* ---------- 资金托管可视化 ---------- */
.escrow-bar { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 14px 0; }
.escrow-bar > i { display: block; height: 100%; background: var(--grad-emerald); border-radius: 999px; }

/* ---------- 会员中心 ---------- */
.mc { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.mc-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.mc-nav a {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 11px;
  color: var(--ink-2); font-weight: 600; transition: .15s; font-size: 14px;
}
.mc-nav a i { width: 20px; text-align: center; color: var(--ink-3); }
.mc-nav a:hover { background: var(--bg); color: var(--c-brand); }
.mc-nav a.active { background: var(--c-brand-50); color: var(--c-brand); }
.mc-nav a.active i { color: var(--c-brand); }
.mc-nav .mc-divider { height: 1px; background: var(--line); margin: 8px 6px; }
.mc-user { display: flex; align-items: center; gap: 13px; padding: 10px 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.mc-user img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--c-brand-100); }
.mc-user .mc-name { font-weight: 800; }
.mc-user .mc-sub { font-size: 12.5px; color: var(--ink-3); }

.mc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.mc-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.mc-stat .ms-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: #fff; margin-bottom: 12px; }
.mc-stat .ms-num { font-size: 26px; font-weight: 900; }
.mc-stat .ms-lbl { font-size: 13px; color: var(--ink-3); }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick {
  display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; transition: .15s;
}
.quick:hover { border-color: var(--c-brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.quick__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: #fff; flex: none; }
.quick__tt { font-weight: 700; }
.quick__ds { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.tbl th { background: var(--bg-soft); font-weight: 700; color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover { background: var(--bg-soft); }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink-2); background: #fff; transition: .15s;
}
.pager a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager a.on, .pager span.on { background: var(--grad-brand); color: #fff; border-color: transparent; }
.pager span.dots { border: none; background: none; }

/* ---------- 筛选条 ---------- */
.filterbar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); margin-bottom: 24px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filterbar select, .filterbar input {
  height: 42px; border: 1px solid var(--line); border-radius: 11px; padding: 0 14px; font-size: 14px; outline: none; background: #fff; font-family: inherit; color: var(--ink);
}
.filterbar select:focus, .filterbar input:focus { border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-50); }
.filterbar .fb-key { font-weight: 700; color: var(--ink-2); font-size: 14px; }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px;
  font-weight: 600; color: var(--ink-2); cursor: pointer; background: #fff; transition: .15s;
}
.chip:hover { border-color: var(--c-brand); color: var(--c-brand); }
.chip.on { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }

/* ---------- 面包屑 ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: 13.5px; margin: 18px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--c-brand); }
.crumbs i { font-size: 10px; opacity: .6; }

/* ---------- 页脚 ---------- */
.foot { background: #0b1020; color: #c3c9da; margin-top: 70px; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.foot__brand .logo { color: #fff; margin-bottom: 14px; }
.foot__brand p { color: #8b93ad; font-size: 14px; max-width: 320px; }
.foot__col h5 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.foot__col a { display: block; color: #9aa2bd; font-size: 14px; padding: 6px 0; transition: .15s; }
.foot__col a:hover { color: #fff; }
.foot__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #7a83a0; font-size: 13px; }
.foot__social { display: flex; gap: 10px; }
.foot__social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; color: #c3c9da; transition: .15s; }
.foot__social a:hover { background: var(--c-brand); color: #fff; }

/* ---------- 通用工具 ---------- */
.mt-0 { margin-top: 0 !important; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; } .mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-20 { margin-bottom: 20px; } .mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; } .text-muted { color: var(--ink-3); } .text-brand { color: var(--c-brand); }
.text-sm { font-size: 13px; } .text-lg { font-size: 17px; } .fw-8 { font-weight: 800; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); margin: 20px 0; border: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 600;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s; z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { background: #047857; } .toast.err { background: #be123c; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps--line .step::before { display: none; }
  .task-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .layout, .layout--reverse { grid-template-columns: 1fr; }
  .mc { grid-template-columns: 1fr; }
  .mc-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .mc-nav .mc-divider, .mc-user { display: none; }
  .mc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .head__search { display: none; }
  .nav { display: none; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 34px; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .task-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-band .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 24px; }
  .quick-grid, .mc-grid, .field-grid { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
