:root {
  --bg: #fff6f0;
  --bg-elev: #ffffff;
  --bg-soft: #ffe8f0;
  --bg-candy: #fff0d6;
  --border: #ffd0e0;
  --border-soft: #ffe0ec;
  --text: #4a3a55;
  --muted: #9a8498;
  --accent: #ff7eb3;
  --accent-2: #7ec8ff;
  --accent-3: #b794f6;
  --accent-dim: rgba(255, 126, 179, 0.18);
  --ok: #5ed4a0;
  --warn: #ffb347;
  --err: #ff8a9b;
  --run: #7ec8ff;
  --radius: 22px;
  --radius-sm: 16px;
  --sidebar-w: 248px;
  --shadow: 0 8px 24px rgba(255, 150, 180, 0.18);
  --shadow-soft: 0 4px 14px rgba(180, 140, 200, 0.12);
  --font: "Nunito", "PingFang SC", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse at 10% 0%, #ffe0f0 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, #e0f0ff 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, #fff3d0 0%, transparent 40%),
    var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

a { color: #e85a9b; text-decoration: none; }
a:hover { text-decoration: underline; }

#app {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: linear-gradient(180deg, #fff 0%, #fff5fa 100%);
  border-right: 2px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  box-shadow: 4px 0 20px rgba(255, 160, 190, 0.1);
}

.brand { display: flex; gap: 12px; align-items: center; padding: 4px 8px 16px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 16px;
  background: linear-gradient(145deg, #ff9ec8, #c9a0ff);
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(255, 126, 179, 0.35), inset 0 -3px 0 rgba(0,0,0,0.06);
  overflow: hidden;
}
.brand-mark svg { width: 34px; height: 34px; }
.brand-name {
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 16px;
  background: linear-gradient(90deg, #e85a9b, #8b6cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub { font-size: 12px; color: var(--muted); font-weight: 600; }

.mascot-card {
  margin: 0 4px 14px;
  background: linear-gradient(135deg, #fff8fc, #eef6ff);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.mascot-card .bubble {
  flex: 1;
  background: #fff;
  border: 2px solid #ffd6e8;
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  line-height: 1.4;
  box-shadow: 0 3px 0 #ffd0e0;
}
.mascot-card .bubble::before {
  content: "";
  position: absolute;
  left: -8px; top: 12px;
  border: 6px solid transparent;
  border-right-color: #ffd6e8;
}
.mascot-svg { flex-shrink: 0; width: 52px; height: 52px; }

.nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all .15s ease;
}
.nav a:hover {
  background: var(--bg-soft);
  color: var(--text);
  text-decoration: none;
  transform: translateX(2px);
}
.nav a.active {
  background: linear-gradient(135deg, #ffe0f0, #e8f0ff);
  color: #d4488a;
  border-color: #ffb0d0;
  box-shadow: 0 4px 0 #ffc8dc;
}

.sidebar-foot { padding: 12px 8px 4px; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: 60px;
  border-bottom: 2px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  background: rgba(255, 250, 252, 0.88);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.ns-switcher { display: flex; align-items: center; gap: 8px; }
.ns-switcher .label { color: var(--muted); font-size: 12px; font-weight: 700; }
.ns-switcher select {
  background: #fff;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 12px;
  box-shadow: 0 3px 0 var(--border-soft);
  cursor: pointer;
}

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.badge {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
}
.badge.env { color: #e08920; border-color: #ffd9a0; background: #fff6e8; }
.badge.ok { color: #1a9a68; border-color: #a8efd0; background: #e8fff4; }
.badge.err { color: #d44060; border-color: #ffc0cc; background: #fff0f3; }
.badge.run { color: #2a7ec8; border-color: #b0dfff; background: #eef8ff; }
.badge.muted { color: var(--muted); background: #f8f4f7; }
.badge.warn { color: #c07810; border-color: #ffe0a8; background: #fff8e8; }

.user-badge {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--border);
  padding: 4px 12px 4px 4px; border-radius: 999px; font-size: 12px;
  color: var(--muted); font-weight: 600;
  box-shadow: 0 3px 0 var(--border-soft);
}
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(145deg, #ff9ec8, #a0c8ff);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}

.content { padding: 26px 30px 56px; max-width: 1200px; }

.page-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #5a3d68;
}
.page-desc { margin: 0 0 22px; color: var(--muted); font-weight: 600; }

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

.card {
  background: var(--bg-elev);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.card .meta { color: var(--muted); font-size: 12px; font-weight: 600; }
.card.clickable {
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card.clickable:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-row { display: flex; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.stat { font-family: var(--mono); font-size: 18px; font-weight: 800; color: #6b4a7a; }
.stat span {
  display: block; font-size: 11px; color: var(--muted);
  font-weight: 600; font-family: var(--font);
}

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  box-shadow: 0 4px 0 #ffd0e0;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #ffc0d8; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #ffd0e0; }
.btn.primary {
  background: linear-gradient(145deg, #ff8ec4, #ff6aad);
  border-color: #ff6aad;
  color: #fff;
  box-shadow: 0 4px 0 #e04890;
  text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.btn.primary:hover { filter: brightness(1.05); box-shadow: 0 5px 0 #e04890; }
.btn.ghost {
  background: transparent;
  box-shadow: 0 3px 0 transparent;
  border-color: transparent;
}
.btn.ghost:hover { background: var(--bg-soft); box-shadow: 0 3px 0 #ffd8e8; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.spacer { flex: 1; }

.table-wrap {
  overflow: auto;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-soft); }
th {
  background: linear-gradient(180deg, #fff5fa, #ffeef6);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 220, 235, 0.25); }
td.mono, .mono { font-family: var(--mono); font-size: 12px; }
.linkish {
  color: #e85a9b; cursor: pointer; background: none;
  border: none; padding: 0; font: inherit; font-weight: 700;
}
.linkish:hover { text-decoration: underline; }

.input, .select, textarea {
  background: #fff; color: var(--text);
  border: 2px solid var(--border); border-radius: 16px;
  padding: 10px 14px; font: inherit; width: 100%;
  font-weight: 600;
  box-shadow: inset 0 2px 4px rgba(255, 180, 200, 0.12);
}
textarea { min-height: 72px; resize: vertical; }
.input:focus, .select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.seg {
  display: inline-flex;
  background: #fff5fa;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.seg button {
  border: none; background: transparent; color: var(--muted);
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 800;
}
.seg button.active {
  background: linear-gradient(145deg, #ff8ec4, #c9a0ff);
  color: #fff;
  box-shadow: 0 3px 0 rgba(200, 80, 140, 0.35);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip {
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 2px solid var(--border); color: var(--muted);
  font-weight: 700; cursor: pointer;
  box-shadow: 0 2px 0 var(--border-soft);
}
.chip.on {
  color: #d4488a;
  border-color: #ffb0d0;
  background: #ffe8f2;
}

.hit {
  border: 2px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.hit-head { display: flex; gap: 12px; align-items: flex-start; }
.hit-rank {
  width: 32px; height: 32px; border-radius: 12px;
  background: linear-gradient(145deg, #ffe0f0, #e0f0ff);
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: #d4488a; flex-shrink: 0;
  border: 2px solid #ffd0e0;
}
.hit-title { font-weight: 800; margin: 0 0 4px; }
.scores { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.score-pill {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  background: #fff5fa; color: var(--muted);
  border: 1px solid var(--border-soft); font-weight: 600;
}
.score-pill strong { color: var(--text); font-weight: 800; }
.snippet {
  font-size: 13px; color: #6a5570; background: #fffafc;
  border: 2px dashed #ffd0e0; border-radius: 14px; padding: 12px; margin-top: 8px;
  display: none;
}
.snippet.open { display: block; }
.snippet mark {
  background: rgba(255, 126, 179, 0.35);
  color: inherit; padding: 0 3px; border-radius: 4px;
}

.empty {
  text-align: center; padding: 48px 20px; color: var(--muted);
  border: 2px dashed var(--border); border-radius: var(--radius);
  background: #fff; font-weight: 600;
}
.empty .icon { font-size: 36px; margin-bottom: 8px; }

.loading {
  display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 20px;
  font-weight: 700;
}
.spinner {
  width: 18px; height: 18px; border: 3px solid #ffd0e0;
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.progress {
  height: 8px; background: #ffeef4; border-radius: 999px; overflow: hidden; margin-top: 8px;
  border: 1px solid #ffd0e0;
}
.progress > i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #ff8ec4, #7ec8ff);
  border-radius: inherit;
}

.muted { color: var(--muted); }
.small { font-size: 12px; }
.row-actions { display: flex; gap: 8px; }

.drawer[hidden], .drawer-mask[hidden] { display: none !important; }

.drawer-mask {
  position: fixed; inset: 0; background: rgba(80, 40, 70, 0.28); z-index: 40;
}
.drawer {
  position: fixed; top: 0; right: 0; width: min(420px, 92vw); height: 100vh;
  background: #fffafc; border-left: 2px solid var(--border);
  z-index: 50; display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(200, 100, 150, 0.2);
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 2px solid var(--border-soft);
  background: linear-gradient(180deg, #fff, #fff5fa);
}
.drawer-head h3 { margin: 0; font-size: 16px; font-weight: 800; }
.drawer-body { padding: 16px 18px; overflow: auto; flex: 1; }
.chunk {
  border: 2px solid var(--border-soft); border-radius: 14px;
  padding: 12px; margin-bottom: 8px; background: #fff;
}
.chunk .ord { font-family: var(--mono); font-size: 11px; color: #e85a9b; margin-bottom: 4px; font-weight: 700; }

.icon-btn {
  background: #fff; border: 2px solid var(--border); color: var(--muted);
  width: 36px; height: 36px; border-radius: 14px; cursor: pointer; font-size: 16px;
  box-shadow: 0 3px 0 var(--border-soft);
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }

.mobile-only { display: none; }

.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 13px; }
.kv dt { color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; word-break: break-all; font-weight: 600; }

.codebox {
  font-family: var(--mono); font-size: 12px; background: #fff8fc;
  border: 2px solid var(--border-soft); border-radius: 14px; padding: 12px; overflow: auto;
  color: #6a5570; white-space: pre-wrap;
}

.home-hero {
  display: flex; gap: 16px; align-items: center;
  background: linear-gradient(135deg, #fff0f8, #eef6ff 60%, #fff8e8);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.home-hero .hero-svg { width: 72px; height: 72px; flex-shrink: 0; }
.home-hero .hero-text h2 {
  margin: 0 0 4px; font-size: 18px; font-weight: 800; color: #5a3d68;
}
.home-hero .hero-text p {
  margin: 0; color: var(--muted); font-weight: 600; font-size: 13px;
}

@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

/* —— 检索能力对齐 v2 —— */
.mode-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px;
}
.mode-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 2px solid var(--border); color: var(--muted);
  font-weight: 800; cursor: pointer; user-select: none;
  box-shadow: 0 3px 0 var(--border-soft);
  transition: all .12s;
}
.mode-chip:hover { transform: translateY(-1px); }
.mode-chip.on {
  color: #fff;
  border-color: #ff6aad;
  background: linear-gradient(145deg, #ff8ec4, #c9a0ff);
  box-shadow: 0 3px 0 rgba(200, 80, 140, 0.35);
}
.mode-chip.preset {
  border-style: dashed;
}
.mode-chip.preset.on {
  border-style: solid;
  background: linear-gradient(145deg, #7ec8ff, #b794f6);
  border-color: #7aa8e8;
  box-shadow: 0 3px 0 rgba(100, 140, 200, 0.35);
}
.mode-chip input { display: none; }

.enhance-row {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 12px 0 4px; padding: 12px; border-radius: 16px;
  background: linear-gradient(135deg, #fff8fc, #f0f7ff);
  border: 2px dashed #ffd0e0;
}
.enhance-label {
  font-size: 11px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em; width: 100%;
  margin-bottom: 2px;
}
.toggle-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 2px solid var(--border); color: var(--text);
  font-weight: 700; cursor: pointer;
}
.toggle-pill.on {
  border-color: #a8efd0; background: #e8fff4; color: #1a9a68;
}
.toggle-pill.soon, .toggle-pill:disabled {
  opacity: 0.55; cursor: not-allowed; color: var(--muted);
  background: #f5f2f6; border-color: #e8e0e8;
  text-decoration: none;
}
.toggle-pill .soon-tag {
  font-size: 10px; font-weight: 800; padding: 1px 6px;
  border-radius: 999px; background: #efe8f4; color: #9a8498;
}
.cap-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 800; padding: 3px 10px;
  border-radius: 999px; border: 2px solid;
}
.cap-badge.rag { color: #2a7ec8; border-color: #b0dfff; background: #eef8ff; }
.cap-badge.graph { color: #7a4fc8; border-color: #d8c8ff; background: #f5f0ff; }
.cap-badge.both {
  color: #d4488a; border-color: #ffb0d0;
  background: linear-gradient(90deg, #ffe8f2, #eef0ff);
}
.cap-badge.off { color: var(--muted); border-color: #e8e0e8; background: #f8f4f7; }

.graph-hit {
  border: 2px solid #d8c8ff;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fcfaff, #f0f7ff);
  box-shadow: var(--shadow-soft);
}
.graph-path {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 10px;
}
.entity {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 14px;
  background: #fff; border: 2px solid #c9a0ff;
  font-weight: 800; font-size: 12px; color: #5a3d68;
  box-shadow: 0 2px 0 #e8d8ff;
}
.entity .etype {
  font-size: 10px; font-weight: 700; color: #9a8498;
  background: #f5f0ff; padding: 1px 6px; border-radius: 999px;
}
.rel {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(145deg, #ff8ec4, #c9a0ff);
  color: #fff; font-size: 11px; font-weight: 800;
  box-shadow: 0 2px 0 rgba(180, 80, 160, 0.3);
}
.path-arrow { color: #c9a0ff; font-weight: 800; }

.tips-panel {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 16px 0 20px;
}
.tip-card {
  background: #fff; border: 2px solid var(--border-soft);
  border-radius: 18px; padding: 14px; box-shadow: var(--shadow-soft);
  position: relative;
}
.tip-card .tip-icon { font-size: 22px; margin-bottom: 4px; }
.tip-card h4 { margin: 0 0 4px; font-size: 13px; font-weight: 800; color: #5a3d68; }
.tip-card p { margin: 0; font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.45; }
.section-title {
  font-size: 13px; font-weight: 800; color: var(--muted);
  margin: 18px 0 10px; display: flex; align-items: center; gap: 8px;
}
.section-title::after {
  content: ""; flex: 1; height: 2px; background: var(--border-soft); border-radius: 2px;
}
.filter-group { margin: 8px 0; }
.filter-group .fg-label {
  font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 6px;
}
@media (max-width: 860px) {
  .tips-panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 30;
    transform: translateX(-100%); transition: transform .2s;
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-only { display: inline-flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .content { padding: 16px; }
  .home-hero { flex-direction: column; text-align: center; }
}


/* —— live console additions —— */
.nav a.soon { opacity: .55; }
.nav a .soon-tag, .mode-chip .soon-tag { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: #efe8f4; color: #9a8498; margin-left: 4px; }
.mode-chip.disabled { opacity: .55; cursor: not-allowed; border-style: dashed; }
.mode-chip.disabled:hover { transform: none; }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  border: 2px solid #ffe0a8; background: #fff8e8; color: #8a5a10;
  border-radius: 18px; padding: 12px 14px; margin: 12px 0; font-weight: 700; font-size: 13px;
}
.notice.err { border-color: #ffc0cc; background: #fff0f3; color: #b03050; }
.notice.info { border-color: #b0dfff; background: #eef8ff; color: #2a6ea8; }
.notice .n-icon { font-size: 22px; line-height: 1; }
.notice .mono { font-weight: 600; }
.login-card { max-width: 520px; margin: 10px auto 0; }
.login-card .input { margin: 10px 0; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.field-row .input { width: auto; flex: 1; min-width: 140px; padding: 7px 12px; }
.field-row label { font-size: 12px; font-weight: 800; color: var(--muted); }
.scope-pill { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 2px solid #a8efd0; background: #e8fff4; color: #1a9a68; font-weight: 700; margin-right: 6px; }
.scope-pill.off { border-color: #e8e0e8; background: #f8f4f7; color: var(--muted); text-decoration: line-through; }
.hit a.src { font-size: 12px; font-weight: 700; }
.user-badge button { border: none; background: none; color: #e85a9b; font: inherit; font-weight: 800; cursor: pointer; padding: 0 0 0 4px; }
.hit-title mark { background: rgba(255, 126, 179, 0.35); color: inherit; padding: 0 3px; border-radius: 4px; }

/* Fleet 一键登录 + 「我的能力」(fleet-tool-capabilities component classes) */
.fleet-login { text-align: center; padding: 6px 0 4px; }
.fleet-login-btn { display: inline-block; font-size: 17px; padding: 12px 26px; text-decoration: none; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; color: #8a7f99; font-size: 12px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; border-top: 1px dashed #d9cfe8; }
.fleet-caps .page-heading small { color: #8a7f99; letter-spacing: .08em; font-size: 11px; }
.fleet-caps .page-heading h1 { margin: 2px 0 4px; }
.fleet-caps .panel { background: #fff; border-radius: 16px; padding: 16px 18px; margin: 12px 0; box-shadow: 0 4px 0 rgba(74,58,85,.08); border: 1px solid #f0e6f6; }
.fleet-caps .section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.fleet-caps .section-heading h2, .fleet-caps .panel h2 { margin: 0 0 4px; font-size: 17px; }
.fleet-caps .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fleet-caps button, .fleet-caps a.button { font: inherit; border-radius: 12px; border: 1px solid #e3d6f0; background: #fff; padding: 7px 14px; cursor: pointer; text-decoration: none; color: inherit; }
.fleet-caps button.primary, .fleet-caps a.button.primary { background: #ff6fb5; border-color: #ff6fb5; color: #fff; }
.fleet-caps .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.fleet-caps .tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #efe7ff; color: #6b5bd2; }
.fleet-caps .muted { color: #8a7f99; font-size: 13px; }
