/* 因脉 · 乐见 — 品牌主题（日出暖色 + 深紫强调） */
:root {
  --im-blue: #2a1c45;
  --im-blue-mid: #3b2860;
  --im-blue-light: #f0eaf8;
  --im-accent: #3b2860;
  --im-accent-hover: #4d3578;
  --bg: #faf7fc;
  --card: rgba(255, 255, 255, 0.72);
  --text: #2a1f3d;
  --muted: #6f627e;
  --border: rgba(59, 40, 96, 0.14);
  --success: #0d9488;
  --shadow: 0 4px 24px rgba(59, 40, 96, 0.08);
  --radius: 12px;
  --page-max-width: 1280px;
  --lj-plum: #3b2860;
  --lj-plum-dark: #2a1c45;
  --lj-plum-hover: #4d3578;
  --lj-rose: #f6e4ec;
  --lj-peach: #fde9df;
  --lj-lilac: #ebe3f6;
  --lj-cream: #fffaf7;
  --lj-text: #2a1f3d;
  --lj-muted: #6f627e;
  --lj-serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --lj-glass: rgba(255, 255, 255, 0.72);
  --lj-glass-border: rgba(59, 40, 96, 0.1);
  --lj-panel: rgba(255, 250, 247, 0.52);
  --lj-panel-alt: rgba(246, 228, 236, 0.38);
  --lj-panel-muted: rgba(235, 227, 246, 0.42);
  --lj-panel-warm: rgba(253, 233, 223, 0.48);
  --lj-panel-highlight: rgba(253, 228, 215, 0.68);
  --lj-panel-recommended: rgba(215, 198, 235, 0.78);
  --lj-panel-pink: rgba(252, 228, 238, 0.72);
  --lj-input-bg: rgba(255, 250, 245, 0.96);
  --lj-input-bg-alt: rgba(248, 242, 252, 0.96);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(
    145deg,
    var(--lj-peach) 0%,
    var(--lj-rose) 38%,
    var(--lj-lilac) 72%,
    #f7f2fb 100%
  );
  background-attachment: fixed;
  color: var(--lj-text);
  line-height: 1.85;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--lj-plum); text-decoration: none; }
a:hover { color: var(--lj-plum-dark); }

/* 顶栏 */
.site-header {
  flex-shrink: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  border-bottom: 1px solid rgba(59, 40, 96, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.site-header-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-brand {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--lj-plum-dark);
  letter-spacing: 0.04em;
}
.site-brand span { opacity: 0.72; font-weight: 500; }
.site-nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.site-nav a:not(.site-nav-cta) {
  color: var(--lj-muted);
  font-size: 0.9rem;
}
.site-nav a:not(.site-nav-cta):hover {
  color: var(--lj-plum-dark);
  text-decoration: none;
}
@media (max-width: 480px) {
  .site-header-inner { padding: 0.75rem 1rem; }
  .site-brand { font-size: 0.95rem; }
  .site-nav { gap: 0.75rem; font-size: 0.85rem; }
}
.site-nav .nav-cta {
  background: rgba(255, 255, 255, 0.55);
  color: var(--lj-plum-dark);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 40, 96, 0.22);
  font-weight: 600;
  text-decoration: none;
}
.site-nav .nav-cta:hover {
  background: #fff;
  color: var(--lj-plum-dark);
}

.site-nav-cta {
  border: 1px solid rgba(59, 40, 96, 0.25);
  color: var(--lj-plum);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.site-nav-cta:hover {
  background: #fff;
  color: var(--lj-plum-dark);
  text-decoration: none;
}

.container {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.page-main {
  min-width: 0;
  width: 100%;
}

.page-decor {
  position: sticky;
  top: 5.5rem;
}

.page-decor-art {
  width: 100%;
  min-height: 480px;
  max-height: 640px;
  aspect-ratio: 3 / 5;
  border-radius: 18px;
  background-size: cover;
  background-position: center 82%;
  opacity: 0.88;
  filter: saturate(0.94) contrast(0.98);
  -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
}

.page-decor-art--sunrise {
  background-image:
    linear-gradient(165deg, rgba(253, 233, 223, 0.28) 0%, rgba(235, 227, 246, 0.15) 100%),
    url('decor-sunrise.png');
}

body.page-landing .page-layout,
body.page-task-detail .page-layout,
body.page-pricing .page-layout {
  grid-template-columns: 1fr;
}

body.page-landing .page-decor,
body.page-task-detail .page-decor,
body.page-pricing .page-decor {
  display: none;
}

@media (max-width: 1080px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .page-decor {
    display: none;
  }
}

.card {
  background: var(--lj-panel);
  border: none;
  border-radius: 14px;
  padding: 2rem 2rem 2.25rem;
  margin-bottom: 1.25rem;
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.card:nth-of-type(even) {
  background: var(--lj-panel-alt);
}

.messages li {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  background: var(--lj-panel-muted);
  border: none;
  color: var(--lj-plum-dark);
}

.card > p { margin: 0 0 1.35rem; line-height: 1.9; }
.card h1 { margin-bottom: 1.35rem; line-height: 1.45; }
.card h1 + p { margin-top: -0.5rem; margin-bottom: 1.75rem; }

h1 {
  font-family: var(--lj-serif);
  color: var(--lj-plum-dark);
  font-size: 1.65rem;
  margin-top: 0;
  letter-spacing: 0.03em;
}
h2 {
  color: var(--lj-plum-dark);
  font-size: 1.25rem;
  margin-top: 0;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  background: var(--lj-plum);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59, 40, 96, 0.22);
  transition: background 0.2s, transform 0.15s;
}
.btn:hover {
  background: var(--lj-plum-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(59, 40, 96, 0.22);
  color: var(--lj-plum-dark);
  box-shadow: none;
}
.btn-secondary:hover {
  background: #fff;
  color: var(--lj-plum-dark);
  transform: translateY(-1px);
}
.btn-hero {
  font-size: 1.1rem;
  padding: 0.85rem 2rem;
  box-shadow: 0 6px 22px rgba(59, 40, 96, 0.28);
}

.messages { list-style: none; padding: 0; }

label { display: block; margin-bottom: 0.55rem; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea, select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(59, 40, 96, 0.12);
  background: var(--lj-input-bg);
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
}

input[type="password"] {
  background: var(--lj-input-bg-alt);
}
.card form { margin-top: 0.5rem; }
.card form p { margin: 0 0 0.25rem; }
.card form .btn-row,
.btn-row {
  margin-top: 2.25rem;
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* 确认页摘要列表 */
.summary-dl {
  margin: 0 0 0.5rem;
  line-height: 1.9;
}
.summary-dl dt {
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}
.summary-dl dt:first-child { margin-top: 0.25rem; }
.summary-dl dd {
  margin: 0 0 1rem;
  padding: 0;
  line-height: 1.9;
  font-size: 1.05rem;
  word-break: break-word;
}
.summary-dl dd.onboarding-url-field,
.summary-dl dd.summary-readonly {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.onboarding-confirm-form .input-block {
  margin-top: 0.35rem;
  max-width: 100%;
  min-width: 0;
}
.onboarding-confirm-form dd .errorlist { margin: 0.35rem 0 0; }
.summary-readonly { color: var(--text); }
.onboarding-back-links { margin: 0.5rem 0 1.25rem; font-size: 0.9rem; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--lj-plum);
  box-shadow: 0 0 0 3px rgba(59, 40, 96, 0.12);
}

.steps { display: flex; gap: 0.65rem; margin-bottom: 2rem; }
.step-dot {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.35rem;
  border-radius: 8px;
  background: rgba(235, 227, 246, 0.45);
  border: 1px solid transparent;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
}
.step-dot.active {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--lj-glass-border);
  color: var(--lj-plum-dark);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(59, 40, 96, 0.08);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(235, 227, 246, 0.75);
  color: var(--lj-plum-dark);
  font-weight: 500;
}

.result-card {
  border-left: 4px solid var(--success);
  padding-left: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 1rem 1rem 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

.muted { color: var(--muted); font-size: 0.9rem; line-height: 1.85; }

.copy-block {
  background: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  border: 1px solid var(--border);
}

.content-block { margin-top: 1.25rem; }
.content-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.content-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
}

.btn-copy {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--lj-glass-border);
  color: var(--lj-plum-dark);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
}
.btn-copy:hover { background: #fff; }
.btn-copy.copied {
  border-color: var(--success);
  color: var(--success);
}

.url-truncate-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  min-width: 0;
  vertical-align: bottom;
}

.url-truncate-copy-prefix {
  flex-shrink: 0;
}

.url-truncate-copy__link {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy-url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 1px solid var(--lj-glass-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--lj-plum-dark);
  cursor: pointer;
  line-height: 1;
}
.btn-copy-url:hover { background: #fff; }
.btn-copy-url.copied {
  border-color: var(--success);
  color: var(--success);
  width: auto;
  min-width: 1.65rem;
  padding: 0 0.35rem;
}
.btn-copy-url__icon { display: block; }
.btn-copy-url__feedback {
  display: none;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}
.btn-copy-url.copied .btn-copy-url__icon { display: none; }
.btn-copy-url.copied .btn-copy-url__feedback { display: block; }

.query-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.85;
}
.query-list li { margin-bottom: 0.35rem; }

.trial-limit-notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-top: 0.75rem;
}

.meta-line { margin-top: 1rem; margin-bottom: 0; font-size: 0.82rem; }

.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .channel-grid { grid-template-columns: 1fr; } }

.channel-card {
  border: 2px solid var(--lj-glass-border);
  border-radius: 10px;
  padding: 1.15rem 1.1rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
  line-height: 1.75;
}
.channel-card:hover {
  border-color: rgba(59, 40, 96, 0.28);
  box-shadow: 0 2px 12px rgba(59, 40, 96, 0.08);
}
.channel-card:has(input:checked) {
  border-color: var(--lj-plum);
  background: rgba(235, 227, 246, 0.55);
}
.channel-card input { margin-right: 0.5rem; accent-color: var(--lj-plum); }

ul.errorlist { color: #dc2626; list-style: none; padding: 0; font-size: 0.9rem; margin: 0 0 0.5rem; }

/* 通用 Hero 区块 */
.hero {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  background: var(--lj-glass);
  border-radius: var(--radius);
  border: 1px solid var(--lj-glass-border);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
  line-height: 1.75;
}
.hero-cta-wrap { margin: 0 0 0.75rem; }
.hero-meta { margin: 0 0 2rem; }
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: grid;
  gap: 0.85rem;
}
.hero-bullets li {
  background: rgba(255, 255, 255, 0.55);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--lj-glass-border);
  line-height: 1.7;
  font-size: 0.95rem;
}
.hero-bullets strong { color: var(--lj-plum-dark); }

/* 乐见首页 — 落地页专属布局 */
body.page-landing {
  --lj-space-xs: clamp(0.65rem, 1.1vh, 1rem);
  --lj-space-sm: clamp(0.85rem, 1.5vh, 1.35rem);
  --lj-space-md: clamp(1rem, 2vh, 1.65rem);
  --lj-space-lg: clamp(1.65rem, 3vh, 2.75rem);
  --lj-space-xl: clamp(1.75rem, 3.5vh, 3.25rem);
  --lj-space-section: clamp(1.25rem, 4.5vh, 5rem);
  --lj-hero-pad-top: clamp(2.5rem, 5.5vh, 4.75rem);
  --lj-hero-pad-bottom: clamp(2.25rem, 4vh, 3.75rem);
  --lj-card-pad-y: clamp(1.75rem, 3.5vh, 2.85rem);
}

body.page-landing .container {
  padding-top: 0;
  padding-bottom: 0;
  max-width: none;
}

.landing-shell {
  width: 100%;
}

@media (min-height: 780px) {
  body.page-landing .landing-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--lj-space-section);
    padding-block: clamp(0.75rem, 2.5vh, 2.5rem);
  }
}

.landing-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: var(--lj-hero-pad-top) 1.5rem var(--lj-hero-pad-bottom);
  overflow: hidden;
}

.landing-hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(
    ellipse 80% 60% at 30% 40%,
    rgba(255, 220, 200, 0.55) 0%,
    rgba(235, 200, 230, 0.35) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.landing-eyebrow {
  margin: 0 0 var(--lj-space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lj-muted);
}

.landing-title {
  margin: 0 0 var(--lj-space-md);
  font-family: var(--lj-serif);
  font-size: clamp(3rem, 10.5vw, 5.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.05em;
  color: var(--lj-plum-dark);
}

.landing-lead {
  margin: 0 0 var(--lj-space-lg);
  max-width: 28rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  color: var(--lj-text);
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: var(--lj-space-xs);
}

.btn-landing-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lj-plum);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(59, 40, 96, 0.28);
  transition: background 0.2s, transform 0.15s;
}

.btn-landing-primary:hover {
  background: var(--lj-plum-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-landing-outline {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.45);
  color: var(--lj-plum-dark) !important;
  border: 1px solid rgba(59, 40, 96, 0.22);
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.btn-landing-outline:hover {
  background: #fff;
  color: var(--lj-plum-dark) !important;
}

.btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.landing-meta {
  margin: 0.9rem 0 var(--lj-space-xl);
  font-size: 0.82rem;
  color: var(--lj-muted);
  line-height: 1.5;
}

.landing-meta-register {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(111, 98, 126, 0.55);
}

.landing-meta-register:hover {
  color: var(--lj-plum);
  text-decoration-color: rgba(59, 40, 96, 0.55);
}

.landing-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lj-muted);
}

.landing-stats .stat-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lj-plum);
  margin-right: 0.45rem;
  vertical-align: middle;
  opacity: 0.7;
}

.landing-features {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vh, 2.5rem) 1.25rem clamp(1.5rem, 3vh, 2.75rem);
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vh, 1.75rem);
  margin-bottom: clamp(1rem, 2vh, 1.75rem);
}

.landing-feature-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(59, 40, 96, 0.1);
  border-radius: 14px;
  padding: var(--lj-card-pad-y) 1.2rem;
  backdrop-filter: blur(8px);
}

.landing-feature-card h2 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
  margin: 0 0 clamp(0.75rem, 1.5vh, 1.15rem);
  letter-spacing: 0.02em;
}

.landing-feature-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 2.3;
  color: var(--lj-muted);
}

.landing-login-hint {
  text-align: center;
  margin: clamp(0.5rem, 1.5vh, 1.25rem) 0 0;
  font-size: 0.9rem;
}

body.page-landing a:not(.btn-landing-primary):not(.btn-landing-outline) {
  color: var(--lj-plum);
}

body.page-landing a:not(.btn-landing-primary):not(.btn-landing-outline):hover {
  color: var(--lj-plum-dark);
}

body.page-landing .site-header-inner {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

@media (min-height: 960px) {
  body.page-landing {
    --lj-space-section: clamp(2rem, 5.5vh, 6rem);
    --lj-hero-pad-top: clamp(3rem, 6.5vh, 5.5rem);
    --lj-hero-pad-bottom: clamp(2.5rem, 5vh, 4.5rem);
  }

  .landing-feature-card p {
    line-height: 2.5;
  }
}

@media (min-height: 1100px) {
  .landing-feature-card p {
    line-height: 2.65;
  }
}

@media (max-width: 900px) {
  .landing-feature-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero {
    min-height: auto;
    padding-top: 2.25rem;
  }
  .landing-stats {
    gap: 0.85rem 1.25rem;
  }
}

/* 定价页 */
.page-pricing .container,
body.page-wide .container {
  max-width: var(--page-max-width);
  width: 100%;
}

.pricing-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.75rem;
}

.pricing-card-actions {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  min-height: 4.85rem;
}

.pricing-card-actions .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-credit-hint {
  margin: 0;
  text-align: center;
  order: -1;
  min-height: 2.35rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 0.78rem;
  line-height: 1.4;
}

.pricing-card-top {
  flex-shrink: 0;
  min-height: 4rem;
  text-align: center;
}

.pricing-badge-slot {
  min-height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.pricing-card-price-block {
  flex-shrink: 0;
  min-height: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(59, 40, 96, 0.08);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .pricing-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pricing-grid-five {
    grid-template-columns: 1fr;
  }
}

.page-pricing .container {
  max-width: var(--page-max-width);
}

.pricing-hero {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-hero h1 {
  margin-bottom: 0.5rem;
}

.pricing-hero h1 {
  font-family: var(--lj-serif);
  letter-spacing: 0.03em;
}

.pricing-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--lj-panel);
  border: none;
  border-radius: 14px;
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  backdrop-filter: blur(4px);
}

.pricing-card-highlight {
  background: var(--lj-panel-highlight);
}

.pricing-card-recommended {
  background: var(--lj-panel-recommended);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
  background: rgba(235, 227, 246, 0.75);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin: 0;
  text-align: center;
}

.pricing-tier {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
  margin: 0;
  text-align: center;
  line-height: 1.35;
}

.pricing-price {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.1rem;
  min-height: 2.1rem;
}

.pricing-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--lj-plum-dark);
}

.pricing-unit {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-period {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
  text-align: center;
  min-height: 1.1rem;
}

.pricing-features li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-compare-card h2,
.pricing-faq-card h2 {
  margin-bottom: 1rem;
}

.pricing-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.pricing-compare-table th,
.pricing-compare-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.pricing-compare-table th:first-child,
.pricing-compare-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.pricing-compare-table th {
  color: var(--lj-plum-dark);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.55);
}

.pricing-faq dt {
  font-weight: 600;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.pricing-faq dt:first-child {
  margin-top: 0;
}

.pricing-faq dd {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

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

.pricing-cycle-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.pricing-cycle-tab {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--lj-glass-border);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--text);
}

.pricing-cycle-tab.is-active {
  background: var(--lj-plum);
  border-color: var(--lj-plum);
  color: #fff;
  font-weight: 600;
}

.pricing-llm-card h2 { margin-bottom: 1rem; }
.pricing-llm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.pricing-llm-grid h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--lj-plum-dark);
}
@media (max-width: 720px) {
  .pricing-llm-grid { grid-template-columns: 1fr; }
}

/* 结账与账单 */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.checkout-includes {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.checkout-includes-title {
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
  color: var(--lj-plum-dark);
}
.checkout-include-block {
  margin-bottom: 0.85rem;
}
.checkout-include-block h3 {
  font-size: 0.88rem;
  margin: 0 0 0.35rem;
  color: var(--lj-plum-dark);
}
.checkout-include-block ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}
.checkout-form .input-block,
.checkout-form input[type="email"],
.checkout-form input[type="text"] {
  width: 100%;
  max-width: 100%;
}
.invoice-notice {
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.55);
}
.invoice-request-card {
  max-width: 640px;
  margin: 0 auto;
}
.checkout-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--lj-plum-dark);
}
.checkout-plan { color: var(--muted); margin-bottom: 0.25rem; }
.checkout-field-label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: var(--text);
}
.checkout-radio {
  display: block;
  margin: 0.35rem 0;
  color: var(--text);
  line-height: 1.5;
}
.checkout-radio-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.checkout-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text);
  line-height: 1.5;
}
.checkout-payer-group {
  margin-bottom: 1rem;
}
.checkout-sub-block {
  margin: 0 0 1.25rem 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(235, 227, 246, 0.9);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 0 8px 8px 0;
}
.checkout-sub-block[hidden] { display: none !important; }
.checkout-sub-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.checkout-channel-fixed {
  margin: 0.25rem 0 0.5rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
}
.checkout-email-field {
  margin: 0.85rem 0 0;
}
.checkout-terms {
  margin: 1rem 0;
}
.checkout-agreement-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}
.checkout-agreement-link:hover {
  color: var(--lj-plum-dark);
}

.page-legal .legal-hero {
  margin-bottom: 1rem;
}
.page-legal .legal-hero h1 {
  margin: 0 0 0.35rem;
}
.page-legal .legal-meta {
  margin: 0;
  font-size: 0.88rem;
}
.legal-document {
  max-width: 720px;
  padding: 1.5rem 1.75rem;
  line-height: 1.75;
  font-size: 0.92rem;
}
.legal-lead {
  margin: 0 0 1.5rem;
}
.legal-section {
  margin-bottom: 1.5rem;
}
.legal-section h2 {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  color: var(--lj-plum-dark);
}
.legal-section ol {
  margin: 0;
  padding-left: 1.35rem;
}
.legal-section li {
  margin: 0.4rem 0;
}
.legal-section p {
  margin: 0;
}
.legal-back {
  margin: 2rem 0 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.checkout-notes {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.checkout-notes li { padding: 0.25rem 0; }

.page-billing .billing-hero { margin-bottom: 1rem; }

.notice-banner,
.billing-alert {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  border: none;
  box-shadow: none;
  background: var(--lj-panel-warm);
  color: var(--lj-text);
  font-size: 0.92rem;
  line-height: 1.65;
}

.notice-banner--ok,
.billing-alert-ok {
  background: var(--lj-panel-muted);
}

.notice-banner--warn {
  background: #fff8f0;
  border: 1px solid #f5c28b;
}

.notice-banner strong,
.billing-alert strong {
  color: var(--lj-plum-dark);
}

.dashboard-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.billing-alert--warn {
  background: #fff8eb;
}

.billing-alert--danger {
  background: #fff0f0;
}

.billing-alert--info {
  background: var(--lj-panel-warm);
}

.billing-alert--ok {
  background: var(--lj-panel-muted);
  border-left: 3px solid var(--lj-plum);
}

.billing-alert .btn-sm {
  margin-left: 0.75rem;
}

.compare-journey-summary {
  margin: 1rem 0 1.25rem;
}

.compare-journey-headline {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.65;
}

.compare-journey-steps {
  margin-top: 0.5rem;
}

.compare-journey-step-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.compare-week-group {
  margin-bottom: 1rem;
}

.compare-week-label {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.journey-complete-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.easy-mode-past-weekly {
  margin-top: 1rem;
}

.easy-mode-past-week {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--lj-border, #e8e4df);
}

.easy-mode-past-week-list {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.billing-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.billing-grid .card {
  background: var(--lj-panel);
}

.billing-card-orders {
  background: var(--lj-panel-pink);
}

.page-billing #llm-keys {
  background: rgba(238, 225, 248, 0.58);
  box-shadow: inset 0 0 0 1px rgba(59, 40, 96, 0.14);
}

.page-billing #llm-keys input[type="text"],
.page-billing #llm-keys input[type="password"] {
  background: var(--lj-input-bg-alt);
  border-color: rgba(59, 40, 96, 0.16);
}
.billing-stats { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.9rem; }
.billing-orders-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.billing-orders-table th, .billing-orders-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.billing-pay-link {
  color: var(--lj-plum-dark);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.billing-pay-link:hover {
  color: var(--lj-plum);
}
.llm-status-list { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.bank-info dt { font-weight: 600; margin-top: 0.5rem; }
.bank-info dd { margin: 0.15rem 0 0; }
.pay-channel-box { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.wechat-qrcode-wrap {
  display: flex;
  justify-content: center;
  margin: 2.75rem 0;
}
.wechat-qrcode {
  display: inline-block;
  margin: 0 auto;
  padding: 0.65rem;
  background: #fff;
  border-radius: 8px;
}
.input-block { width: 100%; padding: 0.5rem; margin: 0.35rem 0 0.75rem; border: 1px solid var(--border); border-radius: 6px; }

@media (max-width: 720px) {
  .checkout-layout, .billing-grid { grid-template-columns: 1fr; }
}

/* 登录页 */
body.page-login .page-layout {
  grid-template-columns: minmax(0, 380px) minmax(420px, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

body.page-login .page-main {
  width: 100%;
  max-width: 380px;
}

body.page-login .page-decor {
  position: static;
  top: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}

body.page-login .page-decor-art {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: unset;
  border-radius: 18px;
  background-size: cover;
  background-position: center 55%;
  opacity: 0.92;
  -webkit-mask-image: none;
  mask-image: none;
}

.login-card {
  margin-bottom: 0;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  width: 100%;
}

.login-subtitle {
  margin-bottom: 1.25rem;
}

.login-form p {
  margin: 0 0 0.15rem;
}

.login-form label {
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.5rem 0.7rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.35;
  border-radius: 8px;
  border: 1px solid rgba(59, 40, 96, 0.12);
  background: var(--lj-input-bg);
}

.login-form input[type="password"] {
  background: var(--lj-input-bg-alt);
}

.login-form input:focus {
  outline: none;
  border-color: var(--lj-plum);
  box-shadow: 0 0 0 3px rgba(59, 40, 96, 0.1);
}

.login-submit {
  margin-top: 0.5rem;
}

.login-foot {
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  body.page-login .page-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.page-login .page-main {
    max-width: none;
  }
}

/* 订单支付页 */
body.page-order-pay .page-layout {
  grid-template-columns: minmax(320px, 520px) minmax(420px, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

body.page-order-pay .page-main {
  align-self: start;
}

body.page-order-pay .page-decor {
  position: static;
  top: auto;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  height: auto;
}

body.page-order-pay .page-decor-art {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: unset;
  border-radius: 18px;
  background-size: cover;
  background-position: center 55%;
  opacity: 0.92;
  -webkit-mask-image: none;
  mask-image: none;
}

.order-pay-card {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  body.page-order-pay .page-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* 注册页 */
body.page-register .page-layout {
  grid-template-columns: 1fr;
}

body.page-register .page-decor {
  display: none;
}

body.page-register .page-main {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.register-card {
  max-width: none;
  margin: 0;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  width: 100%;
}

.register-form {
  --register-hint-size: 0.65rem;
  --register-hint-lh: 1.55;
  --register-hint-line: calc(var(--register-hint-size) * var(--register-hint-lh));
  --register-input-height: 2.375rem;
}

.register-form p {
  margin: 0 0 0.15rem;
}

.register-form label {
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
}

.register-field-hint {
  display: block;
  font-size: var(--register-hint-size);
  font-weight: 400;
  line-height: var(--register-hint-lh);
  color: #94a3b8;
  margin: 0 0 0.35rem;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"] {
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
  line-height: 1.35;
  border-radius: 8px;
  border: 1px solid rgba(59, 40, 96, 0.12);
  background: var(--lj-input-bg);
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.register-form input[type="password"] {
  background: var(--lj-input-bg-alt);
}

.register-form .register-password-field input[type="password"] {
  margin-bottom: var(--register-hint-line);
}

.register-form input:focus {
  outline: none;
  border-color: var(--lj-plum);
  box-shadow: 0 0 0 3px rgba(59, 40, 96, 0.1);
}

.register-form .errorlist {
  margin: 0.25rem 0 0.75rem;
}

.register-form .password-hints {
  margin: 0 0 1rem;
}

.register-form .password-hints ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--register-hint-size);
  font-weight: 400;
  line-height: var(--register-hint-lh);
  color: #94a3b8;
}

.register-form .password-hints li {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.register-form .password-hints li + li {
  margin-top: 0.15rem;
}

.register-form .helptext {
  display: none;
}

.register-code-block {
  margin-bottom: 0;
}

.register-code-block > label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
}

.register-code-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  flex-wrap: nowrap;
  margin-bottom: var(--register-hint-line);
}

.register-code-input-wrap {
  flex: 1 1 12rem;
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.register-code-input-wrap input {
  flex: 1 1 auto;
  width: 100%;
  height: var(--register-input-height);
  min-height: var(--register-input-height);
  margin: 0;
  padding: 0 0.65rem;
  line-height: var(--register-input-height);
  box-sizing: border-box;
}

.register-code-row .btn-send-code {
  flex-shrink: 0;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--register-input-height);
  min-height: var(--register-input-height);
  padding: 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  border-radius: 8px;
  border-width: 1px;
  box-sizing: border-box;
  transform: none;
}

.register-code-hint {
  margin: 0 0 1rem;
}

.register-foot {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.register-form .btn-row {
  margin-top: 1.5rem;
}

/* Phase 11 — 日报与试搜 */
.task-list { list-style: none; padding: 0; margin: 0; }
.task-list-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.task-list-main { margin-bottom: 0.35rem; }
.report-mini { font-size: 0.88rem; color: var(--muted); }
.badge-ok { background: #ecfdf5; color: #0d9488; border: 1px solid #99f6e4; }
.badge-merged { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; margin-left: 0.35rem; }
.badge-warn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; margin-left: 0.35rem; }

.task-merge-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 0.9rem;
}
.task-merge-banner p { margin: 0; }

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
}

.trial-status {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.trial-search-hint {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 42rem;
}

.platform-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.92rem;
}
.platform-table th,
.platform-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.platform-table th {
  color: var(--muted);
  font-weight: 600;
}
.platform-row.platform-ok td:first-child { border-left: 3px solid #16a34a; }
.platform-row.platform-unconfigured td:first-child { border-left: 3px solid #94a3b8; }
.platform-row.platform-error td:first-child { border-left: 3px solid #ea580c; }
.platform-error { display: block; font-size: 0.82rem; margin-top: 0.15rem; }
.platform-detail-block { margin-top: 1rem; }
.platform-detail-block h4 { margin: 0 0 0.5rem; font-size: 0.95rem; }

.text-bad { color: #dc2626; font-weight: 600; }

.audit-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 0.92rem;
}
.audit-table th,
.audit-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.audit-table th { color: var(--muted); font-weight: 600; }
.audit-row.audit-pass td:first-child { border-left: 3px solid #16a34a; }
.audit-row.audit-warn td:first-child { border-left: 3px solid #d97706; }
.audit-row.audit-fail td:first-child { border-left: 3px solid #dc2626; }
.audit-hint { font-size: 0.85rem; color: var(--muted); }

.pack-checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
}
.pack-checklist li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.pack-checklist li.done { color: var(--text); }

.copy-block-tall {
  max-height: 280px;
  overflow: auto;
}

.gap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gap-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.gap-item p { margin: 0.35rem 0 0; font-size: 0.9rem; }
.gap-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--muted);
  margin-right: 0.5rem;
}
.gap-high .gap-badge { background: #fef2f2; color: #b91c1c; }
.gap-medium .gap-badge { background: #fffbeb; color: #b45309; }

.geo-gap-suggestions {
  background: var(--lj-panel-muted);
  border: 1px solid rgba(59, 40, 96, 0.08);
}

.geo-gap-suggestions .card-head {
  border-bottom-color: rgba(59, 40, 96, 0.1);
}

.geo-gap-suggestions .gap-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.deploy-guide {
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
}
.deploy-highlight {
  background: #fff;
  border: 1px solid #86efac;
}
.btn-copy-primary {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}
.deploy-steps {
  margin: 0.75rem 0;
  font-size: 0.92rem;
}
.deploy-steps summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.geo-brand-hosted-custom {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(59, 40, 96, 0.08);
}
.hosted-domain-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.35rem;
}
.hosted-domain-row .input-text {
  flex: 1 1 12rem;
  min-width: 0;
}
.hosted-verify-status {
  margin: 0.65rem 0;
  font-size: 0.92rem;
}
.step-list {
  margin: 0.5rem 0 0 1.25rem;
  line-height: 1.6;
}

.site-agent-panel {
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: var(--lj-panel-highlight);
  border: 1px solid rgba(59, 40, 96, 0.12);
  border-radius: var(--radius);
}
.site-agent-inline-block {
  margin-top: 0.65rem;
}
.site-agent-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.site-agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.site-agent-url-input {
  width: 100%;
  max-width: 520px;
  margin-top: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
}
.site-agent-log {
  min-height: 1.25rem;
  margin-top: 0.5rem;
}

.report-hint {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.85rem;
}

.report-block {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.report-block:last-child { border-bottom: none; }
.report-history-block { margin-bottom: 1.25rem; }

.section-sub {
  font-size: 0.95rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--muted);
}

.text-ok { color: var(--success); font-weight: 600; }
.text-warn { color: #b45309; font-weight: 600; }

.search-result-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.search-result-item {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  font-size: 0.92rem;
}
.search-result-item.hit {
  background: #ecfdf5;
  border-color: #99f6e4;
}
.search-result-item.miss {
  background: #fef2f2;
  border-color: #fecaca;
}
.answer-snippet { margin: 0.35rem 0 0; font-size: 0.85rem; }

.report-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.report-history-list li { padding: 0.35rem 0; }

/* Phase 13: 优化前后对比 */
.compare-header .compare-summary { margin-top: 0.75rem; font-size: 1.05rem; }
.compare-table .compare-improved td { background: rgba(34, 197, 94, 0.06); }
.compare-meta { margin-top: 1rem; font-size: 0.9rem; }
.compare-baseline-form { margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.geo-trend { margin-top: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.platform-trend-table th,
.platform-trend-table td { white-space: nowrap; font-size: 0.9rem; }
.compare-tips .step-list { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.compare-tips li { margin-bottom: 0.45rem; }

.keyword-editor-section { margin-bottom: 1.25rem; }
.keyword-preview-list {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.5rem 0 1rem; padding: 0; list-style: none;
}
.keyword-preview-chip {
  display: inline-block; padding: 0.3rem 0.65rem;
  background: rgba(59, 40, 96, 0.08); border: 1px solid rgba(59, 40, 96, 0.18);
  border-radius: 999px; font-size: 0.9rem;
}
.keyword-list-textarea { font-family: inherit; line-height: 1.5; min-height: 6rem; }
.keyword-editor-actions { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.content-edit-section, .keyword-append-section { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border, #e5e7eb); }

.content-editor-card .content-edit-form,
.content-editor-card .keyword-append-form { margin-top: 1rem; }
.content-editor-card textarea { width: 100%; margin-bottom: 0.5rem; }
.content-editor-card .content-label { display: block; margin-top: 0.75rem; font-weight: 600; font-size: 0.9rem; }
.keyword-batches { margin-bottom: 1rem; }

.monitor-settings { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border, #e5e7eb); }
.monitor-term-list { margin: 0.35rem 0 0.75rem; min-width: 0; max-width: 100%; overflow: hidden; }
.monitor-form { display: grid; gap: 0.5rem; max-width: 32rem; }
.monitor-input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  text-align: center;
  padding: 1.5rem;
  color: var(--lj-muted);
  font-size: 0.85rem;
  background: transparent;
  border-top: 1px solid rgba(59, 40, 96, 0.08);
}

/* 任务详情页 — 宽屏卡片布局 */
body.page-task-detail .container {
  max-width: 1280px;
  padding: 1.25rem 1.5rem 2.5rem;
}

.page-task-detail .site-header-inner {
  max-width: 1280px;
}

.task-detail-layout {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.task-section {
  margin-bottom: 0.5rem;
}

.task-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 1rem 0 0.85rem;
  padding: 0.45rem 0 0.45rem 0.75rem;
  border-left: 3px solid var(--lj-plum);
  background: transparent;
}

.task-section:first-of-type .task-section-title {
  margin-top: 0.25rem;
}

.task-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.task-grid-overview,
.task-grid-monitoring,
.task-grid-trial-daily,
.task-grid-work {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.task-grid-monitoring {
  align-items: start;
}

.task-overview-blocks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trial-monitor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.trial-monitor-col {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.task-monitor-sidebar {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.trial-quota-block,
.trial-status-block,
.sidebar-keywords {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.trial-monitor-stack {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  min-height: 0;
}

.trial-card-inset {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.trial-card-main-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.trial-card-grow {
  flex: 1 1 auto;
  min-height: 0;
}

.trial-card-actions {
  flex: 0 0 auto;
  margin-top: 0.35rem;
}

.trial-monitor-below {
  margin-top: 0.65rem;
}

.trial-monitor-below .sidebar-details:first-child {
  margin-top: 0;
}

.trial-search-footnote {
  margin: 0;
}

.workflow-strip-trial {
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
}

.trial-monitor-row .sidebar-keywords,
.trial-monitor-row .trial-quota-block,
.trial-monitor-row .trial-status-block {
  margin-bottom: 0;
}

.trial-monitor-row + .sidebar-details {
  margin-top: 0.85rem;
}

.task-grid-trial-marketplace .trial-results-span {
  grid-column: 1 / -1;
}

.trial-results-panel {
  margin-top: 0;
}

.trial-results-panel > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.trial-results-panel > summary::-webkit-details-marker {
  display: none;
}

.trial-results-panel > summary::after {
  content: "▾";
  color: var(--muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.trial-results-panel:not([open]) > summary::after {
  content: "▸";
}

.trial-results-summary-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--lj-plum-dark);
}

.trial-results-summary-hint {
  font-size: 0.76rem;
}

.trial-results-body {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(59, 40, 96, 0.08);
}

.trial-results-body .platform-results {
  margin-top: 0;
}

.trial-results-body .report-hint {
  margin-top: 0;
}

.platform-table-compact th,
.platform-table-compact td {
  padding: 0.4rem 0.55rem;
  font-size: 0.82rem;
}

.trial-verify-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.trial-search-form-inline {
  margin: 0;
}

.trial-verify-banner {
  margin-top: 0.5rem;
}

.trial-quota-block .monitor-url-box {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--lj-glass-border);
  border-radius: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.geo-daily-card {
  height: 100%;
}

.task-suggest-col-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.task-suggest-col-stack > .task-ops-card + .task-ops-card {
  margin-top: 1rem;
}

.task-monitor-col,
.task-suggest-col {
  min-width: 0;
}

.task-suggest-col .geo-gap-suggestions {
  height: 100%;
}

.task-suggest-col .geo-daily-card .card-head {
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.task-suggest-col .geo-daily-card .card-head-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ── 简易模式面板 ── */
.geo-easy-mode-panel {
  margin-bottom: 1rem;
  border: 1px solid var(--lj-accent-soft, rgba(99, 102, 241, 0.25));
  background: linear-gradient(
    135deg,
    var(--lj-panel, #fff) 0%,
    var(--lj-panel-alt, rgba(99, 102, 241, 0.04)) 100%
  );
}

/* 优化引导面板 */
.geo-journey-panel {
  margin-bottom: 1rem;
}

.geo-journey-panel .card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.journey-progress-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-md, 8px);
  background: var(--color-surface-muted, #f0f4f8);
  border: 1px solid var(--color-border, #e2e8f0);
}

.journey-progress-pct {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary, #4f46e5);
  line-height: 1.2;
}

.journey-progress-label {
  font-size: 0.72rem;
  color: var(--color-text-muted, #64748b);
}

.journey-quick-win {
  margin: 0.75rem 0;
}

.journey-quick-win-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.journey-quick-win-query code {
  font-size: 0.9rem;
  padding: 0.15rem 0.4rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
}

.journey-quick-win-result {
  margin: 0.35rem 0;
  font-weight: 500;
}

.journey-quick-win-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

/* 免费试用 · 1 天快速验证 */
.trial-quick-win-hero {
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(180deg, rgba(238, 225, 248, 0.45) 0%, rgba(255, 255, 255, 0.72) 100%);
}

.trial-quick-win-hero .card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.trial-quick-win-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lj-plum, #6941c6);
}

.trial-quick-win-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  white-space: nowrap;
}

.trial-quick-win-steps {
  list-style: none;
  margin: 0.75rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .trial-quick-win-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trial-quick-win-step {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.trial-quick-win-step--active {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(238, 225, 248, 0.35);
}

.trial-quick-win-step--done {
  opacity: 0.85;
}

.trial-quick-win-step-n {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--lj-plum, #6941c6);
  color: #fff;
}

.trial-quick-win-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.88rem;
}

.trial-quick-win-step-check {
  margin-left: auto;
  font-weight: 700;
}

.trial-quick-win-action {
  margin-top: 0.25rem;
}

.trial-quick-win-disclaimer {
  margin: 0.75rem 0 0.5rem;
  font-size: 0.82rem;
}

.trial-quick-win-upgrade {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.trial-quick-win-success {
  margin-bottom: 1rem;
}

.trial-dashboard-promo {
  margin-bottom: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: linear-gradient(180deg, rgba(238, 225, 248, 0.35) 0%, #fff 100%);
}

.landing-feature-card--highlight {
  border-color: rgba(105, 65, 198, 0.25);
  background: linear-gradient(180deg, rgba(238, 225, 248, 0.4) 0%, rgba(255, 255, 255, 0.85) 100%);
}

.journey-step-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--color-primary-soft, #eef2ff);
  color: var(--color-primary, #4f46e5);
}

.journey-step-badge--quick {
  background: #ecfdf5;
  color: #059669;
}

.card-inset-ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.journey-current-step {
  margin: 0.75rem 0;
}

.journey-current-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.journey-step-subtitle {
  font-size: 0.78rem;
  color: var(--color-text-muted, #64748b);
  font-weight: 400;
}

.journey-why {
  margin-top: 0.35rem;
}

.journey-current-actions {
  margin-top: 0.65rem;
}

.journey-roadmap {
  margin-top: 0.75rem;
}

.journey-roadmap-summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted, #64748b);
  padding: 0.35rem 0;
}

.journey-step-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.journey-step-item {
  display: flex;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border-light, #f1f5f9);
}

.journey-step-item:last-child {
  border-bottom: none;
}

.journey-step-marker {
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--color-text-muted, #94a3b8);
}

.journey-step-item--done .journey-step-marker {
  color: #059669;
}

.journey-step-item--active .journey-step-marker {
  color: var(--color-primary, #4f46e5);
}

.journey-step-item--active .journey-step-body strong {
  color: var(--color-primary, #4f46e5);
}

.journey-step-body {
  flex: 1;
  min-width: 0;
}

.journey-step-body strong {
  display: inline;
  margin-right: 0.35rem;
}

.geo-run-panel {
  border-color: rgba(99, 102, 241, 0.25);
  margin-bottom: 1rem;
}

/* 任务页模块分组：主路径 1→2→3 + 进阶 */
.task-module-group {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(59, 40, 96, 0.1);
}

.task-manual-path-head {
  margin: 1.15rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(105, 65, 198, 0.2);
}

.task-manual-path-head .step-badge--manual {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(105, 65, 198, 0.88);
}

.task-manual-path-head .field-primary {
  margin: 0;
  font-size: 0.88rem;
  color: var(--lj-muted, #5c5470);
}

.api-key-list {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
}

.api-key-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(59, 40, 96, 0.06);
}

.api-key-create-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.api-key-create-form .monitor-input {
  min-width: 12rem;
  flex: 1;
}

.api-example-block {
  font-size: 0.78rem;
  margin: 0.5rem 0;
}

.api-key-reveal .copy-block {
  margin: 0.5rem 0;
  word-break: break-all;
}

.task-module-group--start {
  background: linear-gradient(180deg, rgba(238, 225, 248, 0.42) 0%, rgba(255, 255, 255, 0.55) 100%);
  border-color: rgba(105, 65, 198, 0.18);
}

.task-module-group--monitor {
  background: linear-gradient(180deg, rgba(235, 227, 246, 0.28) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.task-module-group--content {
  background: linear-gradient(180deg, rgba(253, 233, 223, 0.28) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-color: rgba(180, 120, 90, 0.12);
}

.task-module-group--advanced {
  background: rgba(255, 255, 255, 0.45);
  border-style: dashed;
  border-color: rgba(59, 40, 96, 0.16);
}

.task-module-group-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.task-module-step {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--lj-plum, #6941c6);
}

.task-module-step--optional {
  background: rgba(59, 40, 96, 0.35);
  font-size: 1rem;
}

.task-module-group-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lj-plum, #6941c6);
}

.task-module-group-desc {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--muted, #64748b);
}

.task-module-group-body > .task-section {
  margin-top: 0;
}

.task-module-group-body > .task-section:first-child .task-section-title--nested,
.task-module-group-body > .card:first-child {
  margin-top: 0;
}

.task-section-title--nested {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text, #1e293b);
  font-weight: 600;
}

.task-module-group-body .geo-run-advanced-journey {
  margin-top: 0.5rem;
}

.geo-run-fieldset {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

.geo-run-choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.geo-run-choice {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
  padding: 0.75rem 1rem;
  border: 1px solid var(--lj-border, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 0;
  color: inherit;
}

.geo-run-choice-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
}

.geo-run-choice-head input[type="radio"] {
  flex-shrink: 0;
  margin: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--lj-plum, #6941c6);
}

.geo-run-choice-head strong {
  font-size: 0.95rem;
  color: var(--text, #1e293b);
  line-height: 1.4;
}

.geo-run-choice-desc {
  margin: 0;
  padding-left: calc(1rem + 0.55rem);
  line-height: 1.55;
}

.geo-run-choice:has(input:checked) {
  border-color: var(--lj-primary, #4f46e5);
  background: rgba(99, 102, 241, 0.06);
}

.geo-run-mode-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .geo-run-mode-row {
    grid-template-columns: 1fr;
  }
}

.geo-run-mode {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
  padding: 0.75rem 1rem;
  border: 1px solid var(--lj-border, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 0;
  color: inherit;
}

.geo-run-mode:has(input:checked) {
  border-color: var(--lj-primary, #4f46e5);
  background: rgba(99, 102, 241, 0.06);
}

.geo-run-hint-query {
  font-size: 0.85em;
  word-break: break-all;
}

.geo-run-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  align-items: center;
}

.geo-run-action-form {
  display: inline;
  margin: 0;
}

.geo-run-current {
  margin-bottom: 0.75rem;
}

.geo-run-roadmap {
  margin-top: 0.5rem;
}

.geo-run-advanced-journey {
  margin-bottom: 1rem;
}

.geo-run-advanced-journey summary {
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.geo-run-panel--emphasis {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35);
}

.geo-diagnosis-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.geo-diagnosis-overlay.is-open {
  display: flex;
}

body.geo-diagnosis-open {
  overflow: hidden;
}

.geo-diagnosis-modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  margin: 0;
  padding: 1.25rem 1.35rem;
}

.geo-diagnosis-modal-head h2 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1.25rem;
}

.geo-diagnosis-steps {
  margin: 1rem 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.geo-diagnosis-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.geo-run-deploy-strategy {
  margin: 0.75rem 0;
}

.geo-run-deploy-strategy .step-list-muted {
  opacity: 0.92;
}

.geo-diagnosis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.geo-easy-mode-panel .card-head-main h2 {
  font-size: 1.15rem;
}

.easy-mode-status {
  margin: 0.75rem 0 1rem;
}

.easy-mode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.easy-mode-meta-label {
  display: block;
  font-size: 0.78rem;
  color: var(--lj-muted, #64748b);
  margin-bottom: 0.15rem;
}

.easy-mode-meta-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.easy-mode-wait-hint {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.easy-mode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
}

.easy-mode-btn-form {
  margin: 0;
  display: flex;
  align-items: center;
}

.easy-mode-btn {
  min-width: 8.5rem;
  text-align: center;
}

.easy-mode-toast {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  background: rgba(99, 102, 241, 0.12);
  color: var(--lj-plum-dark, #3b2860);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.easy-mode-toast.is-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #166534;
}

.easy-mode-toast.is-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.28);
  color: #991b1b;
}

.easy-mode-upgrade-panel {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.easy-mode-upgrade-panel[hidden] {
  display: none !important;
}

.easy-mode-upgrade-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 24, 58, 0.45);
  backdrop-filter: blur(2px);
}

.easy-mode-upgrade-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  margin: 0;
}

.easy-mode-upgrade-benefits {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  line-height: 1.6;
  font-size: 0.92rem;
}

.easy-mode-upgrade-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.easy-mode-upgrade-ctas .btn {
  width: fit-content;
}

.easy-mode-upgrade-foot {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.easy-mode-auto {
  margin-bottom: 1rem;
}

.easy-mode-toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.easy-mode-toggle-input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.easy-mode-next-run {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--lj-accent, #6366f1);
}

.easy-mode-weekly {
  border-top: 1px solid var(--lj-glass-border, rgba(0, 0, 0, 0.08));
  padding-top: 0.85rem;
}

.easy-mode-weekly-intro {
  margin: 0.55rem 0 0.35rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text, #1e293b);
}

.easy-mode-weekly-form {
  margin-top: 0.35rem;
}

.easy-mode-weekly-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.easy-mode-weekly-save-status {
  margin: 0;
  min-height: 1.25rem;
}

.easy-mode-weekly-list {
  margin-top: 0.65rem;
}

.easy-mode-weekly-item {
  flex: 1;
  min-width: 0;
}

.easy-mode-weekly-platform {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: var(--lj-glass-bg, rgba(0, 0, 0, 0.04));
  color: var(--lj-muted, #64748b);
  vertical-align: middle;
}

@media (max-width: 640px) {
  .easy-mode-actions {
    flex-direction: column;
  }
  .easy-mode-btn {
    width: 100%;
  }
}

.task-grid-keywords {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.sidebar-keywords {
  margin-top: 0;
}

.keyword-preview-list-compact {
  margin: 0.35rem 0 0.65rem;
  gap: 0.35rem;
}

.keyword-preview-list-compact .keyword-preview-chip {
  font-size: 0.78rem;
  padding: 0.2rem 0.5rem;
}

.sidebar-keywords .keyword-list-textarea {
  min-height: 4.5rem;
  margin-bottom: 0.35rem;
}

.sidebar-keywords .keyword-editor-form {
  margin-top: 0.35rem;
}

.sidebar-details-compact {
  margin-top: 0.65rem;
  font-size: 0.82rem;
}

.sidebar-details-compact summary {
  font-weight: 500;
  color: var(--im-accent);
  font-size: 0.82rem;
}

.sidebar-details-muted summary {
  color: var(--muted);
  font-size: 0.78rem;
}

.sidebar-details-compact .keyword-append-form {
  margin-top: 0.5rem;
}

.monitor-term-list-compact {
  margin: 0.25rem 0 0.5rem;
  line-height: 1.6;
}

.monitor-form-compact {
  margin-top: 0.35rem;
}

.monitor-form-compact .monitor-input {
  margin-bottom: 0.35rem;
}

.badge-sm {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
}

.page-task-detail .card,
.page-task-detail .dashboard-card {
  background: var(--lj-panel);
  border: none;
  border-radius: 14px;
  box-shadow: none;
  margin-bottom: 0;
  backdrop-filter: blur(4px);
}

.page-task-detail .geo-gap-suggestions {
  background: var(--lj-panel-muted);
}

.task-grid .card {
  margin-bottom: 0;
}

.task-main-col,
.task-work-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.task-side-col {
  min-width: 0;
}

.card-compact {
  padding: 1.15rem 1.35rem 1.35rem;
}

/* 卡片标题区 */
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(59, 40, 96, 0.08);
}

.card-head-plain {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.card-head-main h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
  margin: 0 0 0.2rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* 操作步骤标识 */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  min-width: 1.45rem;
  padding: 0;
  border-radius: 50%;
  background: var(--lj-plum);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  border: none;
  box-shadow: none;
  font-variant-numeric: tabular-nums;
}

.step-badge-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.28rem;
  height: 1.28rem;
  margin-right: 0.35rem;
  padding: 0 0.15rem;
  border-radius: 4px;
  background: rgba(235, 227, 246, 0.75);
  color: var(--lj-plum-dark);
  border: 1px solid rgba(59, 40, 96, 0.14);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  box-sizing: border-box;
}

.content-label .step-badge-sub,
.section-sub .step-badge-sub {
  vertical-align: middle;
}

.workflow-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0 0 0.85rem 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.workflow-strip .step-badge {
  width: 1.2rem;
  height: 1.2rem;
  min-width: 1.2rem;
  font-size: 0.75rem;
}

.workflow-arrow {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.form-step-label,
.copy-step-label {
  margin-bottom: 0.65rem;
}

.card-head-actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.card-head-actions a {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--lj-glass-border);
  color: var(--lj-plum);
  white-space: nowrap;
}

.card-head-actions a:hover {
  background: #fff;
  border-color: rgba(59, 40, 96, 0.22);
}

/* 内嵌面板 */
.card-inset {
  border-radius: 8px;
  padding: 0.9rem 1rem;
}

.card-inset-blue {
  background: linear-gradient(180deg, rgba(253, 233, 223, 0.45) 0%, rgba(255, 255, 255, 0.65) 100%);
  border: 1px solid rgba(59, 40, 96, 0.1);
}

.card-inset-neutral {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--lj-glass-border);
}

.report-summary-banner {
  background: linear-gradient(180deg, rgba(235, 227, 246, 0.55) 0%, rgba(255, 255, 255, 0.65) 100%);
  border: 1px solid rgba(59, 40, 96, 0.1);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(59, 40, 96, 0.1);
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lj-plum-dark);
  line-height: 1.2;
}

.stat-box span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.35;
}

.table-card-wrap {
  border: 1px solid var(--lj-glass-border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
}

.table-card-wrap .audit-table {
  margin: 0;
}

.pack-checklist-wrap {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--lj-glass-border);
  border-radius: 8px;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.pack-checklist-wrap .pack-checklist {
  margin: 0;
}

.task-page-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(253, 233, 223, 0.35) 100%);
  border-color: var(--lj-glass-border);
  min-width: 0;
  overflow: hidden;
}

.task-page-header h1 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--lj-plum-dark);
  margin-bottom: 1em;
}

.task-breadcrumb {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}

.task-meta-line {
  margin: 0;
  line-height: 1.75;
}

.task-url-line {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.task-url-line .url-truncate-copy {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.monitor-url-box {
  margin: 0.35rem 0 0.65rem;
  padding: 0.55rem 0.7rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.task-monitor-sidebar .monitor-url-box .url-truncate-copy {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.summary-readonly .url-truncate-copy {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.compare-header .url-truncate-copy,
.compare-url-line .url-truncate-copy {
  display: flex;
  width: 100%;
  max-width: min(100%, 32rem);
  min-width: 0;
}

.listing-url-line .url-truncate-copy,
.deploy-url-line .url-truncate-copy {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.deploy-url-label {
  margin: 0.75rem 0 0.35rem;
}

.text-info {
  color: #6366f1;
  font-weight: 600;
}

.listing-trial-queries {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.listing-trial-queries .query-list {
  margin: 0.5rem 0 0;
}

.field-primary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
}

.hint-line,
.report-hint {
  display: block;
  margin: 0.3rem 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.55;
}

.hint-line:last-child {
  margin-bottom: 0;
}

.field-block {
  margin-bottom: 1rem;
}

.field-block .content-label {
  margin-bottom: 0.35rem;
}

.field-block .hint-line {
  margin-top: 0.3rem;
  margin-bottom: 0;
}

.task-side-sticky {
  position: sticky;
  top: 1rem;
}

.task-ops-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.task-ops-sidebar .card {
  margin-bottom: 0;
}

.ops-tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ops-tip-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid #edf1f7;
}

.ops-tip-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ops-tip-list strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
  color: #1e293b;
}

.sidebar-details {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.sidebar-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.trial-status-block {
  margin-bottom: 1rem;
  border-bottom: none;
  padding-bottom: 0.9rem;
}

.trial-search-form {
  margin-bottom: 0.35rem;
}

.monitor-settings {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.page-task-detail .badge {
  background: rgba(235, 227, 246, 0.75);
  border: 1px solid rgba(59, 40, 96, 0.14);
  color: var(--lj-plum-dark);
}

.page-task-detail .keyword-preview-list {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.page-task-detail .keyword-preview-chip {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(59, 40, 96, 0.16);
  color: var(--lj-plum-dark);
  box-shadow: 0 1px 2px rgba(59, 40, 96, 0.04);
}

.page-task-detail .content-block {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--lj-glass-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-top: 0.85rem;
}

.page-task-detail .copy-block {
  background: rgba(255, 255, 255, 0.65);
}

.page-task-detail .deploy-guide {
  margin-top: 0.5rem;
  border-radius: 8px;
}

.page-task-detail .gap-list {
  margin-top: 0.25rem;
}

.page-task-detail .gap-item {
  padding: 0.65rem 0;
}

.page-task-detail .gap-item p {
  font-size: 0.76rem;
  font-weight: 400;
  color: #94a3b8;
}

.result-card-compact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.result-card-compact:first-of-type {
  margin-top: 0.75rem;
  padding-top: 0;
  border-top: none;
}

@media (max-width: 1024px) {
  .task-grid-overview,
  .task-grid-monitoring,
  .task-grid-keywords,
  .task-grid-work,
  .task-grid-trial-daily {
    grid-template-columns: 1fr;
  }

  .trial-monitor-row {
    grid-template-columns: 1fr;
  }

  .task-side-sticky {
    position: static;
  }

  .card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .card-head-actions {
    justify-content: flex-start;
  }
}

/* Django Admin 登录页 */
body.page-admin-login {
  font-family: var(--lj-serif);
}

body.page-admin-login .site-header-inner,
body.page-admin-login .admin-login-container {
  max-width: var(--page-max-width);
}

.admin-login-container {
  padding-top: clamp(2rem, 5vh, 3.5rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

.admin-login-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(340px, 460px);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}

.admin-login-decor {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}

.admin-login-decor-art {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: unset;
  border-radius: 20px;
  background-size: cover;
  background-position: center 55%;
  opacity: 0.92;
  -webkit-mask-image: none;
  mask-image: none;
}

.admin-login-card {
  width: 100%;
  margin-bottom: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--lj-glass);
  border: 1px solid var(--lj-glass-border);
  box-shadow: var(--shadow);
}

.admin-login-title {
  margin: 0 0 0.35rem;
  font-family: var(--lj-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--lj-plum-dark);
  letter-spacing: 0.02em;
}

.admin-login-subtitle {
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  color: var(--lj-muted);
  font-weight: 500;
}

.admin-login-form p {
  margin: 0 0 1rem;
}

.admin-login-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lj-plum-dark);
}

.admin-login-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--lj-glass-border);
  border-radius: 8px;
  background: var(--lj-input-bg);
  font-family: inherit;
  font-size: 1rem;
  color: var(--lj-text);
}

.admin-login-input:focus {
  outline: none;
  border-color: var(--lj-plum);
  box-shadow: 0 0 0 3px rgba(59, 40, 96, 0.12);
}

.admin-login-submit {
  margin-top: 0.35rem;
}

.admin-login-errors {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(59, 40, 96, 0.08);
  font-size: calc(0.8rem - 2px);
  font-weight: 300;
  color: #9a3412;
  line-height: 1.55;
}

.admin-login-errors p {
  margin: 0.2rem 0;
  font-weight: 300;
}

@media (max-width: 900px) {
  .admin-login-layout {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .admin-login-decor {
    display: none;
  }
}

/* GEO 周报 */
.weekly-reports-header h1,
.weekly-report-header h1 {
  margin-bottom: 0.35rem;
}

.weekly-reports-task .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.weekly-reports-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.weekly-reports-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--lj-glass-border, rgba(0, 0, 0, 0.06));
}

.weekly-reports-list li:last-child {
  border-bottom: none;
}

.weekly-generate-form {
  margin: 0;
}

.weekly-report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}

.weekly-report-history-picker a {
  margin-right: 0.5rem;
  font-size: 0.88rem;
}

.weekly-report-history-picker a.active {
  font-weight: 600;
  color: var(--lj-accent, #6366f1);
}

.weekly-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.weekly-summary-item {
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius, 12px);
  background: var(--lj-glass-bg, rgba(0, 0, 0, 0.03));
}

.weekly-summary-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--lj-plum, #4c1d95);
}

.weekly-summary-label {
  display: block;
  font-size: 0.82rem;
  color: var(--lj-muted, #64748b);
  margin-top: 0.2rem;
}

.weekly-improvement-banner {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius, 12px);
  background: rgba(34, 197, 94, 0.08);
}

.weekly-platform-timeline {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  border-left: 2px solid var(--lj-glass-border, rgba(0, 0, 0, 0.1));
}

.weekly-timeline-item {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin-left: 0.5rem;
}

.weekly-timeline-item::before {
  content: '';
  position: absolute;
  left: -0.55rem;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lj-accent, #6366f1);
}

.weekly-timeline-date {
  display: inline-block;
  min-width: 5.5rem;
  font-size: 0.82rem;
  color: var(--lj-muted, #64748b);
  margin-right: 0.5rem;
}

.weekly-user-tasks-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
}

.weekly-user-task-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--lj-glass-border, rgba(0, 0, 0, 0.06));
}

.weekly-user-task-item.done .weekly-task-checkmark {
  color: var(--lj-ok, #16a34a);
}

.weekly-task-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.weekly-task-check input[type="checkbox"] {
  margin-top: 0.25rem;
}

.weekly-task-checkmark {
  flex-shrink: 0;
  width: 1.25rem;
  font-size: 1rem;
  color: var(--lj-muted, #94a3b8);
}

.weekly-task-body {
  flex: 1;
  min-width: 0;
}

.weekly-task-note {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--lj-glass-border, rgba(0, 0, 0, 0.12));
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  resize: vertical;
}

.weekly-compare-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--lj-glass-border, rgba(0, 0, 0, 0.06));
}

.weekly-compare-pair {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.weekly-compare-label {
  font-weight: 500;
  margin-right: 0.25rem;
}

.weekly-compare-before {
  color: var(--lj-muted, #64748b);
}

.weekly-compare-after {
  font-weight: 600;
}

.weekly-report-meta {
  text-align: right;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .weekly-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 关键词建议面板 */
body.kw-suggest-open {
  overflow: hidden;
}

.kw-suggest-panel[hidden] {
  display: none !important;
}

.kw-suggest-panel {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.kw-suggest-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 24, 58, 0.45);
  backdrop-filter: blur(2px);
}

.kw-suggest-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  margin: 0;
}

.kw-suggest-close {
  flex-shrink: 0;
}

.kw-suggest-field {
  margin-bottom: 0.85rem;
}

.kw-required {
  color: #b42318;
  margin-left: 0.15rem;
}

.kw-suggest-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.kw-suggest-categories {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.kw-suggest-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.kw-suggest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.kw-suggest-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.45;
}

.kw-suggest-item input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.kw-suggest-status.kw-suggest-error {
  color: #b42318;
}

.kw-suggest-existing {
  margin-bottom: 0.75rem;
}

.kw-suggest-actions {
  margin-top: 0.25rem;
}

/* 6+1 意图分层 Accordion */
.kw-suggest-accordion {
  border: 1px solid rgba(36, 24, 58, 0.08);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.kw-suggest-accordion-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.kw-suggest-accordion-head::-webkit-details-marker {
  display: none;
}

.kw-suggest-accordion-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.kw-suggest-accordion-title strong {
  font-size: 0.95rem;
}

.kw-cat-en {
  font-size: 0.78rem;
  font-weight: normal;
}

.kw-suggest-accordion-actions {
  flex-shrink: 0;
}

.kw-suggest-accordion-body {
  padding: 0 0.75rem 0.65rem;
  border-top: 1px solid rgba(36, 24, 58, 0.06);
}

.kw-cat-desc {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.kw-cat-hint {
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.kw-priority-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.kw-priority-p0 {
  background: #fef3f2;
  color: #b42318;
}

.kw-priority-p1 {
  background: #fffaeb;
  color: #b54708;
}

.kw-priority-p2 {
  background: #f2f4f7;
  color: #475467;
}

/* L6 引用型 FAQ 卡片 */
.kw-suggest-faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kw-suggest-faq-card {
  border: 1px solid rgba(36, 24, 58, 0.1);
  border-radius: 6px;
  background: #fff;
}

.kw-suggest-faq-label {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  margin: 0;
}

.kw-suggest-faq-label input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.kw-suggest-faq-content {
  flex: 1;
  min-width: 0;
}

.kw-faq-q {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.kw-faq-a {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.kw-faq-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #6941c6;
  background: #f4f3ff;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  margin-right: 0.2rem;
  vertical-align: baseline;
}

/* Experience report / conversion page */
.page-experience-report .experience-hero {
  margin-bottom: 1rem;
}

.experience-breadcrumb {
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
}

.experience-subhead {
  margin: 0.35rem 0 0.75rem;
  max-width: 42rem;
}

.experience-meta {
  font-size: 0.9rem;
  margin: 0;
}

.experience-countdown {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--lj-panel-warm);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.experience-countdown-value {
  font-size: 1.15rem;
  color: var(--lj-plum-dark);
}

.experience-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.experience-stat {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--lj-panel-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.experience-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--lj-plum-dark);
  line-height: 1.1;
}

.experience-stat-label {
  font-size: 0.88rem;
  font-weight: 600;
}

.experience-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.experience-platform-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.experience-gap-preview {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.experience-gap-preview li {
  font-size: 0.9rem;
  line-height: 1.5;
}

.experience-capability-table .experience-col-current {
  background: rgba(105, 65, 198, 0.08);
  font-weight: 600;
}

.experience-blocked-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.experience-blocked-list li {
  margin: 0.25rem 0;
}

.experience-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .experience-cta-grid {
    grid-template-columns: 1fr;
  }
}

.experience-loss-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.experience-report-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.experience-dashboard-card {
  margin-bottom: 1rem;
  background: var(--lj-panel-warm);
}

.experience-dashboard-card .btn {
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

.experience-section-head {
  margin-bottom: 0.85rem;
}

.experience-section-head h2 {
  margin: 0 0 0.25rem;
}

.experience-section-head .report-hint {
  margin: 0;
}

.experience-includes-hero {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 40, 96, 0.1);
}

.experience-includes-lead {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.experience-includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.experience-includes-card {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(59, 40, 96, 0.08);
}

.experience-includes-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--lj-plum-dark);
}

.experience-includes-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.experience-delivered-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.experience-delivered-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: var(--lj-panel-muted);
}

.experience-delivered-list li.done {
  border-left: 3px solid var(--ok);
}

.experience-delivered-list li.pending {
  border-left: 3px solid rgba(180, 140, 40, 0.55);
}

.experience-delivered-mark {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.experience-delivered-list li.done .experience-delivered-mark {
  color: var(--ok);
}

.experience-delivered-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.experience-delivered-body strong {
  font-weight: 600;
}

.experience-search-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.experience-search-platform {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(59, 40, 96, 0.08);
  overflow: hidden;
}

.experience-search-platform summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
}

.experience-search-platform summary::-webkit-details-marker {
  display: none;
}

.experience-search-platform-label {
  color: var(--lj-plum-dark);
}

.experience-search-platform-score {
  font-size: 0.85rem;
  font-weight: 600;
}

.experience-query-list {
  list-style: none;
  margin: 0;
  padding: 0 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.experience-query-item {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: var(--lj-panel-muted);
  font-size: 0.86rem;
}

.experience-query-item.hit {
  border-left: 3px solid var(--ok);
}

.experience-query-item.miss {
  border-left: 3px solid rgba(200, 120, 60, 0.65);
}

.experience-query-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
}

.experience-query-status {
  font-weight: 600;
  font-size: 0.8rem;
}

.experience-query-item.hit .experience-query-status {
  color: var(--ok);
}

.experience-query-item.miss .experience-query-status {
  color: #b45309;
}

.experience-query-text {
  flex: 1;
  min-width: 12rem;
}

.experience-query-answer {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.experience-copy-block {
  margin-bottom: 0.75rem;
}

.experience-pack-checklist {
  margin-bottom: 1rem;
}

.experience-seller-steps {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}

.experience-seller-steps li {
  margin: 0.3rem 0;
}

.experience-gap-preview li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(59, 40, 96, 0.06);
}

.experience-gap-preview li:last-child {
  border-bottom: none;
}

.experience-gap-category {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.experience-more-suggestions {
  margin-top: 0.5rem;
  font-size: 0.88rem;
}

.experience-more-suggestions summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--lj-plum-dark);
}

.experience-compare-table .row-improved td:last-child {
  font-weight: 600;
}

.experience-subscription-value,
.experience-value-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.experience-subscription-value li,
.experience-value-list li {
  margin: 0.35rem 0;
}

.experience-final-monitor-cta {
  margin-bottom: 1rem;
}

.experience-final-monitor-form {
  margin-top: 0.75rem;
}

.scan-welcome-banner,
.scan-first-monitor-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.scan-welcome-banner .hint-line,
.scan-first-monitor-banner .hint-line {
  flex: 1 1 100%;
  margin: 0;
}

.scan-welcome-form {
  margin: 0;
  flex-shrink: 0;
}

.experience-completed-tasks {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.experience-completed-tasks li {
  margin: 0.45rem 0;
}

.experience-pipeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.experience-pipeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--lj-border-soft, #ece8ef);
  background: var(--lj-panel-neutral, #faf9fb);
}

.experience-pipeline-item.done {
  border-color: #cce8d4;
  background: #f3fbf5;
}

.experience-pipeline-label {
  grid-row: span 2;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--lj-plum-dark, #5c2d5e);
  white-space: nowrap;
}

.experience-problem-map .experience-map-category {
  border: 1px solid var(--lj-border-soft, #ece8ef);
  border-radius: 10px;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.75rem;
}

.experience-map-category summary {
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  padding: 0.45rem 0;
}

.experience-map-query-list {
  list-style: none;
  margin: 0.35rem 0 0.5rem;
  padding: 0;
}

.experience-map-query {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.65rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--lj-border-soft, #ece8ef);
}

.experience-map-query-status {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.experience-map-query.hit .experience-map-query-status { color: #067647; }
.experience-map-query.partial .experience-map-query-status { color: #b54708; }
.experience-map-query.miss .experience-map-query-status { color: #b42318; }

.experience-map-opportunity {
  grid-column: 2;
  font-size: 0.78rem;
}

.experience-causal-table td:first-child {
  max-width: 16rem;
  word-break: break-word;
}

.easy-mode-final-btn {
  border-color: var(--lj-plum);
}

.easy-mode-final-hint {
  margin-top: 0.5rem;
}

