: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 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sea);
  letter-spacing: 0.03em;
}

.brand-word span {
  color: var(--grey);
  font-weight: 400;
}

.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;
}

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

.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;
  gap: 12px;
}

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

.metric-box,
.evidence-card,
.talk-card,
.h5-mini-card,
.boundary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric-box {
  padding: 12px;
}

.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;
  min-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;
}

.phone-topbar {
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  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 {
  min-height: 594px;
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(127, 192, 172, 0.08), rgba(255, 255, 255, 0) 180px),
    var(--white);
}

.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 {
  justify-content: center;
  gap: 8px;
  padding: 14px 0 18px;
  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;
}

.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: 812px;
  min-height: 812px;
  border-radius: 30px;
}

.phone-topbar {
  display: none;
}

.h5-preview {
  height: 756px;
  min-height: 756px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
}

.phone-page-tabs {
  height: 56px;
  padding: 10px 0 12px;
}

.h5-final-page {
  min-height: 756px;
  height: 756px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  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-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: 8.8em;
  font-size: 33px;
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: 0;
}

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

.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: 78px;
  border-radius: 12px;
  padding: 13px;
}

.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: 8px;
  color: #1b1b1b;
  font-size: 17px;
  line-height: 1.35;
}

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

.h5-primary-cta {
  width: 100%;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: #276958;
  color: #fff;
  font-size: 14px;
  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);
}

@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 {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    position: static;
  }

  .analysis-grid,
  .reasoning-grid,
  .h5-map-grid,
  .step-audit-grid,
  .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));
  }
}
