/* ============================================================
   广东赛德信息科技有限公司 · 运维服务管理平台
   基础设计系统：色板 / 排版 / 组件
   ============================================================ */
:root {
  --navy: #07182e;
  --navy-2: #0c2545;
  --navy-3: #123a6b;
  --brand: #1b5bf7;
  --brand-600: #154ee0;
  --brand-50: #eef3ff;
  --teal: #0fb5a6;
  --teal-50: #e7faf7;
  --amber: #f5a524;
  --amber-50: #fff7e8;
  --red: #e5484d;
  --red-50: #ffecec;
  --green: #12b76a;
  --green-50: #e8f9f0;
  --purple: #7c5cfc;
  --purple-50: #f1edff;
  --ink: #0f1d33;
  --ink-2: #34455c;
  --muted: #7788a0;
  --soft: #9aa9bc;
  --line: #e7ecf4;
  --line-2: #eff3f9;
  --bg: #f4f7fb;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 27, 51, 0.045);
  --shadow: 0 10px 30px rgba(11, 27, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 24, 46, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overscroll-behavior: none; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
svg { display: block; flex: none; }
input, textarea, select, button { font-size: inherit; color: inherit; }
::selection { background: rgba(27, 91, 247, 0.18); }

/* 滚动条 */
* { scrollbar-width: thin; scrollbar-color: #c9d4e4 transparent; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-thumb { background: #ccd7e6; border-radius: 99px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ---------------- 工具类 ---------------- */
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.between { display: flex; align-items: center; justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; }
.gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-4 { margin-top: 4px; } .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; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.ink2 { color: var(--ink-2); }
.tiny { font-size: 12px; }
.small { font-size: 13px; }
.bold { font-weight: 600; }
.strong { font-weight: 700; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hidden { display: none !important; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: 0.02em; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }

/* ---------------- 品牌标识 ---------------- */
.logo-tile {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: block;
  background: #fff; padding: 5px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(7, 24, 46, 0.22), inset 0 0 0 1px rgba(7, 24, 46, 0.05);
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-tile.sm { width: 32px; height: 32px; border-radius: 9px; padding: 4px; }
.logo-tile.lg { width: 54px; height: 54px; border-radius: 15px; padding: 7px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  background: #fff; color: var(--ink); font-weight: 600; font-size: 14px;
  transition: transform 0.16s var(--ease), box-shadow 0.2s, background 0.2s, opacity 0.2s;
  white-space: nowrap; user-select: none; line-height: 1;
}
.btn:active { transform: scale(0.972); }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, #2f74ff, #1b5bf7 60%, #1547d8);
  color: #fff; box-shadow: 0 8px 20px rgba(27, 91, 247, 0.26);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(27, 91, 247, 0.34); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: #cfd9e8; background: #fbfcff; }
.btn-soft { background: var(--brand-50); color: var(--brand); }
.btn-soft:hover { background: #e3ebff; }
.btn-danger { background: var(--red-50); color: var(--red); }
.btn-success { background: var(--green-50); color: #0b8f52; }
.btn-text { background: transparent; color: var(--brand); padding: 0 6px; height: 32px; }
.btn-text:hover { background: var(--brand-50); }
.btn-sm { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
.btn-xs { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12px; gap: 4px; }
.btn-lg { height: 50px; border-radius: 14px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-pill { border-radius: 999px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; color: var(--ink-2);
  transition: background 0.2s, border-color 0.2s, transform 0.16s;
}
.icon-btn:hover { background: #f8faff; border-color: #d5dfee; }
.icon-btn:active { transform: scale(0.94); }
.icon-btn.ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.icon-btn.ghost:hover { background: rgba(255, 255, 255, 0.18); }
.icon-btn.sm { width: 30px; height: 30px; border-radius: 9px; }

/* ---------------- 表单 ---------------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .field-label {
  font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 5px;
}
.field-label .req { color: var(--red); }
.field .hint { font-size: 12px; color: var(--soft); }
.input, .textarea, .select {
  width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #f8fafd; padding: 0 14px; outline: none; color: var(--ink);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  appearance: none;
}
.textarea { height: auto; min-height: 108px; padding: 12px 14px; resize: vertical; line-height: 1.65; }
.input::placeholder, .textarea::placeholder { color: #a8b4c5; }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(27, 91, 247, 0.1);
}
.input:disabled { color: var(--muted); background: #f1f4f9; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237788a0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.input-group { position: relative; }
.input-group .input { padding-left: 42px; }
.input-group > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--soft); width: 18px; height: 18px; }
.input-group .suffix {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  height: 32px; padding: 0 12px; border-radius: 8px; border: 0; background: var(--brand-50);
  color: var(--brand); font-size: 13px; font-weight: 600;
}
.input-group .suffix:disabled { color: var(--soft); background: #f1f4f9; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .span2 { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--brand); }

/* 分段选择 */
.seg {
  display: inline-flex; padding: 3px; gap: 2px; background: #e9eef6; border-radius: 11px;
}
.seg button {
  border: 0; background: transparent; height: 34px; padding: 0 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted); transition: all 0.18s var(--ease);
}
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15, 29, 51, 0.1); }
.seg.block { display: flex; width: 100%; }
.seg.block button { flex: 1; padding: 0 8px; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--card); border-radius: var(--radius); border: 1px solid rgba(15, 29, 51, 0.045);
  box-shadow: var(--shadow-sm); padding: 18px;
}
.card.flat { box-shadow: none; }
.card.pad-0 { padding: 0; overflow: hidden; }
.card-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.card-title .ico { color: var(--brand); }
.card-sub { font-size: 12px; color: var(--soft); margin-top: 2px; }
.section { margin-top: 20px; }
.section-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 2px; }
.section-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.section-more { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 2px; }

/* ---------------- 标签 / 状态 ---------------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px;
  border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  background: #f1f4f9; color: var(--ink-2);
}
.chip .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.chip.blue { background: var(--brand-50); color: var(--brand); }
.chip.teal { background: var(--teal-50); color: #0a8f83; }
.chip.amber { background: var(--amber-50); color: #b97500; }
.chip.red { background: var(--red-50); color: var(--red); }
.chip.green { background: var(--green-50); color: #0b8f52; }
.chip.purple { background: var(--purple-50); color: #6544e8; }
.chip.gray { background: #f1f4f9; color: var(--muted); }
.chip.solid { color: #fff; }
.chip.solid.blue { background: var(--brand); } .chip.solid.green { background: var(--green); }
.chip.solid.red { background: var(--red); } .chip.solid.amber { background: var(--amber); }
.chip.lg { height: 30px; padding: 0 12px; border-radius: 9px; font-size: 13px; }
.priority { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.priority.normal { color: var(--muted); }
.priority.urgent { color: #d17a00; }
.priority.critical { color: var(--red); }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; background: #f1f4f9; color: var(--muted); font-size: 11px; font-weight: 600; }

/* ---------------- 头像 ---------------- */
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  background: linear-gradient(145deg, #5b8dff, #1b5bf7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.avatar.ring { box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(15, 29, 51, 0.12); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid #fff; margin-left: -8px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ---------------- 进度条 ---------------- */
.progress { height: 6px; border-radius: 99px; background: #edf1f7; overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2f74ff, #1b5bf7); transition: width 0.5s var(--ease); }
.progress.teal > i { background: linear-gradient(90deg, #28d6c4, #0fb5a6); }
.progress.green > i { background: linear-gradient(90deg, #32d583, #12b76a); }
.progress.amber > i { background: linear-gradient(90deg, #ffc65c, #f5a524); }

/* ---------------- 时间线 ---------------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.tl-item { position: relative; padding-bottom: 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-dot {
  position: absolute; left: -26px; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid #d6dfec; display: grid; place-items: center; color: var(--soft);
}
.tl-item .tl-dot .ico { width: 9px; height: 9px; }
.tl-item .tl-dot.done { border-color: var(--brand); background: var(--brand); color: #fff; }
.tl-item .tl-dot.green { border-color: var(--green); background: var(--green); color: #fff; }
.tl-item .tl-dot.amber { border-color: var(--amber); background: var(--amber); color: #fff; }
.tl-item .tl-text { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.tl-item .tl-meta { font-size: 11.5px; color: var(--soft); margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; }
.tl-item.strong .tl-text { color: var(--ink); font-weight: 600; }

/* 横向步骤条 */
.steps { display: flex; align-items: flex-start; gap: 0; }
.step { flex: 1; position: relative; text-align: center; }
.step .dot {
  width: 22px; height: 22px; margin: 0 auto 6px; border-radius: 50%; background: #eef2f8; color: var(--soft);
  display: grid; place-items: center; font-size: 11px; font-weight: 700; position: relative; z-index: 1;
  border: 2px solid #fff; box-shadow: 0 0 0 1px #e5ebf4;
}
.step .bar { position: absolute; top: 10px; left: 50%; width: 100%; height: 2px; background: #e9eef6; }
.step:last-child .bar { display: none; }
.step.done .dot { background: var(--brand); color: #fff; box-shadow: 0 0 0 1px var(--brand); }
.step.done .bar { background: var(--brand); }
.step.active .dot { background: #fff; color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.step .label { font-size: 11px; color: var(--soft); }
.step.done .label, .step.active .label { color: var(--ink-2); font-weight: 600; }

/* ---------------- 列表行 ---------------- */
.list { display: flex; flex-direction: column; }
.list-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line-2);
}
.list-row:last-child { border-bottom: 0; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row .lr-title { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.list-row .lr-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.list-row .lr-time { font-size: 11.5px; color: var(--soft); white-space: nowrap; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow: auto; border-radius: var(--radius); overscroll-behavior: contain; }
table.tb { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; min-width: 760px; }
table.tb thead th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em;
  padding: 12px 14px; background: #f8fafd; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.tb thead th:first-child { border-radius: 12px 0 0 12px; }
table.tb thead th:last-child { border-radius: 0 12px 12px 0; }
table.tb tbody td { padding: 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.tb tbody tr:last-child td { border-bottom: 0; }
table.tb tbody tr { transition: background 0.15s; }
table.tb tbody tr:hover { background: #f9fbff; }
table.tb tbody tr.clickable { cursor: pointer; }
.td-main { font-weight: 600; color: var(--ink); }
.td-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tb-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }

/* ---------------- 弹层 ---------------- */
.overlay {
  position: fixed; inset: 0; z-index: 120; background: rgba(7, 20, 40, 0.44);
  backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.22s var(--ease);
}
.overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 480px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.985); transition: transform 0.26s var(--ease);
  max-height: calc(100dvh - 48px); display: flex; flex-direction: column; overflow: hidden;
}
.overlay.open .modal { transform: none; }
.modal.sm { max-width: 400px; }
.modal.lg { max-width: 720px; }
.modal-hd { padding: 20px 22px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.modal-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.modal-bd { padding: 18px 22px; overflow: auto; }
.modal-ft { padding: 0 22px 20px; display: flex; gap: 10px; }
.modal-ft .btn { flex: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 92vw); background: #fff; z-index: 91;
  box-shadow: -20px 0 60px rgba(7, 24, 46, 0.18); transform: translateX(102%);
  transition: transform 0.3s var(--ease); display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-hd { padding: 22px 24px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.drawer-bd { flex: 1; overflow: auto; padding: 22px 24px; }
.drawer-ft { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }
.mask { position: fixed; inset: 0; background: rgba(7, 20, 40, 0.35); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.mask.open { opacity: 1; pointer-events: auto; }

/* 提示 */
#toasts { position: fixed; left: 50%; top: 20px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: 90vw; }
.toast {
  background: rgba(12, 30, 54, 0.94); color: #fff; padding: 10px 16px; border-radius: 11px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(7, 24, 46, 0.25); display: flex; align-items: center; gap: 8px;
  animation: toastIn 0.24s var(--ease); backdrop-filter: blur(8px);
}
.toast.err { background: rgba(180, 35, 40, 0.96); }
.toast.ok { background: rgba(9, 133, 75, 0.96); }
.toast .ico { width: 16px; height: 16px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------- 上传 ---------------- */
.uploader { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.up-tile {
  position: relative; aspect-ratio: 1; border-radius: 11px; overflow: hidden; background: #f4f7fb;
  border: 1px solid var(--line);
}
.up-tile img { width: 100%; height: 100%; object-fit: cover; }
.up-tile .del {
  position: absolute; right: 4px; top: 4px; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(7, 24, 46, 0.6); color: #fff; border: 0; display: grid; place-items: center; backdrop-filter: blur(4px);
}
.up-tile .del svg { width: 11px; height: 11px; }
.up-add {
  aspect-ratio: 1; border-radius: 11px; border: 1.5px dashed #cfd9e8; background: #fafcff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--soft); font-size: 11px; transition: all 0.18s;
}
.up-add:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.up-add .ico { width: 20px; height: 20px; }
.up-add.busy { color: var(--brand); border-color: var(--brand); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-grid a { border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: #f4f7fb; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-grid a:hover img { transform: scale(1.04); }

/* ---------------- 空状态 / 骨架 ---------------- */
.empty { padding: 42px 16px; text-align: center; color: var(--muted); }
.empty .ic {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center;
  background: #f2f6fc; color: #b7c3d4;
}
.empty .ic .ico { width: 26px; height: 26px; }
.empty h4 { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-bottom: 4px; }
.empty p { font-size: 12.5px; color: var(--soft); max-width: 260px; margin: 0 auto; }
.skeleton { background: linear-gradient(90deg, #eef2f8 25%, #f7f9fc 50%, #eef2f8 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------------- 签名 ---------------- */
.sign-pad { position: relative; border: 1.5px dashed #d3dded; border-radius: 14px; background: #fbfdff; overflow: hidden; }
.sign-pad canvas { width: 100%; height: 150px; display: block; touch-action: none; }
.sign-pad .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  color: #b8c4d5; font-size: 12.5px; pointer-events: none;
}
.sign-pad .clear { position: absolute; right: 8px; top: 8px; z-index: 2; }
.qr-card { text-align: center; padding: 18px 16px 12px; }
.qr-frame {
  width: 190px; height: 190px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(15, 29, 51, 0.1);
}
.qr-frame img { width: 100%; height: 100%; border-radius: 8px; }
.qr-code { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; margin-top: 10px; }

/* ---------------- 评分 ---------------- */
.rate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rate-opt {
  border: 1.5px solid var(--line); background: #fbfcff; border-radius: 14px; padding: 14px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 7px; transition: all 0.18s var(--ease);
}
.rate-opt .em { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f1f4f9; }
.rate-opt .em .ico { width: 22px; height: 22px; color: var(--soft); }
.rate-opt span { font-size: 13px; font-weight: 600; color: var(--muted); }
.rate-opt:hover { border-color: #c9d6ea; transform: translateY(-1px); }
.rate-opt.on { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 6px 18px rgba(27, 91, 247, 0.14); }
.rate-opt.on .em { background: var(--brand); }
.rate-opt.on .em .ico { color: #fff; }
.rate-opt.on span { color: var(--brand); }
.rate-opt.on[data-score="good"] { border-color: var(--teal); background: var(--teal-50); }
.rate-opt.on[data-score="good"] .em { background: var(--teal); }
.rate-opt.on[data-score="good"] span { color: #0a8f83; }
.rate-opt.on[data-score="bad"] { border-color: var(--amber); background: var(--amber-50); }
.rate-opt.on[data-score="bad"] .em { background: var(--amber); }
.rate-opt.on[data-score="bad"] span { color: #b97500; }

/* 帮助条 */
.note {
  display: flex; gap: 9px; padding: 11px 13px; border-radius: 11px; background: #f6f9fe;
  border: 1px solid #e9f0fb; color: #5b7091; font-size: 12.5px; line-height: 1.6;
}
.note .ico { width: 16px; height: 16px; margin-top: 1px; color: var(--brand); }
.note.warn { background: var(--amber-50); border-color: #fbe8c6; color: #98620a; }
.note.warn .ico { color: var(--amber); }
.note.ok { background: var(--green-50); border-color: #d3f3e2; color: #0b7d49; }
.note.ok .ico { color: var(--green); }

/* 键值表 */
.kv { display: grid; grid-template-columns: 88px 1fr; gap: 10px 12px; font-size: 13.5px; }
.kv dt { color: var(--muted); font-size: 13px; }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-all; }
.kv.two { grid-template-columns: 88px 1fr 88px 1fr; }
@media (max-width: 560px) { .kv.two { grid-template-columns: 88px 1fr; } }

/* 动画 */
.fade-in { animation: fadeIn 0.35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.pop-in { animation: popIn 0.4s var(--ease); }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse-dot { position: relative; }
.pulse-dot::after {
  content: ""; position: absolute; right: -1px; top: -1px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 2px #fff; animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* 项目阶段条 */
.stage-track { display: flex; align-items: flex-start; gap: 0; padding: 6px 0 2px; overflow-x: auto; }
.stage-step { position: relative; flex: 1; min-width: 40px; padding-top: 19px; text-align: center; font-size: 10px; color: var(--soft); white-space: nowrap; }
.stage-step::before { content: ""; position: absolute; top: 8px; left: 50%; right: -50%; height: 2px; background: var(--line); }
.stage-step:last-child::before { display: none; }
.stage-step i { position: absolute; top: 2px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--line); box-sizing: border-box; }
.stage-step.done { color: var(--ink-2); }
.stage-step.done::before, .stage-step.done i { background: var(--brand); border-color: var(--brand); }
.stage-step.current { color: var(--brand); font-weight: 600; }
.stage-step.current i { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.stage-step small { display: block; font-size: 9px; color: var(--soft); font-weight: 400; margin-top: 2px; }

/* ---------------- ICP 备案号（页面底部合规展示） ---------------- */
.icp-link {
  color: inherit;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.icp-link:hover { opacity: 1; text-decoration: underline; }
.icp-sep { opacity: 0.4; margin: 0 6px; }
