:root {
  --ink: #172027;
  --muted: #63717f;
  --line: #dce4ea;
  --paper: #ffffff;
  --soft: #f4f8f9;
  --teal: #0f766e;
  --teal-2: #14b8a6;
  --coral: #ef6f61;
  --gold: #f4b740;
  --blue: #2563eb;
  --shadow: 0 18px 45px rgba(25, 36, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  background: var(--soft);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(36px, 7vw, 84px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 26, 34, 0.78) 0%, rgba(8, 26, 34, 0.58) 42%, rgba(8, 26, 34, 0.2) 76%, rgba(8, 26, 34, 0.12) 100%),
    url("assets/hero/csed-teachers-discussing-diagnosis-gpt-image-2.png?v=20260622csed1") 64% center/cover;
}

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

.csed-logo {
  display: grid;
  gap: 4px;
  width: fit-content;
  margin-bottom: 18px;
}

.csed-logo strong {
  color: #ffffff;
  font-size: clamp(76px, 12vw, 150px);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.csed-logo span {
  color: #8df3e7;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 700;
}

.hero .eyebrow {
  color: #8df3e7;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.hero-name {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.hero-text {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions,
.quiz-actions,
.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.partner-strip svg {
  width: 18px;
  height: 18px;
}

.partner-strip span {
  color: rgba(255, 255, 255, 0.82);
}

.primary,
.secondary,
.ghost,
.wechat-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
}

a.secondary {
  text-decoration: none;
}

.primary {
  color: #fff;
  background: var(--teal);
}

.primary:hover {
  background: #0b5f58;
}

.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero .ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

button svg {
  width: 18px;
  height: 18px;
}

.wide {
  width: 100%;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: -46px auto 0;
  padding: 0 18px 42px;
  align-items: start;
}

.sample-template {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 18px 28px;
}

.sample-template > .section-head {
  margin-bottom: 16px;
}

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

.template-grid article {
  min-height: 210px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.template-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.template-grid h3 {
  font-size: 24px;
}

.template-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.template-cta {
  margin-top: 16px;
  min-width: 260px;
}

.template-cta-bottom {
  display: block;
  margin: 18px auto 0;
}

.sample-report-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sample-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(23, 32, 39, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(244, 183, 64, 0.26), transparent 34%);
  border-radius: 8px;
}

.sample-cover h3 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

.sample-cover p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.sample-cover .eyebrow {
  color: #99f6e4;
}

.sample-score {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
}

.sample-score strong {
  font-size: 58px;
  line-height: 1;
}

.sample-score span,
.sample-score small {
  display: block;
  color: rgba(255, 255, 255, 0.88);
}

.sample-summary-grid,
.sample-report-grid,
.sample-plan-grid {
  display: grid;
  gap: 14px;
}

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

.sample-summary-grid article,
.sample-chart-box,
.sample-table-card,
.sample-diagnosis,
.sample-action-plan,
.sample-advisor-note {
  padding: 20px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sample-summary-grid span,
.sample-plan-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--teal);
  background: rgba(20, 184, 166, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.sample-summary-grid strong,
.sample-plan-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.sample-summary-grid p,
.sample-plan-grid p,
.sample-diagnosis p,
.sample-diagnosis li,
.sample-advisor-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.sample-report-grid {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
}

.sample-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sample-chart-head h4,
.sample-diagnosis h4,
.sample-advisor-note h4 {
  margin: 0;
  font-size: 22px;
}

.sample-chart-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sample-radar {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.sample-radar text {
  fill: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.sample-table-card {
  overflow-x: auto;
}

.sample-table-card table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.sample-table-card th,
.sample-table-card td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.sample-table-card th {
  color: #ffffff;
  background: var(--teal);
  font-size: 14px;
}

.sample-table-card td:nth-child(2) {
  color: var(--teal);
  font-weight: 900;
}

.sample-diagnosis {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sample-diagnosis ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.sample-diagnosis h4 {
  margin-bottom: 10px;
}

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

.sample-plan-grid article {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sample-advisor-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #f0fdfa, #ffffff);
}

.sample-advisor-note > div {
  max-width: 760px;
}

.sample-advisor-note .template-cta {
  flex: 0 0 auto;
  margin-top: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  order: 2;
  opacity: 0.76;
}

#assessmentFlow[data-active-panel="profile"] .steps {
  display: none;
}

#profileForm,
#quizForm,
#reportSection {
  scroll-margin-top: 96px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--muted);
  background: var(--soft);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.step p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.step.active {
  color: var(--ink);
  border-color: var(--teal-2);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.16);
}

.step.active span {
  color: #fff;
  background: var(--teal);
}

.workspace {
  display: grid;
  gap: 18px;
  order: 1;
}

.login-locked .post-login-fields {
  display: none;
}

.post-login-fields {
  display: grid;
  gap: 18px;
}

.section-head.compact {
  margin-top: 8px;
}

.panel {
  padding: clamp(20px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-head p,
.conversion p,
.report-header p,
.analysis-box p,
.disclaimer {
  color: var(--muted);
  line-height: 1.75;
}

.login-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wechat-btn {
  color: #fff;
  background: #16a34a;
}

.login-strip span {
  color: var(--muted);
}

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

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

.mode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mode-card:has(input:checked) {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
}

.mode-card input {
  width: 16px;
  min-height: 16px;
  margin-top: 3px;
}

.mode-card strong,
.mode-card small {
  display: block;
}

.mode-card small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.painpoints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.painpoints legend {
  padding: 0 8px;
  font-weight: 700;
}

.painpoints label,
.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
}

.painpoints input,
.consent input {
  width: 16px;
  min-height: 16px;
}

.consent {
  margin-bottom: 18px;
  align-items: flex-start;
}

.quiz-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.progress-wrap {
  min-width: 180px;
  text-align: right;
  color: var(--muted);
  font-weight: 700;
}

.progress {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 0.2s ease;
}

.question-list {
  display: grid;
  gap: 14px;
}

.question-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #eaf7f5;
  border: 1px solid #bee7e1;
  border-radius: 8px;
}

.question-group-title span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.question-group-title small {
  margin-left: auto;
  color: var(--muted);
}

.question {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.knowledge-question {
  border-left: 4px solid var(--gold);
}

.translation-input {
  min-height: 96px;
  line-height: 1.6;
}

.question h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.question small {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-weight: 700;
}

.options {
  display: grid;
  gap: 8px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
}

.option input {
  width: 16px;
  min-height: 16px;
  margin-top: 3px;
}

.option:hover {
  border-color: var(--teal-2);
  background: #f0fdfa;
}

.audio-btn {
  margin-bottom: 12px;
}

.report-card {
  display: grid;
  gap: 22px;
}

.report-card.pdf-exporting {
  gap: 18px;
}

.report-card.pdf-exporting .report-header,
.report-card.pdf-exporting .report-grid,
.report-card.pdf-exporting .learning-insight,
.report-card.pdf-exporting .knowledge-charts,
.report-card.pdf-exporting .knowledge-grid,
.report-card.pdf-exporting .knowledge-breakdown,
.report-card.pdf-exporting .combined-score-row,
.report-card.pdf-exporting .attribution-grid,
.report-card.pdf-exporting .goal-grid {
  grid-template-columns: 1fr;
}

.report-card.pdf-exporting .report-header {
  display: grid;
}

.report-card.pdf-exporting .score-badge {
  width: 92px;
  min-height: 92px;
  height: 92px;
}

.report-card.pdf-exporting .chart-box,
.report-card.pdf-exporting .mini-chart-card {
  min-height: 240px;
}

.report-card.pdf-exporting .mini-chart-card canvas {
  height: 190px !important;
}

.report-card.pdf-exporting .report-cover,
.report-card.pdf-exporting .report-header,
.report-card.pdf-exporting .opening-note,
.report-card.pdf-exporting .report-grid,
.report-card.pdf-exporting .learning-score-table,
.report-card.pdf-exporting .learning-insight,
.report-card.pdf-exporting .attribution,
.report-card.pdf-exporting .knowledge-summary,
.report-card.pdf-exporting .knowledge-score-table,
.report-card.pdf-exporting .knowledge-charts,
.report-card.pdf-exporting .knowledge-grid,
.report-card.pdf-exporting .knowledge-breakdown > article,
.report-card.pdf-exporting .knowledge-type,
.report-card.pdf-exporting .combined-summary,
.report-card.pdf-exporting .priority-list,
.report-card.pdf-exporting .goal-grid,
.report-card.pdf-exporting #actionPlan,
.report-card.pdf-exporting .unlock-report,
.report-card.pdf-exporting .disclaimer {
  break-inside: avoid;
  page-break-inside: avoid;
}

.report-cover {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 620px;
  padding: clamp(22px, 6vw, 42px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 28, 34, 0.92) 0%, rgba(12, 28, 34, 0.76) 38%, rgba(12, 28, 34, 0.36) 70%, rgba(12, 28, 34, 0.12) 100%),
    linear-gradient(180deg, rgba(12, 28, 34, 0.04), rgba(12, 28, 34, 0.34)),
    url("/assets/share-teachers-v2/poster-teacher-v2-01-female-white-blazer-modern-classroom.png?v=20260621v2") center center / cover no-repeat,
    linear-gradient(135deg, #0c1c22, #173832);
  border-radius: 8px;
}

.report-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background:
    radial-gradient(circle at 64% 34%, rgba(255, 255, 255, 0.12), rgba(12, 28, 34, 0) 30%),
    linear-gradient(180deg, rgba(12, 28, 34, 0), rgba(12, 28, 34, 0.2) 72%, rgba(12, 28, 34, 0.68) 100%);
  opacity: 0.7;
}

.report-cover::after {
  content: "A B C";
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(42px, 16vw, 92px);
  font-weight: 800;
  letter-spacing: 0;
}

.cover-copy,
.cover-visual {
  position: relative;
  z-index: 1;
}

.cover-copy {
  display: grid;
  align-content: start;
  max-width: min(54%, 620px);
}

.report-cover h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5.2vw, 58px);
  line-height: 1.12;
}

.cover-subtitle {
  margin-bottom: 18px;
  color: #b9f6ed;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

#coverSummary {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.cover-badges,
.english-chips,
.poster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cover-badges span,
.english-chips span,
.poster-tags span {
  display: inline-flex;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.english-chips {
  margin-top: 18px;
}

.cover-visual {
  display: grid;
  min-height: 260px;
  align-items: end;
  justify-items: start;
}

.expert-card {
  display: grid;
  gap: 3px;
  width: min(280px, 82%);
  margin: 0 0 16px 0;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(90deg, rgba(12, 28, 34, 0.78), rgba(12, 28, 34, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.expert-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.opening-note {
  padding: 18px;
  color: #17322f;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
}

.opening-note p {
  margin: 0;
  line-height: 1.85;
}

.report-section-title {
  margin: 4px 0 -6px;
  padding-left: 10px;
  border-left: 4px solid var(--teal);
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.score-badge {
  display: grid;
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  place-items: center;
  align-content: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
}

.score-badge span {
  font-size: 38px;
  font-weight: 800;
}

.score-badge small {
  opacity: 0.86;
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.9fr);
  gap: 18px;
}

.chart-box,
.analysis-box,
.action-plan {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.chart-box {
  min-height: 320px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  display: inline-flex;
  padding: 6px 10px;
  color: #09413c;
  background: #ccfbf1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.dimension-grid,
.learning-score-table {
  display: grid;
  gap: 12px;
}

.learning-score-table {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.learning-score-table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.learning-score-table th,
.learning-score-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.learning-score-table th {
  background: #f7fbfc;
  font-weight: 800;
}

.learning-score-table td:nth-child(2) {
  color: var(--teal);
  font-weight: 800;
  white-space: nowrap;
}

.learning-score-table tr:last-child td {
  border-bottom: 0;
}

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

.dimension-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dimension-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dimension-card strong {
  font-size: 22px;
}

.bar {
  height: 8px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--coral);
}

.dimension-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.attribution,
.goals {
  display: grid;
  gap: 12px;
}

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

.insight-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.insight-card p,
.insight-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.insight-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.insight-list li::marker {
  color: var(--teal);
  font-weight: 800;
}

.knowledge-report {
  display: grid;
  gap: 12px;
}

.combined-report {
  display: grid;
  gap: 12px;
}

.subsection-title {
  margin: 10px 0 0;
  padding-left: 10px;
  border-left: 4px solid var(--teal);
  color: var(--ink);
  font-size: 19px;
}

.combined-summary {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.combined-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.combined-score-row article {
  padding: 14px;
  background: #f7fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.combined-score-row span,
.combined-score-row small {
  color: var(--muted);
}

.combined-score-row strong {
  display: inline-block;
  margin: 6px 4px 0 0;
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.combined-summary p {
  margin-bottom: 10px;
  line-height: 1.85;
}

.combined-summary p:last-child {
  margin-bottom: 0;
}

.knowledge-summary {
  padding: 16px;
  background: #f7fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.knowledge-summary p:last-child {
  margin-bottom: 0;
}

.knowledge-score-table {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.knowledge-score-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
}

.knowledge-score-table th,
.knowledge-score-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.knowledge-score-table th {
  background: #f7fbfc;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.knowledge-score-table td:nth-child(2),
.knowledge-score-table td:nth-child(3),
.knowledge-score-table td:nth-child(4) {
  color: var(--teal);
  font-weight: 800;
  white-space: nowrap;
}

.knowledge-score-table tr:last-child td {
  border-bottom: 0;
}

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

.mini-chart-card {
  min-height: 280px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-chart-card h3 {
  font-size: 16px;
}

.mini-chart-card canvas {
  width: 100% !important;
  height: 220px !important;
}

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

.knowledge-card,
.knowledge-detail,
.unlock-report {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.knowledge-card strong {
  display: block;
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

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

.knowledge-detail {
  grid-column: 1 / -1;
}

.knowledge-detail ol {
  margin: 10px 0 0;
  padding-left: 20px;
  line-height: 1.75;
}

.knowledge-breakdown {
  display: grid;
  gap: 12px;
}

.knowledge-breakdown article,
.knowledge-type {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.module-summary {
  margin: 8px 0 14px;
  color: var(--ink);
  line-height: 1.85;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 70px minmax(0, 2fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #f7fbfc;
  border-radius: 8px;
}

.detail-row strong {
  color: var(--teal);
  font-size: 20px;
}

.detail-row small {
  color: var(--muted);
  line-height: 1.5;
}

.translation-rubric {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.translation-rubric div {
  padding: 10px;
  background: #f7fbfc;
  border-radius: 8px;
}

.translation-rubric span,
.translation-rubric strong {
  display: block;
}

.translation-rubric strong {
  color: var(--teal);
  font-size: 20px;
}

.unlock-report {
  background: #fff8ed;
  border-color: #f4d49b;
}

.unlock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.unlock-gate {
  display: grid;
  gap: 18px;
}

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

.unlock-path {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.unlock-path.is-recommended {
  border-color: var(--teal-2);
  box-shadow: 0 18px 40px rgba(20, 184, 166, 0.18);
}

.unlock-path h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.unlock-path p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.free-unlock-steps {
  display: grid;
  gap: 10px;
}

.free-unlock-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
}

.free-unlock-step .step-num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 950;
}

.free-unlock-step h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.free-unlock-step p {
  font-size: 15px;
}

.free-unlock-step .secondary {
  margin-top: 10px;
}

.step-generate {
  background: #ecfdf5;
  border-left-color: #10b981;
}

.step-generate .step-num {
  background: #059669;
}

.step-share {
  background: #eff6ff;
  border-left-color: #2563eb;
}

.step-share .step-num {
  background: #2563eb;
}

.step-upload {
  background: #fff7ed;
  border-left-color: #f59e0b;
}

.step-upload .step-num {
  background: #d97706;
}

.unlock-form {
  display: grid;
  gap: 12px;
}

.unlock-form input[type="file"] {
  width: 100%;
  padding: 10px;
  background: #f7fbfc;
  border: 1px dashed var(--teal-2);
  border-radius: 8px;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px;
  background: #f7fbfc;
  border: 1px dashed var(--teal-2);
  border-radius: 8px;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  white-space: nowrap;
}

#freeShareProofName {
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.attribution h3,
.goals h3 {
  margin-bottom: 0;
}

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

.attribution-card,
.goal-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.attribution-card h4,
.goal-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

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

.priority-list {
  display: grid;
  gap: 10px;
}

.priority-list article {
  padding: 14px;
  background: #f7fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.priority-list h4 {
  margin: 0 0 6px;
  font-size: 17px;
}

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

.combined-report #actionPlan,
.combined-report #actionPlan li {
  line-height: 1.8;
}

.combined-report #actionPlan {
  margin: 0;
  padding-left: 22px;
}

.combined-report #actionPlan li {
  margin-bottom: 12px;
  padding-left: 4px;
}

.evidence {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 34px clamp(18px, 4vw, 34px);
  font-size: 67%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.evidence .section-head h2 {
  font-size: clamp(18px, 2vw, 23px);
}

.evidence .section-head p {
  font-size: 13px;
}

.evidence-block {
  margin-top: 16px;
}

.evidence-block h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
}

.citation-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.citation-list li {
  padding-left: 4px;
}

.citation-list a {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.citation-list a:hover {
  text-decoration: underline;
}

.evidence-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.partner-consult-btn {
  flex: 0 0 auto;
  position: static;
  margin-top: 22px;
  padding: 0 18px;
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.partner-consult-btn:hover {
  color: var(--teal);
  background: #f7fffd;
  border-color: var(--teal-2);
}

.partner-consult-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.copyright-note {
  margin: 18px 0 0;
  color: #6b7d8b;
  font-size: 12px;
  line-height: 1.7;
}

.partner {
  max-width: 1200px;
  margin: 18px auto 42px;
  padding: 34px clamp(18px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.partner-grid article {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-grid h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

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

.partner-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
  gap: 12px;
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.share-primary {
  min-height: 54px;
  padding: 0 26px;
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(239, 111, 97, 0.24);
}

.share-primary:hover {
  background: #dc5f52;
}

.conversion {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 34px clamp(18px, 4vw, 34px);
  background: #172027;
  color: #fff;
  border-radius: 8px;
}

.conversion p {
  color: rgba(255, 255, 255, 0.78);
}

.wechat-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.qr {
  display: grid;
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  place-items: center;
  align-content: center;
  color: var(--ink);
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0/24px 24px,
    linear-gradient(#111 10px, transparent 10px) 0 0/24px 24px,
    #fff;
  border: 8px solid #fff;
  border-radius: 8px;
}

.qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.qr span,
.qr strong {
  padding: 2px 4px;
  background: #fff;
}

.label {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.advisor-name {
  display: block;
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.86);
}

.product-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-panel article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.product-panel article p {
  margin: 0;
}

.product-wechat-card {
  width: 100%;
  margin-top: auto;
  padding: 14px;
}

.product-wechat-card .secondary {
  margin-top: 10px;
}

.paid-lead-form {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
}

.lead-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.lead-form label {
  color: #fff;
}

dialog {
  width: min(560px, calc(100vw - 18px));
  max-height: calc(100vh - 18px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: auto;
}

#partnerDialog {
  width: min(1040px, calc(100vw - 18px));
  background: #f8faf9;
}

.partner-dialog-body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.partner-modal-head {
  background: #ffffff;
}

.partner-modal-kicker {
  display: block;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 18px;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 78, 59, 0.97), rgba(13, 148, 136, 0.9) 58%, rgba(20, 83, 45, 0.95)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1400&q=80") center/cover;
  border-radius: 8px;
}

.partner-hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.partner-pill {
  width: fit-content;
  padding: 7px 12px;
  color: #064e3b;
  background: #bbf7d0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.partner-hero h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.partner-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.65;
}

.partner-pain-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-pain-row span {
  padding: 8px 12px;
  color: #ecfdf5;
  background: rgba(6, 78, 59, 0.58);
  border: 1px solid rgba(187, 247, 208, 0.36);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.partner-proof {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.partner-proof strong {
  color: #bbf7d0;
  font-size: 34px;
  line-height: 1;
}

.partner-proof span {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.partner-problem-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.partner-problem-strip article {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-left: 5px solid #10b981;
  border-radius: 8px;
}

.partner-problem-strip span {
  display: block;
  margin-bottom: 12px;
  color: #059669;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.partner-problem-strip strong {
  display: block;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
}

.partner-dialog-body .partner-grid,
.partner-solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-solution-grid article {
  position: relative;
  min-height: 176px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dbe7e2;
  border-radius: 8px;
}

.partner-solution-grid small {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  background: #0f766e;
  border-radius: 50%;
  font-weight: 900;
}

.partner-solution-grid h3 {
  margin-top: 14px;
  font-size: 24px;
}

.partner-solution-grid p {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.65;
}

.partner-action-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  padding: 18px;
  background: #0f172a;
  border-radius: 8px;
}

.partner-action-copy {
  align-self: center;
}

.partner-action-copy span {
  color: #86efac;
  font-size: 14px;
  font-weight: 900;
}

.partner-action-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
}

.partner-dialog-body .partner-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  padding: 0;
  background: transparent;
  border: 0;
}

.partner-dialog-body .partner-form button {
  width: 100%;
  justify-self: stretch;
}

.partner-dialog-body .partner-form .admin-link {
  justify-self: stretch;
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(209, 250, 229, 0.3);
}

.partner-dialog-body .partner-form label {
  color: #ffffff;
}

.partner-dialog-body .partner-form input,
.partner-dialog-body .partner-form select {
  background: #ffffff;
}

dialog::backdrop {
  background: rgba(8, 26, 34, 0.5);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
}

.icon-btn {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.share-poster {
  position: relative;
  margin: 18px;
  padding: 18px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(9, 29, 35, 0.98), rgba(16, 48, 55, 0.94) 56%, rgba(12, 28, 34, 0.98)),
    url("https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&w=1000&q=80") center/cover;
  border-radius: 8px;
}

.share-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 18, 23, 0.2), rgba(5, 18, 23, 0.78) 58%, rgba(5, 18, 23, 0.18));
  pointer-events: none;
}

.share-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 44%, rgba(255, 255, 255, 0.08), rgba(12, 28, 34, 0) 30%);
  pointer-events: none;
}

.share-poster-head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.share-poster-head h4 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.15;
}

.poster-avatar {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  overflow: hidden;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.poster-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-rank-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.poster-rank-symbol {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: #103b2f;
  background: linear-gradient(135deg, #fde68a, #34d399);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.32);
}

.poster-rank-card span {
  display: block;
  color: #ecfdf5;
  font-size: 20px;
  font-weight: 900;
}

.poster-rank-card p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.poster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.poster-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #083b37;
  background: #b9f6ed;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.share-poster-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 38%);
  gap: 18px;
  align-items: center;
  margin: 20px 0;
}

.share-teacher-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: url("/assets/share-teachers-v2/poster-teacher-v2-01-female-white-blazer-modern-classroom.png?v=20260621v2") center center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.share-poster-body img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center center;
}

.share-poster-body p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.share-poster-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.share-poster-foot span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.share-poster-foot p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.share-poster code {
  display: inline-flex;
  margin-top: 4px;
  padding: 6px 10px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.poster-qr-img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
}

#shareText {
  width: calc(100% - 36px);
  margin: 0 18px 14px;
}

dialog .primary {
  width: calc(100% - 36px);
  margin: 0 18px 12px;
}

.dialog-secondary {
  width: calc(100% - 36px);
  margin: 0 18px 12px;
}

.modal-note {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  min-width: 180px;
  padding: 12px 16px;
  color: #fff;
  text-align: center;
  background: rgba(23, 32, 39, 0.94);
  border-radius: 8px;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: all 0.2s ease;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

#adminToast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  min-width: 180px;
  padding: 12px 16px;
  color: #fff;
  text-align: center;
  background: rgba(23, 32, 39, 0.94);
  border-radius: 8px;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: all 0.2s ease;
  pointer-events: none;
}

#adminToast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.admin-body {
  background: #eef5f4;
}

.admin-app {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px;
}

.admin-login {
  display: grid;
  gap: 18px;
  min-height: 100vh;
  align-content: center;
}

.admin-login h1 {
  margin: 0;
  font-size: clamp(32px, 10vw, 46px);
  line-height: 1.12;
}

.admin-login p,
.lead-card p {
  color: var(--muted);
  line-height: 1.7;
}

.admin-card,
.detail-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(25, 36, 45, 0.1);
}

.admin-dashboard {
  display: grid;
  gap: 14px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-head h2 {
  margin: 0;
}

.admin-subtitle {
  max-width: 520px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  background: #dfeceb;
  border-radius: 8px;
}

.admin-tabs button {
  min-height: 42px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.admin-tabs button.active {
  color: #fff;
  background: var(--teal);
}

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

.partner-config,
.recharge-form {
  grid-template-columns: 1fr;
}

.poster-scene-head {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #dbe7e2;
  border-radius: 8px;
}

.poster-scene-head span {
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.poster-scene-head h3 {
  margin: 6px 0;
  font-size: 26px;
}

.poster-scene-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.poster-scene-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.poster-scene-tabs button {
  min-height: 52px;
  padding: 8px 10px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #dbe7e2;
  border-radius: 8px;
  font-weight: 900;
}

.poster-scene-tabs button.active {
  color: #ffffff;
  background: #0f766e;
  border-color: #0f766e;
}

.poster-scene-tabs span {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  opacity: 0.78;
}

.partner-poster-board {
  display: grid;
}

.partner-poster {
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(5, 18, 25, 0.96) 0%, rgba(5, 46, 42, 0.9) 48%, rgba(5, 18, 25, 0.18) 100%),
    var(--poster-bg) center/cover;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(12, 28, 34, 0.22);
}

.partner-poster[data-tone="blue"] {
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.96) 0%, rgba(29, 78, 216, 0.78) 50%, rgba(15, 23, 42, 0.18) 100%),
    var(--poster-bg) center/cover;
}

.partner-poster[data-tone="gold"] {
  background:
    linear-gradient(105deg, rgba(41, 24, 5, 0.96) 0%, rgba(180, 83, 9, 0.78) 50%, rgba(41, 24, 5, 0.18) 100%),
    var(--poster-bg) center/cover;
}

.partner-poster[data-tone="indigo"] {
  background:
    linear-gradient(105deg, rgba(17, 24, 39, 0.97) 0%, rgba(67, 56, 202, 0.76) 52%, rgba(17, 24, 39, 0.2) 100%),
    var(--poster-bg) center/cover;
}

.partner-poster[data-tone="red"] {
  background:
    linear-gradient(105deg, rgba(45, 12, 19, 0.96) 0%, rgba(190, 18, 60, 0.75) 52%, rgba(45, 12, 19, 0.18) 100%),
    var(--poster-bg) center/cover;
}

.partner-poster[data-tone="purple"] {
  background:
    linear-gradient(105deg, rgba(31, 16, 54, 0.96) 0%, rgba(126, 34, 206, 0.72) 52%, rgba(31, 16, 54, 0.18) 100%),
    var(--poster-bg) center/cover;
}

.partner-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.poster-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  max-width: 660px;
  min-height: 520px;
  padding: 42px;
}

.poster-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.poster-topline span,
.poster-topline strong {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.poster-topline span {
  color: #052e2b;
  background: #bbf7d0;
}

.poster-topline strong {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.partner-poster h3 {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
}

.poster-hook {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  line-height: 1.65;
}

.partner-poster ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.partner-poster li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.5;
}

.partner-poster li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: #86efac;
  border-radius: 50%;
}

.poster-qr-panel {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  gap: 14px;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 64px);
  margin: 0 0 34px 42px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.poster-qr-panel img {
  width: 136px;
  height: 136px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
}

.poster-qr-panel strong,
.poster-qr-panel small {
  display: block;
}

.poster-qr-panel strong {
  color: #0f172a;
  font-size: 22px;
  line-height: 1.2;
}

.poster-qr-panel small {
  margin-top: 8px;
  color: #475569;
  line-height: 1.5;
}

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

.finance-grid h3 {
  margin: 8px 0 6px;
  color: var(--teal);
  font-size: 30px;
}

.settlement-card h3 {
  margin: 8px 0 6px;
}

.lead-card {
  grid-template-columns: 1fr;
}

.lead-card h3 {
  margin: 8px 0 6px;
}

.lead-card p {
  margin: 0 0 4px;
}

.admin-badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: #09413c;
  background: #ccfbf1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.admin-empty {
  padding: 22px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.detail-panel {
  position: sticky;
  bottom: 10px;
  z-index: 10;
}

.detail-panel textarea {
  min-height: 320px;
  font-size: 14px;
  line-height: 1.7;
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reward-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.reward-panel h3 {
  margin-bottom: 8px;
}

.reward-form {
  display: grid;
  gap: 12px;
}

.reward-form label {
  color: #fff;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .hero,
  .shell,
  .report-grid,
  .conversion {
    grid-template-columns: 1fr;
  }

  .shell {
    margin-top: 0;
    padding-top: 18px;
  }

  .steps {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }

  .step {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .lead-form,
  .product-panel,
  .unlock-path-grid,
  .dimension-grid,
  .learning-insight,
  .assessment-mode,
  .painpoints,
  .attribution-grid,
  .knowledge-charts,
  .knowledge-grid,
  .combined-score-row,
  .goal-grid,
  .partner-grid,
  .partner-form,
  .evidence-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .partner-dialog-body .partner-grid,
  .partner-dialog-body .partner-form,
  .partner-hero,
  .partner-problem-strip,
  .template-grid,
  .sample-cover,
  .sample-summary-grid,
  .sample-report-grid,
  .sample-diagnosis,
  .sample-plan-grid,
  .partner-action-panel {
    grid-template-columns: 1fr;
  }

  .partner-hero {
    min-height: auto;
    padding: 20px;
  }

  .partner-proof {
    align-content: start;
  }

  .partner-consult-btn {
    position: static;
    justify-content: center;
    width: fit-content;
    margin-top: 0;
    font-size: 14px;
  }

  .report-cover {
    min-height: 720px;
    align-content: start;
    background:
      linear-gradient(180deg, rgba(12, 28, 34, 0.98) 0%, rgba(12, 28, 34, 0.94) 48%, rgba(12, 28, 34, 0.64) 70%, rgba(12, 28, 34, 0.22) 100%),
      linear-gradient(135deg, #0c1c22, #173832);
  }

  .report-cover::before {
    inset: auto 0 0;
    height: 44%;
    background:
      linear-gradient(180deg, rgba(12, 28, 34, 0), rgba(12, 28, 34, 0.08)),
      url("/assets/share-teachers-v2/poster-teacher-v2-01-female-white-blazer-modern-classroom.png?v=20260621v2") center bottom / cover no-repeat;
    opacity: 0.9;
  }

  .cover-copy {
    max-width: 100%;
    padding-bottom: 230px;
  }

  .cover-visual {
    min-height: 0;
    align-items: end;
  }

  .expert-card {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 220px;
  }

  .knowledge-score-table table {
    min-width: 620px;
  }

  .learning-score-table table {
    min-width: 620px;
  }

}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    gap: 10px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 28px 16px;
    background-position: 35% center;
  }

  h1 {
    font-size: 34px;
  }

  .csed-logo strong {
    font-size: 76px;
  }

  .csed-logo span {
    font-size: 15px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions > button,
  .unlock-actions > button,
  .report-actions > button {
    width: 100%;
  }

  .form-grid,
  .translation-rubric,
  .quiz-head,
  .report-header {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .subsection-title {
    font-size: 17px;
  }

  .knowledge-score-table {
    margin-right: -2px;
  }

  .knowledge-score-table table {
    min-width: 560px;
    font-size: 14px;
  }

  .learning-score-table table {
    min-width: 560px;
    font-size: 14px;
  }

  .knowledge-score-table th,
  .knowledge-score-table td,
  .learning-score-table th,
  .learning-score-table td {
    padding: 10px;
  }

  .mini-chart-card {
    min-height: 250px;
    padding: 14px;
  }

  .mini-chart-card canvas {
    height: 200px !important;
  }

  .module-summary,
  .combined-summary p,
  .combined-report #actionPlan li {
    line-height: 1.75;
  }

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-template {
    margin-top: 18px;
  }

  .template-grid article {
    min-height: auto;
    padding: 18px;
  }

  .template-cta {
    width: 100%;
  }

  .sample-report-card {
    padding: 14px;
  }

  .sample-cover,
  .sample-summary-grid article,
  .sample-chart-box,
  .sample-table-card,
  .sample-diagnosis,
  .sample-action-plan,
  .sample-advisor-note {
    padding: 16px;
  }

  .sample-score {
    min-height: 116px;
  }

  .sample-score strong {
    font-size: 48px;
  }

  .sample-chart-head,
  .sample-advisor-note {
    align-items: stretch;
    flex-direction: column;
  }

  .sample-radar {
    max-width: 300px;
  }

  .sample-radar text {
    font-size: 11px;
  }

  .sample-table-card table {
    min-width: 620px;
    font-size: 14px;
  }

  .free-unlock-step {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
  }

  .free-unlock-step .step-num {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .admin-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .poster-scene-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-poster {
    min-height: 660px;
  }

  .poster-content {
    min-height: 420px;
    padding: 24px;
  }

  .partner-poster h3 {
    font-size: 34px;
  }

  .poster-hook {
    font-size: 17px;
  }

  .partner-poster li {
    font-size: 15px;
  }

  .poster-qr-panel {
    flex-direction: column;
    align-items: flex-start;
    max-width: calc(100% - 48px);
    margin: 0 0 24px 24px;
  }

  .poster-qr-panel img {
    width: 116px;
    height: 116px;
  }

  #partnerDialog {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
  }

  .partner-dialog-body {
    padding: 12px;
  }

  .partner-modal-head {
    padding: 14px;
  }

  .partner-hero h2 {
    font-size: 34px;
  }

  .partner-hero p,
  .partner-action-copy p {
    font-size: 16px;
  }

  .partner-problem-strip strong {
    font-size: 16px;
  }

  .partner-problem-strip span {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .partner-solution-grid h3 {
    font-size: 21px;
  }

  .partner-solution-grid p {
    font-size: 15px;
  }

  .partner-action-panel {
    padding: 14px;
  }

  .finance-grid {
    grid-template-columns: 1fr;
  }

  .score-badge {
    width: 100%;
    height: auto;
    min-height: 92px;
  }

  .report-cover {
    padding: 22px;
  }

  .report-cover h2 {
    font-size: 36px;
  }

  .share-poster-body {
    grid-template-columns: 1fr;
  }

  .share-teacher-frame {
    aspect-ratio: 16 / 10;
  }

  .share-poster-head {
    gap: 14px;
  }

  .share-poster-head h4 {
    font-size: 24px;
  }

  .poster-avatar {
    width: 52px;
    height: 52px;
  }

  .poster-rank-card {
    grid-template-columns: 56px 1fr;
    padding: 12px;
  }

  .poster-rank-symbol {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .poster-rank-card span {
    font-size: 18px;
  }

  .share-poster-foot {
    grid-template-columns: 96px 1fr;
  }

  .poster-qr-img {
    width: 96px;
    height: 96px;
  }

}

@media print {
  body {
    background: #fff;
  }

  .topbar,
  .hero,
  .steps,
  .report-actions,
  .conversion {
    display: none !important;
  }

  .shell {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .panel {
    box-shadow: none;
    border: 0;
  }
}
