:root {
  --mint: #7fc0ac;
  --sea: #5db99d;
  --turquoise: #6dc3b2;
  --aqua: #36ad99;
  --sky: #97cff1;
  --silver: #a1a0a2;
  --light: #bbbbbb;
  --grey: #76777b;
  --storm: #55555b;
  --black: #000000;
  --white: #ffffff;
  --surface: #f9f9f9;
  --surface-low: #f3f3f3;
  --surface-high: #e8e8e8;
  --line: rgba(161, 160, 162, 0.34);
  --line-strong: rgba(85, 85, 91, 0.22);
  --text: #1b1b1b;
  --muted: #3f4945;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  --radius-sm: 4px;
  --radius: 8px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1180px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(127, 192, 172, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(127, 192, 172, 0.05) 1px, transparent 1px),
    var(--surface);
  background-size: 28px 28px;
  font-family: "Hanken Grotesk", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Avenir Next", sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--white);
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--white);
}

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

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

.review-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.back-link,
.side-nav a {
  text-decoration: none;
  color: var(--text);
}

.back-link {
  width: max-content;
  font-size: 12px;
  color: var(--sea);
}

.review-brand {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
}

.brand-word {
  width: 78px;
}

.brand-word img,
.phone-topbar-logo,
.h5-booking-eyebrow img {
  display: block;
  width: 78px;
  height: auto;
}

.review-brand p,
.side-note span,
.panel-kicker,
.action-status,
.timeline-meta,
.muted {
  color: var(--grey);
}

.review-brand p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 13px;
}

.side-nav a.is-active,
.side-nav a:hover {
  border-color: var(--sea);
  background: rgba(127, 192, 172, 0.12);
  color: #00513f;
}

.side-note {
  margin-top: auto;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface-low);
  font-size: 12px;
  line-height: 1.55;
}

.review-main {
  padding: 24px;
  min-width: 0;
}

.review-header,
.panel-head,
.phone-topbar,
.audit-actions,
.header-actions,
.script-tabs,
.task-meta-row,
.phone-page-tabs,
.check-row,
.summary-grid {
  display: flex;
}

.review-header {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
}

h2 {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

h3 {
  font-size: 15px;
  line-height: 1.4;
}

.eyebrow,
.panel-kicker,
.tiny-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow,
.panel-kicker {
  color: var(--sea);
  margin-bottom: 6px;
}

.header-actions,
.audit-actions,
.script-tabs {
  gap: 8px;
}

.primary-action,
.secondary-action {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
}

.primary-action {
  border-color: var(--sea);
  background: var(--sea);
  color: var(--white);
}

.primary-action:hover {
  background: #369a82;
}

.secondary-action:hover {
  border-color: var(--sea);
  color: var(--sea);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.summary-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.summary-card {
  padding: 14px;
}

.summary-card span {
  display: block;
  color: var(--grey);
  font-size: 12px;
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 286px minmax(520px, 1fr) 420px;
  gap: 12px;
  align-items: start;
}

.panel {
  min-width: 0;
  padding: 16px;
}

.wecom-advisor-panel {
  margin-bottom: 12px;
}

.wecom-panel-head,
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wecom-panel-head h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

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

.wecom-filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.wecom-filter-row input {
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

.advisor-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.advisor-shortcuts button {
  min-height: 32px;
  border: 1px solid rgba(93, 185, 157, 0.36);
  border-radius: 999px;
  padding: 0 10px;
  color: #00513f;
  background: rgba(127, 192, 172, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.wecom-note {
  margin: 0;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.6;
}

.wecom-binding-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-low);
}

.wecom-binding-card > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.wecom-binding-card span,
.wecom-binding-card em,
.wecom-binding-card p {
  color: var(--grey);
  font-size: 11px;
  line-height: 1.45;
  font-style: normal;
}

.wecom-binding-card strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.wecom-binding-card.is-ready {
  border-color: rgba(93, 185, 157, 0.38);
  background: rgba(127, 192, 172, 0.12);
}

.wecom-binding-card.is-muted {
  border-color: rgba(161, 160, 162, 0.32);
  background: rgba(255, 255, 255, 0.74);
}

.wecom-binding-card.is-blocked {
  border-color: rgba(186, 26, 26, 0.18);
  background: #fffbfa;
}

.count-chip,
.status-chip,
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
  color: var(--storm);
  background: var(--surface-low);
  white-space: nowrap;
}

.status-chip.is-ready,
.tag.is-ready {
  border-color: rgba(93, 185, 157, 0.45);
  color: #00513f;
  background: rgba(127, 192, 172, 0.16);
}

.status-chip.is-blocked,
.tag.is-blocked {
  border-color: rgba(186, 26, 26, 0.26);
  color: #93000a;
  background: #ffefed;
}

.status-chip.is-muted,
.tag.is-muted {
  color: var(--grey);
}

.filter-row input {
  height: 38px;
  padding: 0 12px;
  margin-bottom: 10px;
}

.task-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 260px);
  overflow: auto;
  padding-right: 2px;
}

.task-item {
  width: 100%;
  text-align: left;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
}

.task-item.is-active {
  border-color: var(--sea);
  background: rgba(127, 192, 172, 0.13);
}

.task-item strong {
  font-size: 13px;
  line-height: 1.35;
}

.task-item small {
  color: var(--grey);
  line-height: 1.45;
}

.task-meta-row {
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.task-card-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.task-card-detail > * {
  min-width: 0;
  max-width: 100%;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.task-card-metric-grid,
.task-hook-grid,
.task-goal-grid,
.task-angle-grid,
.classification-evidence-grid {
  display: grid;
  gap: 8px;
}

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

.task-hook-grid {
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
}

.task-goal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.classification-evidence-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-box,
.evidence-card,
.talk-card,
.h5-mini-card,
.boundary-card,
.classification-evidence-grid article,
.task-hook-grid article,
.task-goal-grid article,
.task-angle-grid article,
.readonly-script-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric-box {
  padding: 12px;
}

.task-hook-grid article,
.task-goal-grid article,
.task-angle-grid article,
.classification-evidence-grid article,
.readonly-script-card {
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 7px;
}

.task-hook-grid article.is-primary,
.task-angle-grid article.is-selected,
.readonly-script-card {
  border-color: rgba(93, 185, 157, 0.34);
  background: rgba(127, 192, 172, 0.1);
}

.task-hook-grid span,
.task-goal-grid span,
.task-angle-grid span,
.classification-evidence-grid span,
.readonly-script-card span {
  color: var(--grey);
  font-size: 11px;
  line-height: 1.45;
}

.task-hook-grid strong,
.task-goal-grid strong,
.task-angle-grid strong,
.classification-evidence-grid strong {
  overflow-wrap: anywhere;
}

.task-hook-grid p,
.task-goal-grid p,
.task-angle-grid p,
.task-angle-grid blockquote,
.classification-evidence-grid p,
.readonly-script-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.classification-evidence-grid article {
  align-content: start;
  gap: 8px;
}

.classification-evidence-grid footer {
  display: grid;
  gap: 5px;
}

.classification-evidence-grid small,
.classification-evidence-grid em {
  color: var(--grey);
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.classification-evidence-grid em {
  color: var(--storm);
}

.task-angle-grid blockquote {
  border-left: 3px solid var(--sea);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  padding: 8px;
}

.task-angle-grid button {
  min-height: 32px;
  padding: 0 10px;
}

.readonly-script-card em {
  color: var(--grey);
  font-size: 11px;
  font-style: normal;
}

.metric-box span,
.tiny-label {
  display: block;
  color: var(--grey);
  font-size: 11px;
}

.metric-box strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.section-stack {
  display: grid;
  gap: 8px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--storm);
}

.evidence-card,
.talk-card,
.h5-mini-card,
.boundary-card {
  padding: 12px;
  line-height: 1.55;
  font-size: 13px;
}

.script-tabs button {
  min-height: 32px;
  padding: 0 12px;
}

.script-tabs button.is-active {
  border-color: var(--sea);
  background: var(--sea);
  color: var(--white);
}

.preview-panel {
  position: sticky;
  top: 16px;
}

.phone-shell {
  width: 350px;
  height: 720px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-topbar {
  flex: none;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(161, 160, 162, 0.22);
  color: var(--sea);
  font-weight: 700;
  font-size: 13px;
}

.phone-topbar span:last-child {
  color: var(--grey);
  font-size: 11px;
  font-weight: 600;
}

.h5-preview {
  flex: 1;
  min-height: 0;
  padding: 18px 16px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background:
    linear-gradient(180deg, rgba(127, 192, 172, 0.08), rgba(255, 255, 255, 0) 180px),
    var(--white);
}

.h5-preview::-webkit-scrollbar { width: 6px; }
.h5-preview::-webkit-scrollbar-thumb { background: rgba(127, 192, 172, 0.4); border-radius: 6px; }

.h5-page {
  display: grid;
  gap: 18px;
  animation: fadeIn 180ms ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.h5-title {
  font-size: 28px;
  line-height: 1.28;
  font-weight: 500;
}

.h5-body {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.h5-card,
.h5-observation,
.h5-detail-entry {
  border: 1px solid rgba(161, 160, 162, 0.3);
  border-radius: var(--radius);
  background: var(--white);
}

.h5-card {
  padding: 18px;
}

.h5-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.h5-observation {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px;
}

.h5-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(127, 192, 172, 0.14);
  color: var(--sea);
  font-size: 15px;
  font-weight: 700;
}

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

.h5-detail-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 14px;
}

.h5-action {
  min-height: 48px;
  border-color: var(--sea);
  background: var(--sea);
  color: var(--white);
  font-weight: 600;
}

.phone-page-tabs {
  flex: none;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 12px;
  background: var(--white);
  border-top: 1px solid rgba(161, 160, 162, 0.22);
}

.page-tab {
  width: 34px;
  height: 28px;
  font-size: 11px;
}

.page-tab.is-active {
  border-color: var(--sea);
  background: rgba(127, 192, 172, 0.16);
  color: #00513f;
}

.audit-grid {
  display: grid;
  grid-template-columns: minmax(480px, 0.9fr) minmax(420px, 1.1fr);
  gap: 12px;
  margin-top: 12px;
}

.audit-checklist {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.check-row {
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.check-row input {
  width: auto;
  margin-top: 2px;
  accent-color: var(--sea);
}

.check-row strong {
  display: block;
  font-size: 13px;
}

.check-row span {
  display: block;
  margin-top: 4px;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.45;
}

.action-status {
  min-height: 22px;
  margin-top: 10px;
  font-size: 12px;
}

.timeline-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}

.timeline-item {
  border-left: 2px solid var(--mint);
  padding: 8px 10px;
  background: var(--surface-low);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
}

.timeline-item strong {
  display: block;
  font-size: 13px;
}

.timeline-meta {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.ys-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.archive-mark {
  width: fit-content;
  border: 1px solid rgba(93, 185, 157, 0.34);
  border-radius: 999px;
  padding: 3px 8px;
  color: #00513f;
  background: rgba(127, 192, 172, 0.12);
  font-size: 11px;
  font-weight: 700;
}

.archive-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(93, 185, 157, 0.28);
  border-radius: var(--radius);
  padding: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(127, 192, 172, 0.18), transparent 34%),
    var(--white);
}

.archive-hero-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.archive-hero-card p,
.analysis-card p,
.analysis-card small,
.h5-map-grid p,
.step-audit-grid p {
  color: var(--grey);
  line-height: 1.55;
}

.status-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.six-up {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.metric-box em {
  display: block;
  margin-top: 5px;
  color: var(--grey);
  font-size: 11px;
  font-style: normal;
}

.inline-evidence,
.deliverable-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-evidence {
  margin-top: 12px;
}

.inline-evidence span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--storm);
  background: var(--surface-low);
  font-size: 11px;
}

.analysis-grid,
.reasoning-grid,
.boundary-columns,
.h5-map-grid,
.step-audit-grid,
.truth-grid,
.analysis-result-grid,
.verification-grid,
.support-grid,
.score-breakdown-grid {
  display: grid;
  gap: 8px;
}

.analysis-grid,
.h5-map-grid,
.step-audit-grid,
.boundary-columns,
.analysis-result-grid,
.verification-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.truth-grid {
  grid-template-columns: minmax(240px, 1.4fr) minmax(280px, 1.8fr) repeat(2, minmax(120px, 0.8fr));
}

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

.score-breakdown-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.boundary-columns.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.analysis-card,
.truth-card,
.support-card,
.score-audit-card,
.score-row-card,
.h5-map-grid article,
.step-audit-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--white);
}

.support-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.support-card strong,
.score-audit-card strong {
  color: var(--storm);
  font-size: 13px;
}

.support-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.support-card dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: start;
}

.support-card dt {
  color: var(--grey);
  font-size: 11px;
}

.support-card dd {
  margin: 0;
  color: var(--storm);
  font-size: 12px;
  line-height: 1.45;
}

.score-audit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-color: rgba(93, 185, 157, 0.32);
  background: rgba(127, 192, 172, 0.07);
}

.score-audit-card p {
  margin: 6px 0 0;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.55;
}

.score-total {
  min-width: 150px;
  border: 1px solid rgba(93, 185, 157, 0.34);
  border-radius: var(--radius-sm);
  padding: 10px;
  background: var(--white);
}

.score-total span,
.score-row-card span {
  display: block;
  color: var(--grey);
  font-size: 11px;
}

.score-total strong {
  display: block;
  margin-top: 4px;
  color: #00513f;
  font-size: 14px;
}

.score-row-card {
  display: grid;
  gap: 5px;
  min-height: 86px;
}

.score-row-card strong {
  color: var(--storm);
  font-size: 18px;
}

.score-row-card em {
  color: var(--grey);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.truth-card {
  min-height: 76px;
}

.truth-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--grey);
  font-size: 11px;
}

.truth-card strong {
  color: var(--storm);
  font-size: 13px;
  line-height: 1.45;
}

.analysis-card strong,
.evidence-card strong,
.boundary-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--storm);
  font-size: 13px;
}

.analysis-card small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

.dense-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dense-list li {
  position: relative;
  padding-left: 14px;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.55;
}

.dense-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sea);
}

.workflow-rail {
  display: grid;
  gap: 7px;
}

.workflow-rail div {
  border-left: 2px solid var(--sea);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 8px 10px;
  background: rgba(127, 192, 172, 0.08);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.feedback-panel {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(93, 185, 157, 0.26);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(127, 192, 172, 0.07);
}

.feedback-panel label {
  display: grid;
  gap: 8px;
  color: var(--storm);
  font-size: 12px;
  font-weight: 700;
}

.feedback-panel textarea {
  min-height: 82px;
  resize: vertical;
  background: var(--white);
}

.feedback-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-chip-row button {
  min-height: 30px;
  padding: 0 10px;
  border-color: rgba(93, 185, 157, 0.38);
  color: #00513f;
  background: rgba(127, 192, 172, 0.13);
  font-size: 12px;
}

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

.review-flow-card,
.review-event-samples article {
  min-width: 0;
  border: 1px solid rgba(93, 185, 157, 0.22);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--white);
}

.review-flow-card.is-current {
  border-color: rgba(93, 185, 157, 0.45);
  background: rgba(127, 192, 172, 0.1);
}

.review-flow-card span,
.review-event-samples span {
  display: block;
  margin-bottom: 6px;
  color: var(--sea);
  font-size: 11px;
  font-weight: 800;
}

.review-flow-card strong,
.review-event-samples strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.review-flow-card p,
.review-event-samples p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.review-flow-card em {
  display: block;
  margin-top: 8px;
  color: var(--grey);
  font-size: 11px;
  font-style: normal;
}

.review-event-samples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.boundary-card .tag {
  max-width: 100%;
  min-height: auto;
  margin: 2px;
  padding: 4px 8px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.action-chip-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-chip-row button {
  width: 100%;
  min-height: 34px;
  line-height: 1.35;
  white-space: normal;
}

.h5-map-grid span,
.step-audit-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--sea);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.h5-map-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.h5-map-grid p,
.step-audit-grid p {
  font-size: 12px;
}

.boundary-card.danger {
  border-color: rgba(186, 26, 26, 0.22);
  background: #fff8f7;
}

.deliverable-row a {
  border: 1px solid rgba(93, 185, 157, 0.42);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: #00513f;
  background: rgba(127, 192, 172, 0.1);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.phone-shell {
  width: min(375px, 100%);
  height: 760px;
  min-height: 0;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.phone-topbar {
  display: none;
}

.h5-preview {
  flex: 1;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
}

.phone-page-tabs {
  flex: none;
  height: 50px;
  padding: 10px 0 12px;
}

.h5-final-page {
  min-height: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
  color: #1b1b1b;
  background:
    radial-gradient(circle at 18% 8%, rgba(151, 207, 241, 0.28), transparent 24%),
    radial-gradient(circle at 94% 10%, rgba(127, 192, 172, 0.26), transparent 26%),
    linear-gradient(180deg, #fcfffd 0%, #f7fbf8 54%, #fff 100%);
  font-family: "Hanken Grotesk", "Microsoft YaHei UI", "PingFang SC", sans-serif;
}

.h5-final-page h2,
.h5-final-page h3,
.h5-final-page p {
  margin: 0;
}

.h5-final-nav,
.h5-footer,
.h5-footer div,
.h5-bento-card span {
  display: flex;
  align-items: center;
}

.h5-final-nav {
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
}

.h5-final-nav strong {
  color: #276958;
  font-size: 13px;
  letter-spacing: 0.09em;
}

.h5-final-logo {
  display: block;
  width: 78px;
  height: auto;
}

.h5-final-nav strong span {
  color: var(--grey);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.h5-final-nav > span {
  color: var(--grey);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.h5-final-hero {
  display: grid;
  gap: 14px;
}

.h5-final-hero.compact {
  gap: 10px;
}

.h5-final-hero h2 {
  max-width: 10em;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.h5-final-hero p,
.h5-closing-note {
  color: #55555b;
  font-size: 13px;
  line-height: 1.6;
}

.h5-orbit-visual {
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(127, 192, 172, 0.2), transparent 58%),
    linear-gradient(135deg, rgba(127, 192, 172, 0.09), rgba(151, 207, 241, 0.1));
}

.h5-orbit-ring {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(39, 105, 88, 0.22);
  border-radius: 50%;
  color: #276958;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(34, 92, 72, 0.1);
}

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

.h5-bento-card,
.h5-observation-final,
.h5-detail-row {
  border: 1px solid rgba(161, 160, 162, 0.26);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(34, 92, 72, 0.07);
}

.h5-bento-card {
  min-height: 64px;
  border-radius: 12px;
  padding: 10px 12px;
}

.h5-bento-card.wide {
  grid-column: 1 / -1;
}

.h5-bento-card span {
  gap: 6px;
  color: #5e5e60;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.h5-bento-card strong {
  display: block;
  margin-top: 5px;
  color: #1b1b1b;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.h5-notice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: start;
  border-radius: 10px;
  padding: 9px 10px;
  color: #276958;
  background: rgba(127, 192, 172, 0.1);
  font-size: 12px;
  line-height: 1.45;
}

.h5-primary-cta {
  width: 100%;
  min-height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: #276958;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.h5-primary-cta:hover,
.h5-detail-row:hover,
.h5-detail-continue:hover,
.h5-detail-back:hover,
.h5-detail-close:hover {
  transform: translateY(-1px);
}

.h5-primary-cta:active,
.h5-detail-row:active,
.h5-detail-continue:active,
.h5-detail-back:active,
.h5-detail-close:active {
  transform: translateY(0);
}

.h5-footer {
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  color: #76777b;
  font-size: 12px;
}

.h5-footer div {
  gap: 6px;
}

.h5-footer small {
  color: rgba(118, 119, 123, 0.55);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.h5-cream-visual {
  position: relative;
  height: 126px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(127, 192, 172, 0.14), rgba(151, 207, 241, 0.16)),
    #ffffff;
}

.cream-ripple,
.cream-drop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.cream-ripple {
  bottom: 24px;
  width: 190px;
  height: 42px;
  border: 1px solid rgba(39, 105, 88, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 192, 172, 0.18), transparent 58%);
}

.cream-drop {
  bottom: 36px;
  width: 36px;
  height: 58px;
  border-radius: 50% 50% 56% 56%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(127, 192, 172, 0.34));
  box-shadow: 0 18px 36px rgba(34, 92, 72, 0.14);
}

.h5-observation-list,
.h5-detail-list-final {
  display: grid;
  gap: 10px;
}

.h5-observation-final {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  border-radius: 12px;
  padding: 12px;
}

.h5-observation-final > div {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #276958;
  background: rgba(127, 192, 172, 0.13);
}

.h5-observation-final h3 {
  color: #276958;
  font-size: 17px;
  line-height: 1.25;
}

.h5-observation-final p {
  margin-top: 4px;
  color: #55555b;
  font-size: 12px;
  line-height: 1.55;
}

.h5-special-advice {
  border-left: 2px solid #276958;
  border-radius: 0 12px 12px 0;
  padding: 12px;
  background: rgba(127, 192, 172, 0.1);
}

.h5-special-advice span {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #276958;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.h5-special-advice strong {
  display: block;
  margin-top: 6px;
  color: #015141;
  font-size: 13px;
  line-height: 1.55;
}

.h5-title-rule {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #7fc0ac;
}

.h5-detail-row {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px 1fr 22px;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.h5-detail-row:hover {
  border-color: rgba(93, 185, 157, 0.52);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(34, 92, 72, 0.11);
}

.h5-detail-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #276958;
  background: rgba(127, 192, 172, 0.12);
}

.h5-detail-row strong {
  display: block;
  font-size: 16px;
}

.h5-detail-row small {
  display: block;
  margin-top: 3px;
  color: #76777b;
  font-size: 12px;
}

.h5-studio-visual {
  position: relative;
  height: 104px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent),
    linear-gradient(135deg, rgba(127, 192, 172, 0.18), rgba(151, 207, 241, 0.14));
}

.studio-shelf {
  position: absolute;
  right: 30px;
  bottom: 24px;
  width: 118px;
  height: 38px;
  border: 1px solid rgba(39, 105, 88, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.34);
}

.studio-bottle {
  position: absolute;
  bottom: 35px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(93, 185, 157, 0.42));
  box-shadow: 0 14px 28px rgba(34, 92, 72, 0.12);
}

.studio-bottle.one {
  right: 56px;
  width: 28px;
  height: 58px;
}

.studio-bottle.two {
  right: 92px;
  width: 22px;
  height: 44px;
  opacity: 0.85;
}

.h5-closing-note {
  text-align: center;
  padding: 0 14px;
}

.h5-detail-panel {
  min-height: 756px;
  height: 756px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  color: #1b1b1b;
  background:
    radial-gradient(circle at 12% 7%, rgba(151, 207, 241, 0.22), transparent 25%),
    radial-gradient(circle at 92% 0%, rgba(127, 192, 172, 0.22), transparent 28%),
    linear-gradient(180deg, #fbfffd 0%, #f7fbf8 64%, #ffffff 100%);
  animation: fadeIn 180ms ease-out;
  font-family: "Hanken Grotesk", "Microsoft YaHei UI", "PingFang SC", sans-serif;
}

.h5-detail-nav {
  min-height: 38px;
  display: grid;
  grid-template-columns: 72px 1fr 38px;
  align-items: center;
  gap: 8px;
}

.h5-detail-nav strong {
  justify-self: center;
  color: #276958;
  font-size: 12px;
  letter-spacing: 0.09em;
}

.h5-detail-nav strong span {
  color: var(--grey);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.h5-detail-back,
.h5-detail-close {
  min-height: 34px;
  border-color: rgba(127, 192, 172, 0.3);
  color: #276958;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.h5-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.h5-detail-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
}

.h5-detail-hero {
  display: grid;
  gap: 10px;
  padding: 14px 2px 2px;
}

.h5-detail-hero span {
  width: fit-content;
  border: 1px solid rgba(127, 192, 172, 0.36);
  border-radius: 999px;
  padding: 5px 9px;
  color: #276958;
  background: rgba(127, 192, 172, 0.1);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.h5-detail-hero h2 {
  margin: 0;
  max-width: 9.2em;
  color: #1b1b1b;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 600;
}

.h5-detail-hero p {
  margin: 0;
  color: #55555b;
  font-size: 13px;
  line-height: 1.68;
}

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

.h5-secondary-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(161, 160, 162, 0.26);
  border-radius: 14px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(34, 92, 72, 0.07);
}

.h5-secondary-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #276958;
  background: rgba(127, 192, 172, 0.12);
}

.h5-secondary-card h3 {
  margin: 0;
  color: #276958;
  font-size: 16px;
  line-height: 1.25;
}

.h5-secondary-card p {
  margin: 4px 0 0;
  color: #55555b;
  font-size: 12px;
  line-height: 1.58;
}

.h5-detail-note {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  border-left: 2px solid #276958;
  border-radius: 0 12px 12px 0;
  padding: 12px;
  color: #276958;
  background: rgba(127, 192, 172, 0.1);
}

.h5-detail-note p {
  margin: 0;
  color: #276958;
  font-size: 12px;
  line-height: 1.55;
}

.h5-detail-continue {
  width: 100%;
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #276958;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--grey);
  background: var(--surface-low);
}

.h5-review-block {
  border: 1px solid rgba(161, 160, 162, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.h5-review-redesign-hero {
  border-color: rgba(32, 70, 57, 0.2);
  background:
    linear-gradient(135deg, rgba(127, 192, 172, 0.18), rgba(255, 255, 255, 0) 48%),
    var(--white);
}

.hero-rule-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.hero-rule-strip span,
.inline-evidence span {
  border: 1px solid rgba(93, 185, 157, 0.28);
  border-radius: 999px;
  padding: 5px 8px;
  color: #00513f;
  background: rgba(127, 192, 172, 0.12);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.customer-basic-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
  gap: 10px;
}

.customer-basic-main,
.customer-basic-grid article,
.fact-summary-grid article,
.hook-main-card,
.hook-data-card,
.interaction-board-v2 article,
.angle-rules-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background: var(--white);
}

.customer-basic-main {
  display: grid;
  align-content: start;
  gap: 10px;
  border-color: rgba(93, 185, 157, 0.34);
  background: rgba(127, 192, 172, 0.1);
}

.customer-basic-main span,
.customer-basic-grid span,
.fact-summary-grid span,
.hook-board-v2 span,
.interaction-board-v2 span,
.angle-rules-card strong {
  color: var(--sea);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.customer-basic-main strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.customer-basic-main p,
.customer-basic-grid p,
.fact-summary-grid p,
.hook-board-v2 p,
.interaction-board-v2 p,
.angle-rules-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

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

.customer-basic-grid article {
  display: grid;
  gap: 7px;
}

.customer-basic-grid strong,
.fact-summary-grid strong,
.hook-board-v2 strong,
.interaction-board-v2 strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

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

.fact-summary-grid article {
  display: grid;
  gap: 6px;
  align-content: start;
}

.hook-board-v2 {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(130px, 1fr));
  gap: 8px;
}

.hook-main-card,
.hook-data-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.hook-main-card {
  border-color: rgba(93, 185, 157, 0.38);
  background: rgba(127, 192, 172, 0.1);
}

.hook-main-card strong {
  font-size: 16px;
}

.hook-data-card.is-disabled {
  border-color: rgba(186, 26, 26, 0.18);
  background: #fff8f7;
}

.hook-data-card.is-disabled span,
.hook-data-card.is-disabled strong {
  color: #8a2d23;
}

.interaction-board-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 8px;
}

.interaction-board-v2 article {
  display: grid;
  gap: 9px;
}

.angle-rules-card {
  display: grid;
  gap: 6px;
  border-color: rgba(93, 185, 157, 0.22);
  background: rgba(127, 192, 172, 0.08);
}

.angle-grid-v2 article {
  border-color: rgba(161, 160, 162, 0.24);
}

.angle-grid-v2 article.is-selected {
  box-shadow: inset 4px 0 0 var(--sea);
}

.angle-grid-v2 em,
.h5-map-grid-v2 em {
  color: var(--grey);
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.preview-and-script-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 10px;
}

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

.h5-map-grid-v2 article {
  display: grid;
  gap: 7px;
  align-content: start;
}

.script-card-v2 {
  align-content: start;
  border-color: rgba(93, 185, 157, 0.4);
  background: rgba(127, 192, 172, 0.1);
}

.feedback-panel-v2 {
  background: rgba(127, 192, 172, 0.06);
}

@media (max-width: 1420px) {
  body {
    min-width: 0;
  }

  .review-app {
    grid-template-columns: 1fr;
  }

  .review-sidebar {
    position: static;
    height: auto;
  }

  .side-nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .workspace-grid,
  .audit-grid,
  .wecom-scope-grid,
  .wecom-binding-card,
  .customer-basic-shell,
  .interaction-board-v2,
  .preview-and-script-grid {
    grid-template-columns: 1fr;
  }

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

  .preview-panel {
    position: static;
  }

  .analysis-grid,
  .reasoning-grid,
  .h5-map-grid,
  .step-audit-grid,
  .review-flow-grid,
  .review-event-samples,
  .customer-basic-grid,
  .fact-summary-grid,
  .hook-board-v2,
  .h5-map-grid-v2,
  .truth-grid,
  .analysis-result-grid,
  .verification-grid,
  .support-grid,
  .score-breakdown-grid,
  .score-audit-card,
  .boundary-columns {
    grid-template-columns: 1fr;
  }

  .boundary-columns.is-two {
    grid-template-columns: 1fr;
  }

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

  .status-stack {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .review-main {
    padding: 16px;
  }

  .review-header,
  .header-actions,
  .panel-head,
  .audit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* === Chen Xisheng H5 redesign === */

.h5-cskin-radar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px 8px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 38%, rgba(127, 192, 172, 0.18), transparent 62%),
    rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(127, 192, 172, 0.28);
  box-shadow: 0 8px 20px rgba(34, 92, 72, 0.06);
}

.cskin-radar-head {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #276958;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cskin-radar-head small {
  color: #76777b;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cskin-radar-svg {
  width: 200px;
  height: 168px;
}

.cskin-radar-svg .radar-grid {
  fill: rgba(127, 192, 172, 0.04);
  stroke: rgba(118, 119, 123, 0.22);
  stroke-width: 1;
}

.cskin-radar-svg .radar-axis {
  stroke: rgba(118, 119, 123, 0.28);
  stroke-width: 1;
}

.cskin-radar-svg .radar-value {
  fill: rgba(127, 192, 172, 0.32);
  stroke: #5db99d;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.cskin-radar-svg .radar-vertex {
  fill: #276958;
}

.cskin-radar-svg .radar-label {
  fill: #276958;
  font-size: 9px;
  font-weight: 600;
  font-family: 'Microsoft YaHei UI', 'PingFang SC', sans-serif;
}

.cskin-radar-source {
  margin: 0;
  color: #76777b;
  font-size: 10px;
  letter-spacing: 0.02em;
}

/* === P1 治疗后时间轴 === */
.h5-timeline-card {
  border-radius: 14px;
  padding: 10px 12px 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(127, 192, 172, 0.28);
  box-shadow: 0 8px 22px rgba(34, 92, 72, 0.06);
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.timeline-eyebrow {
  color: #276958;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-tag {
  font-size: 11px;
  font-weight: 700;
  color: #b04a3e;
  background: rgba(176, 74, 62, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}

.treatment-timeline-svg {
  width: 100%;
  height: 60px;
  display: block;
}

.treatment-timeline-svg .tt-track {
  stroke: rgba(118, 119, 123, 0.28);
  stroke-width: 2;
  stroke-linecap: round;
}

.treatment-timeline-svg .tt-track-done {
  stroke: #5db99d;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.treatment-timeline-svg .tt-node-past {
  fill: #276958;
}

.treatment-timeline-svg .tt-node-target {
  fill: #fff;
  stroke: #5db99d;
  stroke-width: 2;
}

.treatment-timeline-svg .tt-node-now {
  fill: #b04a3e;
}

.treatment-timeline-svg text.tt-tick,
.treatment-timeline-svg text.tt-tick-now,
.treatment-timeline-svg text.tt-tick-date {
  font-family: 'Microsoft YaHei UI', 'PingFang SC', sans-serif;
}

.treatment-timeline-svg text.tt-tick {
  fill: #276958;
  font-size: 9px;
  font-weight: 600;
}

.treatment-timeline-svg text.tt-tick-now {
  fill: #b04a3e;
  font-size: 9px;
  font-weight: 700;
}

.treatment-timeline-svg text.tt-tick-date {
  fill: #76777b;
  font-size: 8px;
}

.h5-diagnosis-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(127, 192, 172, 0.12);
  border-left: 3px solid #5db99d;
}

.h5-diagnosis-eyebrow {
  color: #276958;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.h5-diagnosis-card p {
  margin: 0;
  color: #1b1b1b;
  font-size: 13px;
  line-height: 1.6;
}

.h5-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.h5-status-col {
  border: 1px solid rgba(161, 160, 162, 0.26);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 22px rgba(34, 92, 72, 0.06);
}

.h5-status-col h3 {
  margin: 0 0 6px;
  color: #276958;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.h5-status-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.h5-status-col li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  line-height: 1.4;
}

.h5-status-col .status-label {
  color: #76777b;
  font-size: 11px;
}

.h5-status-col .status-value {
  color: #1b1b1b;
  font-weight: 600;
}

/* === P2 状态 mini bar gauge === */
.h5-gauge-card {
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(127, 192, 172, 0.28);
  box-shadow: 0 8px 22px rgba(34, 92, 72, 0.06);
}

.gauge-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.gauge-card-eyebrow {
  color: #276958;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gauge-card-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #76777b;
}

.gauge-card-legend .legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin: 0 2px 0 6px;
}

.legend-dot.tone-ok { background: #5db99d; }
.legend-dot.tone-warn { background: #f0b15c; }
.legend-dot.tone-risk { background: #d97464; }

.h5-gauge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.h5-gauge-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gauge-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: #1b1b1b;
  font-weight: 600;
}

.gauge-tier {
  font-size: 11px;
  font-weight: 700;
  color: #5db99d;
}

.h5-gauge-row.tone-warn .gauge-tier { color: #c98430; }
.h5-gauge-row.tone-risk .gauge-tier { color: #b04a3e; }

.gauge-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.gauge-seg {
  height: 6px;
  border-radius: 3px;
  background: rgba(118, 119, 123, 0.16);
}

.gauge-seg.is-on.tone-ok { background: #5db99d; }
.gauge-seg.is-on.tone-warn { background: #f0b15c; }
.gauge-seg.is-on.tone-risk { background: #d97464; }

.h5-tip-list {
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(127, 192, 172, 0.32);
}

.h5-tip-list-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #276958;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.h5-tip-list ol {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #1b1b1b;
  font-size: 12px;
  line-height: 1.5;
}

/* === P3 复盘节奏 timeline + 卡片 === */
.h5-plan-track {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 4px 4px;
}

.plan-track-svg {
  width: 100%;
  height: 28px;
}

.plan-track-svg .plan-track-line {
  stroke: rgba(127, 192, 172, 0.45);
  stroke-width: 2;
  stroke-linecap: round;
}

.plan-track-svg .plan-track-node {
  fill: #fff;
  stroke: #5db99d;
  stroke-width: 2;
}

.plan-track-svg .plan-track-node.is-current {
  fill: #276958;
  stroke: #276958;
}

.plan-track-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
}

.plan-track-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.plan-track-label .track-tag {
  font-size: 11px;
  font-weight: 700;
  color: #76777b;
  letter-spacing: 0.06em;
}

.plan-track-label .track-window {
  font-size: 10px;
  color: #909094;
}

.plan-track-label.is-current .track-tag {
  color: #276958;
}

.plan-track-label.is-current .track-window {
  color: #276958;
  font-weight: 600;
}

.h5-plan-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h5-plan-card {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(127, 192, 172, 0.26);
  box-shadow: 0 6px 16px rgba(34, 92, 72, 0.05);
}

.h5-plan-card.is-current {
  background: rgba(127, 192, 172, 0.16);
  border-color: rgba(93, 185, 157, 0.55);
}

.h5-plan-card .plan-card-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(127, 192, 172, 0.18);
  color: #276958;
}

.h5-plan-card .plan-card-icon .ys-icon {
  width: 18px;
  height: 18px;
}

.h5-plan-card.is-current .plan-card-icon {
  background: #5db99d;
  color: #fff;
}

.h5-plan-card .plan-card-body strong {
  display: block;
  color: #1b1b1b;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.h5-plan-card .plan-card-body p {
  margin: 0;
  color: #55555b;
  font-size: 12px;
  line-height: 1.5;
}

/* === Booking modal (scoped to phone shell) === */

.h5-booking-modal {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 28px;
  overflow: hidden;
}

.h5-booking-modal[hidden] {
  display: none;
}

.h5-booking-mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 36, 31, 0.42);
  backdrop-filter: blur(2px);
}

.h5-booking-card {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 16px 32px rgba(34, 92, 72, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
}

.h5-booking-card::-webkit-scrollbar { width: 5px; }
.h5-booking-card::-webkit-scrollbar-thumb { background: rgba(127, 192, 172, 0.4); border-radius: 4px; }

.h5-booking-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.h5-booking-eyebrow {
  margin: 0;
}

.h5-booking-head h3 {
  margin: 4px 0 0;
  color: #1b1b1b;
  font-size: 18px;
  font-weight: 700;
}

.h5-booking-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(127, 192, 172, 0.16);
  color: #276958;
  font-size: 18px;
  cursor: pointer;
}

.h5-booking-hint {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(127, 192, 172, 0.12);
  color: #276958;
  font-size: 12px;
  line-height: 1.5;
}

.h5-booking-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #55555b;
}

.h5-booking-field input,
.h5-booking-field select,
.h5-booking-field textarea {
  border: 1px solid rgba(161, 160, 162, 0.4);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 13px;
  font-family: inherit;
  color: #1b1b1b;
  background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.h5-booking-field input:focus,
.h5-booking-field select:focus,
.h5-booking-field textarea:focus {
  outline: none;
  border-color: #5db99d;
  box-shadow: 0 0 0 3px rgba(127, 192, 172, 0.22);
}

.h5-booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.h5-booking-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.h5-booking-cancel,
.h5-booking-submit {
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.h5-booking-cancel {
  background: rgba(127, 192, 172, 0.18);
  color: #276958;
}

.h5-booking-submit {
  background: #276958;
  color: #fff;
}

.h5-booking-submit:hover {
  background: #1f5747;
}

body.h5-modal-open {
  overflow: hidden;
}

/* === Toast === */

.h5-toast {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translate(-50%, 12px);
  z-index: 40;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(27, 27, 27, 0.92);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
  max-width: calc(100% - 32px);
  text-align: center;
}

.h5-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.h5-toast[hidden] {
  display: none;
}
