/* ============================================================
   玄锁云加固平台 UI 3.0（原 LotusGuard UI 2.0）
   深色控制台 + 薄荷绿安全品牌色 + 轻量卡片式工作台
   ============================================================ */
:root {
  --brand: #0e9f85;
  --brand-dark: #087563;
  --brand-deep: #064c43;
  --mint: #34d3b0;
  --mint-soft: #dff8f1;
  --lime: #b9f6df;
  --ink: #0b2026;
  --ink-soft: #5d737a;
  --ink-faint: #8ba0a5;
  --bg: #eff5f4;
  --card: #ffffff;
  --line: #dce8e5;
  --line-strong: #c9dcd7;
  --blue: #2563eb;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #d97706;
  --gray: #64748b;
  --hero: #071b20;
  --hero-2: #0a2e2d;
  --nav-h: 72px;
  --sidebar-w: 248px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 2px 8px rgba(10, 38, 43, .04);
  --shadow: 0 12px 36px rgba(10, 38, 43, .08);
  --shadow-lg: 0 24px 70px rgba(6, 32, 35, .16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(52, 211, 176, .10), transparent 65%),
    radial-gradient(800px 500px at 100% 0%, rgba(14, 159, 133, .07), transparent 60%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ================= 顶部导航 ================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: linear-gradient(90deg, rgba(6, 25, 29, .97), rgba(9, 42, 41, .95));
  border-bottom: 1px solid rgba(185, 246, 223, .10);
  backdrop-filter: blur(16px);
}
.nav .inner,
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto; padding: 0 28px;
}
.nav .brand,
.brand {
  display: flex; align-items: center; gap: 11px;
  color: #f4fffc; font-weight: 750; font-size: 18px; letter-spacing: -.01em;
}
.brand-mark {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(52, 211, 176, .20), rgba(52, 211, 176, .04));
  border: 1px solid rgba(185, 246, 223, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  flex: 0 0 auto;
}
.brand-mark img { width: 24px; height: 24px; display: block; }
.brand small { font-size: 12px; font-weight: 500; color: #8fb2b1; margin-left: 4px; }
.nav .links { display: flex; align-items: center; gap: 22px; }
.nav .links a { color: #b7cccf; font-size: 14px; transition: color .2s; }
.nav .links a:hover { color: #fff; }
.nav-context {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  color: #a8d8ce; font-size: 11px; letter-spacing: .10em; text-transform: uppercase;
  background: rgba(52, 211, 176, .07);
  border: 1px solid rgba(52, 211, 176, .16);
}
.nav-context .dot, .sidebar-foot .dot, .status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 4px rgba(52, 211, 176, .13);
  display: inline-block; flex: 0 0 auto;
}

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px;
  border: 0; cursor: pointer; font-size: 14px; font-weight: 650;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:disabled { opacity: .58; cursor: not-allowed; transform: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--brand));
  box-shadow: 0 10px 24px rgba(14, 159, 133, .24);
}
.btn-primary:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(14, 159, 133, .30); }
.btn-ghost { background: rgba(255,255,255,.08); color: #d8efeb; border: 1px solid rgba(255,255,255,.16); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: rgba(14, 159, 133, .38); color: var(--brand-dark); background: #fbfffd; }
.btn-danger { background: #fff1f0; color: #b42318; border: 1px solid #f0c6c1; box-shadow: none; }
.btn-danger:hover { background: #ffe7e4; border-color: #e4a39b; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ================= Hero / 公共首页 ================= */
.hero {
  background:
    radial-gradient(1100px 520px at 78% -18%, rgba(52, 211, 176, .22), transparent),
    radial-gradient(700px 500px at 18% 110%, rgba(14, 159, 133, .14), transparent),
    linear-gradient(155deg, #06191e, #0a302e);
  color: #eef8f5; padding: 96px 0 84px; text-align: center;
}
.hero h1 { font-size: 46px; line-height: 1.18; letter-spacing: -.035em; margin-bottom: 18px; font-weight: 800; }
.hero h1 .accent { color: var(--mint); }
.hero p.sub { font-size: 17px; color: #a9c4c5; max-width: 650px; margin: 0 auto 34px; }
.hero .cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.stats { display: flex; gap: 42px; justify-content: center; margin-top: 58px; flex-wrap: wrap; }
.stats .item { text-align: center; }
.stats .num { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stats .lbl { color: #8eadb0; font-size: 13px; margin-top: 3px; }

section.block { padding: 74px 0; }
.block-head { text-align: center; margin-bottom: 42px; }
.block-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 9px; }
.block-head p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.dashboard-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.card {
  background: var(--card);
  border: 1px solid rgba(220, 232, 229, .92);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(14, 159, 133, .18); }
.card .icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(52,211,176,.18), rgba(14,159,133,.08)); color: var(--brand);
  font-size: 23px; margin-bottom: 16px; border: 1px solid rgba(14,159,133,.10);
}
.card h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 7px; }
.card p { color: var(--ink-soft); font-size: 14px; }

/* ================= 步骤 / FAQ ================= */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step .n { width: 38px; height: 38px; border-radius: 12px; background: var(--mint-soft); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 15px; border: 1px solid rgba(14,159,133,.13); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 11px; overflow: hidden; }
.faq-item summary { padding: 18px 22px; cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .body { padding: 0 22px 18px; color: var(--ink-soft); font-size: 14px; }

/* ================= 页脚 ================= */
footer { background: #06191d; color: #8eaaad; padding: 46px 0 26px; margin-top: 48px; }
footer .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
footer h4 { color: #f2fbf7; margin-bottom: 12px; font-size: 15px; }
footer a { display: block; color: #8eaaad; padding: 3px 0; font-size: 13px; }
footer a:hover { color: #fff; }
footer .qq-group p { color: #8eaaad; font-size: 13px; margin: 0 0 8px; }
footer .qq-group strong { color: #f2fbf7; font-size: 20px; letter-spacing: .04em; }
footer .qq-copy {
  background: transparent; border: 1px solid rgba(255,255,255,.2); color: #c9ded9;
  padding: 5px 10px; border-radius: 7px; font-size: 12px; cursor: pointer;
}
footer .qq-copy:hover { border-color: #34d3b0; color: #fff; }
footer .bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 28px; padding-top: 18px; font-size: 12px; text-align: center; color: #668286; }

/* ================= 登录 / 注册 ================= */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center; padding: 42px 20px;
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(52,211,176,.18), transparent),
    linear-gradient(155deg, var(--hero), var(--hero-2));
}
.auth-card { background: #fff; border-radius: 22px; padding: 38px; width: 100%; max-width: 430px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.45); }
.auth-card h2 { font-size: 26px; letter-spacing: -.025em; margin-bottom: 5px; }
.auth-card .sub { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 7px; color: #31494f; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 11px;
  font-size: 14px; background: #fbfdfc; color: var(--ink); transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(14,159,133,.60); background: #fff;
  box-shadow: 0 0 0 3px rgba(52, 211, 176, .13);
}
.form-error, .flash { padding: 12px 15px; border-radius: 11px; font-size: 13px; margin-bottom: 16px; border: 1px solid; }
.flash.error { background: #fff4f3; color: #b42318; border-color: #f4c7c2; }
.flash.success { background: #f0fdf7; color: #087443; border-color: #b5e8ce; }
.flash.info { background: #eff6ff; color: #1d4ed8; border-color: #c5d9ff; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
.auth-alt a { color: var(--brand); font-weight: 700; }

/* ================= 控制台框架 ================= */
.console-body { background: var(--bg); }
.app { display: flex; align-items: stretch; min-height: calc(100vh - var(--nav-h)); }
.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  padding: 22px 16px 18px;
  color: #b7cccf;
  background:
    radial-gradient(500px 240px at 20% 0%, rgba(52,211,176,.12), transparent 62%),
    linear-gradient(180deg, #071b20 0%, #09262a 58%, #071c20 100%);
  border-right: 1px solid rgba(185, 246, 223, .08);
  display: flex; flex-direction: column;
}
.sidebar .me {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 12px; margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
}
.avatar {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: #04231f; font-size: 14px; font-weight: 800; text-transform: uppercase;
  background: linear-gradient(145deg, var(--lime), var(--mint));
  box-shadow: 0 6px 16px rgba(52,211,176,.20);
  flex: 0 0 auto;
}
.me-copy { min-width: 0; }
.me-copy .name { color: #f5fffc; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-copy .role { color: #8ca7aa; font-size: 11px; margin-top: 1px; }
.nav-section-label { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #6f8c90; padding: 0 12px 8px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar a.item {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 11px;
  font-size: 13.5px; color: #a9c1c4;
  transition: background .18s, color .18s, transform .18s;
}
.sidebar a.item:hover { background: rgba(255,255,255,.055); color: #fff; }
.sidebar a.item.active {
  color: #f4fffc; font-weight: 650;
  background: linear-gradient(90deg, rgba(52,211,176,.15), rgba(52,211,176,.045));
  box-shadow: inset 0 0 0 1px rgba(52,211,176,.16);
}
.sidebar a.item.active::before {
  content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px; border-radius: 99px;
  background: linear-gradient(180deg, var(--mint), rgba(52,211,176,.25));
  box-shadow: 0 0 12px rgba(52,211,176,.55);
}
.nav-ico { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.045); color: #9cb9bc; flex: 0 0 auto; }
.nav-ico svg { width: 16px; height: 16px; }
.sidebar a.item.active .nav-ico { color: var(--mint); background: rgba(52,211,176,.12); }
.sidebar-foot {
  margin-top: auto; padding: 14px 12px 3px; border-top: 1px solid rgba(255,255,255,.075);
  color: #789497; font-size: 10.5px; letter-spacing: .03em;
  display: flex; align-items: center; gap: 8px;
}
.content {
  flex: 1; min-width: 0;
  width: 100%;
  padding: 30px 34px 54px;
  background:
    radial-gradient(900px 360px at 75% -10%, rgba(52,211,176,.07), transparent 60%),
    transparent;
}
.content > * { max-width: 1380px; margin-left: auto; margin-right: auto; }
.content h1.page-title { position: relative; padding-left: 14px; font-size: 27px; letter-spacing: -.03em; margin-bottom: 20px; }
.content h1.page-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 99px;
  background: linear-gradient(180deg, var(--mint), var(--brand));
  box-shadow: 0 0 12px rgba(52,211,176,.35);
}

/* ================= 页头 ================= */
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 26px;
}
.eyebrow { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 7px; }
.page-head h1 { font-size: 31px; line-height: 1.15; letter-spacing: -.035em; font-weight: 800; color: var(--ink); }
.page-head p { color: var(--ink-soft); font-size: 13.5px; margin-top: 7px; max-width: 640px; }
.page-head .head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-head .head-actions .btn { flex: 0 0 auto; }

/* ================= 数据卡片 ================= */
.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
  position: relative; overflow: hidden;
  min-height: 134px; padding: 19px 20px 17px;
  border-radius: 16px;
  border: 1px solid rgba(220,232,229,.92);
  background: linear-gradient(145deg, #ffffff, #fbfefd);
  box-shadow: var(--shadow-sm);
}
.stat-card::after {
  content: ""; position: absolute; right: -36px; top: -46px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,176,.12), transparent 68%);
  pointer-events: none;
}
.stat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.stat-label { color: var(--ink-soft); font-size: 11.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.stat-icon { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid rgba(14,159,133,.12); background: var(--mint-soft); color: var(--brand-dark); }
.stat-icon svg { width: 18px; height: 18px; }
.stat-icon.blue { color: #1d4ed8; background: #eff5ff; border-color: #d8e5ff; }
.stat-icon.amber { color: #b45309; background: #fff8e8; border-color: #f9e4b8; }
.stat-icon.red { color: #b42318; background: #fff4f3; border-color: #f5d2ce; }
.stat-card .v { position: relative; z-index: 1; font-size: 34px; line-height: 1.08; letter-spacing: -.04em; font-weight: 800; color: var(--ink); margin: 7px 0 5px; }
.stat-card .k { position: relative; z-index: 1; color: var(--ink-faint); font-size: 11.5px; }
.stat-card .k strong { color: var(--brand-dark); font-weight: 650; }
.stat-cards .card { padding: 20px; }

/* ================= 表格 ================= */
.table-wrap { overflow-x: auto; border-radius: 13px; border: 1px solid var(--line); background: #fff; }
table.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; }
.tbl th, .tbl td { padding: 11px 12px; text-align: left; border-bottom: 1px solid #edf3f1; font-size: 13px; vertical-align: middle; }
.tbl th, .tbl td:last-child { white-space: nowrap; }
.tbl th { background: #f5faf8; font-weight: 650; color: #6a8084; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .16s; }
.tbl tr:hover td { background: #f9fdfb; }
.card > .tbl { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.table-tasks { table-layout: fixed; }
.table-tasks { min-width: 1240px; }
.table-tasks th:nth-child(1) { width: 46px; }
.table-tasks th:nth-child(2) { width: 236px; }
.table-tasks th:nth-child(3) { width: 86px; }
.table-tasks th:nth-child(4) { width: 72px; }
.table-tasks th:nth-child(5) { width: 174px; }
.table-tasks th:nth-child(6) { width: 174px; }
.table-tasks th:nth-child(7) { width: 142px; }
.table-tasks th:nth-child(8) { width: 358px; }
.task-table-scroll { overflow-x: auto; margin: 0 -2px; padding: 0 2px; }
.engine-cell { min-width: 168px; }
.engine-meta { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.engine-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(52,211,176,.12); flex: 0 0 auto; }
.engine-meta.xop::before { background: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.11); }
.engine-name { color: #31494f; font-size: 11.5px; font-weight: 700; }
.engine-tier { padding: 1px 6px; border-radius: 5px; color: #0b7a67; background: #edf8f5; border: 1px solid #d8efe9; font-size: 9.5px; font-weight: 650; line-height: 1.45; }
.engine-meta.xop .engine-tier { color: #1d4ed8; background: #eff4ff; border-color: #dbe6ff; }
.progress-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.progress-line .progress { flex: 1; min-width: 0; }
.progress-pct { min-width: 36px; text-align: right; color: #4e666c; font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.progress-note { color: var(--ink-faint); font-size: 9.5px; line-height: 1.4; margin-top: 3px; white-space: normal; }
.time-cell { white-space: nowrap; }
.time-main { color: #4e666c; font-size: 10.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.time-sub { color: var(--ink-faint); font-size: 9.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.progress.is-running > span { background-size: 220% 100%; animation: progress-shine 1.8s linear infinite; }
@keyframes progress-shine { from { background-position: 0 0; } to { background-position: 220% 0; } }
.tbl td small { color: var(--ink-faint); font-size: 11px; }
.tbl .cell-user { display: flex; align-items: center; gap: 9px; }
.cell-avatar { width: 29px; height: 29px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 750; color: var(--brand-deep); background: var(--mint-soft); border: 1px solid rgba(14,159,133,.12); flex: 0 0 auto; }
.cell-title { font-weight: 600; color: #31494f; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-sub { font-size: 10.5px; color: var(--ink-faint); margin-top: -1px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .01em; white-space: nowrap;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.green { background: #e8f9ef; color: #087443; }
.badge.blue { background: #eaf1ff; color: #1d4ed8; }
.badge.red { background: #fff0ef; color: #b42318; }
.badge.gray { background: #eef2f4; color: #587078; }
.badge.lg {
  background: linear-gradient(135deg, rgba(52,211,176,.16), rgba(14,159,133,.09));
  color: var(--brand-dark); border: 1px solid rgba(14,159,133,.20);
}
.badge.lg::before { background: var(--brand); }

.panel { padding: 0; overflow: hidden; }
.panel-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 20px 22px 16px;
}
.panel-head h3 { font-size: 16px; letter-spacing: -.01em; margin-bottom: 3px; }
.panel-head p { color: var(--ink-faint); font-size: 11.5px; }
.panel-head .btn { margin-top: 1px; }

/* ================= 进度条 ================= */
.progress { height: 7px; background: #e9f0ee; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--brand)); border-radius: 99px; transition: width .4s ease; box-shadow: 0 0 10px rgba(52,211,176,.35); }

/* ================= 上传页 ================= */
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 22px; align-items: start; }
.upload-card, .upload-side { min-width: 0; }
.upload-card { padding: 24px 26px 26px; border-radius: 18px; }
.flow-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.flow-step { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px; background: #f6faf8; border: 1px solid var(--line); color: var(--ink-faint); font-size: 10.5px; font-weight: 650; }
.flow-step .n { width: 17px; height: 17px; border-radius: 50%; background: #e7efed; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; }
.flow-step.active { background: var(--mint-soft); border-color: rgba(14,159,133,.20); color: var(--brand-dark); }
.flow-step.active .n { background: var(--brand); color: #fff; }
.flow-line { width: 20px; height: 1px; background: var(--line-strong); }
.drop {
  position: relative; overflow: hidden;
  border: 1.5px dashed #b4d1ca; border-radius: 16px;
  padding: 34px 24px 30px; text-align: center;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(52,211,176,.10), transparent 72%),
    #fbfefd;
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.drop:hover, .drop.drag { border-color: var(--brand); background: #f0fcf7; transform: translateY(-1px); }
.drop-icon {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 19px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark);
  background: linear-gradient(145deg, #e7fbf3, #ccf4e5);
  border: 1px solid rgba(14,159,133,.16);
  box-shadow: 0 12px 28px rgba(14,159,133,.13), inset 0 1px 0 #fff;
}
.drop-icon svg { width: 29px; height: 29px; }
.drop h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 5px; }
.drop p { color: var(--ink-soft); font-size: 12.5px; }
.drop p.is-file { color: var(--brand-dark); font-weight: 700; }
.drop-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--ink-faint); font-size: 10.5px; }
.drop-hint b { color: #51686e; font-weight: 650; }
.field .select, select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6f8588 50%), linear-gradient(135deg, #6f8588 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px !important;
}
.option-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px;
  background: #fbfdfc; cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s;
}
.field .option-card { display: flex; font-weight: 400; margin-bottom: 0; }
.option-card:hover { border-color: var(--line-strong); background: #fff; }
.option-card:has(input:checked) {
  border-color: rgba(14,159,133,.42);
  background: #f1fcf7;
  box-shadow: 0 0 0 3px rgba(52,211,176,.09);
}
.option-card input { width: 17px; height: 17px; padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--brand); margin-top: 2px; flex: 0 0 auto; }
.option-copy strong { display: block; font-size: 12.5px; color: #31494f; font-weight: 650; margin-bottom: 1px; }
.option-copy small { display: block; color: var(--ink-faint); font-size: 10.5px; line-height: 1.55; }
.field-help { color: var(--ink-faint); font-size: 10.5px; margin-top: 6px; line-height: 1.6; }
.upload-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.upload-actions .btn-primary { min-width: 158px; }
.upload-actions .secure-note { color: var(--ink-faint); font-size: 10.5px; }

.upload-side { display: flex; flex-direction: column; gap: 14px; }
.side-card { padding: 19px 20px; border-radius: 16px; }
.side-title { font-size: 12px; font-weight: 750; letter-spacing: .04em; color: #344d53; display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.side-title .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(52,211,176,.13); }
.side-list { display: flex; flex-direction: column; gap: 9px; }
.side-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11.5px; }
.side-row .lbl { color: var(--ink-faint); }
.side-row .val { color: #334c52; font-weight: 650; text-align: right; }
.side-note { margin-top: 13px; padding-top: 12px; border-top: 1px solid #edf3f1; color: var(--ink-faint); font-size: 10.5px; line-height: 1.65; }
.side-checklist { display: flex; flex-direction: column; gap: 9px; }
.side-check { display: flex; align-items: flex-start; gap: 9px; color: #4e666c; font-size: 11.5px; line-height: 1.5; }
.side-check .tick { width: 17px; height: 17px; border-radius: 50%; background: var(--mint-soft); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex: 0 0 auto; margin-top: 1px; }
.side-help { background: linear-gradient(145deg, #0b2b2a, #071c20); color: #c4dcdb; border-color: rgba(52,211,176,.15); }
.side-help .side-title { color: #edfffa; }
.side-help .side-note { border-top-color: rgba(255,255,255,.09); color: #8eaeae; }
.side-help .side-check { color: #bcd6d3; }
.side-help .tick { background: rgba(52,211,176,.13); color: var(--mint); }

/* ================= 上传页 2.1：轻量策略卡 ================= */
.upload-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.upload-card { padding: 24px 26px 26px; border: 1px solid #e1ebe8; box-shadow: 0 12px 34px rgba(10, 38, 43, .05); }
.label-hint { color: var(--ink-faint); font-size: 10.5px; font-weight: 500; margin-left: 3px; }
.drop {
  padding: 26px 20px 22px;
  border-radius: 14px;
  background:
    radial-gradient(380px 150px at 50% 0%, rgba(52,211,176,.09), transparent 72%),
    #fbfefd;
}
.drop-icon { width: 50px; height: 50px; margin-bottom: 10px; border-radius: 15px; }
.drop-icon svg { width: 25px; height: 25px; }
.drop h3 { font-size: 15px; margin-bottom: 3px; }
.drop p { font-size: 12px; }
.drop-hint { margin-top: 7px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-row .field { margin-bottom: 0; }
.field-help-tight { margin-top: 8px; margin-bottom: 17px; }
.form-section { padding-top: 18px; border-top: 1px solid #edf3f1; }
.form-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.form-section-head h3 { font-size: 15px; font-weight: 750; letter-spacing: -.015em; color: #243d43; }
.section-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; background: var(--mint-soft); color: var(--brand-dark); font-size: 10px; font-weight: 700; white-space: nowrap; }
.section-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.protect-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.protect-card {
  position: relative; display: flex; align-items: center; gap: 11px;
  min-height: 76px; padding: 12px 13px;
  border: 1px solid #e3ece9; border-radius: 13px; background: #fff;
  cursor: pointer; overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.protect-card:hover { border-color: #bfd8d1; box-shadow: 0 6px 16px rgba(10, 38, 43, .06); transform: translateY(-1px); }
.protect-card:has(input:checked) {
  border-color: rgba(14, 159, 133, .28);
  background: #fcfefd;
  box-shadow: inset 3px 0 0 var(--brand), 0 6px 18px rgba(14, 159, 133, .06);
}
.protect-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.protect-card:has(input:focus-visible) { outline: 2px solid rgba(14,159,133,.35); outline-offset: 2px; }
.protect-ico {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; border-radius: 10px; color: var(--brand-dark);
  background: #f0faf7; border: 1px solid #dcefe9;
  transition: background .18s, color .18s, border-color .18s;
}
.protect-ico svg { width: 18px; height: 18px; }
.protect-card:has(input:checked) .protect-ico {
  color: #fff; border-color: transparent;
  background: linear-gradient(145deg, var(--mint), var(--brand));
}
.protect-copy { flex: 1; min-width: 0; }
.protect-copy strong { display: block; color: #223c42; font-size: 12.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.protect-copy small { display: block; color: var(--ink-faint); font-size: 10.5px; line-height: 1.45; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-switch { position: relative; width: 38px; height: 22px; flex: 0 0 auto; border-radius: 99px; background: #dce7e4; transition: background .2s; }
.lg-switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(10,38,43,.18); transition: transform .2s; }
.protect-card:has(input:checked) .lg-switch { background: var(--brand); }
.protect-card:has(input:checked) .lg-switch i { transform: translateX(16px); }
.protect-card-wide { grid-column: 1 / -1; }
.protect-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; color: var(--ink-faint); font-size: 10.5px; line-height: 1.5; }
.note-dot { width: 5px; height: 5px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(52,211,176,.11); }
.side-summary { padding: 20px; }
.summary-lead { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #edf3f1; }
.summary-mark { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 11px; color: var(--brand-dark); background: linear-gradient(145deg, #e8fbf4, #d6f5ea); border: 1px solid #d8eee8; }
.summary-mark svg { width: 19px; height: 19px; }
.summary-lead strong { display: block; color: #263f45; font-size: 14px; font-weight: 750; line-height: 1.3; }
.summary-lead small { display: block; color: var(--ink-faint); font-size: 10.5px; margin-top: 1px; }
.summary-list { margin-top: 3px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #edf3f1; font-size: 11.5px; }
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--ink-faint); }
.summary-row b { color: #324b51; font-weight: 650; text-align: right; }
.side-checklist-card { padding: 20px; }
.side-summary .side-note { margin-top: 2px; }
@media (min-width: 1221px) { .upload-side { position: sticky; top: 90px; } }

/* ================= 响应式 ================= */
@media (max-width: 1220px) {
  .content { padding: 26px 26px 46px; }
  .upload-layout { grid-template-columns: minmax(0, 1fr); }
  .upload-side { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .side-help { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .stat-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3, .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  :root { --sidebar-w: 220px; }
  .content { padding: 24px 20px 42px; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .page-head .head-actions { width: 100%; }
  .sidebar { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 760px) {
  .nav-inner, .nav .inner { padding: 0 18px; }
  .nav-context { display: none; }
  .nav .links { gap: 14px; }
  .nav .links a:not(.btn) { display: none; }
  .app { display: block; }
  .sidebar {
    position: static; width: 100%; height: auto; flex: none;
    padding: 10px 14px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08);
    flex-direction: row; align-items: center; gap: 8px; overflow-x: auto;
  }
  .sidebar .me { display: none; }
  .sidebar .nav-section-label, .sidebar-foot { display: none; }
  .side-nav { flex-direction: row; gap: 2px; }
  .sidebar .side-nav { gap: 3px; }
  .sidebar a.item { padding: 8px 8px; white-space: nowrap; border-radius: 9px; }
  .sidebar a.item.active::before { left: auto; right: 10px; top: auto; bottom: 2px; width: 18px; height: 2px; }
  .nav-ico { display: none; }
  .content { padding: 20px 16px 38px; }
  .page-head h1 { font-size: 27px; }
  .stat-cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .stat-card { min-height: 112px; padding: 15px; }
  .stat-card .v { font-size: 28px; }
  .stat-icon { width: 32px; height: 32px; }
  .upload-side { grid-template-columns: 1fr; }
  .upload-card { padding: 18px; }
  .drop { padding: 24px 16px 20px; }
  .drop-icon { width: 48px; height: 48px; }
  .field-row { grid-template-columns: 1fr; gap: 10px; }
  .protect-grid { grid-template-columns: 1fr; }
  .protect-copy small { white-space: normal; }
  .form-section-head { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 520px) {
  .grid-3, .steps, .stat-cards, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero p.sub { font-size: 15px; }
  .hero { padding: 68px 0 60px; }
  .section.block { padding: 50px 0; }
  .auth-card { padding: 28px 22px; }
  .upload-actions .btn-primary { width: 100%; }
  .flow-line { display: none; }
  .flow-step { font-size: 9.5px; padding: 5px 8px; }
  .drop h3 { font-size: 16px; text-wrap: balance; padding: 0 6px; }
  .tbl th, .tbl td { padding: 10px 12px; }
}

/* ================= 后台扩展组件 ================= */
.input {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 13px; color: var(--ink); outline: none;
  min-height: 38px; box-sizing: border-box;
}
.input:focus { border-color: rgba(14,159,133,.55); box-shadow: 0 0 0 3px rgba(52,211,176,.12); }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .input { flex: 1 1 160px; max-width: 300px; }
.toolbar-count { margin-left: auto; color: var(--ink-soft); font-size: 12px; white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.check-inline { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-soft); margin: 8px 0; }
.check-inline input { width: 15px; height: 15px; accent-color: var(--brand); }
.muted { color: var(--ink-soft); font-size: 13px; }
.nowrap { white-space: nowrap; }
.danger-text { color: #b91c1c; }
.text-small { font-size: 12.5px; }
.empty-cell { text-align: center; color: var(--ink-faint); padding: 28px 12px; }
.cell-link { color: var(--brand-dark); font-weight: 600; }
.cell-link:hover { text-decoration: underline; }
.dot-sep { color: #b9cbc8; margin: 0 6px; }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 0 0 18px;
}
.mini-stat {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 13px 15px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px;
}
.mini-stat span { font-size: 11px; color: var(--ink-soft); letter-spacing: .04em; }
.mini-stat b { font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.mini-stat b .badge { font-size: 11px; letter-spacing: 0; }
.mini-stat small { font-size: 10.5px; }

.setting-switch { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 2px; }
.switch-row { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch {
  position: relative; flex: 0 0 36px; width: 36px; height: 21px; border-radius: 99px;
  background: #d9e5e2; margin-top: 2px; transition: background .2s;
}
.switch::before {
  content: ""; position: absolute; width: 17px; height: 17px; left: 2px; top: 2px;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .2s;
}
.switch-row input:checked + .switch { background: var(--brand); }
.switch-row input:checked + .switch::before { transform: translateX(15px); }
.switch-row span:last-child { display: flex; flex-direction: column; gap: 2px; }
.switch-row strong { font-size: 13px; color: var(--ink); }
.switch-row small { font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; }

.notice {
  background: #fffaf0; border: 1px solid #f5e2b6; color: #805a16;
  border-radius: 12px; padding: 12px 14px; font-size: 12.5px; line-height: 1.65;
}
.email-state { display: flex; align-items: center; gap: 7px; margin: 6px 0 14px; font-size: 12px; color: var(--ink-soft); }
.code-row { display: flex; gap: 8px; align-items: center; }
.code-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; letter-spacing: .08em; }
.code-row .btn { flex: 0 0 auto; white-space: nowrap; }
.verify-box { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.verify-box label { display: block; font-size: 12px; font-weight: 650; color: var(--ink-soft); margin-bottom: 8px; }

.chart-bars {
  display: flex; align-items: flex-end; gap: 14px; height: 190px;
  padding: 12px 8px 0; border-top: 1px solid #f0f5f3; margin-top: 4px;
}
.chart-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart-track {
  width: min(34px, 80%); height: 138px; border-radius: 8px 8px 3px 3px;
  background: #f5faf8; display: flex; flex-direction: column-reverse; overflow: hidden;
}
.chart-bar { display: block; width: 100%; height: 0; transition: height .2s; }
.chart-bar.done { background: linear-gradient(180deg, #34d3b0, #0e9f85); }
.chart-bar.total { background: #f4c46a; }
.chart-count { font-size: 11px; color: var(--ink-soft); }
.chart-label { font-size: 10.5px; color: var(--ink-faint); }
.chart-legend { display: flex; gap: 16px; margin: 8px 8px 0; font-size: 10.5px; color: var(--ink-soft); }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.legend-dot.done { background: #0e9f85; }
.legend-dot.total { background: #f4c46a; }

.health-list { display: flex; flex-direction: column; gap: 10px; margin: 2px 0 18px; }
.health-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.health-row strong { color: var(--ink); }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quick-link {
  display: flex; flex-direction: column; gap: 2px; padding: 11px 13px;
  border: 1px solid #e5efec; border-radius: 11px; background: #fbfefd;
}
.quick-link span { font-size: 10.5px; color: var(--brand); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.quick-link b { font-size: 12.5px; color: var(--ink); }
.quick-link:hover { border-color: #b9e5db; background: #f4fcf9; }

.activity-feed { display: flex; flex-direction: column; gap: 0; }
.activity-row {
  display: grid; grid-template-columns: 130px minmax(0,1fr) 120px 132px;
  gap: 12px; align-items: center; padding: 11px 2px; border-bottom: 1px solid #f1f6f4;
  font-size: 12px;
}
.activity-detail { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-user { color: var(--ink-soft); }
.activity-time { color: var(--ink-faint); text-align: right; }

.pagination { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.pagination .btn { min-width: 36px; justify-content: center; }

.mail-preview { width: 100%; height: 390px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.detail-grid { align-items: start; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 5px; bottom: 5px; width: 1px; background: #e1ebe8; }
.timeline-item { position: relative; display: flex; gap: 10px; padding: 0 0 15px; }
.timeline-dot { position: absolute; left: -19px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: #9fb8b2; box-shadow: 0 0 0 3px #f1f8f6; }
.timeline-item.success .timeline-dot { background: #0e9f85; }
.timeline-item.error .timeline-dot { background: #dc2626; }
.timeline-item.warning .timeline-dot { background: #d97706; }
.timeline-msg { font-size: 12.5px; color: var(--ink); line-height: 1.55; word-break: break-word; }
.timeline-time { font-size: 10.5px; color: var(--ink-faint); margin-top: 2px; }
.code-preview {
  max-height: 420px; overflow: auto; white-space: pre-wrap; word-break: break-word;
  background: #f8fbfa; border: 1px solid #e7efec; border-radius: 11px;
  padding: 14px; font-size: 11.5px; line-height: 1.6; color: #36545a; margin: 0;
}
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f2f6f4; font-size: 12px; }
.notice-item { border-bottom: 1px solid #edf4f1; padding: 14px 0; }
.notice-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notice-head > div:first-child { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.notice-actions { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.notice-body { color: var(--ink-soft); font-size: 12.5px; line-height: 1.65; margin-top: 6px; }
.notice-time { color: var(--ink-faint); font-size: 10.5px; margin-top: 5px; }
.settings-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); }
.email-top { grid-template-columns: 1.2fr .8fr; }
.announcements-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }

@media (max-width: 1080px) {
  .settings-grid, .email-top, .announcements-grid { grid-template-columns: 1fr; }
  .activity-row { grid-template-columns: 110px minmax(0,1fr) 100px; }
  .activity-time { display: none; }
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 9px; }
  .form-grid { grid-template-columns: 1fr; }
  .chart-bars { gap: 7px; height: 170px; }
  .chart-track { height: 118px; }
  .activity-row { grid-template-columns: 1fr auto; gap: 6px; }
  .activity-detail { white-space: normal; }
  .activity-user { text-align: right; }
  .activity-time { display: none; }
  .detail-grid, .settings-grid, .email-top, .announcements-grid { grid-template-columns: 1fr; }
  .toolbar .input { max-width: none; flex-basis: 100%; }
  .toolbar-count { margin-left: 0; }
  .mail-preview { height: 320px; }
}
@media (max-width: 520px) {
  .stat-strip { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   玄锁云加固平台 · UI 3.0 品牌层
   玄锁护核，御防破解
   ============================================================ */
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { display: inline-flex; align-items: center; gap: 6px; font-size: 16.5px; font-weight: 760; letter-spacing: .005em; color: #f4fffc; }
.brand-slogan { margin-top: 3px; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; color: #6fd7c2; white-space: nowrap; }
.brand small { font-size: 11px; font-weight: 500; color: #8fb2b1; padding: 2px 7px; border-radius: 6px; background: rgba(92,243,212,.10); }

/* Hero：品牌主视觉 */
.hero-brand { position: relative; overflow: hidden; padding: 100px 0 82px; }
.hero-brand h1 { font-size: 62px; line-height: 1.06; letter-spacing: -.055em; margin-bottom: 20px; font-weight: 820; }
.hero-brand h1 .accent {
  background: linear-gradient(100deg, #8bffe4 0%, #35e3bf 48%, #14b394 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-brand p.sub { max-width: 700px; font-size: 16.5px; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(92,243,212,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,243,212,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 12%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 12%, #000 30%, transparent 78%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 24px;
  background: rgba(92,243,212,.07); border: 1px solid rgba(92,243,212,.22);
  color: #a9ecdc; font-size: 10.5px; font-weight: 650; letter-spacing: .14em;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #5cf3d4;
  animation: xsPulse 2.4s ease-out infinite;
}
@keyframes xsPulse {
  0% { box-shadow: 0 0 0 0 rgba(92,243,212,.42); }
  70% { box-shadow: 0 0 0 9px rgba(92,243,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(92,243,212,0); }
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.hero-tags span {
  padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 600;
  color: #a7cfc8; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.10);
}
.hero-tags span::before { content: "✓"; color: #5cf3d4; margin-right: 6px; font-weight: 800; }
.hero-cta { padding: 72px 0; }
.hero-cta h2 { font-size: 38px; font-weight: 820; letter-spacing: -.04em; margin-bottom: 14px; }

/* 能力卡与防脱壳专区 */
.feature-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(14,159,133,.22); }
.eyebrow.center { display: block; text-align: center; }
.antidump-band {
  margin-top: 32px; padding: 28px 30px; border-radius: 22px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 28px;
  background:
    radial-gradient(620px 260px at 88% -30%, rgba(92,243,212,.16), transparent 70%),
    linear-gradient(125deg, #06201f, #0a2f2a 62%, #0c3a33);
  border: 1px solid rgba(92,243,212,.16);
  box-shadow: 0 20px 46px rgba(4, 30, 30, .16);
}
.antidump-band .section-badge { background: rgba(92,243,212,.12); color: #9ff0dc; border: 1px solid rgba(92,243,212,.20); }
.antidump-copy h3 { color: #ecfffa; font-size: 21px; letter-spacing: -.02em; margin: 12px 0 8px; }
.antidump-copy p { color: #a3c6c0; font-size: 13px; line-height: 1.75; }
.antidump-copy code { padding: 1px 5px; border-radius: 5px; background: rgba(92,243,212,.10); color: #9ff0dc; font-size: 12px; }
.antidump-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.antidump-points div { padding: 11px 13px; border-radius: 13px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); }
.antidump-points b { display: block; color: #e6fff8; font-size: 12.5px; }
.antidump-points span { display: block; margin-top: 2px; color: #8fb4ad; font-size: 10.5px; line-height: 1.5; }
.enterprise-note { text-align: center; margin-top: 26px; color: var(--ink-faint); font-size: 12px; }

/* 登录 / 注册品牌头 */
.auth-brand { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; margin-bottom: 22px; border-bottom: 1px solid #edf4f2; }
.auth-brand .brand-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(145deg, #0c2a2b, #071d1d); border: 1px solid rgba(14,159,133,.22); }
.auth-brand .brand-mark img { width: 26px; height: 26px; }
.auth-brand-copy strong { display: block; font-size: 15px; font-weight: 760; color: var(--ink); letter-spacing: -.01em; }
.auth-brand-copy small { display: block; margin-top: 1px; font-size: 10.5px; font-weight: 650; letter-spacing: .10em; color: var(--brand-dark); }

/* 页脚品牌 */
footer .brand-footer { margin-bottom: 13px; }
footer .brand-footer .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
footer .brand-footer .brand-mark img { width: 22px; height: 22px; }
footer .brand-slogan { color: #5cf3d4; }
footer .brand-desc { max-width: 300px; color: #8eaaad; font-size: 13px; line-height: 1.75; }

@media (max-width: 1080px) {
  .antidump-band { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 900px) {
  .hero-brand h1 { font-size: 44px; }
  .hero-cta h2 { font-size: 30px; }
}
@media (max-width: 760px) {
  .brand-name { font-size: 15.5px; }
  .brand-slogan { font-size: 8.5px; letter-spacing: .08em; margin-top: 2px; }
}
@media (max-width: 520px) {
  .hero-brand { padding: 46px 0 44px; }
  .hero-brand h1 { font-size: 34px; }
  .hero-brand p.sub { font-size: 14.5px; line-height: 1.85; text-wrap: pretty; }
  .hero-brand .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 10px; margin-top: 42px; }
  .hero-brand .stats .num { font-size: 27px; }
  .hero-brand .stats .lbl { font-size: 12px; }
  .hero-badge { font-size: 9px; letter-spacing: .10em; padding: 6px 11px; }
  .hero-tags { gap: 6px; }
  .hero-tags span { font-size: 10px; padding: 4px 9px; }
  .antidump-band { padding: 20px 18px; border-radius: 16px; }
  .antidump-points { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 20px; }
}