:root {
  --canvas: #f7faf8;
  --mist: #e7f3ee;
  --foam: #d8f0e7;
  --paper: #ffffff;
  --ink: #10251f;
  --soft-ink: #334842;
  --muted: #66776f;
  --line: #dbe7e1;
  --green: #0f6b57;
  --green-deep: #093b31;
  --coral: #ff6f59;
  --blue: #2f6bff;
  --lilac: #eee8ff;
  --sun: #f4c95d;
  --shadow: 0 28px 80px rgba(15, 58, 48, 0.12);
}

/* 2026-09 unified visual system: restrained, content-first, light-green accent */
:root {
  --ui-canvas: #f5f6f4;
  --ui-surface: #ffffff;
  --ui-surface-subtle: #f8f9f7;
  --ui-ink: #202522;
  --ui-muted: #737a76;
  --ui-border: #e4e7e4;
  --ui-brand: #4b504d;
  --ui-brand-deep: #2f3431;
  --ui-action: #e7e9e7;
  --ui-action-ink: #202522;
  --ui-danger: #b5473c;
  --ui-info: #416b8a;
  --ui-radius-control: 8px;
  --ui-radius-card: 10px;
  --ui-shadow-card: 0 4px 16px rgba(31, 42, 35, .045);
  --ui-shadow-raised: 0 8px 24px rgba(31, 42, 35, .07);
  --ui-shadow-elevated: 0 14px 36px rgba(31, 42, 35, .10);
  --ui-duration-fast: 180ms;
  --canvas: var(--ui-canvas);
  --paper: var(--ui-surface);
  --ink: var(--ui-ink);
  --soft-ink: #4e5651;
  --muted: var(--ui-muted);
  --line: var(--ui-border);
  --green: var(--ui-brand);
  --green-deep: var(--ui-brand-deep);
  --foam: #f0f5e8;
  --mist: #eef2eb;
  --shadow: var(--ui-shadow-raised);
}
html { color-scheme: light; }
body { color:var(--ui-ink); background:var(--ui-canvas); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; }
button,input,select,textarea { font-family:inherit; }
h1,h2,h3,h4,strong,b { letter-spacing:0; }
.system-card,.view-panel,.content-card,.filter-card,.job-card,.course-card,.bank-card { border-color:var(--ui-border); border-radius:var(--ui-radius-card); box-shadow:var(--ui-shadow-card); }
.solid-button,.soft-button,.tiny-button,.outline-button,.current-button { min-height:44px; border-radius:var(--ui-radius-control); box-shadow:none; }
input,select,textarea { border-color:#dfe3df; border-radius:var(--ui-radius-control); background:#fff; }
input:focus,select:focus,textarea:focus { border-color:#727874; box-shadow:0 0 0 3px rgba(75,80,77,.12); }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(120deg, rgba(216, 240, 231, 0.72), rgba(247, 250, 248, 0.2) 42%),
    linear-gradient(180deg, #f8fbf9 0%, #eef5f1 100%);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(100% - 32px, 1440px);
  margin: 18px auto 54px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 96px));
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 36, 31, 0.84), rgba(7, 36, 31, 0.58) 48%, rgba(15, 107, 87, 0.18)),
    url("./assets/photos/chinese-career-mentor.webp") center / cover no-repeat;
  border: 1px solid rgba(15, 107, 87, 0.16);
  border-radius: 8px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 107, 87, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(15, 107, 87, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(120deg, transparent 0%, black 24%, black 76%, transparent 100%);
}

.nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 37, 31, 0.1);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(15, 58, 48, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
}

.brand-symbol {
  display: grid;
  width: 108px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  color: var(--green-deep);
  background: #fff;
  border-radius: 8px;
  font-size: 17px;
  box-shadow: 0 12px 30px rgba(7, 59, 49, 0.18);
}

.brand-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links,
.nav-actions,
.quick-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  color: var(--soft-ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--green-deep);
  background: var(--foam);
}

.nav-links a.current,
.current-button {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.nav-actions {
  justify-content: flex-end;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: var(--green-deep);
  background: #fff;
  border: 1px solid rgba(15, 107, 87, 0.2);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.dark {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
  box-shadow: 0 12px 30px rgba(9, 59, 49, 0.18);
}

.button:hover,
.tag:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.ghost {
  background: rgba(255, 255, 255, 0.72);
}

.hero-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.86fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  min-height: 560px;
  padding: 50px 28px 26px;
}

.hero-copy {
  max-width: 760px;
}

.notice,
.section-kicker,
.card-label {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .notice {
  color: var(--foam);
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--soft-ink);
  font-size: 19px;
  line-height: 1.8;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.search-card {
  max-width: 700px;
  margin-top: 34px;
}

.search-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px 8px 8px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 107, 87, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.search-line input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 18px;
  font-weight: 900;
}

.search-line button {
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  background: var(--green-deep);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.quick-tags {
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  min-height: 38px;
  padding: 0 14px;
  color: var(--soft-ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 107, 87, 0.18);
  border-radius: 8px;
  font-weight: 900;
}

.tag.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.hero-cards {
  position: relative;
  min-height: 540px;
}

.profile-card,
.match-card,
.source-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 37, 31, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-card {
  z-index: 2;
  right: 74px;
  top: 16px;
  width: 330px;
  padding: 10px;
}

.profile-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: 58% center;
  border-radius: 8px;
}

.profile-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 14px;
  color: #fff;
  background: rgba(9, 59, 49, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.profile-caption strong,
.profile-caption span {
  display: block;
}

.profile-caption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.card-label {
  display: block;
  margin: 4px 0 8px;
  color: var(--muted);
  text-align: center;
}

.match-card {
  left: 0;
  top: 106px;
  width: 312px;
  padding: 26px;
  transform: rotate(-4deg);
}

.match-card strong {
  display: block;
  color: var(--coral);
  font-size: 88px;
  line-height: 0.9;
}

.match-card p {
  margin: 8px 0 18px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.match-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-card li {
  padding: 9px 10px;
  color: var(--soft-ink);
  background: var(--mist);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.match-card li:nth-child(2) {
  background: #fff1ec;
}

.match-card li:nth-child(3) {
  background: #edf2ff;
}

.source-card {
  right: 0;
  bottom: 40px;
  width: 310px;
  padding: 24px;
  transform: rotate(3deg);
}

.source-card strong {
  display: block;
  color: var(--green-deep);
  font-size: 24px;
}

.source-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.tilt-left {
  transform: rotate(1.5deg);
}

.finder-panel,
.offer-section,
.jobs-section,
.learning-section {
  padding: 76px 34px;
  background: rgba(255, 255, 255, 0.78);
}

.system-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  border-top: 1px solid rgba(15, 107, 87, 0.1);
  border-bottom: 1px solid rgba(15, 107, 87, 0.1);
}

.system-strip article {
  min-height: 170px;
  padding: 22px;
  background: var(--mist);
  border: 1px solid rgba(15, 107, 87, 0.12);
  border-radius: 8px;
}

.system-strip article:nth-child(2) {
  background: #edf2ff;
  border-color: rgba(47, 107, 255, 0.16);
}

.system-strip article:nth-child(3) {
  background: #fff1ec;
  border-color: rgba(255, 111, 89, 0.18);
}

.system-strip article:nth-child(4) {
  background: var(--lilac);
  border-color: rgba(128, 93, 220, 0.18);
}

.system-strip article:nth-child(5) {
  background: #fff8e5;
  border-color: rgba(244, 201, 93, 0.22);
}

.system-strip span {
  display: inline-grid;
  min-width: 38px;
  height: 28px;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.system-strip article:nth-child(2) span {
  background: var(--blue);
}

.system-strip article:nth-child(3) span {
  background: var(--coral);
}

.system-strip article:nth-child(4) span {
  color: var(--green-deep);
  background: var(--sun);
}

.system-strip article:nth-child(5) span {
  background: var(--green-deep);
}

.system-strip strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.system-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.panel-head h2,
.section-title h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
}

.panel-note {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.offer-section {
  border-top: 1px solid var(--line);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 58, 48, 0.06);
}

.offer-card.featured {
  color: #fff;
  background:
    linear-gradient(135deg, #093b31, #155e50);
  border-color: rgba(9, 59, 49, 0.88);
  box-shadow: 0 28px 80px rgba(9, 59, 49, 0.18);
}

.offer-card > span {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: var(--green);
  background: #ecf8f2;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.offer-card.featured > span {
  color: var(--green-deep);
  background: var(--foam);
}

.offer-card h3 {
  margin: 20px 0 12px;
  color: var(--green-deep);
  font-size: 25px;
  line-height: 1.2;
}

.offer-card.featured h3 {
  color: #fff;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.offer-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.offer-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.offer-card li {
  padding: 10px 12px;
  color: var(--soft-ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.45;
}

.offer-card.featured li {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.offer-card .button {
  width: fit-content;
  margin-top: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 430px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 58, 48, 0.06);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.feature-card h3 {
  margin: 22px 18px 10px;
  color: var(--green-deep);
  font-size: 21px;
  line-height: 1.28;
}

.feature-card p {
  margin: 0 18px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.jobs-section,
.learning-section {
  border-top: 1px solid var(--line);
}

.section-title {
  margin-bottom: 28px;
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 90px 52px;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.job-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(15, 58, 48, 0.1);
}

.company-badge {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
}

.company-badge.red {
  background: var(--coral);
}

.company-badge.blue {
  background: var(--blue);
}

.company-badge.green {
  background: var(--green);
}

.job-row h3 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 18px;
}

.job-row p {
  margin: 0;
  color: var(--muted);
}

.job-score {
  color: var(--green);
  font-size: 23px;
  font-weight: 900;
}

.icon-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--green-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon-button.is-saved {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 18px;
}

.course-card,
.mentor-card {
  min-height: 320px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 58, 48, 0.06);
}

.course-card {
  display: flex;
  flex-direction: column;
}

.dark-card {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.course-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--green-deep);
  background: var(--foam);
  border-radius: 8px;
}

.course-card h3,
.mentor-card h3 {
  margin: 0 0 12px;
  color: var(--green-deep);
  font-size: 22px;
  line-height: 1.24;
}

.dark-card h3 {
  color: #fff;
}

.course-card p,
.mentor-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dark-card p {
  color: rgba(255, 255, 255, 0.72);
}

.course-card span {
  display: block;
  margin-top: auto;
  padding: 12px 14px;
  color: var(--green-deep);
  background: var(--mist);
  border-radius: 8px;
  font-weight: 900;
}

.dark-card span {
  color: var(--green-deep);
  background: var(--foam);
}

.mentor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: stretch;
}

.mentor-card ol {
  display: grid;
  gap: 10px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mentor-card li {
  padding: 14px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mentor-card strong,
.mentor-card span {
  display: block;
}

.mentor-card strong {
  color: var(--coral);
}

.mentor-card span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.split-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.split-title > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.match-lab,
.company-section,
.progress-section,
.case-section,
.process-section,
.trust-section,
.operating-system-section,
.final-cta {
  padding: 76px 34px;
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid var(--line);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ops-grid article {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 58, 48, 0.06);
}

.ops-grid span {
  display: grid;
  width: 38px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.ops-grid article:nth-child(2) span {
  background: var(--blue);
}

.ops-grid article:nth-child(3) span {
  background: var(--coral);
}

.ops-grid article:nth-child(4) span {
  color: var(--green-deep);
  background: var(--sun);
}

.ops-grid article:nth-child(5) span {
  background: var(--green-deep);
}

.ops-grid strong {
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.25;
}

.ops-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.case-grid,
.process-steps {
  display: grid;
  gap: 16px;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.case-grid article,
.process-steps article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 250px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 58, 48, 0.06);
}

.case-grid span,
.process-steps span {
  width: fit-content;
  padding: 6px 10px;
  color: var(--green);
  background: #ecf8f2;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.process-steps span {
  display: grid;
  width: 38px;
  height: 30px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--green);
}

.case-grid h3,
.process-steps strong {
  margin: 0;
  color: var(--green-deep);
  font-size: 20px;
  line-height: 1.28;
}

.case-grid p,
.process-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.case-grid strong {
  margin-top: auto;
  color: var(--green-deep);
  line-height: 1.35;
}

.match-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 18px;
}

.profile-builder,
.match-explain {
  min-height: 340px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 58, 48, 0.06);
}

.profile-builder h3 {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-size: 22px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field-grid label {
  min-height: 76px;
  padding: 14px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.field-grid span,
.company-card span,
.board-column > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--green-deep);
  font-size: 16px;
}

.intent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.intent {
  min-height: 38px;
  padding: 0 12px;
  color: var(--soft-ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.intent.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.match-explain {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(216, 240, 231, 0.72), rgba(255, 255, 255, 0.92)),
    #fff;
}

.match-score {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(var(--green) 0 94%, var(--line) 94% 100%);
}

.match-score span,
.match-score strong {
  grid-area: 1 / 1;
  text-align: center;
}

.match-score span {
  margin-top: -18px;
  color: var(--green);
  font-size: 34px;
  font-weight: 900;
}

.match-score strong {
  margin-top: 42px;
  max-width: 110px;
  font-size: 12px;
  line-height: 1.3;
}

.match-explain ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-explain li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 107, 87, 0.12);
  border-radius: 8px;
  color: var(--soft-ink);
  font-weight: 800;
}

.match-explain svg {
  color: var(--green);
}

.ranking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 18px;
}

.ranking-tab {
  min-height: 40px;
  padding: 0 14px;
  color: var(--soft-ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.ranking-tab.active {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.company-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 58, 48, 0.06);
}

.company-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.company-card > div {
  padding: 18px;
}

.company-card h3 {
  margin: 8px 0;
  color: var(--green-deep);
  font-size: 21px;
}

.company-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.company-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
}

.company-card dl div {
  padding: 10px;
  background: var(--canvas);
  border-radius: 8px;
}

.company-card dt {
  color: var(--muted);
  font-size: 12px;
}

.company-card dd {
  margin: 5px 0 0;
  color: var(--green-deep);
  font-weight: 900;
}

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.board-column {
  min-height: 260px;
  padding: 14px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.board-column > span {
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 15px;
}

.board-card {
  padding: 13px;
  margin-bottom: 10px;
  color: var(--soft-ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.45;
}

.board-card.highlight {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, #093b31, #145a4c);
  color: #fff;
}

.trust-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
}

.trust-copy p:not(.section-kicker) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.trust-section .section-kicker {
  color: var(--foam);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.source-grid span {
  display: grid;
  min-height: 64px;
  place-items: center;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  font-weight: 900;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--mist);
}

.final-cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
}

.contact-lines,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-lines span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  color: var(--soft-ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.contact-lines svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 24px 34px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.knowledge-shell {
  max-width: 1480px;
}

.knowledge-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 80px));
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(7, 36, 31, 0.94), rgba(7, 59, 49, 0.76) 48%, rgba(47, 107, 255, 0.34)),
    url("./assets/photos/chinese-enterprise-lobby.webp") center / cover no-repeat;
  border: 1px solid rgba(15, 107, 87, 0.2);
  border-radius: 8px;
}

.knowledge-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(135deg, transparent, black 22%, black 78%, transparent);
}

.knowledge-nav {
  position: relative;
  z-index: 2;
}

.knowledge-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 590px;
  padding: 54px 28px 24px;
}

.knowledge-copy h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.04;
  max-width: 880px;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.knowledge-copy .lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.knowledge-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.knowledge-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  color: #e8fff6;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 850;
}

.knowledge-console,
.knowledge-answer-card,
.knowledge-side > section,
.engine-funnel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 107, 87, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.knowledge-console {
  padding: 20px;
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.knowledge-console-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.knowledge-console-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.knowledge-console-head strong {
  font-size: 26px;
}

.knowledge-search {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.knowledge-search i {
  margin-top: 8px;
  color: var(--green);
}

.knowledge-search textarea {
  width: 100%;
  min-height: 118px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  resize: vertical;
  line-height: 1.65;
  font-weight: 760;
}

.knowledge-search button {
  grid-column: 1 / -1;
  min-height: 48px;
  color: #fff;
  background: var(--green-deep);
  border: 0;
  border-radius: 8px;
  font-weight: 950;
}

.knowledge-console-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr) auto minmax(0, 1.1fr);
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(216, 240, 231, 0.72), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(15, 107, 87, 0.14);
  border-radius: 8px;
}

.knowledge-console-flow span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.knowledge-console-flow strong {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 12px;
}

.knowledge-console-flow i {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.knowledge-answer-jump {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 12px;
  color: var(--green-deep);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 107, 87, 0.16);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.knowledge-answer-jump:hover {
  background: var(--foam);
}

.knowledge-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.knowledge-suggestions button,
.engine-topic-list button {
  color: var(--green-deep);
  background: #fff;
  border: 1px solid rgba(15, 107, 87, 0.18);
  border-radius: 8px;
  font-weight: 850;
}

.knowledge-suggestions button {
  min-height: 36px;
  padding: 0 12px;
}

.knowledge-suggestions button.active,
.engine-topic-list button.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.knowledge-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.4fr);
  gap: 16px;
  margin-top: -58px;
  padding: 0 14px;
}

.knowledge-answer-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.engine-thread-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.46fr);
  gap: 12px;
  margin-bottom: 16px;
}

.engine-question-bubble,
.engine-response-badge {
  position: relative;
  min-height: 96px;
  padding: 17px 18px;
  border-radius: 8px;
}

.engine-question-bubble {
  background: #f7fbf9;
  border: 1px solid var(--line);
}

.engine-question-bubble::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -7px;
  width: 14px;
  height: 14px;
  background: #f7fbf9;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
}

.engine-response-badge {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 59, 49, 0.98), rgba(15, 107, 87, 0.9)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.engine-question-bubble span,
.engine-response-badge span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 950;
}

.engine-question-bubble span {
  color: var(--green);
}

.engine-response-badge span {
  color: rgba(255, 255, 255, 0.78);
}

.engine-question-bubble strong,
.engine-response-badge strong {
  display: block;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.28;
}

.answer-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.answer-toolbar h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.12;
}

#engineConfidence {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: var(--green-deep);
  background: var(--foam);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.engine-answer-body {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.engine-summary,
.engine-answer-section,
.engine-resume-support,
.engine-next-step,
.engine-source-box {
  padding: 18px;
  background: #fbfefd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.engine-summary span,
.engine-resume-head span,
.engine-next-step span,
.engine-conversion-card > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.engine-summary p {
  margin: 8px 0 0;
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 820;
}

.engine-answer-section h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.engine-answer-section ul,
.engine-resume-grid ul,
.engine-guard-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--soft-ink);
  line-height: 1.65;
  font-weight: 760;
}

.engine-resume-support {
  background:
    linear-gradient(135deg, rgba(216, 240, 231, 0.62), rgba(255, 255, 255, 0.92)),
    #fbfefd;
}

.engine-resume-head {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.engine-resume-head strong {
  font-size: 22px;
  line-height: 1.28;
}

.engine-resume-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 12px;
}

.engine-resume-grid section {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 107, 87, 0.14);
  border-radius: 8px;
}

.engine-resume-grid h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.engine-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.engine-token-row b {
  padding: 7px 9px;
  color: var(--green-deep);
  background: var(--foam);
  border-radius: 8px;
  font-size: 12px;
}

.engine-resume-support > p {
  margin: 14px 0 0;
  color: var(--soft-ink);
  line-height: 1.6;
  font-weight: 760;
}

.engine-next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #073b31, #0f6b57);
  color: #fff;
}

.engine-next-step p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.engine-next-step .button {
  flex: 0 0 auto;
  background: #fff;
  color: var(--green-deep);
  border-color: #fff;
}

.engine-source-box {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) 1fr;
  gap: 16px;
  margin-top: 16px;
}

.engine-source-box h3 {
  margin: 0;
}

.engine-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.engine-sources a {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 13px;
  color: inherit;
  text-decoration: none;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.engine-sources small {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.engine-sources span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.knowledge-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.knowledge-side > section {
  padding: 20px;
}

.engine-map-card h2,
.engine-conversion-card h2 {
  margin-top: 0;
}

.engine-topic-list {
  display: grid;
  gap: 9px;
}

.engine-topic-list button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  text-align: left;
}

.engine-topic-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 12px;
}

.engine-conversion-card {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 59, 49, 0.96), rgba(15, 107, 87, 0.82)),
    url("./assets/photos/chinese-students-hero.webp") center / cover;
}

.engine-conversion-card p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.engine-knowledge-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 249, 0.92)) !important;
}

.engine-knowledge-card h2 {
  margin-top: 0;
}

.engine-knowledge-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.engine-knowledge-stats article {
  padding: 12px;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.engine-knowledge-stats strong {
  display: block;
  font-size: 24px;
}

.engine-knowledge-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.engine-rule-list {
  display: grid;
  gap: 9px;
}

.engine-rule-list article {
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(15, 107, 87, 0.14);
  border-radius: 8px;
}

.engine-rule-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.engine-mini-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.engine-mini-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  outline: 0;
}

.engine-guard-card {
  background: #fffaf2 !important;
}

.engine-funnel {
  margin-top: 16px;
  padding: 24px;
}

.engine-funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.engine-funnel-grid article {
  padding: 18px;
  background: #f8fcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.engine-funnel-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 950;
}

.engine-funnel-grid strong {
  display: block;
  margin-top: 14px;
  font-size: 18px;
}

.engine-funnel-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.knowledge-foundation {
  margin-top: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 107, 87, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.knowledge-foundation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.knowledge-foundation-grid article {
  padding: 18px;
  background: #f8fcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.knowledge-foundation-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 950;
}

.knowledge-foundation-grid strong {
  display: block;
  margin-top: 14px;
  font-size: 18px;
}

.knowledge-foundation-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer strong {
  color: var(--green-deep);
}

.footer a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.legal-content {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-content article {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.legal-content article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-content h2,
.legal-content h3,
.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content h2,
.legal-content h3 {
  color: var(--green-deep);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}

.page-nav {
  margin-bottom: 18px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 24px;
  align-items: end;
  padding: 64px 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(216, 240, 231, 0.92)),
    var(--mist);
  border: 1px solid rgba(15, 107, 87, 0.16);
  border-radius: 8px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.16;
}

.compact-hero {
  grid-template-columns: 1fr;
  min-height: 280px;
}

.hero-mini-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-mini-card span {
  color: var(--muted);
  font-weight: 900;
}

.hero-mini-card strong {
  display: block;
  margin: 8px 0;
  color: var(--coral);
  font-size: 58px;
  line-height: 1;
}

.hero-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.workspace-section,
.full-section,
.mentor-section,
.parent-section {
  padding: 54px 34px;
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid var(--line);
}

.workspace-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

.profile-editor,
.recommendation-panel,
.mentor-profile,
.mentor-plan,
.parent-card,
.study-plan {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 58, 48, 0.06);
}

.profile-editor h2,
.recommendation-panel h2,
.study-plan h2,
.mentor-plan h2,
.parent-card h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 26px;
  line-height: 1.18;
}

.profile-editor label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.profile-editor label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.profile-editor input {
  min-height: 44px;
  padding: 0 12px;
  color: var(--green-deep);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  font-weight: 850;
}

.full-width {
  width: 100%;
  margin-top: 18px;
}

.recommendation-panel {
  display: grid;
  gap: 14px;
}

.recommend-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 52px;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.recommend-card.top {
  background: linear-gradient(90deg, rgba(216, 240, 231, 0.78), #fff);
  border-color: rgba(15, 107, 87, 0.22);
}

.recommend-score {
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.company-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.company-chip.blue {
  background: var(--blue);
}

.recommend-card h3 {
  margin: 10px 0 6px;
  color: var(--green-deep);
  font-size: 19px;
}

.recommend-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.recommend-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recommend-card li {
  padding: 6px 9px;
  color: var(--soft-ink);
  background: var(--canvas);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.expanded-list {
  margin-bottom: 24px;
}

.ranking-summary,
.parent-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ranking-summary article,
.parent-metrics article {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ranking-summary strong,
.parent-metrics strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.ranking-summary span,
.parent-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 850;
}

.learning-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.study-plan {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.study-plan ol,
.mentor-plan ol,
.alert-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.study-plan li,
.mentor-plan li,
.alert-list li {
  padding: 14px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.study-plan strong,
.mentor-plan strong,
.alert-list strong {
  display: block;
  color: var(--coral);
}

.study-plan span,
.mentor-plan span,
.alert-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.mentor-grid,
.parent-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
}

.mentor-profile {
  overflow: hidden;
  padding: 0;
}

.mentor-profile img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.mentor-profile div {
  padding: 20px;
}

.mentor-profile span {
  color: var(--muted);
  font-weight: 900;
}

.mentor-profile h3 {
  margin: 8px 0;
  color: var(--green-deep);
  font-size: 24px;
}

.mentor-profile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.parent-metrics {
  margin-bottom: 18px;
}

.compact-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1060px) {
  .nav,
  .hero-body,
  .feature-grid,
  .offer-grid,
  .ops-grid,
  .case-grid,
  .process-steps,
  .job-row,
  .system-strip,
  .workflow-grid,
  .mentor-card,
  .match-layout,
  .match-explain,
  .company-grid,
  .board,
  .trust-section,
  .page-hero,
  .workspace-layout,
  .learning-dashboard,
  .study-plan,
  .mentor-grid,
  .parent-layout,
  .ranking-summary,
  .parent-metrics,
  .compact-board,
  .recommend-card,
  .knowledge-layout,
  .engine-thread-head,
  .engine-resume-grid,
  .knowledge-foundation-grid {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-cards {
    min-height: 620px;
  }

  .panel-head,
  .split-title,
  .final-cta {
    display: grid;
  }

  .knowledge-layout {
    margin-top: 16px;
    padding: 0;
  }

  .engine-question-bubble::after {
    display: none;
  }

  .job-score {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 18px, 1440px);
    margin-top: 9px;
  }

  .hero {
    padding: 12px;
  }

  .nav {
    min-height: auto;
  }

  .brand {
    align-items: center;
    flex-direction: row;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-body {
    display: block;
    min-height: auto;
    padding: 34px 8px 12px;
  }

  .site-shell,
  .hero,
  .nav,
  .hero-body,
  .hero-copy,
  .search-card,
  .quick-tags {
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    font-size: 27px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero .lead {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .lead {
    font-size: 16px;
  }

  .search-line {
    grid-template-columns: auto 1fr;
  }

  .search-line button {
    grid-column: 1 / -1;
  }

  .hero-cards {
    display: none;
  }

  .profile-card {
    width: 260px;
    right: 14px;
    top: 0;
  }

  .match-card {
    width: 260px;
    top: 230px;
  }

  .source-card {
    width: 260px;
    right: 10px;
    bottom: 18px;
  }

  .finder-panel,
  .offer-section,
  .jobs-section,
  .learning-section,
  .match-lab,
  .company-section,
  .progress-section,
  .trust-section,
  .final-cta,
  .workspace-section,
  .full-section,
  .mentor-section,
  .parent-section,
  .page-hero,
  .knowledge-answer-card,
  .engine-funnel,
  .knowledge-foundation {
    padding: 46px 12px;
  }

  .knowledge-hero {
    min-height: auto;
    padding: 12px;
  }

  .knowledge-hero-grid,
  .knowledge-layout,
  .engine-source-box,
  .engine-funnel-grid,
  .engine-resume-grid,
  .knowledge-foundation-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-hero-grid {
    gap: 24px;
    min-height: auto;
    padding: 34px 8px 12px;
  }

  .knowledge-copy h1 {
    font-size: 31px;
    overflow-wrap: anywhere;
  }

  .knowledge-console,
  .knowledge-side > section {
    padding: 16px;
  }

  .knowledge-console-flow {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .knowledge-console-flow i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .answer-toolbar,
  .engine-next-step {
    align-items: flex-start;
    flex-direction: column;
  }

  #engineConfidence {
    flex: none;
  }

  .engine-sources {
    grid-template-columns: 1fr;
  }

  .knowledge-proof-row,
  .knowledge-suggestions {
    display: grid;
  }

  .job-row {
    gap: 12px;
  }
}

/* Final shared overrides */
body{color:var(--ui-ink);background:var(--ui-canvas);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
.system-card,.view-panel,.content-card,.filter-card,.job-card,.course-card,.bank-card{border-color:var(--ui-border);border-radius:10px;box-shadow:var(--ui-shadow-card)}
.solid-button,.soft-button,.tiny-button,.outline-button,.current-button{min-height:44px;border-radius:8px;box-shadow:none}
input,select,textarea{border-radius:8px}
/* Unified type tokens */
:root{--type-body:14px;--type-caption:12px;--type-menu:15px;--type-h3:16px;--type-h2:20px;--type-h1:24px}
body{font-size:var(--type-body);line-height:1.55}button,input,select,textarea{font-size:14px}small{font-size:12px}h1{font-size:24px;line-height:1.35;font-weight:650}h2{font-size:20px;line-height:1.4;font-weight:650}h3{font-size:16px;line-height:1.45;font-weight:650}
/* Grass-green accent: limited to actions, progress and active states */
:root{--ui-accent:#8bc53f;--ui-accent-deep:#5f8f22;--ui-accent-soft:#f1f7e8;--ui-accent-line:#d8e9c3;--ui-brand:var(--ui-accent-deep);--ui-brand-deep:#466b18;--ui-action:var(--ui-accent);--green:var(--ui-accent-deep);--green-deep:#466b18;--foam:var(--ui-accent-soft);--mist:#f5f7f3}
a:hover{color:var(--ui-accent-deep)}
input:focus,select:focus,textarea:focus{border-color:var(--ui-accent)!important;box-shadow:0 0 0 3px rgba(139,197,63,.16)!important}
.solid-button,.tiny-button.primary,.current-button{color:#17220e!important;background:var(--ui-accent)!important;border-color:var(--ui-accent)!important}
.solid-button:hover,.tiny-button.primary:hover,.current-button:hover{background:#7db334!important;border-color:#7db334!important}
.progress-fill,.progress-bar>i,.score-bar>i,[class*="progress"]>i{background:var(--ui-accent)!important}
.active>.status-dot,.selected>.status-dot,.success-dot{background:var(--ui-accent)!important}
