/* ===========================================================
   登录后首页（工作台）
   =========================================================== */

body { background: #f5f1e9; }

.app {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}

/* ── 左侧栏 ─────────────────────────────── */
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 16px 20px;
  background: var(--paper-2);
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.side__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 8px 22px;
}
.side__brand .brand__name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.04em; }

.side__nav { display: flex; flex-direction: column; gap: 3px; }
.side__nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #5c5548;
  transition: background 0.15s ease, color 0.15s ease;
}
.side__nav a svg { width: 18px; height: 18px; flex: none; opacity: 0.72; }
.side__nav a:hover { background: #f3ede0; color: var(--ink); }
.side__nav a.is-active {
  background: #fffdf9;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(72, 55, 30, 0.06);
  border: 1px solid var(--line-2);
}
.side__nav a.is-active svg { opacity: 1; color: var(--gold); }

.side__foot { margin-top: auto; position: relative; }
.side__foot .script { font-size: 15px; padding: 0 6px; }
.side__foot .side__sign { margin: 4px 6px 0; color: #8a7550; opacity: 0.5; }
.side__photo {
  margin-top: 14px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.9;
}
.side__photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.3) saturate(0.85) brightness(1.04); }

/* ── 主区 ───────────────────────────────── */
.main { min-width: 0; display: flex; flex-direction: column; }

.mainbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line-2);
}
.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #6a6154;
  transition: background 0.15s ease;
}
.icon-btn:hover { background: #efe8da; }
.icon-btn svg { width: 18px; height: 18px; }

.user {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.user:hover { background: #efe8da; }
.user__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #d9c7a8, #b9a483);
  display: grid; place-items: center;
  color: #fffdf8; font-size: 13px; font-family: var(--serif);
  border: 1px solid #fff;
  box-shadow: 0 1px 3px rgba(72, 55, 30, 0.15);
}
.user__name { font-size: 13.5px; color: var(--ink); }
.user svg { width: 13px; height: 13px; color: var(--ink-3); }

.content {
  padding: 26px 34px 44px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ── 横幅 ───────────────────────────────── */
.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 459px;
  background: #eae2d3;
  box-shadow: var(--sh-1);
}
.hero-card__bg { position: absolute; inset: 0; }
.hero-card__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 58%;
  filter: none;
}
/* 照片原样铺满：不加任何罩层、不加滤镜 */
.hero-card__inner {
  position: relative;
  padding: 42px 44px;
  max-width: 560px;
}
.hero-card h1 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.hero-card p { font-size: 14.5px; color: #5e5648; line-height: 2; }
.hero-card .btn { margin-top: 24px; }
.hero-card__note { margin-top: 14px; font-size: 12.5px; color: #8a8072; }
.hero-card__script {
  position: absolute;
  right: 42%; top: 26px;
  text-align: right;
}
.hero-card__script .script { font-size: 17px; color: #4a3d29; text-shadow: 0 1px 14px rgba(255, 250, 240, 0.98), 0 0 30px rgba(255, 250, 240, 0.9); }

/* ── 四个阶段 ───────────────────────────── */
.stages { }
.stages__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.stages__head h2 { font-size: 19px; letter-spacing: 0.02em; }
.stages__head span { font-size: 12.5px; color: var(--ink-3); }

.stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.stage {
  position: relative;
  height: 198px;
  border-radius: var(--r-md);
  border: 1.5px solid #43714e;
  overflow: hidden;
  padding: 14px 16px 13px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  color: #2c2822;
  background: #efe9dd;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stage:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }

.stage__media { position: absolute; inset: 0; z-index: 0; }
.stage__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.stage:hover .stage__media img { transform: scale(1.04); }

/* 深度解读卡：图片淡两档（纸色透上来，饱和度略降） */
.stage[data-stage="deep"] .stage__media img { opacity: 0.55; filter: saturate(0.92); }

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to top,
    rgba(250, 246, 239, 0.97) 0%,
    rgba(250, 246, 239, 0.95) 28%,
    rgba(250, 246, 239, 0.86) 42%,
    rgba(250, 246, 239, 0.55) 56%,
    rgba(250, 246, 239, 0.16) 68%,
    rgba(250, 246, 239, 0) 78%
  );
}

.stage > *:not(.stage__media):not(.stage__top) { position: relative; z-index: 1; }

.stage__top {
  position: absolute;
  top: 14px;
  left: 17px;
  right: 15px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.stage__no {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #6b5732;
  text-shadow: 0 1px 0 rgba(255, 252, 244, 0.9), 0 0 7px rgba(255, 252, 244, 0.8);
}
.stage h3 { font-size: 17px; letter-spacing: 0.03em; color: #2c2822; }
.stage p { font-size: 12.5px; line-height: 1.75; color: #4a4238; }
.stage__foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 12px; color: #5f5445; }
.stage__foot .go { color: #7e5e2e; }
.stage__foot .go:hover { text-decoration: underline; }

/* 图上的小标签：纸色实底，亮图上也读得清 */
.stage .chip {
  background: rgba(250, 246, 238, 0.95);
  color: #6b5732;
  border: 1px solid rgba(60, 50, 36, 0.12);
  box-shadow: 0 1px 4px rgba(24, 19, 14, 0.22);
}
.stage .chip--free { background: rgba(244, 248, 240, 0.94); color: #4f6349; }
.stage .chip--open { background: rgba(238, 245, 234, 0.94); color: #4c6346; }
.stage .chip--gold { background: rgba(248, 238, 219, 0.94); color: #7a5f2c; }

.stage--current { box-shadow: 0 0 0 1px rgba(205, 184, 142, 0.85), 0 12px 30px rgba(40, 32, 20, 0.2); }
.stage--locked { background: #efe9dd; }




.stage__lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #5f5445; }
.stage__lock svg { width: 12px; height: 12px; }

/* ── 两列主区 ───────────────────────────── */
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.col-main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.col-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 18px; }

.sect-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sect-head h2 { font-size: 19px; letter-spacing: 0.02em; }
.sect-head .more { font-size: 12.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.sect-head .more:hover { color: var(--gold); }
.sect-head .more svg { width: 13px; height: 13px; }

/* ── 最新报告 ───────────────────────────── */
.report {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 250px;
  gap: 22px;
  /* 2026-11-12 用户要求：去掉「我的方向」下面这块的外框（背景/描边/阴影/圆角） */
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.report__thumb { border-radius: 10px; overflow: hidden; height: 132px; }
.report__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) sepia(0.1); }
.report__main { min-width: 0; display: flex; flex-direction: column; }
.report__title { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; }
.report__title h3 { font-size: 22px; letter-spacing: 0.04em; }
.report__quote { font-size: 14px; color: #5e5648; line-height: 1.9; }
.report__meta { margin-top: 12px; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--ink-3); }
.report__meta span { display: inline-flex; align-items: center; gap: 6px; }
.report__meta svg { width: 12px; height: 12px; opacity: 0.8; }
.report__actions { margin-top: auto; padding-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.report__actions .btn { height: 38px; padding: 0 18px; font-size: 13px; }

.dims {
  border-left: 1px solid var(--line-2);
  padding-left: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  align-content: start;
}
.dim { display: flex; gap: 8px; }
.dim svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #8d7c5e; }
.dim b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.dim span { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }

/* ── 寻找TA（占位框：宽度同底部提示条，高度同上方四张阶段卡） ── */
.find-ta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 350px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-family: var(--serif);
}
.find-ta__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.find-ta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(20,16,10,.55) 100%);
  pointer-events: none;
}
.find-ta__label {
  position: relative;
  z-index: 1;
  margin: 16px 20px;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

/* ── 快速入口 ───────────────────────────── */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  box-shadow: var(--sh-1);
}
.panel h3 { font-size: 15px; margin-bottom: 12px; letter-spacing: 0.03em; }

.quick { display: flex; flex-direction: column; gap: 2px; }
.quick a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 8px; border-radius: 9px;
  transition: background 0.15s ease;
}
.quick a:hover { background: #f7f2e7; }
.quick .qi {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px; background: #f4efe3; color: #7b6b4f;
}
.quick .qi svg { width: 16px; height: 16px; }
.quick b { display: block; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.quick span { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }

/* ── 已聊到的方面 ───────────────────────── */
.facets { display: flex; flex-direction: column; }
.facets__head { display: flex; align-items: baseline; justify-content: space-between; }
.facets__head h3 { margin-bottom: 4px; }
.facets__head .more { font-size: 11.5px; color: var(--ink-3); }
.facet {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
}
.facet:last-child { border-bottom: 0; }
.facet .ok { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #7f8b74; }
.facet .ok svg { width: 12px; height: 12px; }
.facets__note { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); line-height: 1.8; }
.facets__note a { color: var(--gold); }

/* ── 探索专题 ───────────────────────────── */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic {
  position: relative;
  height: 176px;
  border-radius: var(--r-md);
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fffdf7;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.topic:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.topic img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;

}
.topic::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(34, 29, 23, 0.92) 0%, rgba(34, 29, 23, 0.62) 46%, rgba(38, 33, 26, 0.18) 100%);
}
.topic__icon {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.16);
  backdrop-filter: blur(4px);
  color: #fffdf7;
}
.topic__icon svg { width: 15px; height: 15px; }
.topic__body { position: relative; z-index: 1; }
.topic h3 { font-family: var(--sans); font-size: 14.5px; font-weight: 500; letter-spacing: 0.02em; color: #fffdf7; }
.topic p { font-size: 11.5px; line-height: 1.7; color: rgba(255, 253, 247, 0.78); margin-top: 5px; }
.topic__price {
  margin-top: 12px;
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-family: var(--serif);
}
.topic__price .arrow { width: 13px; height: 13px; opacity: 0.85; }

/* ── 底部提示条 ─────────────────────────── */
.prompt {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; text-align: center;   /* 2026-11-12：文字居中 */
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--sage);
  border: 1px solid #dde4d6;
  position: relative;
}
.prompt .leaf { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); }
.prompt .leaf { width: 22px; height: 22px; color: #6d7f68; flex: none; }
.prompt b { display: block; font-size: 14px; font-weight: 500; font-family: var(--serif); letter-spacing: 0.02em; }
.prompt span { display: block; font-size: 12.5px; color: #5f6b5b; margin-top: 3px; }
.prompt .btn { margin-left: auto; height: 38px; padding: 0 20px; font-size: 13px; }

/* ── 响应式 ─────────────────────────────── */
@media (max-width: 1180px) {
  .cols { grid-template-columns: 1fr; }
  .col-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .col-side > * { flex: 1 1 260px; }
  .report { grid-template-columns: 116px 1fr; }
  .dims { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-2); padding: 16px 0 0; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .stage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; padding: 12px 16px; overflow-x: auto; }
  .side__brand { padding: 0 12px 0 0; }
  .side__nav { flex-direction: row; gap: 4px; }
  .side__nav a { height: 38px; padding: 0 10px; font-size: 13px; }
  .side__foot, .side__photo { display: none; }
  .content { padding: 18px 16px 32px; }
  .mainbar { padding: 0 16px; }
  .hero-card__inner { padding: 28px 24px; }
  .hero-card h1 { font-size: 24px; }
  .hero-card__script { display: none; }
  .report { grid-template-columns: 1fr; }
  .report__thumb { height: 120px; }
  .topics { grid-template-columns: 1fr 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
}
