@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import "https://unpkg.com/open-props/open-props.min.css";

:root {
  --font-sans: "Inter", var(--font-system-ui, system-ui, -apple-system, "Segoe UI", sans-serif);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --surface-border: rgba(255, 255, 255, 0.06);
  --surface-border-muted: rgba(255, 255, 255, 0.04);
  --surface-highlight: rgba(255, 255, 255, 0.03);
  --noise-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --bg: #0a0b10;
  --bg-elevated: #111218;
  --card: #16171f;
  --card-hover: #1e1f2a;
  --border: var(--surface-border);
  --text: #e4e4ed;
  --text-dim: #c0c0d4;
  --text-muted: #8080a0;
  --accent: #7c6ef0;
  --accent-light: #a8a0f0;
  --accent-deep: #5a4ed0;
  --tone-moss: #3ecf8e;
  --green: #3ecf8e;
  --green-dim: #2da872;
  --yellow: #f0c050;
  --orange: #f09040;
  --red: #f06060;
  --red-dim: #d04848;
  --report-max: 1120px;
  --report-rail: 200px;
  --sticky-under-topbar: 88px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(ellipse 110% 85% at 50% -28%, rgba(124, 110, 240, 0.15), transparent 58%),
    radial-gradient(ellipse 72% 52% at 100% 0%, rgba(100, 90, 220, 0.08), transparent 52%),
    radial-gradient(ellipse 55% 45% at 0% 95%, rgba(62, 207, 142, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 42% at 85% 78%, rgba(124, 110, 240, 0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.048;
  background-image: var(--noise-svg);
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: soft-light;
}

body > * {
  position: relative;
  z-index: 1;
}

/* ===== Pages ===== */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ===== Landing ===== */
.landing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 24px;
}
.landing-title {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--tone-moss));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.landing-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 14px;
  letter-spacing: 4px;
}
.landing-promise {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 40px;
}
.landing-input-wrap {
  width: 100%;
  max-width: 600px;
  position: relative;
}
.landing-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  resize: none;
  outline: none;
  transition: border-color var(--duration-3, 0.25s) var(--ease-out-expo);
  font-family: inherit;
}
.landing-input:focus {
  border-color: var(--accent);
}
.landing-input::placeholder {
  color: var(--text-muted);
}
.btn-primary {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--duration-2, 0.18s) var(--ease-out-expo),
    transform var(--duration-2, 0.18s) var(--ease-out-expo);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-ghost {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color var(--duration-2, 0.18s) var(--ease-out-expo),
    color var(--duration-2, 0.18s) var(--ease-out-expo),
    background-color var(--duration-2, 0.18s) var(--ease-out-expo),
    box-shadow var(--duration-2, 0.18s) var(--ease-out-expo);
}
.btn-ghost:hover {
  background: rgba(124, 110, 240, 0.1);
  border-color: rgba(124, 110, 240, 0.4);
  color: var(--accent-light);
}
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.topbar-logo:focus-visible,
.report-toc-link:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

/* Landing recent */
.landing-recent {
  width: 100%;
  max-width: 600px;
  margin-top: 48px;
}
.landing-recent h4 {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color var(--duration-2, 0.18s) var(--ease-out-expo);
}
.recent-item:hover { border-color: var(--accent); }
.recent-item .ri-text {
  font-size: 14px;
  color: var(--text);
}
.recent-item .ri-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Generating ===== */
.generating-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 24px;
}
.generating-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 40px;
}
.generating-progress {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.progress-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--card);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 4px;
  transition: width var(--duration-5, 0.5s) var(--ease-out-expo);
}
.progress-pct {
  font-size: 14px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
}
.progress-steps {
  list-style: none;
  width: 100%;
  max-width: 320px;
}
.progress-steps li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color var(--duration-3, 0.25s) var(--ease-out-expo);
}
.progress-steps li.done {
  color: var(--green);
}
.progress-steps li.working {
  color: var(--accent-light);
}
.step-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.progress-steps li.working .step-icon {
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* ===== Top Bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--size-3, 12px) var(--size-7, 32px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(var(--blur-2, 14px)) saturate(1.15);
  border-bottom: 1px solid var(--surface-border-muted);
  box-shadow: 0 1px 0 var(--surface-highlight) inset, 0 1px 4px rgba(0, 0, 0, 0.3);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-logo {
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-light), var(--tone-moss));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.topbar-user {
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.topbar-lens {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  user-select: none;
}
.topbar-right {
  display: flex;
  gap: 8px;
}

/* ===== Map Content ===== */
.map-content {
  padding: var(--size-7, 32px) var(--size-7, 32px) var(--size-8, 48px);
  max-width: calc(var(--report-max) + var(--report-rail) + 80px);
  margin: 0 auto;
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.map-full { grid-column: 1 / -1; }

/* ===== Report layout (地图页) ===== */
.report-layout {
  max-width: 100%;
}
.report-shell {
  display: grid;
  grid-template-columns: var(--report-rail) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.report-main {
  min-width: 0;
}
.report-map-section {
  scroll-margin-top: var(--sticky-under-topbar);
  min-width: 0;
}
.report-map-section > .card {
  height: 100%;
}

/* 执行摘要 */
.report-summary {
  margin-bottom: 28px;
  border-radius: 18px;
  border: 1px solid rgba(124, 110, 240, 0.12);
  background: linear-gradient(145deg, rgba(124, 110, 240, 0.1) 0%, rgba(17, 18, 24, 0.98) 42%, var(--bg-elevated) 100%);
  padding: 28px 32px;
  box-shadow: 0 0 50px rgba(124, 110, 240, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.report-summary-dashboard {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--report-max);
  margin: 0 0 24px;
}
.report-dash-cell {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 24px 28px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}
.report-dash-value {
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 6px;
  word-break: break-word;
}
.report-dash-value--accent {
  color: var(--accent-light);
  text-shadow: 0 0 8px rgba(124, 110, 240, 0.35);
}
.report-dash-value--white {
  color: var(--text);
}
.report-dash-value--red {
  color: var(--red);
  text-shadow: 0 0 8px rgba(240, 96, 96, 0.3);
}
.report-dash-value--green {
  color: var(--green);
  text-shadow: 0 0 8px rgba(62, 207, 142, 0.3);
}
.report-dash-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-top: 12px;
}
.report-highlight-num {
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-light);
}
.report-summary-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
  max-width: var(--report-max);
}
.report-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.report-h1 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 12px;
}
.report-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 52ch;
}
.report-lens {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
}
.summary-stage-rail {
  margin: 0 0 24px;
  padding: 28px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  max-width: var(--report-max);
}
.summary-stage-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.summary-stage-rail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.summary-stage-rail-current {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
}
.stage-rail-track {
  width: 100%;
}
.stage-rail-row--dots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12px, 40px) minmax(0, 1fr) minmax(12px, 40px) minmax(0, 1fr) minmax(12px, 40px) minmax(0, 1fr);
  align-items: center;
  width: 100%;
}
.stage-rail-row--labels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12px, 40px) minmax(0, 1fr) minmax(12px, 40px) minmax(0, 1fr) minmax(12px, 40px) minmax(0, 1fr);
  margin-top: 10px;
  width: 100%;
}
.stage-rail-label-spacer {
  min-height: 1px;
}
.stage-rail-stop {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage-rail-core {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid rgba(128, 128, 160, 0.5);
  transition: transform var(--duration-3, 0.25s) var(--ease-out-expo),
    box-shadow var(--duration-3, 0.25s) var(--ease-out-expo),
    background var(--duration-3, 0.25s) var(--ease-out-expo);
}
.stage-rail-stop.is-past .stage-rail-core {
  background: rgba(62, 207, 142, 0.5);
  border-color: var(--green-dim);
}
.stage-rail-stop.is-current .stage-rail-core {
  background: var(--accent);
  border-color: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(124, 110, 240, 0.3);
  animation: stageRailPulse 2s ease-in-out infinite;
}
.stage-rail-stop.is-future .stage-rail-core {
  background: var(--card);
  border-color: var(--border);
}
@keyframes stageRailPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(124, 110, 240, 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(124, 110, 240, 0.15);
  }
}
.stage-rail-stage-name {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
  padding: 0 2px;
}
.stage-rail-stage-name.is-current {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(124, 110, 240, 0.5);
}
.stage-rail-join {
  height: 4px;
  width: 100%;
  min-width: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}
.stage-rail-join.is-done {
  background: linear-gradient(90deg, var(--green-dim), rgba(124, 110, 240, 0.7));
}
.report-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin: 0;
}
.report-highlight {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}
.report-highlight dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.report-highlight dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

/* 目录 */
.report-toc {
  position: sticky;
  top: var(--sticky-under-topbar);
  align-self: start;
  padding: 16px 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  margin-right: 4px;
}
.report-toc-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-left: 4px;
}
.report-toc-link {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 12px 8px 10px;
  margin-bottom: 2px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color var(--duration-2, 0.18s) var(--ease-out-expo),
    background var(--duration-2, 0.18s) var(--ease-out-expo),
    border-color var(--duration-2, 0.18s) var(--ease-out-expo);
}
.report-toc-link:hover {
  color: var(--text);
  background: rgba(124, 110, 240, 0.06);
}
.report-toc-link.is-active {
  color: var(--accent-light);
  background: rgba(124, 110, 240, 0.1);
  border-left-color: var(--accent);
}
.report-toc-group + .report-toc-group {
  margin-top: 18px;
}
.report-toc-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0 0 8px;
  padding-left: 4px;
}

.report-mountain-card {
  border-radius: 16px;
}
.report-mountain-card .report-section-head {
  padding: 20px 24px 4px;
  border-bottom: 1px solid var(--border);
}
.report-mountain-card .report-section-head .card-title {
  margin-bottom: 16px;
}
.report-mountain-card .mountain-section {
  border-radius: 0;
}

.report-subblock {
  margin: 20px 0 8px;
}
.report-subblock-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.report-prose {
  line-height: 1.75;
  max-width: 68ch;
}
.text-accent {
  color: var(--accent-light);
}
.text-yellow-soft {
  color: var(--yellow);
}
.text-green-soft {
  color: var(--green);
}
.buffer-line {
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 0 4px 2px;
  line-height: 1.55;
}
.report-buffer-box {
  margin-top: 18px;
}

/* ===== Conclusion Hero ===== */
.conclusion-hero {
  margin-bottom: 24px;
  padding: 32px 36px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(124,110,240,0.15) 0%, rgba(17,18,24,0.98) 50%);
  border: 1px solid rgba(124,110,240,0.2);
  box-shadow: 0 0 60px rgba(124,110,240,0.1);
}
.conclusion-headline {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 16px rgba(124,110,240,0.4);
  margin-bottom: 12px;
  line-height: 1.3;
}
.conclusion-detail {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 60ch;
  margin-bottom: 12px;
}
.conclusion-basis {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.conclusion-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.18s var(--ease-out-expo), transform 0.18s var(--ease-out-expo);
}
.conclusion-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Report H1 sub text */
.report-h1-sub {
  font-weight: 400;
  font-size: 0.65em;
  color: var(--text-muted);
}

/* Section summary line */
.section-summary {
  font-size: 14px;
  color: var(--accent-light);
  margin-bottom: 16px;
  line-height: 1.6;
  padding: 10px 14px;
  background: rgba(124, 110, 240, 0.06);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

/* Impact note (per-task annotation) */
.impact-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 4px 0 2px 0;
  font-style: italic;
}

/* Path one-liner */
.path-one-liner {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Recommended path — visual emphasis */
.path-card--recommended {
  grid-column: 1 / -1;
  background: rgba(124, 110, 240, 0.06);
  border-color: rgba(124, 110, 240, 0.3);
  box-shadow: 0 0 30px rgba(124, 110, 240, 0.08);
}
.path-card--recommended::before {
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.path-card--recommended .path-rec-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: none;
  color: #fff;
  font-size: 12px;
  padding: 5px 14px;
}

/* Cards */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%), var(--card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: var(--size-6, 28px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color var(--duration-3, 0.25s) var(--ease-out-expo),
    box-shadow var(--duration-3, 0.25s) var(--ease-out-expo);
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(124, 110, 240, 0.08) inset;
}
.card--primary {
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(124, 110, 240, 0.04) 0%, var(--card) 100%);
}
.card--tertiary {
  padding: 20px 24px;
  opacity: 0.9;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-title-index {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-light);
  min-width: 22px;
}
.card-title-text {
  flex: 1;
  letter-spacing: 0.02em;
}
.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.card-icon-minimal {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  padding: 0;
  flex-shrink: 0;
}

/* ===== Impact Bars ===== */
.impact-distro-bar {
  display: flex;
  width: 100%;
  min-height: 36px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.impact-distro-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.impact-distro-seg--high {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.35), rgba(239, 68, 68, 0.2));
  color: #fecaca;
}
.impact-distro-seg--medium {
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.28), rgba(234, 179, 8, 0.14));
  color: #fef08a;
}
.impact-distro-seg--low {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.14));
  color: #bbf7d0;
}
.impact-distro-seg-inner {
  overflow: hidden;
  text-overflow: ellipsis;
}
.impact-list { list-style: none; }
.impact-group-label {
  list-style: none;
  padding: 16px 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.impact-group-label:first-child {
  padding-top: 4px;
}
.impact-item {
  display: grid;
  grid-template-columns: 140px 1fr 70px 120px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 16px;
  font-size: 14px;
}
.impact-item:last-child { border-bottom: none; }
.impact-item--high {
  background: rgba(239, 68, 68, 0.04);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
}
.impact-item--medium {
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}
.impact-item--low {
  background: rgba(34, 197, 94, 0.04);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
}
.impact-bar-bg {
  height: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
}
.impact-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s var(--ease-out-expo);
}
.impact-bar-fill.high { background: linear-gradient(90deg, var(--red-dim), var(--red)); }
.impact-bar-fill.medium { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.impact-bar-fill.low { background: linear-gradient(90deg, var(--green-dim), var(--green)); }
.impact-pct {
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.impact-trend {
  font-size: 13px;
  text-align: center;
  font-weight: 500;
}
.trend-up { color: var(--green); }
.trend-down { color: var(--red); }
.trend-stable { color: var(--yellow); }

/* ===== Asset Cards ===== */
.asset-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 10px;
  transition: transform var(--duration-2, 0.18s) var(--ease-out-expo);
}
.asset-item:hover { transform: translateX(4px); }
.asset-star { color: var(--green); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.asset-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.asset-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ===== Path Cards ===== */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.path-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  padding-top: 28px;
  transition: border-color var(--duration-3, 0.25s) var(--ease-out-expo),
    box-shadow var(--duration-3, 0.25s) var(--ease-out-expo),
    transform var(--duration-3, 0.25s) var(--ease-out-expo),
    background var(--duration-3, 0.25s) var(--ease-out-expo);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.path-card--a {
  background: rgba(124, 110, 240, 0.03);
}
.path-card--a::before { background: var(--accent); }
.path-card--b {
  background: rgba(34, 197, 94, 0.03);
}
.path-card--b::before { background: var(--green); }
.path-card--c {
  background: rgba(234, 179, 8, 0.03);
}
.path-card--c::before { background: var(--yellow); }
.path-rec-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(124, 110, 240, 0.2);
  border: 1px solid rgba(124, 110, 240, 0.5);
  color: var(--accent-light);
}
.path-card--b .path-rec-badge {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
  color: var(--green);
}
.path-card--c .path-rec-badge {
  background: rgba(240, 192, 80, 0.15);
  border-color: rgba(240, 192, 80, 0.5);
  color: var(--yellow);
}
.path-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(124, 110, 240, 0.08);
}
.path-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-light);
  margin-bottom: 6px;
}
.path-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.path-fit { font-size: 12px; color: var(--text-dim); margin-bottom: 14px; }
.path-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin-bottom: 12px; }
.path-actions {
  list-style: none;
  margin-bottom: 14px;
}
.path-actions li {
  font-size: 13px;
  padding: 3px 0 3px 16px;
  position: relative;
}
.path-actions li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent-light);
  font-weight: bold;
}
.path-signal {
  font-size: 12px;
  padding: 8px 12px 8px 14px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-left: 3px solid rgba(234, 179, 8, 0.55);
  border-radius: 8px;
  color: var(--yellow);
  line-height: 1.5;
}

.radar-chart-wrap {
  text-align: center;
  padding: 8px 0 4px;
}
.radar-chart-svg {
  display: block;
  margin: 0 auto;
  width: min(100%, 400px);
  max-width: 400px;
  height: auto;
}
.radar-chart-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 36rem;
  margin: 10px auto 0;
  padding: 0 8px;
}

/* ===== Compare Table ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 20px;
}
.compare-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
  color: var(--text-dim);
  font-weight: 500;
}
.compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.compare-table tr:last-child td { border-bottom: none; }

/* ===== Info Boxes ===== */
.info-box {
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.info-box.accent {
  background: rgba(124, 110, 240, 0.06);
  border: 1px solid rgba(124, 110, 240, 0.2);
}
.info-box.green {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
}
.info-box.yellow {
  background: rgba(234, 179, 8, 0.06);
  border: 1px solid rgba(234, 179, 8, 0.15);
}
.info-box-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.info-box-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

.window-box {
  display: flex;
  align-items: center;
  gap: 24px;
}
.window-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}
.window-unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dim);
}

/* Signal items */
.signal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.signal-item:last-child { border-bottom: none; }
.signal-check { color: var(--green); }
.signal-cross { color: var(--text-muted); }
.signal-warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--bg);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

/* ===== History Drawer ===== */
.history-drawer {
  position: fixed;
  top: 0; right: -380px;
  width: 380px;
  height: 100vh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 200;
  transition: right var(--duration-4, 0.32s) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}
.history-drawer.open { right: 0; }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-header h3 { font-size: 16px; font-weight: 600; }
.drawer-search {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-search input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.drawer-search input:focus { border-color: var(--accent); }
.drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}
.drawer-item {
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 4px;
  transition: background var(--duration-2, 0.18s) var(--ease-out-expo);
}
.drawer-item:hover { background: var(--card); }
.drawer-item.active { background: rgba(124, 110, 240, 0.1); border: 1px solid rgba(124, 110, 240, 0.2); }
.drawer-item-text { font-size: 14px; margin-bottom: 4px; }
.drawer-item-date { font-size: 11px; color: var(--text-muted); }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 38%), var(--bg-elevated);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: var(--size-7, 32px);
  width: 90%;
  max-width: 560px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.modal-content h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

/* ===== Mountain SVG ===== */
.mountain-section {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(180deg, #0c0d14, #14151f);
  border-radius: 16px;
}
.mountain-annotation {
  position: absolute;
  top: 16px;
  right: 20px;
  max-width: 240px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(124, 110, 240, 0.2);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  z-index: 2;
  pointer-events: none;
}
.mountain-svg { width: 100%; height: 100%; }

/* ===== Footer ===== */
.map-footer {
  text-align: center;
  padding: 32px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Animations ===== */
.fade-in {
  animation: fadeIn var(--duration-6, 0.6s) var(--ease-out-expo) forwards;
  opacity: 0;
}
@keyframes fadeIn { to { opacity: 1; } }
.slide-up {
  animation: slideUp var(--duration-5, 0.5s) var(--ease-out-expo) forwards;
  opacity: 0;
  transform: translateY(16px);
}
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* Stagger */
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.1s; }
.d3 { animation-delay: 0.15s; }
.d4 { animation-delay: 0.2s; }
.d5 { animation-delay: 0.25s; }
.d6 { animation-delay: 0.3s; }
.d7 { animation-delay: 0.35s; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .report-summary-inner {
    grid-template-columns: 1fr;
  }
  .report-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; }
  .paths-grid { grid-template-columns: 1fr; }
  .impact-item { grid-template-columns: 100px 1fr 50px 90px; gap: 8px; }
  .topbar { padding: 12px 16px; }
  .topbar-lens { display: none; }
  .map-content { padding: 16px; }
  .report-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .report-toc {
    position: sticky;
    top: 52px;
    z-index: 55;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 0 14px;
    margin: 0 0 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg) 70%, transparent);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .report-toc::-webkit-scrollbar {
    display: none;
  }
  .report-toc-title {
    display: none;
  }
  .report-toc-group {
    display: contents;
  }
  .report-toc-group-label {
    display: none;
  }
  .report-toc-group + .report-toc-group {
    margin-top: 0;
  }
  .report-toc-link {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-bottom: 0;
    border-left: none;
    border: 1px solid var(--border);
    padding: 8px 14px;
  }
  .report-toc-link.is-active {
    border-color: rgba(124, 110, 240, 0.45);
  }
  .report-summary {
    padding: 20px 18px;
  }
  .report-highlights {
    grid-template-columns: 1fr;
  }
}

@media print {
  .topbar,
  .history-drawer,
  .report-toc {
    display: none !important;
  }
  body::before {
    display: none !important;
  }
  .report-map-section {
    scroll-margin-top: 0;
    break-inside: avoid;
  }
  body {
    background: #fff;
    color: #111;
  }
  .card,
  .report-summary {
    border-color: #ddd;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .btn-primary:hover,
  .path-card:hover,
  .asset-item:hover {
    transform: none !important;
  }
  .stage-rail-stop.is-current .stage-rail-core {
    animation: none !important;
  }
  .stage-rail-core {
    transition: none;
  }
  .progress-steps li.working .step-icon {
    animation: none !important;
  }
}

/* Toast通知 */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  max-width: 380px;
  animation: toast-in var(--duration-3, 0.25s) var(--ease-out-expo);
  font-size: 14px;
  color: var(--text);
}

.toast.toast-error {
  border-color: rgba(239,68,68,0.3);
  background: linear-gradient(135deg, rgba(239,68,68,0.08), var(--card));
}

.toast.toast-success {
  border-color: rgba(34,197,94,0.3);
  background: linear-gradient(135deg, rgba(34,197,94,0.08), var(--card));
}

.toast.toast-info {
  border-color: rgba(124, 110, 240, 0.3);
}

.toast-msg { flex: 1; line-height: 1.5; }

.toast-action {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  margin-top: 2px;
}
.toast-action:hover { background: rgba(124, 110, 240, 0.12); }

.toast-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
  line-height: 1;
}

.toast-removing {
  animation: toast-out var(--duration-3, 0.25s) var(--ease-out-expo) forwards;
}

@keyframes toast-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px); } }

@keyframes input-shake {
  0%, 100% { transform: translateX(0); }
  10%, 50%, 90% { transform: translateX(-4px); }
  30%, 70% { transform: translateX(4px); }
}
.input-error {
  border-color: var(--red) !important;
  animation: input-shake 0.5s ease;
}

/* ===== Auth gate ===== */
.auth-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124, 110, 240, 0.18), transparent 55%),
    rgba(12, 13, 18, 0.92);
  backdrop-filter: blur(8px);
}
.auth-gate.open { display: flex; }

.auth-gate-card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, transparent 45%), var(--card);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.auth-gate-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent-light), var(--tone-moss));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-gate-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
  margin-top: 12px;
}
.auth-gate-label:first-of-type { margin-top: 0; }

.auth-gate-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.auth-gate-input:focus {
  border-color: var(--accent);
}

.auth-gate-error {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--red);
}

.auth-gate-submit {
  width: 100%;
  margin-top: 18px;
}

/* 角色未就绪：隐藏导航与情报相关块，避免闪错权限 */
body.session-role-pending .nav-admin-only,
body.session-role-pending .nav-intel,
body.session-role-pending #map-intel-dock,
body.session-role-pending .settings-intel-subscribe-card {
  display: none !important;
}
/* 普通用户可看情报站与行业订阅；运营入口与情报管理工具仅管理员 */
body.session-role-user .nav-admin-only {
  display: none !important;
}
body.session-role-user .intel-admin-only {
  display: none !important;
}
body.session-role-user .intel-cb-wrap {
  display: none !important;
}

/* 知识库滞后条仅管理员可见（与 JS 双保险） */
body.session-role-user #map-store-alert,
body.session-role-pending #map-store-alert {
  display: none !important;
}

/* ===== 014/015 地图情报联动 · 运营 ===== */
.map-store-alert {
  max-width: var(--report-max);
  margin: 0 auto;
  padding: 10px 20px 0;
  font-size: 13px;
  color: var(--yellow);
}
.map-store-alert-inner {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.map-intel-dock {
  max-width: var(--report-max);
  margin: 0 auto;
  padding: 12px 20px 0;
}
.map-intel-dock-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.map-intel-dock-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.map-intel-dock-title {
  font-size: 15px;
  font-weight: 600;
}
.map-intel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.map-intel-list li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.45;
}
.map-intel-list li:first-child {
  border-top: none;
  padding-top: 0;
}
.map-intel-item-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}
.reports-batch-bar,
.intel-batch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.reports-batch-label {
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.intel-batch-select {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 13px;
}
.intel-stream-item,
.report-card-selectable {
  position: relative;
}
.intel-stream-item .intel-cb-wrap {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.share-card-modal-inner {
  max-width: 920px;
  width: 92vw;
}
.share-card-scroll {
  overflow: auto;
  max-height: 72vh;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
}
.share-card-root {
  width: 1200px;
  height: 630px;
  max-width: none;
  box-sizing: border-box;
  padding: 40px 48px;
  background: linear-gradient(145deg, #0e0f16 0%, #14151f 45%, #0a0b10 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text);
  font-family: var(--font-sans), system-ui, sans-serif;
}
.share-card-brand {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.share-card-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 12px;
}
.share-card-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.5;
}
.share-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}
.share-card-url {
  word-break: break-all;
  color: var(--accent-light);
}

/* 情报方向 / Star（019） */
.star-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s, transform 0.15s;
}
.star-btn:hover {
  color: var(--accent);
  transform: scale(1.15);
}
.star-btn.starred {
  color: #eab308;
}
.slug-select-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
  background: var(--bg);
  color: var(--text);
}
.slug-select-item:hover {
  background: rgba(99, 102, 241, 0.08);
}
.intel-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  max-width: 720px;
  margin: 0 auto;
  overflow-x: auto;
}
.intel-tab {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  color: var(--text-dim);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.intel-tab:hover {
  border-color: var(--accent);
  color: var(--text);
}
.intel-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.intel-tab-add {
  border-style: dashed;
  color: var(--text-dim);
}
.intel-tab-add:hover {
  color: var(--accent);
}
.intel-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}
.intel-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.intel-empty-state h3 {
  color: var(--text);
  margin-bottom: 8px;
}
.direction-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
}
.direction-label {
  font-weight: 500;
  flex: 1;
}
.btn-sm {
  font-size: 12px;
  padding: 4px 10px;
  width: auto;
}
.toast.toast-warning {
  border-left: 4px solid var(--yellow);
}
