:root {
  --navy: #0d2b3e;
  --navy-2: #163f55;
  --teal: #0b8f82;
  --teal-dark: #087368;
  --mint: #dff4ee;
  --mint-soft: #f2faf7;
  --amber: #ed9d3b;
  --paper: #ffffff;
  --canvas: #f4f7f8;
  --ink: #132f3e;
  --muted: #617681;
  --line: #dce6e9;
  --shadow: 0 18px 54px rgba(13, 43, 62, .10);
  --soft-shadow: 0 8px 26px rgba(13, 43, 62, .07);
  --radius: 22px;
}

.brand-logo, .footer-logo {
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.brand-logo { width: 42px; height: 42px; }
.footer-logo { width: 34px; height: 34px; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 9px 12px; border-radius: 8px; color: #fff; background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
..
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(220, 230, 233, .9);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: var(--teal);
  font-size: 20px;
  font-weight: 900;
}
.brand-name { font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.brand-note { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { color: #48616f; font-size: 14px; font-weight: 700; }
.nav-link:hover, .nav-link.active { color: var(--teal-dark); }
.nav-login {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--navy);
  background: #fff;
}
.nav-primary { padding: 9px 15px; border-radius: 10px; color: #fff; background: var(--navy); }
.menu-button { display: none; border: 0; background: transparent; font-size: 24px; color: var(--navy); }

.page { display: none; min-height: calc(100vh - 72px); }
.page.active { display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }
.section { padding: 84px 0; }
.section.compact { padding: 56px 0; }
.section-white { background: #fff; }
.eyebrow { color: var(--teal-dark); font-size: 14px; font-weight: 850; letter-spacing: .08em; }
.section-title { margin: 8px 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.18; letter-spacing: -.035em; }
.section-intro { max-width: 700px; margin: 0; color: var(--muted); font-size: 17px; }
.center { text-align: center; }
.center .section-intro { margin-inline: auto; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #c6e7df;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mint-soft);
  font-size: 13px;
  font-weight: 750;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.hero {
  padding: 68px 0 70px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 14%, rgba(39, 184, 157, .28), transparent 28%),
    linear-gradient(126deg, #0c293c 0%, #0f3a4b 54%, #0d5a58 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 64px; align-items: center; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(40px, 5vw, 65px); line-height: 1.08; letter-spacing: -.05em; }
.hero h1 em { display: block; color: #74d8c5; font-style: normal; }
.hero-copy { max-width: 610px; color: #cde0e5; font-size: 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #d6e8ec; font-size: 13px; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: #7fe0c9; font-weight: 900; }
.ask-panel { padding: 26px; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: 0 30px 80px rgba(4,22,32,.34); }
.ask-panel h2 { margin: 0 0 5px; font-size: 22px; }
.ask-panel > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.ask-panel textarea { width: 100%; min-height: 126px; resize: vertical; padding: 16px; border: 1px solid var(--line); border-radius: 15px; outline: 0; color: var(--ink); background: #f8fbfb; }
.ask-panel textarea:focus { border-color: #74c6b9; box-shadow: 0 0 0 4px rgba(11,143,130,.10); }
.quick-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 18px; }
.quick-prompts button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #47606c; background: #fff; font-size: 13px; cursor: pointer; }
.quick-prompts button:hover { color: var(--teal-dark); border-color: #9ad2c8; }
.stage-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.stage-choice button { padding: 11px 8px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; cursor: pointer; text-align: left; }
.stage-choice button:hover, .stage-choice button.selected { border-color: var(--teal); background: var(--mint-soft); box-shadow: inset 0 0 0 1px var(--teal); }
.stage-choice b, .stage-choice span { display: block; }
.stage-choice b { font-size: 14px; }
.stage-choice span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
.primary-button { border: 0; color: #fff; background: var(--teal); box-shadow: 0 10px 20px rgba(11,143,130,.20); }
.primary-button:hover { background: var(--teal-dark); }
.secondary-button { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.wide { width: 100%; }
.microcopy { margin-top: 10px; text-align: center; color: #778a92; font-size: 12px; }

.answer-preview { display: none; margin-top: 18px; padding: 17px; border: 1px solid #cce7e1; border-radius: 15px; background: #f3faf8; }
.answer-preview.visible { display: block; animation: rise .34s ease; }
.answer-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.answer-preview h3 { margin: 0; font-size: 16px; }
.answer-preview p { margin: 6px 0; color: #47606c; font-size: 13px; }
.answer-list { display: grid; gap: 7px; margin: 12px 0; }
.answer-item { display: grid; grid-template-columns: 82px 1fr; gap: 8px; font-size: 13px; }
.answer-item b { color: var(--navy); }

.proof-strip { margin-top: -1px; padding: 22px 0; background: #fff; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proof-item { display: flex; gap: 12px; align-items: flex-start; }
.proof-icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--teal-dark); background: var(--mint); font-weight: 900; }
.proof-item b { display: block; font-size: 14px; }
.proof-item span { display: block; color: var(--muted); font-size: 12px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.step-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--soft-shadow); }
.step-number { color: var(--teal); font-size: 13px; font-weight: 900; }
.step-card h3 { margin: 14px 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: 64px; align-items: center; }
.sample-window { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.window-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.window-head small { color: var(--muted); }
.route-list { display: grid; gap: 12px; margin-top: 16px; }
.route-row { padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.route-top { display: flex; justify-content: space-between; gap: 12px; }
.route-top b { font-size: 14px; }
.route-status { color: var(--teal-dark); font-size: 12px; font-weight: 800; }
.route-row p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.source-note { margin-top: 16px; padding: 12px 14px; border-radius: 12px; color: #617077; background: #f4f7f8; font-size: 12px; }
.check-list { display: grid; gap: 14px; margin: 26px 0; }
.check-item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.check-item i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 12px; font-style: normal; }
.check-item b { display: block; }
.check-item span { color: var(--muted); font-size: 14px; }

.human-band { padding: 72px 0; color: #fff; background: var(--navy); }
.human-grid { display: grid; grid-template-columns: 1fr 1.22fr; gap: 60px; align-items: center; }
.human-band .eyebrow { color: #75d6c3; }
.human-band .section-intro { color: #bdd0d7; }
.teacher-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.teacher-mini { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.08); }
.teacher-mini img { width: 100%; height: 185px; object-fit: contain; object-position: bottom center; background: #edf2f2; }
.teacher-mini div { padding: 14px; }
.teacher-mini b { display: block; }
.teacher-mini span { color: #bcd0d6; font-size: 12px; }
.text-link { color: var(--teal-dark); font-weight: 800; }
.human-band .text-link { display: inline-block; margin-top: 22px; color: #79ddc7; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.price-card { display: flex; flex-direction: column; min-height: 330px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.price-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.price-tag { width: max-content; padding: 4px 8px; border-radius: 999px; color: var(--teal-dark); background: var(--mint); font-size: 12px; font-weight: 800; }
.price-card h3 { margin: 14px 0 0; }
.price { margin: 10px 0 18px; font-size: 28px; font-weight: 900; }
.price small { color: var(--muted); font-size: 13px; font-weight: 500; }
.price-card ul { margin: 0 0 24px; padding-left: 19px; color: var(--muted); font-size: 14px; }
.price-card .secondary-button, .price-card .primary-button { margin-top: auto; }

.page-hero { padding: 68px 0 52px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: end; }
.page-hero h1 { margin: 10px 0 14px; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.05em; }
.page-hero p { margin: 0; color: var(--muted); font-size: 18px; }
.context-card { padding: 22px; border-radius: 18px; color: #d4e6eb; background: var(--navy); }
.context-card b { display: block; margin-bottom: 6px; color: #fff; }
.context-card small { color: #9fc2ca; }

.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.method-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.method-card h3 { margin: 12px 0 8px; }
.method-card p { margin: 0; color: var(--muted); font-size: 14px; }
.method-card strong { color: var(--teal-dark); font-size: 14px; }
.boundary-box { margin-top: 32px; padding: 26px; border: 1px solid #f0d7ae; border-radius: 18px; background: #fff8ed; }
.boundary-box h3 { margin-top: 0; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.boundary-grid div { padding-left: 14px; border-left: 3px solid var(--amber); }
.boundary-grid b { display: block; }
.boundary-grid span { color: #786b58; font-size: 13px; }

.stage-tabs { display: flex; gap: 8px; width: max-content; max-width: 100%; margin-bottom: 24px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow-x: auto; }
.stage-tabs button { padding: 10px 20px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-weight: 800; white-space: nowrap; cursor: pointer; }
.stage-tabs button.active { color: #fff; background: var(--navy); }
.stage-panel { display: none; grid-template-columns: .82fr 1.18fr; gap: 42px; align-items: center; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--soft-shadow); }
.stage-panel.active { display: grid; animation: rise .28s ease; }
.stage-panel-copy h2 { margin: 8px 0 12px; font-size: 32px; line-height: 1.2; }
.stage-panel-copy p { margin: 0 0 22px; color: var(--muted); }
.stage-outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stage-outcomes div { min-height: 112px; padding: 19px; border-radius: 15px; background: #f2f7f7; }
.stage-outcomes b, .stage-outcomes span { display: block; }
.stage-outcomes span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.continuity-card { margin-top: 24px; padding: 28px 34px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, var(--navy), #145f5d); }
.continuity-card h2 { margin: 5px 0 22px; }
.continuity-card .eyebrow { color: #76dbc6; }
.continuity-line { display: flex; align-items: center; gap: 14px; }
.continuity-line span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.07); white-space: nowrap; }
.continuity-line i { flex: 1; min-width: 20px; height: 1px; background: rgba(255,255,255,.35); }

.assessment-filter { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; }
.assessment-filter button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-weight: 750; white-space: nowrap; cursor: pointer; }
.assessment-filter button.active { color: #fff; border-color: var(--teal); background: var(--teal); }
.assessment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.assessment-card { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--soft-shadow); }
.assessment-card.hidden-tool { display: none; }
.tool-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--teal-dark); background: var(--mint); font-size: 18px; font-weight: 900; }
.tool-meta { position: absolute; top: 24px; right: 22px; display: flex; gap: 6px; }
.tool-meta span { padding: 4px 7px; border-radius: 999px; color: var(--muted); background: #f0f4f5; font-size: 11px; }
.assessment-card h3 { margin: 20px 0 7px; font-size: 19px; }
.assessment-card p { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.assessment-card button { margin-top: auto; }
.assessment-boundary { margin-top: 24px; padding: 20px 22px; border: 1px solid #efd7ae; border-radius: 16px; background: #fff8ec; }
.assessment-boundary p { margin: 4px 0 0; color: #766b5b; font-size: 13px; }

.report-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; margin-top: 34px; }
.report-nav { position: sticky; top: 94px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.report-nav b { display: block; margin-bottom: 12px; }
.report-nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.report-nav a:hover { color: var(--teal-dark); background: var(--mint-soft); }
.report-body { display: grid; gap: 18px; }
.report-section { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.report-section h2 { margin: 0 0 16px; font-size: 22px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-box { padding: 15px; border-radius: 12px; background: #f4f8f8; }
.info-box small { display: block; color: var(--muted); }
.comparison { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison th, .comparison td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { color: var(--muted); background: #f6f8f9; }
.task-line { display: grid; grid-template-columns: 90px 1fr 100px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.task-line:last-child { border: 0; }
.task-line span { color: var(--muted); font-size: 13px; }
.demo-notice { padding: 14px 16px; border-radius: 12px; color: #6e5b3d; background: #fff5e4; font-size: 13px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.teacher-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--soft-shadow); }
.teacher-photo { height: 290px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: linear-gradient(145deg, #edf4f4, #dfeae9); }
.teacher-photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.teacher-card-body { padding: 22px; }
.teacher-card h3 { margin: 0; font-size: 21px; }
.teacher-role { color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.teacher-card p { margin: 12px 0; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 5px 8px; border-radius: 999px; color: #49626d; background: #eef4f5; font-size: 12px; }
.verification { margin-top: 30px; padding: 20px; border: 1px solid #cce7e1; border-radius: 16px; background: var(--mint-soft); color: #47645f; font-size: 13px; }

.service-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 42px 0; }
.service-flow div { position: relative; padding: 22px; border: 1px solid var(--line); background: #fff; }
.service-flow div:first-child { border-radius: 16px 0 0 16px; }
.service-flow div:last-child { border-radius: 0 16px 16px 0; }
.service-flow b { display: block; }
.service-flow span { color: var(--muted); font-size: 13px; }
.service-flow div:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -11px; top: 28px; color: var(--teal); font-weight: 900; }
.advisor-package { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; padding: 34px; border-radius: 24px; color: #fff; background: var(--navy); }
.advisor-package h2 { margin-top: 0; }
.advisor-package p { color: #bfd0d7; }
.advisor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.advisor-list div { padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(255,255,255,.06); font-size: 13px; }

.workspace-shell { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 72px); background: #f4f7f8; }
.workspace-side { padding: 26px 18px; color: #d7e6ea; background: var(--navy); }
.student-chip { margin-bottom: 22px; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.06); }
.student-chip small { display: block; color: #93b5bd; }
.student-chip span { display: block; margin-top: 5px; color: #8db0b8; font-size: 11px; }
.workspace-menu { display: grid; gap: 5px; }
.workspace-menu button { padding: 11px 12px; border: 0; border-radius: 9px; color: #bad0d5; background: transparent; text-align: left; cursor: pointer; }
.workspace-menu button.active { color: #fff; background: rgba(117,214,195,.15); }
.workspace-main { padding: 32px; }
.workspace-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.workspace-head h1 { margin: 0; font-size: 28px; }
.workspace-head p { margin: 3px 0 0; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.dash-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.dash-card h2 { margin: 0 0 14px; font-size: 17px; }
.ai-card { color: #fff; background: linear-gradient(130deg, var(--navy-2), #116d6a); }
.ai-card p { color: #c8e0e3; }
.dash-input { display: flex; gap: 8px; padding: 6px; border-radius: 12px; background: #fff; }
.dash-input input { min-width: 0; flex: 1; padding: 9px; border: 0; outline: 0; }
.dash-input button { padding: 9px 13px; border: 0; border-radius: 9px; color: #fff; background: var(--teal); }
.profile-progress { height: 7px; margin: 12px 0; overflow: hidden; border-radius: 999px; background: #e8eeee; }
.profile-progress b { display: block; width: 72%; height: 100%; background: var(--teal); }
.status-list { display: grid; gap: 10px; }
.status-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.status-item:last-child { border: 0; }
.status-label { padding: 3px 7px; border-radius: 999px; color: var(--teal-dark); background: var(--mint); font-size: 11px; font-weight: 800; }
.status-label.pending { color: #9b641d; background: #fff0d8; }
.advisor-dash { display: flex; gap: 14px; align-items: center; }
.advisor-dash img { width: 74px; height: 74px; object-fit: contain; object-position: bottom; border-radius: 14px; background: #eef3f3; }
.advisor-dash p { margin: 4px 0 10px; color: var(--muted); font-size: 13px; }
.growth-years { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.year-node { position: relative; padding: 15px 10px; border: 1px solid var(--line); border-radius: 12px; background: #f6f8f9; text-align: center; }
.year-node b, .year-node span { display: block; }
.year-node span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.year-node.done { border-color: #cce6df; background: var(--mint-soft); }
.year-node.current { color: #fff; border-color: var(--teal); background: var(--teal); }
.year-node.current span { color: #dff4ee; }

.site-footer { padding: 50px 0 24px; color: #acc2c9; background: #092331; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 34px; }
.footer-brand { color: #fff; font-size: 22px; font-weight: 900; }
.footer-grid h4 { margin: 0 0 12px; color: #fff; }
.footer-grid a, .footer-grid p { display: block; margin: 7px 0; color: #acc2c9; font-size: 13px; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(5,24,34,.58); }
.modal.open { display: grid; }
.modal-card { width: min(460px, 100%); padding: 28px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.modal-card h2 { margin: 0 0 8px; }
.modal-card p { margin: 0 0 20px; color: var(--muted); }
.modal-card input { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.assessment-modal-points { display: grid; gap: 8px; padding: 14px; border-radius: 12px; color: #47645f; background: var(--mint-soft); font-size: 13px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .desktop-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 18px 20px 24px; background: #fff; box-shadow: var(--soft-shadow); }
  .desktop-nav.open { display: grid; }
  .menu-button { display: block; }
  .hero-grid, .split, .human-grid, .page-hero-grid, .advisor-package { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .proof-grid, .steps, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .assessment-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-panel { grid-template-columns: 1fr; }
  .report-layout { grid-template-columns: 1fr; }
  .report-nav { position: static; display: flex; gap: 5px; overflow-x: auto; }
  .report-nav b { display: none; }
  .report-nav a { white-space: nowrap; }
  .workspace-shell { grid-template-columns: 1fr; }
  .workspace-side { padding: 12px 16px; }
  .student-chip { display: none; }
  .workspace-menu { display: flex; overflow-x: auto; }
  .workspace-menu button { white-space: nowrap; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-wrap, .container { width: min(100% - 28px, 1180px); }
  .brand-note { display: none; }
  .section { padding: 62px 0; }
  .hero { padding: 46px 0 54px; }
  .hero h1 { font-size: 41px; }
  .ask-panel { padding: 19px; border-radius: 20px; }
  .proof-grid, .steps, .pricing-grid, .team-grid, .method-grid, .boundary-grid, .teacher-mini-grid, .info-grid, .advisor-list, .assessment-grid, .stage-outcomes { grid-template-columns: 1fr; }
  .stage-choice { grid-template-columns: 1fr; }
  .stage-choice button { display: grid; grid-template-columns: 60px 1fr; align-items: center; }
  .stage-panel { padding: 24px; }
  .continuity-line { align-items: stretch; flex-direction: column; }
  .continuity-line i { width: 1px; min-height: 16px; margin-left: 28px; }
  .teacher-mini-grid { grid-template-columns: repeat(3, 1fr); }
  .teacher-mini img { height: 124px; }
  .teacher-mini div { padding: 10px; }
  .teacher-mini span { display: none; }
  .service-flow { grid-template-columns: 1fr; gap: 8px; }
  .service-flow div, .service-flow div:first-child, .service-flow div:last-child { border-radius: 12px; }
  .service-flow div:not(:last-child)::after { display: none; }
  .task-line { grid-template-columns: 70px 1fr; }
  .task-line > :last-child { grid-column: 2; }
  .comparison { min-width: 700px; }
  .table-scroll { overflow-x: auto; }
  .workspace-main { padding: 22px 14px; }
  .workspace-head { align-items: flex-start; }
  .workspace-head .primary-button { padding-inline: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 现有功能的兼容样式：保留功能扩展，视觉基准采用产品原型 v2.0。 */
:root {
  --brand: var(--teal);
  --brand-ink: var(--navy);
  --brand-tint: var(--mint);
  --brand-tint-2: var(--mint-soft);
  --canvas-deep: #e7eff0;
  --ink-2: #35515e;
  --muted-2: #78909a;
  --line-strong: #c6d7db;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --nav-h: 72px;
  --shadow-sm: var(--soft-shadow);
  --shadow-md: var(--shadow);
  --shadow-lg: 0 26px 70px rgba(13, 43, 62, .16);
  --shadow-brand: 0 10px 22px rgba(11, 143, 130, .22);
  --red: #b84747;
}
/* ---------- 建档表单 ---------- */
.workspace-onboarding { max-width: 780px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-md); }
.workspace-onboarding h1 { margin: 10px 0 12px; font-size: 34px; letter-spacing: -.03em; font-weight: 800; }
.workspace-onboarding > p { margin: 0 0 28px; color: var(--muted); }
.profile-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.profile-form label { display: grid; gap: 8px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.profile-form input, .profile-form select, .profile-form textarea { width: 100%; padding: 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); background: #fff; font: inherit; font-weight: 500; transition: border-color .15s ease, box-shadow .15s ease; }
.profile-form input:focus, .profile-form select:focus, .profile-form textarea:focus { border-color: rgba(10,143,130,.55); box-shadow: 0 0 0 4px rgba(10,143,130,.12); outline: 0; }
.profile-form textarea { min-height: 104px; resize: vertical; }
.profile-form-wide { grid-column: 1 / -1; }
.profile-form-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--brand-ink); font-size: 13.5px; }
.workspace-view { animation: rise .22s ease; }
.dashboard-answer { min-height: 0; margin: 14px 0 0; color: #d5eff0 !important; font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; }
.text-button { margin-top: 14px; padding: 0; border: 0; color: var(--brand-ink); background: transparent; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: color .15s ease; }
.text-button:hover { text-decoration: underline; }

/* ---------- AI 顾问对话 ---------- */
.advisor-chat-card { max-width: 880px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.advisor-chat-history { display: grid; gap: 14px; min-height: 280px; max-height: 500px; padding: 26px; overflow-y: auto; background: var(--canvas); }
.advisor-chat-history p { max-width: 82%; margin: 0; padding: 13px 16px; border-radius: 18px; line-height: 1.7; white-space: pre-wrap; }
.advisor-chat-history > p:first-child, .chat-assistant { justify-self: start; color: var(--ink-2); background: #fff; box-shadow: var(--shadow-sm); }
.chat-user { justify-self: end; color: #fff; background: var(--brand); border-bottom-right-radius: 6px; }
.chat-assistant { border-bottom-left-radius: 6px; }
/* 小培对话行：头像 + 气泡 */
.chat-row { display: flex; align-items: flex-start; gap: 10px; justify-self: start; max-width: 100%; }
.chat-avatar { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(140deg, #1a9b8a 0%, #127c6e 100%); font-size: 14px; font-weight: 800; box-shadow: var(--shadow-brand); margin-top: 2px; }
.chat-row .chat-assistant { max-width: calc(100% - 44px); }
.advisor-compose { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px; border-top: 1px solid var(--line); background: #fff; }
.advisor-compose textarea { min-height: 82px; padding: 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); resize: vertical; font: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.advisor-compose textarea:focus { border-color: rgba(10,143,130,.55); box-shadow: 0 0 0 4px rgba(10,143,130,.12); outline: 0; }

/* ---------- 测评记录 ---------- */
.assessment-history { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.assessment-record { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); padding-bottom: 56px; transition: transform .18s ease, box-shadow .18s ease; }
.assessment-record:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.assessment-record > div { display: grid; gap: 4px; padding-right: 72px; }
.assessment-record b { font-size: 16px; }
.assessment-record span { color: var(--muted); font-size: 12.5px; }
.assessment-record strong { position: absolute; top: 22px; right: 22px; color: var(--brand-ink); font-size: 19px; font-weight: 800; }
.assessment-record p, .empty-state { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.empty-state { padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: #fff; }
.empty-state-action { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 38px 24px; }
.empty-state-action b { color: var(--ink); font-size: 16px; }
.empty-state-action span { color: var(--muted); font-size: 13.5px; max-width: 340px; }
.empty-icon { margin-bottom: 6px; }

/* ---------- 测评弹窗 ---------- */
.assessment-dialog { width: min(540px, 100%); max-height: 92vh; overflow-y: auto; }
.assessment-progress { margin: 20px 0 12px; color: var(--brand-ink); font-size: 13px; font-weight: 800; }
.assessment-dim { display: inline-block; margin-bottom: 14px; padding: 5px 11px; border-radius: var(--radius-pill); color: var(--ink-2); background: var(--canvas); font-size: 12px; font-weight: 700; }
.assessment-question h3 { margin: 0 0 16px; font-size: 18px; line-height: 1.55; }
.assessment-options { display: grid; gap: 9px; }
.assessment-options button { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-2); background: #fff; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .1s ease, box-shadow .15s ease; }
.assessment-options button:hover { border-color: rgba(10,143,130,.5); transform: translateX(2px); }
.assessment-options button.selected { color: var(--brand-ink); border-color: var(--brand); background: var(--brand-tint-2); box-shadow: inset 0 0 0 1px var(--brand); }
.assessment-bar { height: 6px; margin: -4px 0 18px; overflow: hidden; border-radius: var(--radius-pill); background: var(--canvas-deep); }
.assessment-bar-fill { display: block; width: 0%; height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--brand), #1ab5a3); transition: width .45s cubic-bezier(.22, .8, .3, 1); }
.assessment-bar-fill.animate { width: 4%; }
.calc-form { display: grid; gap: 14px; }
.calc-field { display: grid; gap: 7px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.calc-field select { width: 100%; padding: 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); background: #fff; font: inherit; font-weight: 500; }
.calc-note { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.assessment-hint { margin-top: 14px; color: var(--muted-2); font-size: 11.5px; text-align: center; }
@media (max-width: 640px) { .assessment-hint { display: none; } }
.assessment-resume { margin-top: 12px; padding: 9px 13px; border: 1px solid rgba(10, 143, 130, .25); border-radius: var(--radius); color: var(--brand-ink); background: var(--brand-tint-2); font-size: 12.5px; font-weight: 700; text-align: center; }
.assessment-intro { display: grid; gap: 12px; margin: 18px 0 10px; }
.assessment-intro h3 { margin: 0; font-size: 18px; line-height: 1.55; }
.intro-stage { display: inline-block; width: max-content; margin: 0; padding: 6px 12px; border-radius: var(--radius-pill); color: var(--brand-ink); background: var(--brand-tint-2); font-size: 12.5px; font-weight: 800; }
.intro-points { display: grid; gap: 8px; margin: 4px 0 0; padding-left: 19px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- 记录操作区 ---------- */
.record-actions { display: flex; gap: 7px; position: absolute; right: 22px; bottom: 20px; }
.record-copy { padding: 6px 11px; border: 1px solid rgba(10, 143, 130, .3); border-radius: 9px; color: var(--brand-ink); background: var(--brand-tint-2); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.record-copy:hover { background: var(--brand-tint); border-color: rgba(10,143,130,.5); }
.record-delete { padding: 6px 11px; border: 1px solid rgba(215, 0, 21, .3); border-radius: 9px; color: var(--red); background: #fff7f6; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.record-delete:hover { background: #fdeae8; border-color: rgba(215,0,21,.5); }
.record-retake { padding: 6px 11px; border: 1px solid rgba(10, 143, 130, .3); border-radius: 9px; color: var(--brand-ink); background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.record-retake:hover { background: var(--brand-tint-2); border-color: rgba(10,143,130,.5); }
.record-details { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; padding-right: 0 !important; }
.record-detail-chip { padding: 5px 10px; border-radius: var(--radius-pill); color: var(--ink-2); background: var(--canvas); font-size: 11.5px; font-weight: 700; }
.record-spark { margin-top: 12px; padding: 7px 11px; border-radius: var(--radius); background: var(--canvas); display: inline-block; }
.sparkline { display: block; }

/* ---------- 最近测评 ---------- */
.recent-score { align-items: center; }
.recent-score-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 88px; }
.recent-score-right b { color: var(--brand-ink); font-size: 13.5px; }
.recent-score-bar { display: block; width: 88px; height: 5px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--brand), #1ab5a3); }

/* ---------- 趋势徽标 ---------- */
.trend-badge { flex: 0 0 auto; padding: 3px 8px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 800; }
.trend-badge.up { color: #0f7a4d; background: #e0f4e9; }
.trend-badge.down { color: var(--red); background: #fdeae8; }
.trend-badge.flat { color: var(--muted); background: var(--canvas); }

/* ---------- 对话富文本 ---------- */
.chat-typing { opacity: .75; font-style: italic; position: relative; padding-right: 22px; }
.chat-typing::after { content: ""; position: absolute; right: 6px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: currentColor; animation: typingBlink 1s ease-in-out infinite; box-shadow: -9px 0 0 currentColor, -18px 0 0 currentColor; }
@keyframes typingBlink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-rich { max-width: 88%; }
.chat-section { display: block; margin: 10px 0 4px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.chat-section:first-child { margin-top: 0; }
.chat-para { margin: 6px 0 !important; }
.chat-list { margin: 6px 0 !important; padding-left: 18px; }
.chat-list li { margin: 3px 0; }
.chat-followups { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; justify-self: start; margin: 0; padding: 4px 0; max-width: 88%; }
.chat-followups span { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.chat-followups button { padding: 6px 11px; border: 1px solid rgba(10, 143, 130, .3); border-radius: var(--radius-pill); color: var(--brand-ink); background: #fff; font-size: 12.5px; cursor: pointer; transition: all .15s ease; }
.chat-followups button:hover { background: var(--brand-tint-2); border-color: rgba(10,143,130,.5); }

/* ---------- 测评工具覆盖 / 任务清单 ---------- */
.tool-coverage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cov-chip { padding: 9px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); background: #fff; font-size: 11.5px; font-weight: 700; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.cov-chip:hover:not(:disabled) { border-color: rgba(10,143,130,.5); color: var(--brand-ink); }
.cov-chip.done { color: #0f7a4d; background: #e0f4e9; border-color: #bfe6d2; cursor: default; }
.coverage-note { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }
.task-counter { float: right; color: var(--brand-ink); font-size: 12px; font-weight: 800; }
.task-list { display: grid; gap: 9px; margin-top: 14px; }
.task-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 13.5px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.task-item:hover { border-color: rgba(10,143,130,.4); }
.task-item input { margin-top: 2px; accent-color: var(--brand); cursor: pointer; }
.task-item span { line-height: 1.55; }
.task-item.done span { color: var(--muted); text-decoration: line-through; }
.task-item.done { background: var(--brand-tint-2); border-color: rgba(10,143,130,.2); }

/* ---------- 档案完成清单 ---------- */
.profile-checklist { display: grid; gap: 7px; margin: 16px 0 6px; }
.checklist-item { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: 13px; background: #fff; }
.checklist-item i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); color: #fff; font-size: 10px; font-style: normal; font-weight: 900; }
.checklist-item.done { color: var(--ink); background: var(--brand-tint-2); border-color: rgba(10,143,130,.2); }
.checklist-item.done i { border-color: var(--brand); background: var(--brand); }

/* ---------- 报告：测评摘要条 ---------- */
.report-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.report-summary .sum-box { padding: 14px 16px; border: 1px solid rgba(10, 143, 130, .22); border-radius: var(--radius); background: var(--brand-tint-2); }
.report-summary .sum-box small { display: block; color: var(--muted); font-size: 12px; }
.report-summary .sum-box b { display: block; margin-top: 4px; color: var(--brand-ink); font-size: 17px; }

/* ---------- 单条测评报告弹窗 ---------- */
.record-dialog { width: min(540px, 100%); max-height: 88vh; overflow-y: auto; }
.record-report-score { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 18px; }
.record-report-score span { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--brand); }
.record-report-score small { color: var(--muted); font-size: 12.5px; }
.record-report-dims { display: grid; gap: 12px; margin: 6px 0 18px; }
.rr-dim { display: grid; grid-template-columns: 78px 1fr 46px; gap: 10px; align-items: center; font-size: 13.5px; }
.rr-dim > span { color: var(--ink); font-weight: 700; }
.rr-dim > em { color: var(--muted); font-style: normal; font-size: 12px; text-align: right; }
.rr-bar { display: block; height: 8px; border-radius: var(--radius-pill); background: var(--canvas-deep); overflow: hidden; }
.rr-bar b { display: block; height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--brand), #1ab5a3); }
.record-report-summary { margin: 0 0 20px; color: var(--ink-2); font-size: 14px; line-height: 1.8; white-space: pre-wrap; }
.record-report-actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* ---------- 常用小组件 ---------- */
.demo-badge { position: fixed; z-index: 70; right: 18px; bottom: 18px; padding: 9px 15px; border-radius: var(--radius-pill); color: #7a5416; background: #ffefc9; box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 800; }
.toast-container { position: fixed; z-index: 120; top: calc(var(--nav-h) + 24px); left: 50%; transform: translateX(-50%); display: grid; gap: 9px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { padding: 13px 18px; border-radius: var(--radius); color: #fff; background: var(--ink); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 700; opacity: 0; transform: translateY(-12px) scale(.97); transition: opacity .3s ease, transform .3s ease; text-align: center; }
.toast.show { opacity: 1; transform: none; }
.toast-error { background: var(--red); }
.toast-info { background: #46464a; }
.back-to-top { position: fixed; z-index: 65; right: 20px; bottom: 20px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #fff; background: var(--ink); font-size: 17px; font-weight: 800; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background .15s ease; }
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--brand); }
..
/* ---------- 全站搜索弹窗 ---------- */
................

/* ---------- 推荐条 ---------- */
.recommend-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; padding: 20px 22px; border: 1px solid rgba(10, 143, 130, .22); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--brand-tint-2), #f6fcfa); }
.recommend-tag { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); font-size: 20px; }
.recommend-strip > div:not(.recommend-actions) { min-width: 0; flex: 1 1 260px; }
.recommend-strip b { display: block; color: var(--ink); font-size: 15.5px; }
.recommend-strip p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.recommend-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.secondary-button.small { min-height: 38px; padding: 8px 14px; font-size: 13px; }

/* ---------- 筛选 / 搜索 / 排序 ---------- */
.history-filter { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 20px; }
.history-filter span { color: var(--muted); font-size: 13px; font-weight: 700; }
.history-filter button { padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--muted); background: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .15s ease; }
.history-filter button.active { color: #fff; border-color: var(--brand); background: var(--brand); box-shadow: var(--shadow-brand); }
.history-filter button:not(.active):hover { border-color: rgba(10,143,130,.5); color: var(--brand-ink); }
.assessment-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.assessment-search { position: relative; display: flex; align-items: center; gap: 8px; width: min(320px, 100%); padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.assessment-search span { color: var(--muted); font-size: 14px; }
.assessment-search input { min-width: 0; flex: 1; padding: 12px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 14px; }
.assessment-search:focus-within { border-color: rgba(10,143,130,.55); box-shadow: 0 0 0 4px rgba(10,143,130,.12); }
.assessment-filter-row .assessment-filter { margin-bottom: 0; }
.assessment-sort { padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); color: var(--ink); background: #fff; font: inherit; font-size: 13px; cursor: pointer; }

/* ---------- AI 顾问快捷建议 ---------- */
.advisor-prompts { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding: 12px 18px 0; }
.advisor-prompts span { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.advisor-prompts button { padding: 6px 11px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-2); background: #fff; font-size: 12.5px; cursor: pointer; transition: all .15s ease; }
.advisor-prompts button:hover { color: var(--brand-ink); border-color: rgba(10,143,130,.5); background: var(--brand-tint-2); }
.advisor-prompts:empty { display: none; }
.advisor-head-actions { display: flex; align-items: center; gap: 12px; }
.advisor-head-actions .text-button { margin-top: 0; }

/* ---------- 欢迎提示 / 欢迎条 ---------- */
.welcome-tip { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; padding: 16px 18px; border: 1px solid rgba(10, 143, 130, .2); border-radius: var(--radius); background: var(--brand-tint-2); }
.tip-icon { flex: 0 0 auto; font-size: 20px; }
.welcome-tip b { display: block; color: var(--ink); font-size: 14.5px; }
.welcome-tip p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.tip-close { flex: 0 0 auto; margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 17px; line-height: 1; cursor: pointer; transition: background .15s ease, color .15s ease; }
.tip-close:hover { background: rgba(10,143,130,.12); color: var(--brand-ink); }
.welcome-strip:not([hidden]) { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.welcome-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: linear-gradient(140deg, #1a9b8a 0%, #127c6e 100%); font-weight: 800; box-shadow: var(--shadow-brand); }
.welcome-text { min-width: 0; flex: 1; }
.welcome-text b { display: block; color: #fff; font-size: 15.5px; }
.welcome-text span { display: block; margin-top: 3px; color: #bcd2d7; font-size: 12.5px; }
.welcome-link { flex: 0 0 auto; color: #6fd8c6; font-size: 13.5px; font-weight: 800; }
.welcome-link:hover { text-decoration: underline; }

/* ---------- FAQ / 三步 ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 13px; margin-top: 44px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: rgba(10,143,130,.4); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--brand-ink); background: var(--brand-tint); font-style: normal; font-weight: 900; transition: transform .2s ease; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.how-card { position: relative; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.how-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.how-step { position: absolute; top: 20px; right: 22px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--brand); font-weight: 800; box-shadow: var(--shadow-brand); }
.how-card b { display: block; margin-top: 6px; font-size: 17px; letter-spacing: -.01em; }
.how-card p { margin: 9px 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.how-card .text-link { font-size: 13.5px; }

/* ---------- 政策弹窗 ---------- */
.policy-dialog { width: min(560px, 100%); max-height: 84vh; display: flex; flex-direction: column; }
.policy-body { overflow-y: auto; padding-right: 6px; color: var(--ink); font-size: 14.5px; line-height: 1.85; }
.policy-body p { margin: 10px 0; }
.policy-body ul { margin: 10px 0; padding-left: 20px; }
.policy-body li { margin: 6px 0; }
.policy-dialog .modal-actions { margin-top: 22px; flex-shrink: 0; }
.policy-dialog .policy-body + .modal-actions { margin-top: 16px; }
.policy-dialog p:first-child { margin-top: 0; }
.policy-dialog > p { margin: 0 0 16px; }

/* ---------- 表单校验 ---------- */
.profile-form :user-invalid,
.modal-card :user-invalid,
.advisor-compose :user-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 4px rgba(215, 0, 21, .12); }
form.invalid-submit input:invalid,
form.invalid-submit select:invalid,
form.invalid-submit textarea:invalid { border-color: var(--red) !important; box-shadow: 0 0 0 4px rgba(215, 0, 21, .12); }
.form-error-text { margin-top: 6px; color: var(--red); font-size: 12px; font-weight: 700; }
form.invalid-submit { animation: formShake .32s ease; }
@keyframes formShake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.profile-form input[aria-invalid="true"], .profile-form select[aria-invalid="true"], .profile-form textarea[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 0, 21, .1); }

/* ---------- 骨架屏 ---------- */
.workspace-loading { display: grid; gap: 18px; }
.skeleton-card { height: 140px; border-radius: var(--radius-lg); background: linear-gradient(100deg, #eceef0 40%, #f6f7f8 50%, #eceef0 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.skeleton-line { height: 14px; border-radius: 8px; background: linear-gradient(100deg, #eceef0 40%, #f6f7f8 50%, #eceef0 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.skeleton-line.short { width: 60%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- 报告打印按钮 / 路线比较交互 ---------- */
.report-print { margin-left: auto; flex-shrink: 0; }
.route-hint { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.route-compare tbody tr { cursor: pointer; transition: background .18s ease; }
.route-compare tbody tr:hover { background: var(--brand-tint-2); }
.route-compare tbody tr.active { background: var(--brand-tint); }
.route-compare tbody tr.active td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.route-compare tbody tr:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

/* ---------- 活动日历（测评热力格） ---------- */
.activity-calendar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 16px 0 6px; }
.cal-cell { aspect-ratio: 1; border-radius: 3px; background: var(--canvas-deep); }
.cal-cell.level-1 { background: #b8e6d8; }
.cal-cell.level-2 { background: #6ecdb6; }
.cal-cell.level-3 { background: #2fae95; }
.cal-cell.level-4 { background: var(--brand); }
.cal-legend { display: flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--canvas-deep); }
.cal-legend i.level-1 { background: #b8e6d8; }
.cal-legend i.level-2 { background: #6ecdb6; }
.cal-legend i.level-3 { background: #2fae95; }

/* ---------- 测评卡阶段匹配徽标 ---------- */
.fit-badge { position: absolute; top: 26px; right: 24px; padding: 5px 9px; border-radius: var(--radius-pill); color: #0f7a4d; background: #e0f4e9; font-size: 11px; font-weight: 800; }

/* ---------- 彩带 ---------- */
.confetti { position: fixed; z-index: 200; top: -12px; width: 9px; height: 14px; border-radius: 2px; opacity: 0; pointer-events: none; animation-name: confettiFall; animation-timing-function: ease-in; animation-fill-mode: forwards; }
@keyframes confettiFall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; transform: translateY(105vh) rotate(680deg); }
}

/* ---------- 档案数据导出说明 / Hero 漂浮装饰 ---------- */
.profile-data-note { margin: 18px 0 0; color: var(--muted); font-size: 12.5px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 细滚动条 ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c7ccd1; border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #a8aeb4; background-clip: content-box; border: 2px solid transparent; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .skeleton-card, .skeleton-line { animation: none; }
  .confetti { display: none; }
}

/* ---------- 打印：报告示例可直接打印 ---------- */
@media print {
  .site-header, .site-footer, .demo-badge, .modal, .report-nav, .toast-container, .back-to-top, .answer-preview, .ask-panel, .  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: none; }
  .page { display: none !important; }
  .page.active { display: block !important; }
  .report-layout { display: block; }
  .report-section { break-inside: avoid; border: 1px solid #ddd; box-shadow: none; padding: 18px; }
  .demo-notice, .context-card { break-inside: avoid; }
  .page-hero { padding: 20px 0; border: 0; }
  .page-hero h1 { font-size: 26px; }
  .report-print { display: none !important; }
  .table-scroll { overflow: visible; max-width: 100%; }
  .comparison { min-width: 0; width: 100%; font-size: 12.5px; }
}

/* ---------- 工具指令组件（问卷/对比/清单/时间线） ---------- */
.chat-tool { margin: 12px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.chat-tool-title { display: block; margin-bottom: 10px; font-size: 13px; color: var(--ink-2); }
.chat-tool-options { display: flex; flex-wrap: wrap; gap: 7px; }
.chat-tool-options button { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); color: var(--ink); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.chat-tool-options button:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-tint-2); transform: translateY(-1px); }
.chat-compare { display: grid; gap: 6px; }
.chat-compare-row { display: flex; gap: 8px; font-size: 13px; }
.chat-compare-label { flex: 0 0 auto; font-weight: 700; min-width: 70px; color: var(--ink-2); }
.chat-compare-cell { color: var(--ink); }
.chat-check-list { display: grid; gap: 7px; }
.chat-check { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-size: 13px; transition: all .15s ease; }
.chat-check:hover { border-color: rgba(10,143,130,.4); }
.chat-check input { accent-color: var(--brand); }
.chat-check input:checked + span { color: var(--muted); text-decoration: line-through; }
.chat-timeline { display: grid; gap: 10px; }
.chat-timeline-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.chat-timeline-item:last-child { border: 0; }
.chat-timeline-item b { flex: 0 0 auto; color: var(--brand-ink); font-size: 13px; white-space: nowrap; }
.chat-timeline-item span { color: var(--ink-2); font-size: 13px; }





/* ---------- 智能下一步建议卡 ---------- */
.smart-next { margin-top: 16px; padding: 14px; border-radius: var(--radius-lg); background: var(--canvas-deep); border: 1px solid var(--line); }
.smart-next-title { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.smart-next-list { display: grid; gap: 8px; }
.smart-next-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  color: var(--ink); text-align: left; cursor: pointer; transition: all .15s ease;
}
.smart-next-item:hover { border-color: var(--brand); background: var(--brand-tint-2); transform: translateY(-1px); }
.smart-next-item:active { transform: translateY(0); }
.smart-next-icon { font-size: 18px; flex: none; }
.smart-next-item b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.smart-next-item small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ---------- 知识库参考来源 ---------- */
.kb-sources { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--brand-tint-2); border: 1px solid rgba(26,181,163,.25); }
.kb-sources-title { display: block; font-size: 11.5px; font-weight: 700; color: var(--brand-ink); margin-bottom: 6px; letter-spacing: .04em; }
.kb-sources ul { margin: 0; padding: 0; list-style: none; }
.kb-sources li { position: relative; padding-left: 14px; margin: 4px 0; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.kb-sources li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
..kb-stats span { font-size: 13px; color: var(--ink-2); }
.kb-stats b { color: var(--brand-ink); font-size: 17px; }
.kb-stats .kb-stats-note { margin-left: auto; font-size: 12px; color: var(--muted); }
.kb-.kb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.kb-chips-label { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 4px; letter-spacing: .04em; }
.kb-chip { border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink-2); border-radius: var(--radius-pill); padding: 6px 13px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.kb-chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.kb-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.kb-hint { color: var(--muted); font-size: 13.5px; line-height: 1.7; max-width: 560px; }
.kb-loading { color: var(--muted); font-size: 13.5px; }
.kb-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.kb-card { padding: 16px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); cursor: pointer; transition: all .15s ease; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.kb-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.kb-card-head { display: flex; align-items: center; gap: 8px; }
.kb-card-cat { font-size: 11px; font-weight: 700; color: var(--brand-ink); background: var(--brand-tint-2); padding: 3px 9px; border-radius: var(--radius-pill); }
.kb-card-rev { font-size: 10.5px; color: var(--muted); }
.kb-card h3 { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.kb-card p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kb-card-meta { margin-top: auto; font-size: 11px; color: var(--muted); padding-top: 6px; border-top: 1px dashed var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }






/* ---------- AI 在线客服悬浮 Widget ---------- */
.support-launcher {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #1ab5a3, var(--brand-deep));
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(10, 143, 130, .38), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: supportPulse 3s ease-in-out infinite;
}
@keyframes supportPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(10,143,130,.38), inset 0 1px 0 rgba(255,255,255,.22); }
  50% { box-shadow: 0 14px 36px rgba(10,143,130,.5), inset 0 1px 0 rgba(255,255,255,.22); }
}
.support-launcher:hover { transform: translateY(-3px) scale(1.05); }
.support-launcher.active { animation: none; transform: rotate(90deg); }
.support-launcher .support-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 0 2px var(--canvas);
}
.support-panel {
  position: fixed;
  right: 20px;
  bottom: 150px;
  z-index: 91;
  width: min(380px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 190px));
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: 0 28px 64px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(14px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  overflow: hidden;
}
.support-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.support-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: #fff;
  background: linear-gradient(135deg, #101418 0%, #0d3a35 100%);
}
.support-head .support-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(140deg, #1ab5a3, var(--brand-deep));
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(15,179,162,.35);
}
.support-head b { display: block; color: #fff; font-size: 15px; }
.support-head small { display: block; color: #a9c2c7; font-size: 11.5px; margin-top: 2px; }
.support-head small.online::before { content: "●"; color: #34d399; margin-right: 4px; font-size: 9px; vertical-align: 1px; }
.support-close { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #c7dde0; background: rgba(255,255,255,.08); font-size: 16px; cursor: pointer; transition: all .15s ease; }
.support-close:hover { color: #fff; background: rgba(255,255,255,.16); }
.support-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.support-chat {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
  background: var(--canvas);
}
.support-chat .chat-user, .support-chat .chat-assistant {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.support-chat .chat-user { justify-self: end; border-bottom-right-radius: 6px; }
.support-chat .chat-assistant { justify-self: start; border-bottom-left-radius: 6px; }
.support-chat .chat-rich { max-width: 86%; justify-self: start; }
.support-chat .chat-rich .chat-para { margin: 4px 0 !important; font-size: 13.5px; }
.support-chat .chat-tool { padding: 12px; }
.support-chat .chat-tool-title { font-size: 11.5px; }
.support-chat .chat-tool-options button { font-size: 12px; padding: 7px 12px; }
.support-chat .kb-sources { padding: 8px 10px; }
.support-chat .kb-sources li { font-size: 11.5px; }
.support-chat .chat-followups { max-width: 86%; justify-self: start; }
.support-chat .chat-followups button { font-size: 12px; padding: 5px 10px; }
.support-quick {
  display: flex;
  gap: 7px;
  padding: 10px 12px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: var(--paper);
  scrollbar-width: thin;
}
.support-quick button {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  background: var(--paper);
  font-size: 12px;
  cursor: pointer;
  transition: all .15s ease;
}
.support-quick button:hover { border-color: rgba(10,143,130,.5); color: var(--brand-ink); background: var(--brand-tint-2); }
.support-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.support-input-row input {
  min-width: 0;
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  outline: 0;
  color: var(--ink);
  background: var(--canvas);
  font: inherit;
  font-size: 13.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.support-input-row input:focus { border-color: rgba(10,143,130,.55); box-shadow: 0 0 0 3px rgba(10,143,130,.12); background: var(--paper); }
.support-input-row button {
  flex: none;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  background: linear-gradient(140deg, #1ab5a3, var(--brand-deep));
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(10,143,130,.3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.support-input-row button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(10,143,130,.36); }
.support-input-row button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.support-login-hint { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--brand-tint-2); font-size: 12.5px; color: var(--brand-ink); }
.support-login-hint button { margin-left: auto; padding: 6px 14px; border: 0; border-radius: var(--radius-pill); color: #fff; background: var(--brand); font-size: 12.5px; font-weight: 700; cursor: pointer; }
@media (max-width: 640px) {
  .support-panel { right: 8px; bottom: 140px; width: calc(100vw - 16px); }
  .support-launcher { right: 14px; bottom: 74px; }
}

/* =====================================================================
   Sprint 3 · 成长档案 V2 + 成长时间线（PX-P3 前端）
   沿用既有 CSS 变量与组件类，不引入新的 UI 框架。
   ===================================================================== */
/* 发现的历史缺失规则：index.html/app.js 全程用 .hidden-view 切换工作台视图，
   但 styles.css 里从未定义它（生产 styles.css 与本仓库 HEAD 字节一致，同样缺失）。
   工作台视图切换、加载骨架隐藏都依赖它；补上后各视图才会真正互斥显示。 */
.hidden-view { display: none !important; }
/* 移动端：grid/flex 子项默认 min-width:auto，会被横向菜单/长文本撑破工作台。 */
.workspace-shell > * { min-width: 0; }
.workspace-menu { min-width: 0; }
/* 测评热力图：aspect-ratio 单元格在 1fr 轨道下会把 min-content 撑到 1000px+，
   改用 minmax(0,1fr) 让轨道可收缩（桌面视觉不变）。 */
.activity-calendar { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.growth-overview { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; margin-bottom: 18px; }
.growth-overview-top { display: flex; align-items: center; gap: 20px; }
.growth-percent { font-size: 40px; font-weight: 900; color: var(--brand); line-height: 1; letter-spacing: -.03em; }
.growth-overview-progress { flex: 1; min-width: 0; }
.growth-overview-progress > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.growth-overview-progress .profile-progress { margin: 8px 0 0; }
.growth-overview-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.growth-overview-meta small { display: block; color: var(--muted); font-size: 12px; }
.growth-overview-meta b { display: block; margin-top: 2px; font-size: 14px; color: var(--ink); }
.growth-missing { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--brand-tint-2); }
.growth-missing b { font-size: 13px; color: var(--brand-ink); }
.growth-missing ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.growth-complete { margin: 16px 0 0; color: var(--muted); font-size: 13.5px; }
.growth-unavailable { margin: 0 0 18px; padding: 16px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); background: #fff; font-size: 13.5px; }

#profileBasicsCard { margin-bottom: 18px; }
.growth-modules { display: grid; gap: 18px; }
.growth-module { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.growth-module-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.growth-module-head h3 { margin: 0; font-size: 16px; }
.growth-module-meta { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.growth-add { flex: none; }
.growth-list { display: grid; gap: 12px; margin-top: 12px; }
.growth-empty { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.growth-item { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfdfd; }
.growth-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.growth-item-info { min-width: 0; }
.growth-item-info > b { display: block; font-size: 14.5px; color: var(--ink); word-break: break-word; }
.growth-item-meta { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.growth-item-date { flex: none; color: var(--muted); font-size: 12px; white-space: nowrap; }
.growth-item-body { margin: 8px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.growth-item-extra { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--muted); font-size: 12.5px; word-break: break-word; }
.growth-item-details { margin-top: 8px; }
.growth-item-details summary { cursor: pointer; color: var(--brand); font-size: 13px; font-weight: 700; }
.growth-item-details p { margin: 8px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.growth-item-actions { display: flex; gap: 12px; margin-top: 10px; }
.growth-action { padding: 0; border: 0; background: transparent; color: var(--brand); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.growth-action:hover { text-decoration: underline; }
.growth-action.danger { color: var(--red); }

/* 工作台快捷入口 */
.dash-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dash-shortcuts .secondary-button { margin: 0; }

/* 通用增改弹窗 */
.growth-dialog { width: min(600px, 100%); max-height: 88vh; overflow-y: auto; }
.growth-form-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.growth-form label, .growth-field-wide { display: grid; gap: 7px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.growth-field-wide { grid-column: 1 / -1; }
.growth-form input, .growth-form select, .growth-form textarea { width: 100%; padding: 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); background: #fff; font: inherit; font-weight: 500; }
.growth-form input:focus, .growth-form select:focus, .growth-form textarea:focus { border-color: rgba(10,143,130,.55); box-shadow: 0 0 0 4px rgba(10,143,130,.12); outline: 0; }
.growth-form textarea { min-height: 88px; resize: vertical; }
.growth-subscores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.growth-subscore { display: grid; gap: 4px; }
.growth-subscore small { color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; }
.growth-subscore input { text-align: center; }

/* 成长时间线 */
.timeline-filter { margin-bottom: 16px; }
.timeline-list { display: grid; gap: 12px; }
.timeline-status { margin: 0; padding: 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); background: #fff; text-align: center; font-size: 13.5px; }
.timeline-item { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.timeline-date { flex: none; width: 52px; text-align: center; }
.timeline-date b { display: block; font-size: 17px; color: var(--brand); }
.timeline-date small { color: var(--muted); font-size: 11.5px; }
.timeline-body { flex: 1; min-width: 0; }
.timeline-item-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.timeline-item-head b { font-size: 14.5px; color: var(--ink); word-break: break-word; }
.timeline-tag { flex: none; padding: 2px 9px; border-radius: var(--radius-pill); background: var(--brand-tint); color: var(--teal-dark); font-size: 11.5px; font-weight: 800; }
.timeline-tag.tag-assessment_completed { background: #eaf1ff; color: #3558a8; }
.timeline-tag.tag-achievement_added, .timeline-tag.tag-goal_created, .timeline-tag.tag-goal_updated { background: #fff1df; color: #a9681b; }
.timeline-tag.tag-manual_note { background: #f0eaff; color: #6a45b5; }
.timeline-body p { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.timeline-item-actions { margin-top: 8px; }
.timeline-more { display: flex; justify-content: center; margin-top: 16px; }
/* .secondary-button 的 display:inline-flex 会盖掉 UA 的 [hidden]，导致「加载更多」始终可见。 */
#timelineMore[hidden] { display: none !important; }
.timeline-note { margin: 14px 0 0; color: var(--muted); font-size: 12.5px; }

@media (max-width: 640px) {
  .growth-overview-meta { grid-template-columns: 1fr; gap: 10px; }
  .growth-percent { font-size: 32px; }
  .growth-module-head { flex-direction: column; align-items: stretch; }
  .growth-add { width: 100%; }
  .growth-form-fields { grid-template-columns: 1fr; }
  .timeline-item { gap: 10px; padding: 14px; }
  .timeline-date { width: 44px; }
  .dash-shortcuts .secondary-button { flex: 1; }
}

/* ============================================================
   Sprint 4 merge · Premium 视觉层（生产手改回收进 git）
   原生产 Premium 高端化层，合并保留，不覆盖仓库功能样式
   ============================================================ */
/* ============================================================
   v13 · Premium 高端化层
   设计依据：见 design-principles-top30.md（Apple/Linear/Awwwards SOTY 规律）
   - 环境光渐变（Hero/暗色带均匀霓青光晕）
   - 导航毛玻璃 + 吸顶阴影
   - 卡片/面板精致多层阴影与细腻描边
   - 统一 Apple 缓动 + Hover 微交互
   - 滚动渐入 Reveal（.reveal 类，配合 index.html 末尾轻量脚本）
   - 尊重 prefers-reduced-motion
   ============================================================ */

:root {
  --prem-ease: cubic-bezier(.22, .8, .3, 1);
  --prem-ink: #0b2530;          /* 更深的正文主色，提升对比 */
  --prem-glow: rgba(11, 143, 130, .12);
  --prem-glow-2: rgba(11, 143, 130, .07);
  --prem-shadow-card: 0 1px 2px rgba(11,43,62,.04), 0 12px 28px rgba(11,43,62,.10);
  --prem-shadow-card-hover: 0 2px 4px rgba(11,43,62,.05), 0 22px 48px rgba(11,43,62,.16);
  --prem-ring: 0 0 0 4px rgba(11,143,130,.10);
}

/* ---------- 1) 全站动效基点 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .section, .proof-strip, .step-card, .price-card, .method-card,
  .teacher-card, .how-card, .assessment-card, .kb-card, .report-section,
  .service-flow, .advisor-package, .continuity-card, .smart-next-item,
  .assessment-record, .sample-window, .faq-item, .profile-checklist .checklist-item
  { will-change: opacity, transform; }
}

/* ---------- 2) 导航毛玻璃 + 吸顶 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(11,43,62,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px rgba(11,43,62,.05);
  transition: box-shadow .3s var(--prem-ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 34px rgba(11,43,62,.10); }

/* ---------- 3) Hero 环境光渐变 + 底部渐变收口 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 82% -10%, rgba(11,143,130,.16), transparent 58%),
    radial-gradient(720px 440px at -8% 112%, rgba(11,143,130,.10), transparent 55%),
    linear-gradient(180deg, #f4fbFA 0%, #ffffff 100%);
}
/* Hero 顶部的极淡青色网格纹理（科技感，不抢正文） */
@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(11,143,130,.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(11,143,130,.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(1200px 700px at 50% -20%, rgba(0,0,0,.6), transparent 78%);
    mask-image: radial-gradient(1200px 700px at 50% -20%, rgba(0,0,0,.6), transparent 78%);
  }
  .hero > .container { position: relative; z-index: 1; }
}
/* 大标题深色化（提升与柔和背景的对比） */
.hero h1 em { -webkit-text-fill-color: #0b8f82; color: #0b8f82; }
.hero-copy { color: #38545f; }

/* ---------- 4) 面板/卡片 玻璃与精致阴影 ---------- */
.ask-panel {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--prem-shadow-card), 0 0 0 1px rgba(11,143,130,.03);
  transition: box-shadow .3s var(--prem-ease), transform .3s var(--prem-ease);
}
.proof-strip { background: rgba(255,255,255,.65); backdrop-filter: saturate(160%) blur(10px); }

.step-card, .how-card, .method-card, .price-card, .teacher-card, .assessment-card,
.report-section, .kb-card, .assessment-record, .sample-window, .faq-item {
  box-shadow: var(--prem-shadow-card);
}
.step-card, .how-card, .price-card, .teacher-card, .assessment-card, .kb-card, .assessment-record {
  transition: transform .35s var(--prem-ease), box-shadow .35s var(--prem-ease), border-color .2s ease;
  border: 1px solid rgba(11,43,62,.08);
}

/* ---------- 5) Hover 微交互（Apple 缓动） ---------- */
.step-card:hover, .price-card:hover, .teacher-card:hover, .assessment-card:hover,
.kb-card:hover, .assessment-record:hover {
  transform: translateY(-6px);
  box-shadow: var(--prem-shadow-card-hover);
  border-color: rgba(11,143,130,.28);
}
.how-card:hover { transform: translateY(-6px); box-shadow: var(--prem-shadow-card-hover); }
.method-card:hover, .report-section:hover, .sample-window:hover { box-shadow: var(--prem-shadow-card-hover); transform: translateY(-2px); }

.primary-button {
  transition: transform .18s var(--prem-ease), box-shadow .18s var(--prem-ease), background .18s var(--prem-ease);
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11,143,130,.28); }
.primary-button:active { transform: translateY(0) scale(.98); }
.secondary-button { transition: transform .16s var(--prem-ease), box-shadow .16s var(--prem-ease), border-color .16s ease; }
.secondary-button:hover { transform: translateY(-1px); box-shadow: var(--prem-shadow-card); }

/* ---------- 6) 滚动渐入 Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .7s var(--prem-ease), transform .7s var(--prem-ease); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 7) 排版精修 ---------- */
.section-title, h1, h2 { letter-spacing: -.03em; }
.eyebrow { letter-spacing: .1em; }
/* 让小标题更精致 */
.section-intro { color: #38545f; }

/* ---------- 8) 输入框 focus 光环统一 ---------- */
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }
.nav-link:focus-visible, .primary-button:focus-visible, .secondary-button:focus-visible,
a:focus-visible, button:focus-visible { box-shadow: var(--prem-ring); }

/* ---------- 9) 深色带（human-band / continuity / footer）霓青光晕 ---------- */
.human-band, .site-footer {
  background:
    radial-gradient(820px 460px at 90% 0%, rgba(16,148,136,.28), transparent 55%),
    var(--navy);
}
.continuity-card {
  background:
    radial-gradient(600px 320px at 88% 0%, rgba(16,148,136,.30), transparent 60%),
    linear-gradient(120deg, var(--navy), #145f5d);
}

/* ---------- 10) 圆角统一为 Apple 式 ---------- */
.modal-card, .dash-card, .workspace-onboarding, .advisor-chat-card, .recommend-strip {
  border-radius: 20px;
}

/* ============================================================
   v13.2 · Premium 细节二轮（高端编排 / 强调 / 移动端质感）
   ============================================================ */

/* 1) Hero 标题更浑厚的高端字重 + 精密字距 */
.hero h1 { font-weight: 800; letter-spacing: -.055em; }
.hero h1 em { letter-spacing: -.055em; }

/* 2) Section 标题字重增强（有存在感但不笨重） */
.section-title { font-weight: 780; letter-spacing: -.035em; }

/* 3) 锚点滚动留白：吸顶导航下不遮挡区块顶部 */
html { scroll-padding-top: 92px; }
section[id], .page [id] { scroll-margin-top: 92px; }

/* 4) Featured 价格卡 · Apple 式强调（顶部青色细线 + 柔和辉光） */
.price-card.featured {
  position: relative;
  border-color: rgba(11,143,130,.35);
  box-shadow: 0 12px 34px rgba(11,143,130,.16), var(--prem-shadow-card);
  overflow: hidden;
}
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #12a891, #0b8f82, #127c6e);
}
.price-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(11,143,130,.24), var(--prem-shadow-card-hover);
}

/* 5) 卡片顶部细腻高光（Apple 质感分层） */
.step-card, .how-card, .price-card, .teacher-card, .assessment-card,
.assessment-record, .report-section, .sample-window, .kb-card {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), var(--prem-shadow-card);
}
.step-card:hover, .how-card:hover, .price-card:hover, .teacher-card:hover,
.assessment-card:hover, .kb-card:hover, .assessment-record:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), var(--prem-shadow-card-hover);
}

/* 6) 网格卡片交错渐入（高端编排感） */
.step-card.reveal:nth-child(2), .how-card.reveal:nth-child(2),
.price-card.reveal:nth-child(2), .teacher-card.reveal:nth-child(2),
.assessment-card.reveal:nth-child(2),
.step-card.reveal:nth-child(3), .how-card.reveal:nth-child(3),
.price-card.reveal:nth-child(3), .teacher-card.reveal:nth-child(3),
.assessment-card.reveal:nth-child(3),
.step-card.reveal:nth-child(4), .price-card.reveal:nth-child(4), .teacher-card.reveal:nth-child(4) {
  transition-delay: .08s;
}
.step-card.reveal:nth-child(4), .price-card.reveal:nth-child(4), .teacher-card.reveal:nth-child(4) { transition-delay: .14s; }

/* 7) 导航链接 · 细线滑入指示器（Apple 式） */
.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--prem-ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* 8) 移动端菜单 · 玻璃质感 */
@media (max-width: 980px) {
  .desktop-nav.open {
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(160%) blur(20px);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    border: 1px solid rgba(11,43,62,.08);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 48px rgba(11,43,62,.14);
  }
  .desktop-nav.open .nav-link { padding: 12px 16px; border-radius: 12px; }
  .desktop-nav.open .nav-link + .nav-link::after { display: none; }
}

/* 9) 通用链接 hover 缓动统一 */
a { transition: color .18s ease, opacity .18s ease; }

/* 10) 页脚顶部分隔细线柔和化 */
.site-footer { border-top: 1px solid rgba(16,148,136,.16); }

/* =====================================================================
   Sprint 4 merge · 手机导航收口（PX-P4-001）+ 数据管理降级（PX-P4-002）
   来源：~/.hermes/deliverables/p4-ui-changes.patch（手工合入，见交付说明）。
   约束：桌面（>768px）布局保持合并版现状，以下收口规则只在 <=768px 生效。
   ===================================================================== */
/* 侧边菜单开关：桌面侧栏常驻，开关只在手机抽屉模式出现。 */
.workspace-menu-toggle { display: none; }
.workspace-side-backdrop { display: none; }

/* 危险操作按钮（删除全部资料）：与普通保存按钮视觉分离。 */
.danger-button {
  border-color: rgba(184, 71, 71, .45);
  color: var(--red);
  background: #fff7f6;
}
.danger-button:hover { border-color: var(--red); background: #fdecea; }
.danger-button.is-armed,
.danger-button.is-armed:hover {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}
.danger-button:disabled { opacity: .6; cursor: not-allowed; }
.danger-text { color: var(--red); }
.danger-text:hover { color: #a5322f; }

/* 成长档案底部「数据管理」折叠区（默认折叠）。 */
.data-management {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.data-management > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.data-management > summary::-webkit-details-marker { display: none; }
.data-management > summary::after {
  content: '⌄';
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease;
}
.data-management[open] > summary::after { transform: rotate(180deg); }
.data-management > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.data-management-title { color: var(--navy); font-size: 15px; font-weight: 800; }
.data-management > summary small { color: var(--muted); font-size: 12.5px; }
.data-management-body { padding: 4px 20px 20px; border-top: 1px solid var(--line); }
.data-management-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.data-management-item:last-child { border-bottom: 0; }
.data-management-item b { color: var(--ink); font-size: 14.5px; }
.data-management-item p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.data-management-item strong { color: var(--red); }
.data-management-item .secondary-button { flex: none; }
.data-management-item.is-danger b { color: var(--red); }

@media (max-width: 768px) {
  /* 顶部导航：只保留 Logo + 菜单按钮，点开为完整下拉菜单（不横向铺开）。 */
  .nav-wrap { gap: 12px; }
  .desktop-nav {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 10px 16px 18px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
  }
  .desktop-nav .nav-link { padding: 13px 12px; border-radius: 10px; font-size: 15px; }
  .desktop-nav .nav-link.nav-primary { margin-top: 8px; text-align: center; }

  /* 工作台侧边功能导航：抽屉（默认隐藏，点开关滑出 + 背板）。 */
  .workspace-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 0 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--navy);
    background: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .workspace-side {
    position: fixed;
    top: 72px;
    left: 0;
    bottom: 0;
    z-index: 60;
    width: min(290px, 84vw);
    padding: 18px 16px 28px;
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(4, 22, 32, .32);
    transform: translateX(-102%);
    transition: transform .28s ease;
  }
  .workspace-side.overlay-open { transform: none; }
  .student-chip { display: block; }
  .workspace-menu { display: grid; gap: 6px; overflow: visible; }
  .workspace-menu button { padding: 13px 14px; font-size: 15px; white-space: normal; }
  .workspace-logout {
    width: 100%;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;
    color: #eaf4f5;
    background: rgba(255, 255, 255, .06);
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }
  .workspace-side-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    bottom: 0;
    z-index: 55;
    background: rgba(5, 24, 34, .5);
    opacity: 0;
    transition: opacity .28s ease;
  }
  .workspace-side-backdrop.show { display: block; opacity: 1; }

  /* 数据管理在窄屏改为纵向堆叠，按钮不挤压文案。 */
  .data-management-item { flex-direction: column; align-items: stretch; gap: 12px; }
  .data-management-item .secondary-button { width: 100%; }
}

/* =====================================================================
   Sprint 4 · PX-P4-019 AI 成长顾问：服务端会话（对话列表 + 多轮历史）
   桌面左右分栏；<=768px 对话列表改为横向滚动，避免占用正文高度。
   ===================================================================== */
.advisor-shell { display: grid; grid-template-columns: minmax(220px, 264px) minmax(0, 1fr); gap: 18px; align-items: start; }
.advisor-sessions {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: 640px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--prem-shadow-card);
}
.advisor-sessions-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.advisor-sessions-head b { color: var(--navy); font-size: 14px; }
.advisor-session-list { display: grid; gap: 6px; min-height: 0; overflow-y: auto; }
.advisor-session-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.advisor-session-item:hover { background: var(--canvas); }
.advisor-session-item.active { border-color: rgba(10,143,130,.4); background: var(--brand-tint-2); }
.advisor-session-item b { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.advisor-session-item small { color: var(--muted); font-size: 11.5px; }
.advisor-session-empty { margin: 4px 2px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.advisor-session-more { margin-top: 10px; }
.advisor-session-note { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.advisor-chat-card { max-width: none; min-width: 0; }
.advisor-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.advisor-chat-title-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.advisor-chat-title-wrap b { color: var(--navy); font-size: 15px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.advisor-chat-title-wrap span { color: var(--muted); font-size: 12px; }
.advisor-chat-actions { display: flex; flex: none; align-items: center; gap: 6px; }
.advisor-chat-actions .text-button { margin-top: 0; font-size: 12.5px; }
.advisor-head-actions .text-button { white-space: nowrap; }
.advisor-context-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--brand-tint-2);
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.6;
}
.link-button { padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.link-button:hover { color: var(--brand-ink); }
.advisor-context-panel {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.7;
}
.advisor-context-panel b { color: var(--navy); font-size: 12.5px; }
.advisor-context-panel ul { margin: 6px 0 0; padding-left: 18px; }
.advisor-context-panel li { margin: 2px 0; }
.advisor-context-panel .advisor-context-empty { margin: 4px 0 0; color: var(--muted); }
.advisor-context-hint { margin: 8px 0 0; color: var(--muted); font-size: 11.5px; }
.chat-context-toggle { margin-top: 8px; padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-2); background: #fff; font-size: 11.5px; cursor: pointer; }
.chat-context-toggle:hover { border-color: rgba(10,143,130,.5); color: var(--brand-ink); }
.chat-context-detail { margin-top: 8px; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--canvas); color: var(--ink-2); font-size: 12px; line-height: 1.7; }
.chat-context-detail b { color: var(--navy); }
.chat-context-detail ul { margin: 4px 0 0; padding-left: 18px; }
.chat-retry { margin-top: 10px; }
.chat-error-note { color: var(--red); font-size: 12.5px; }
.advisor-session-placeholder { color: var(--muted); font-size: 12.5px; }

@media (max-width: 980px) {
  .advisor-shell { grid-template-columns: 1fr; }
  .advisor-sessions { max-height: none; }
}
@media (max-width: 768px) {
  .advisor-sessions { padding: 12px; }
  .advisor-session-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .advisor-session-item { flex: 0 0 auto; min-width: 176px; max-width: 220px; border-color: var(--line); background: #fff; }
  .advisor-session-note { display: none; }
  .advisor-chat-head { flex-direction: column; align-items: stretch; }
  .advisor-chat-actions { justify-content: flex-end; }
  .advisor-session-more .secondary-button { width: 100%; }
  #workspaceAdvisor .workspace-head { flex-wrap: wrap; }
  #workspaceAdvisor .advisor-head-actions { width: 100%; justify-content: flex-end; gap: 8px; }
}

/* =====================================================================
   PX-P5-014：Task / 工作台 UI（与既有 dash-card 风格保持一致）
   ===================================================================== */
.dash-card-wide { grid-column: 1 / -1; }
.plan-feature-card { display: grid; gap: 12px; }
.card-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head-row h2 { margin: 0; }
.plan-card-hint { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.plan-empty { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.task-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.task-filters button { padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--muted); font-size: 12px; cursor: pointer; }
.task-filters button.active { border-color: var(--teal); color: var(--teal-dark); background: var(--mint); font-weight: 700; }
.plan-task-list { display: grid; gap: 10px; }
.plan-task-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfd; }
.plan-task-item.overdue { border-color: #f0c9c7; background: #fff7f6; }
.plan-task-item.status-done { opacity: .72; }
.plan-task-item.status-cancelled { opacity: .6; }
.plan-task-main { min-width: 0; flex: 1; }
.plan-task-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-task-title-row b { font-size: 14.5px; }
.plan-task-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; color: var(--muted); font-size: 12px; }
.plan-task-reason { margin: 6px 0 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.6; }
.plan-task-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.task-action { padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; color: var(--teal-dark); font-size: 12px; font-weight: 700; cursor: pointer; }
.task-action:hover { border-color: var(--teal); }
.task-action.danger { color: var(--red); border-color: #f0c9c7; }
.task-badge { padding: 2px 8px; border-radius: var(--radius-pill); background: var(--mint); color: var(--teal-dark); font-size: 11px; font-weight: 700; }
.task-badge.status-doing { background: #e8f0ff; color: #3566b0; }
.task-badge.status-done { background: #e6f4ec; color: #2f8f5b; }
.task-badge.status-cancelled { background: #eef1f2; color: #7a8a90; }
.task-badge.priority-high { background: #fff0d8; color: #9b641d; }
.plan-inline-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--canvas); }
.plan-inline-form label { display: grid; gap: 6px; color: var(--ink-2); font-size: 12.5px; }
.plan-inline-form input, .plan-inline-form select, .plan-inline-form textarea { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; }
.plan-form-wide { grid-column: 1 / -1; }
.plan-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.plan-form-error { margin-right: auto; color: var(--red); font-size: 12px; }

@media (max-width: 640px) {
  .plan-inline-form { grid-template-columns: 1fr; }
  .plan-task-item { flex-direction: column; }
  .plan-task-actions { justify-content: flex-start; }
}

/* =====================================================================
   PX-P5-013：当前成长计划 UI
   ===================================================================== */
.plan-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.plan-empty-state { padding: 16px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--canvas); }
.plan-empty-state b { display: block; margin-bottom: 6px; }
.plan-empty-state p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.plan-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.plan-meta-cell { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.plan-meta-cell small { display: block; color: var(--muted); font-size: 11.5px; }
.plan-meta-cell b { display: block; margin-top: 3px; font-size: 13.5px; }
.plan-version-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.plan-version-tabs > span { color: var(--muted); font-size: 12.5px; }
.plan-version-tabs button { padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--ink-2); font-size: 12px; cursor: pointer; }
.plan-version-tabs button.active { border-color: var(--teal); color: var(--teal-dark); background: var(--mint); font-weight: 700; }
.plan-version-tabs em { margin-left: auto; color: var(--muted); font-size: 11.5px; font-style: normal; }
.plan-version-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.plan-version-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.plan-field { margin-bottom: 12px; }
.plan-field > b { display: block; margin-bottom: 5px; color: var(--navy); font-size: 13px; }
.plan-field-text { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.plan-field-list { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.plan-field-empty { margin: 0; color: var(--muted); font-size: 12.5px; }
.plan-version-created { margin: 4px 0 0; color: var(--muted); font-size: 11.5px; }
.plan-linked { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.plan-linked > b { display: block; margin-bottom: 8px; font-size: 13.5px; }
.plan-linked .text-button { margin-top: 8px; }
@media (max-width: 980px) { .plan-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plan-meta-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   PX-P5-012：AI Proposal 确认卡片
   ===================================================================== */
.advisor-proposal-list { display: grid; gap: 10px; margin: 10px 0 4px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--mint-soft); }
.advisor-proposal-title { color: var(--teal-dark); font-size: 12.5px; font-weight: 700; }
.proposal-card { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.proposal-card.status-executed { border-color: #cce6df; }
.proposal-card.status-rejected, .proposal-card.status-expired { opacity: .76; }
.proposal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.proposal-label { color: var(--navy); font-size: 13.5px; font-weight: 800; }
.proposal-status { padding: 2px 9px; border-radius: var(--radius-pill); background: var(--mint); color: var(--teal-dark); font-size: 11px; font-weight: 700; }
.proposal-status.status-executed { background: #e6f4ec; color: #2f8f5b; }
.proposal-status.status-rejected, .proposal-status.status-expired { background: #eef1f2; color: #7a8a90; }
.proposal-status.status-failed { background: #fdeceb; color: var(--red); }
.proposal-body { display: grid; gap: 8px; }
.proposal-task { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfd; }
.proposal-task > b { font-size: 14px; }
.proposal-field { margin: 4px 0 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.7; }
.proposal-field b { color: var(--navy); }
.proposal-plan-preview { display: grid; gap: 2px; }
.proposal-expiry { margin: 8px 0 0; color: var(--muted); font-size: 11.5px; }
.proposal-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.proposal-note { color: var(--muted); font-size: 12.5px; }
.proposal-note.done { color: #2f8f5b; font-weight: 700; }

/* ===== PX-P6-015：用户端「成长与升学分析」报告 ===== */
.price-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.report-entry-card { border-color: #cfe8e2; }
.report-entitlement-pill { background: var(--mint); color: var(--teal-dark); }
.report-entry { display: grid; gap: 10px; justify-items: start; }
.report-entry-hint { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.report-sparse-hint { margin: 0; padding: 10px 12px; border-left: 3px solid #e0b93a; background: #fdf7e3; color: #6b5a1f; border-radius: 8px; font-size: 13px; line-height: 1.7; }
.report-entry-inline:not(:empty) { margin: 14px 0; padding: 16px; border: 1px solid #cfe8e2; border-radius: var(--radius); background: #f4fbf9; }
.report-list { display: grid; gap: 12px; margin-top: 16px; }
.report-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.report-row-main { flex: 1 1 240px; min-width: 0; display: grid; gap: 4px; }
.report-row-main b { font-size: 15.5px; color: var(--navy); }
.report-row-meta { color: var(--muted); font-size: 12.5px; }
.report-status { flex: 0 0 auto; padding: 3px 10px; border-radius: var(--radius-pill); background: #eef1f2; color: #55676f; font-size: 12px; font-weight: 700; }
.report-status.status-ready { background: #e6f4ec; color: #2f8f5b; }
.report-status.status-generating, .report-status.status-pending { background: #fdf3dc; color: #8a6d1f; }
.report-status.status-failed { background: #fdeceb; color: var(--red); }
.report-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.report-row-actions button[disabled] { opacity: .5; cursor: not-allowed; }
.report-detail { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.report-detail-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.report-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.report-detail h1 { margin: 14px 0 6px; font-size: 22px; }
.report-detail-meta { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.report-generating { display: flex; align-items: center; gap: 10px; padding: 18px; margin-bottom: 14px; border: 1px dashed #d8c489; border-radius: var(--radius); background: #fdfaf0; color: #7a6420; font-size: 14px; }
.report-spinner { width: 16px; height: 16px; border: 2px solid #e0d3a6; border-top-color: #b08a2e; border-radius: 50%; animation: report-spin .9s linear infinite; }
@keyframes report-spin { to { transform: rotate(360deg); } }
.report-doc-wrap { margin: 10px 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.report-doc-frame { display: block; width: 100%; height: 78vh; min-height: 560px; border: 0; background: #fff; }
.report-tasks-card { margin-top: 18px; padding: 18px; border: 1px solid #cfe8e2; border-radius: var(--radius); background: #f7fcfb; }
.report-email-dialog { max-width: 460px; }
.report-email-hint { margin: 10px 0; color: var(--ink-2); font-size: 14px; line-height: 1.7; word-break: break-all; }
.auth-hint.ok { color: #2f8f5b; }
.auth-hint.error { color: var(--red); }
@media (max-width: 720px) {
  .report-row { align-items: flex-start; }
  .report-row-actions { width: 100%; }
  .report-doc-frame { height: 70vh; min-height: 420px; }
}
@media print {
  .report-doc-frame { height: auto; min-height: 0; }
}

/* 付费闭环 v1：微信 Native 扫码弹窗 */
.pay-dialog{max-width:440px;text-align:left}
.pay-hint{font-size:14px;line-height:1.6;color:#5b6b73;margin:0 0 12px}
.pay-qr{min-height:220px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e3ecef;border-radius:16px;padding:12px;margin:8px 0 14px}
.pay-qr svg{width:220px;height:220px;display:block}
.pay-qr img{width:220px;height:220px;display:block}
.pay-qr-fallback{font-size:13px;color:#8a9aa2;text-align:center;word-break:break-all;padding:8px}
.pay-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;padding:8px 0;border-top:1px dashed #e3ecef}
.pay-meta b{font-weight:600;color:#1f3a44}
.pay-status-ok{color:#1f8a4c}
.pay-status-error{color:#c94a45}

/* 付费闭环 v1：额度用尽后的转化面板 */
.upgrade-panel{margin-top:12px;padding:14px 16px;border:1px solid #cfe6dc;background:#f4fbf7;border-radius:14px}
.upgrade-panel b{display:block;font-size:15px;color:#1f3a44;margin-bottom:6px}
.upgrade-panel p{font-size:13px;line-height:1.6;color:#5b6b73;margin:0 0 10px}
.upgrade-actions{display:flex;gap:8px;flex-wrap:wrap}
.upgrade-actions .primary-button,.upgrade-actions .secondary-button{min-height:38px;padding:0 14px;font-size:13px}
.pay-consent{font-size:12px;line-height:1.7;color:#7a8c94;margin:6px 0 2px}
.pay-consent a{color:#1f8a4c}
