:root {
  color-scheme: light;
  --ink: #18202f;
  --muted: #667085;
  --line: #d8dee8;
  --paper: #fbfcfd;
  --panel: #ffffff;
  --accent: #157f6e;
  --accent-dark: #0e5f54;
  --warm: #c5563f;
  --soft: #eef6f3;
  --shadow: 0 18px 50px rgba(24, 32, 47, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-body {
  background: #f5f7f4;
}

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

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.workspace {
  display: grid;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(42, 52, 66, 0.12);
  background: rgba(245, 247, 244, 0.92);
  backdrop-filter: blur(16px);
}

.brand-mark,
.site-nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand-mark small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  gap: 26px;
}

.site-nav a,
.text-link {
  color: #475467;
  text-decoration: none;
  font-weight: 650;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.nav-action,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 780;
  white-space: nowrap;
}

.nav-action {
  padding: 0 16px;
}

.primary-link {
  padding: 0 20px;
}

.nav-action:hover,
.primary-link:hover {
  background: var(--accent-dark);
}

.home-hero,
.home-band,
.salon-cta {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 48px;
  align-items: center;
  min-height: clamp(560px, calc(100vh - 180px), 680px);
  padding: 44px 0 34px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-lede {
  max-width: 620px;
  color: #4d5a6b;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #d4dccf;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 243, 0.96)),
    #fff;
  box-shadow: 0 24px 70px rgba(24, 32, 47, 0.12);
}

.visual-topline,
.visual-stage,
.visual-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.visual-topline {
  padding-bottom: 12px;
  border-bottom: 1px solid #dbe3dd;
  color: var(--muted);
  font-size: 13px;
}

.visual-topline strong {
  color: var(--warm);
}

.visual-stage {
  min-height: 74px;
  padding: 16px;
  border: 1px solid #d9e1dc;
  border-radius: 8px;
  background: #fff;
}

.visual-stage.active {
  border-color: #a8d5c9;
  background: #edf8f4;
}

.visual-stage span {
  color: var(--accent);
  font-weight: 850;
}

.visual-stage p {
  color: #263244;
  font-weight: 720;
}

.visual-score {
  min-height: 108px;
  padding: 18px;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
}

.visual-score span {
  color: #cfd8e3;
}

.visual-score strong {
  font-size: 56px;
  line-height: 1;
}

.home-band {
  display: grid;
  gap: 28px;
  padding: 64px 0;
  border-top: 1px solid rgba(42, 52, 66, 0.12);
}

.home-band h2,
.salon-cta h2 {
  max-width: 560px;
  margin-top: 8px;
  font-size: 32px;
}

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

.service-grid article {
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 22px;
  border: 1px solid #d9e1dc;
  border-radius: 8px;
  background: #fff;
}

.service-grid p,
.method-list,
.salon-cta p {
  color: #4d5a6b;
  line-height: 1.75;
}

.split-band {
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  align-items: start;
}

.method-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 24px;
  font-size: 17px;
}

.salon-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 54px;
  padding: 30px;
  border: 1px solid #cbd8d2;
  border-radius: 8px;
  background: #ffffff;
}

html:has(.diagnosis-body) {
  height: auto !important;
  min-height: 100% !important;
  background-color: #120506 !important;
  background:
    radial-gradient(ellipse 90% 62% at 50% 0%, rgb(120 20 23 / 0.36), transparent 68%),
    radial-gradient(ellipse 80% 72% at 86% 34%, rgb(92 12 16 / 0.30), transparent 72%),
    radial-gradient(ellipse 88% 82% at 16% 78%, rgb(72 10 13 / 0.28), transparent 74%),
    linear-gradient(180deg, #2f090b 0%, #210708 38%, #120506 100%) !important;
  background-attachment: scroll !important;
}

.diagnosis-body {
  --ink: #fff6ee;
  --muted: rgb(255 246 238 / 0.72);
  --line: rgb(255 246 238 / 0.16);
  --paper: rgb(255 246 238 / 0.055);
  --panel: rgb(5 5 5 / 0.64);
  --accent: rgb(120, 20, 23);
  --accent-dark: #fff6ee;
  --warm: #d06a50;
  --soft: rgb(255 246 238 / 0.08);
  --shadow: 0 28px 80px rgb(0 0 0 / 0.24);
  min-height: 100vh;
  background-color: #120506 !important;
  background:
    radial-gradient(ellipse 90% 62% at 50% 0%, rgb(120 20 23 / 0.36), transparent 68%),
    radial-gradient(ellipse 80% 72% at 86% 34%, rgb(92 12 16 / 0.30), transparent 72%),
    radial-gradient(ellipse 88% 82% at 16% 78%, rgb(72 10 13 / 0.28), transparent 74%),
    linear-gradient(180deg, #2f090b 0%, #210708 38%, #120506 100%) !important;
  background-attachment: scroll !important;
  color: var(--ink);
}

.diagnosis-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(255 246 238 / 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgb(255 246 238 / 0.018) 1px, transparent 1px),
    radial-gradient(ellipse 112% 78% at 50% 42%, rgb(120 20 23 / 0.12), transparent 72%);
  background-size: 96px 96px, 96px 96px, auto;
  mask-image: radial-gradient(circle at 50% 36%, #000 0%, transparent 76%);
}

.diagnosis-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  width: min(1440px, calc(100vw - 72px));
  min-height: 84px;
  margin: 0 auto;
  color: var(--ink);
}

.diagnosis-brand {
  min-width: 132px;
  color: #fff;
  font-size: 25px;
  font-style: italic;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
}

.diagnosis-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
}

.diagnosis-nav a,
.diagnosis-pulse {
  color: rgb(255 246 238 / 0.58);
  font-size: 14px;
  line-height: 40px;
  text-decoration: none;
  white-space: nowrap;
}

.diagnosis-nav a:hover,
.diagnosis-nav a:focus-visible {
  color: #fff;
  outline: none;
}

.diagnosis-pulse {
  color: rgb(120 20 23);
  font-size: 12px;
}

.diagnosis-body .shell {
  width: min(1440px, calc(100vw - 72px));
  padding: 44px 0 72px;
}

.diagnosis-body .workspace {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  grid-template-areas:
    "hero status"
    "hero form";
  gap: 22px 42px;
  align-items: start;
}

.diagnosis-hero {
  position: sticky;
  top: 116px;
  grid-area: hero;
  display: grid;
  gap: 24px;
  min-height: calc(100vh - 180px);
  align-content: center;
  padding: 18px 0 40px;
}

.diagnosis-hero h1 {
  width: min(420px, 100%);
  color: #fff;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: 0.06em;
}

.diagnosis-hero .lede {
  width: min(410px, 100%);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.diagnosis-statement {
  display: grid;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid rgb(255 246 238 / 0.18);
}

.diagnosis-statement p {
  color: #fff;
  font-size: 24px;
  font-weight: 620;
  line-height: 1.32;
  letter-spacing: 0.06em;
}

.diagnosis-statement span {
  color: rgb(255 246 238 / 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.diagnosis-method {
  display: grid;
  gap: 12px;
  width: min(360px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgb(255 246 238 / 0.07), rgb(255 246 238 / 0.025));
}

.diagnosis-method span {
  color: rgb(120 20 23);
  font-size: 12px;
  font-weight: 800;
}

.diagnosis-method ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.diagnosis-body .status-strip {
  grid-area: status;
  border-color: var(--line);
  background: rgb(5 5 5 / 0.46);
  color: var(--muted);
  box-shadow: none;
}

.diagnosis-body .grid {
  grid-area: form;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
}

.diagnosis-body .grid.report-ready {
  grid-template-columns: minmax(0, 1fr);
}

.diagnosis-body .panel {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.diagnosis-body .form-panel,
.diagnosis-body .report-panel {
  padding: 24px;
}

.diagnosis-body .sticky-head {
  top: 92px;
  background: rgb(255 255 255 / 0.94);
  border: 1px solid #edf0f4;
}

.diagnosis-body .form-panel h2,
.diagnosis-body .form-panel h3,
.diagnosis-body .question-heading h3,
.diagnosis-body .report-panel h2,
.diagnosis-body .report-panel h3,
.diagnosis-body .report-empty h3,
.diagnosis-body .generation-panel h2,
.diagnosis-body .generation-panel h3,
.diagnosis-body .insight-card strong,
.diagnosis-body .combo-box h4,
.diagnosis-body .service-path strong,
.diagnosis-body .level {
  color: #202a3a;
}

.diagnosis-body .eyebrow,
.diagnosis-body .section-label,
.diagnosis-body .insight-card span,
.diagnosis-body .service-path span,
.diagnosis-body .roadmap-period {
  color: rgb(120 20 23);
}

.diagnosis-body .question-section {
  border-color: rgb(255 246 238 / 0.12);
}

.diagnosis-body label span,
.diagnosis-body .checkbox-group legend,
.diagnosis-body .radio-group legend {
  color: #344054;
}

.diagnosis-body input,
.diagnosis-body select,
.diagnosis-body textarea {
  border-color: #c9d2df;
  background: #ffffff;
  color: #18202f;
}

.diagnosis-body input::placeholder,
.diagnosis-body textarea::placeholder {
  color: #98a2b3;
}

.diagnosis-body input:focus,
.diagnosis-body select:focus,
.diagnosis-body textarea:focus {
  border-color: rgb(120 20 23 / 0.88);
  box-shadow: 0 0 0 3px rgb(120 20 23 / 0.20);
}

.diagnosis-body .checkbox-group,
.diagnosis-body .radio-group,
.diagnosis-body .report-cover,
.diagnosis-body .combo-box {
  border-color: #d8dee8;
  background: #ffffff;
}

.diagnosis-body .choice-card,
.diagnosis-body .insight-card,
.diagnosis-body .tag-chip,
.diagnosis-body .dimension-item,
.diagnosis-body .service-path div,
.diagnosis-body .roadmap-item,
.diagnosis-body .level {
  border-color: #dce4ee;
  background: #ffffff;
}

.diagnosis-body .checkbox-group label,
.diagnosis-body .choice-card,
.diagnosis-body .choice-card span,
.diagnosis-body .report-section p,
.diagnosis-body .report-section li,
.diagnosis-body .insight-card p,
.diagnosis-body .meta,
.diagnosis-body .report-empty {
  color: #344054;
}

.diagnosis-body .choice-card:hover {
  border-color: rgb(120 20 23 / 0.42);
  background: rgb(120 20 23 / 0.05);
}

.diagnosis-body .choice-card:has(input:checked) {
  border-color: rgb(120 20 23);
  background: rgb(120 20 23 / 0.08);
  box-shadow: 0 0 0 3px rgb(120 20 23 / 0.14);
}

.diagnosis-body .wizard-step {
  border-color: rgb(255 246 238 / 0.18);
  background: rgb(5 5 5 / 0.28);
  color: rgb(255 246 238 / 0.62);
}

.diagnosis-body .wizard-step.active {
  border-color: rgb(120 20 23);
  background: rgb(120 20 23 / 0.20);
  color: #fff;
}

.diagnosis-body .primary-button {
  background: rgb(120, 20, 23);
  color: #ffffff;
}

.diagnosis-body .primary-button:hover {
  background: rgb(92, 12, 16);
}

.diagnosis-body .ghost-button {
  border-color: #e1e6ee;
  background: #ffffff;
  color: rgb(120, 20, 23);
}

.diagnosis-body .report-panel {
  position: static;
  min-height: auto;
}

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

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  max-width: 720px;
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.35;
}

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(24, 32, 47, 0.04);
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.status-strip[data-state="error"] .status-dot {
  background: var(--warm);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  gap: 20px;
  justify-content: center;
  align-items: start;
}

.grid.report-ready {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  justify-content: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-panel,
.report-panel {
  padding: 22px;
}

.diagnosis-form {
  display: grid;
  gap: 0;
}

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

.sticky-head {
  position: sticky;
  top: 14px;
  z-index: 3;
  margin: -8px -8px 18px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.question-section {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid #e1e6ee;
}

.question-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.question-heading {
  display: grid;
  gap: 6px;
}

.question-heading h3 {
  color: #202a3a;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.wizard-step {
  min-height: 38px;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #fff;
  color: #536174;
  cursor: pointer;
  font-weight: 750;
}

.wizard-step.active {
  border-color: #a8d5c9;
  background: #edf8f4;
  color: var(--accent-dark);
}

.wizard-nav {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  margin-top: 6px;
}

.wizard-nav .primary-button[hidden] {
  display: none;
}

.wizard-nav .primary-button {
  grid-column: 2;
}

.wizard-nav .ghost-button {
  width: 100%;
}

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

label,
.checkbox-group,
.radio-group {
  display: grid;
  gap: 8px;
}

label span,
.checkbox-group legend,
.radio-group legend {
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  font-size: 16px;
  border: 1px solid #c9d2df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  min-height: 120px;
  padding: 12px;
  line-height: 1.6;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(21, 127, 110, 0.12);
}

.checkbox-group,
.radio-group {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.checkbox-group legend,
.radio-group legend {
  padding: 0 4px;
}

.checkbox-group label {
  display: flex;
  align-items: start;
  gap: 10px;
  color: #344054;
  font-weight: 500;
  line-height: 1.55;
}

.checkbox-group input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.radio-group {
  gap: 10px;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: start;
  gap: 10px;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  line-height: 1.55;
}

.choice-card:hover {
  border-color: #a8d5c9;
  background: #f8fcfa;
}

.choice-card:has(input:checked) {
  border-color: var(--accent);
  background: #edf8f4;
  box-shadow: 0 0 0 3px rgba(21, 127, 110, 0.08);
}

.choice-card input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.choice-card span {
  flex: 1 1 auto;
  min-width: 0;
  color: #344054;
  font-size: 15px;
  font-weight: 540;
  overflow-wrap: anywhere;
}

.required-mark {
  color: rgb(120, 20, 23);
  font-style: normal;
  font-weight: 700;
}

.generation-panel {
  min-height: 520px;
}

.generation-state {
  display: grid;
  place-items: center;
  min-height: 480px;
  gap: 12px;
  padding: 40px;
  text-align: center;
}

.generation-state p:last-child {
  max-width: 460px;
  color: #536174;
  line-height: 1.7;
}

.generation-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #f0d7d0;
  border-top-color: rgb(120, 20, 23);
  border-radius: 50%;
  animation: shunse-spin 0.9s linear infinite;
}

@keyframes shunse-spin {
  to {
    transform: rotate(360deg);
  }
}

.pdf-render-root {
  position: fixed;
  left: -10000px;
  top: 0;
  z-index: -1;
  width: 820px;
  background: #ffffff;
  color: #18202f;
  pointer-events: none;
}

.pdf-render-target {
  display: grid !important;
  width: 780px;
  gap: 18px;
  padding: 24px;
  background: #ffffff;
  color: #18202f;
}

.pdf-render-target * {
  color-adjust: exact;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.compact-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 10px;
}

.compact-options legend {
  grid-column: 1 / -1;
}

.wide-field {
  margin-bottom: 0;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
  white-space: nowrap;
}

.primary-button {
  width: 100%;
  background: var(--accent);
  color: #fff;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ghost-button {
  padding: 0 14px;
  background: var(--soft);
  border-color: #cce5dd;
  color: var(--accent-dark);
}

.report-panel {
  position: sticky;
  top: 22px;
  min-height: 620px;
}

.report-empty {
  display: grid;
  place-content: center;
  min-height: 460px;
  gap: 10px;
  padding: 32px;
  border: 1px dashed #bdc7d5;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.report-empty h3 {
  color: var(--ink);
}

.report {
  display: grid;
  gap: 18px;
  padding: 8px 0 0;
}

.report-cover {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 8px;
  background: #f4f9f7;
  border: 1px solid #cce5dd;
}

.score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.score {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--accent-dark);
  font-size: 44px;
  font-weight: 850;
  line-height: 1;
}

.score span {
  font-size: 16px;
  color: var(--muted);
}

.level {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: #344054;
  font-weight: 700;
}

.report-section {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.report-section p,
.report-section li {
  color: #344054;
  line-height: 1.72;
}

.report-section ul,
.report-section ol {
  margin: 0;
  padding-left: 22px;
}

.dimension-list,
.roadmap-list,
.tag-profile,
.insight-cards {
  display: grid;
  gap: 10px;
}

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

.insight-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
}

.insight-card span,
.service-path span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.insight-card strong {
  color: #202a3a;
  font-size: 17px;
  line-height: 1.35;
}

.insight-card p {
  color: #536174;
  font-size: 14px;
  line-height: 1.6;
}

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

.tag-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
}

.tag-chip strong {
  color: #202a3a;
  font-size: 14px;
}

.tag-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  border-radius: 8px;
  background: #eef6f3;
  color: var(--accent-dark);
  font-weight: 850;
}

.combo-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #cce5dd;
  border-radius: 8px;
  background: #f4f9f7;
}

.combo-box h4 {
  margin: 0;
  color: #202a3a;
  font-size: 18px;
}

.combo-box strong {
  color: var(--accent-dark);
}

.type-result-card {
  padding: 22px;
  border: 1px solid #badfd4;
  border-radius: 8px;
  background: linear-gradient(135deg, #f4fbf8, #ffffff 64%);
}

.type-result-card h3 {
  margin: 0;
  color: #172033;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
}

.type-result-top,
.type-two-col {
  display: grid;
  gap: 8px;
}

.type-result-top {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.type-result-top span,
.type-two-col span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.type-result-top strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #102820;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.type-judgment {
  margin: 0;
  color: #202a3a;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.58;
}

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

.type-two-col div {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dcece7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.type-two-col p,
.type-handoff {
  margin: 0;
}

.type-two-col p {
  color: #202a3a;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.62;
}

.type-handoff {
  color: #536174;
  font-size: 15px;
  line-height: 1.68;
}

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

.service-path div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
}

.service-path strong {
  color: #202a3a;
  line-height: 1.45;
}

.dimension-item {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
}

.dimension-item strong {
  display: block;
  margin-bottom: 4px;
  color: #202a3a;
}

.dimension-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 8px;
  background: #eef6f3;
  color: var(--accent-dark);
  font-weight: 800;
}

.dimension-item span[data-priority="高"] {
  background: #fff1ed;
  color: var(--warm);
}

.roadmap-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: #f8fafb;
}

.roadmap-item h4,
.roadmap-period {
  margin: 0;
}

.roadmap-period {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .site-nav {
    display: none;
  }

  .home-hero,
  .split-band {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding-top: 44px;
  }

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

  .salon-cta {
    align-items: stretch;
    flex-direction: column;
  }

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

  .grid.report-ready {
    grid-template-columns: 1fr;
  }

  .report-panel {
    position: static;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .diagnosis-body {
    background: #ffffff;
  }

  .site-header {
    min-height: 66px;
    padding: 0 14px;
  }

  .brand-mark small {
    display: none;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .home-hero,
  .home-band,
  .salon-cta {
    width: min(100vw - 20px, 1180px);
  }

  .home-hero {
    gap: 28px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .text-link {
    width: 100%;
    min-height: 42px;
    justify-content: center;
  }

  .hero-visual,
  .salon-cta {
    padding: 16px;
  }

  .visual-stage,
  .visual-score {
    align-items: flex-start;
    flex-direction: column;
  }

  .visual-score strong {
    font-size: 46px;
  }

  .home-band {
    padding: 42px 0;
  }

  .home-band h2,
  .salon-cta h2 {
    font-size: 26px;
  }

  .diagnosis-body .shell {
    width: 100%;
    padding: 18px 10px 28px;
  }

  .diagnosis-body .workspace {
    max-width: 100%;
    gap: 14px;
  }

  .diagnosis-body .intro {
    gap: 10px;
  }

  .diagnosis-body h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .diagnosis-body .lede {
    font-size: 15px;
    line-height: 1.68;
  }

  .diagnosis-body .status-strip {
    align-items: flex-start;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  .diagnosis-body .form-panel,
  .diagnosis-body .report-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 32, 47, 0.06);
  }

  .diagnosis-body .sticky-head {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .diagnosis-body .sticky-head .ghost-button {
    width: 100%;
    min-width: 72px;
    min-height: 40px;
  }

  .diagnosis-body .field-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .diagnosis-body .compact-options {
    grid-template-columns: 1fr;
  }

  .diagnosis-body .wizard-progress {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -14px 14px;
    padding: 0 14px 4px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .diagnosis-body .wizard-progress::-webkit-scrollbar {
    display: none;
  }

  .diagnosis-body .wizard-step {
    flex: 0 0 auto;
    min-width: 68px;
    min-height: 40px;
    padding: 0 14px;
    scroll-snap-align: start;
  }

  .diagnosis-body .question-section {
    gap: 14px;
    padding: 18px 0;
  }

  .diagnosis-body .question-section:first-of-type {
    padding-top: 0;
  }

  .diagnosis-body .question-heading {
    gap: 4px;
  }

  .diagnosis-body .question-heading h3,
  .diagnosis-body h3 {
    font-size: 17px;
  }

  .diagnosis-body label,
  .diagnosis-body .checkbox-group,
  .diagnosis-body .radio-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 7px;
  }

  .diagnosis-body label span,
  .diagnosis-body .checkbox-group legend,
  .diagnosis-body .radio-group legend {
    font-size: 13px;
  }

  .diagnosis-body input,
  .diagnosis-body select {
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
  }

  .diagnosis-body textarea {
    max-width: 100%;
    min-width: 0;
    min-height: 108px;
  }

  .diagnosis-body .checkbox-group,
  .diagnosis-body .radio-group {
    margin: 8px 0;
    padding: 13px;
  }

  .diagnosis-body .checkbox-group label {
    min-height: 34px;
    align-items: start;
    line-height: 1.45;
  }

  .diagnosis-body .checkbox-group input {
    margin-top: 2px;
  }

  .diagnosis-body .choice-card {
    min-height: 48px;
    padding: 11px;
    gap: 9px;
  }

  .diagnosis-body .choice-card span {
    font-size: 14px;
    line-height: 1.48;
  }

  .diagnosis-body .wizard-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin: 10px -14px -14px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e1e6ee;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
  }

  .diagnosis-body .wizard-nav .primary-button {
    grid-column: auto;
  }

  .diagnosis-body .wizard-nav .ghost-button:disabled {
    display: none;
  }

  .diagnosis-body .primary-button,
  .diagnosis-body .ghost-button {
    min-height: 46px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
  }

  .ghost-button {
    width: 100%;
  }

  .diagnosis-body .report-cover {
    padding: 16px;
  }

  .diagnosis-body .score {
    font-size: 38px;
  }

  .diagnosis-body .level {
    width: 100%;
    text-align: center;
  }

  .diagnosis-body .report-section {
    gap: 8px;
  }

  .diagnosis-body .report-section p,
  .diagnosis-body .report-section li {
    font-size: 14px;
    line-height: 1.65;
  }

  .diagnosis-body .dimension-item {
    grid-template-columns: 1fr;
  }

  .diagnosis-body .dimension-item span {
    width: 52px;
  }

  .diagnosis-body .tag-profile {
    grid-template-columns: 1fr;
  }

  .diagnosis-body .insight-cards,
  .diagnosis-body .service-path {
    grid-template-columns: 1fr;
  }

  .diagnosis-body .insight-card,
  .diagnosis-body .combo-box,
  .diagnosis-body .service-path div {
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .nav-action {
    padding: 0 10px;
    font-size: 14px;
  }

  .diagnosis-body h1 {
    font-size: 28px;
  }

  .hero-visual {
    padding: 14px;
  }

  .diagnosis-body .form-panel,
  .diagnosis-body .report-panel {
    padding: 12px;
  }

  .diagnosis-body .wizard-progress {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .diagnosis-body .wizard-nav {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 1080px) {
  .diagnosis-header {
    width: min(100vw - 40px, 1440px);
    gap: 22px;
  }

  .diagnosis-nav {
    gap: 18px;
  }

  .diagnosis-body .shell {
    width: min(100vw - 40px, 1440px);
  }

  .diagnosis-body .workspace {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: 20px 28px;
  }
}

@media (max-width: 860px) {
  .diagnosis-header {
    position: relative;
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .diagnosis-nav {
    display: none;
  }

  .diagnosis-pulse {
    line-height: 1;
  }

  .diagnosis-body .shell {
    width: min(100vw - 28px, 760px);
    padding: 18px 0 34px;
  }

  .diagnosis-body .workspace {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "status"
      "form";
    gap: 14px;
  }

  .diagnosis-hero {
    position: static;
    min-height: auto;
    gap: 16px;
    padding: 18px 0 4px;
    align-content: start;
  }

  .diagnosis-hero h1 {
    width: min(520px, 100%);
    font-size: clamp(34px, 10vw, 48px);
  }

  .diagnosis-hero .lede {
    width: min(620px, 100%);
  }

  .diagnosis-statement {
    padding: 16px 0 0;
    border-top: 1px solid rgb(255 246 238 / 0.18);
    border-left: 0;
  }

  .diagnosis-statement p {
    font-size: 21px;
  }

  .diagnosis-method {
    width: 100%;
  }

  .diagnosis-body .sticky-head {
    top: 0;
  }
}

@media (max-width: 640px) {
  .diagnosis-body {
    background-color: #120506;
    background:
      radial-gradient(ellipse 110% 62% at 50% 0%, rgb(120 20 23 / 0.34), transparent 70%),
      linear-gradient(180deg, #2f090b 0%, #160506 100%);
  }

  .diagnosis-header {
    width: calc(100vw - 28px);
  }

  .diagnosis-brand {
    min-width: 0;
    font-size: 22px;
  }

  .diagnosis-body .shell {
    width: 100%;
    padding: 8px 10px 28px;
  }

  .diagnosis-body .workspace {
    max-width: 100%;
    gap: 12px;
  }

  .diagnosis-hero {
    padding: 10px 4px 0;
  }

  .diagnosis-hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .diagnosis-hero .lede {
    font-size: 14px;
    line-height: 1.72;
  }

  .diagnosis-statement p {
    font-size: 19px;
  }

  .diagnosis-method {
    padding: 14px;
  }

  .diagnosis-body .form-panel,
  .diagnosis-body .report-panel {
    box-shadow: 0 18px 44px rgb(0 0 0 / 0.20);
  }

  .diagnosis-body .sticky-head {
    border: 0;
  }

  .diagnosis-body .wizard-nav {
    border-top: 1px solid rgb(255 246 238 / 0.14);
    background: rgb(18 5 6 / 0.94);
  }

  .diagnosis-body .panel-head {
    align-items: flex-start;
  }
}
