:root {
  color-scheme: light;
  --ink: #292726;
  --muted: #6d6865;
  --soft: #918a86;
  --line: #e7ded8;
  --paper: #fffdfb;
  --ivory: #fdf6ec;
  --coral: #e67f7c;
  --coral-dark: #c9605f;
  --coral-soft: #fff0ec;
  --teal: #8fc9c6;
  --teal-dark: #4f9997;
  --teal-soft: #e8f6f5;
  --lime: #dfe993;
  --shadow: 0 28px 80px rgba(67, 48, 39, 0.11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
    radial-gradient(circle at 8% 2%, #fff0eb 0, transparent 32rem),
    radial-gradient(circle at 100% 80%, #e9f7f6 0, transparent 35rem),
    #fffaf6;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  opacity: 0.55;
}

.ambient--coral {
  top: -20rem;
  right: -7rem;
  border: 1px solid rgba(230, 127, 124, 0.22);
  box-shadow: inset 0 0 0 5rem rgba(255, 233, 227, 0.2);
}

.ambient--teal {
  bottom: -24rem;
  left: -11rem;
  border: 1px solid rgba(143, 201, 198, 0.25);
  box-shadow: inset 0 0 0 7rem rgba(220, 243, 242, 0.22);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(231, 222, 216, 0.85);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: min(210px, 42vw);
  height: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-meta span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.header-meta span + span::before {
  background: var(--teal);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) 0 72px;
}

.intro-panel {
  position: sticky;
  top: 40px;
  padding-top: 12px;
}

.eyebrow,
.section-kicker,
.question-count,
.result-label {
  margin: 0;
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.intro-panel h1 {
  max-width: 610px;
  margin: 18px 0 26px;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 5.2vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.23;
}

.intro-panel h1 span {
  position: relative;
  color: var(--coral);
}

.intro-panel h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.04em;
  left: -0.08em;
  height: 0.24em;
  border-radius: 999px;
  background: rgba(223, 233, 147, 0.65);
  content: "";
  transform: rotate(-1.5deg);
}

.intro-copy {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2;
}

.diagnosis-map {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 44px;
}

.map-orbit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

.map-orbit strong {
  font-family: Georgia, serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
}

.map-orbit small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(230, 127, 124, 0.35);
  border-radius: 50%;
}

.orbit--2 {
  inset: 11px;
  border-color: rgba(143, 201, 198, 0.5);
}

.orbit--3 {
  inset: 23px;
  border-color: rgba(223, 233, 147, 0.65);
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 2px 8px rgba(41, 39, 38, 0.18);
}

.orbit-dot--1 {
  top: 11px;
  right: 23px;
}

.orbit-dot--2 {
  right: 8px;
  bottom: 28px;
  background: var(--teal);
}

.orbit-dot--3 {
  bottom: 12px;
  left: 28px;
  background: var(--lime);
}

.diagnosis-map ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.diagnosis-map li {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.diagnosis-map li span {
  margin-right: 7px;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 0.72rem;
}

.privacy-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 480px;
  padding-top: 28px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.privacy-note svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: var(--teal-dark);
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.diagnosis-card {
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(231, 222, 216, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 251, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.stepper li {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  color: #aaa29d;
  font-size: 0.75rem;
}

.stepper li + li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 24px;
  background: var(--line);
  content: "";
  transform: translateY(-50%);
}

.stepper span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #cfc7c2;
  border-radius: 8px;
  background: #fff;
  font-family: Georgia, serif;
  font-size: 0.8rem;
}

.stepper em {
  font-style: normal;
}

.stepper .is-active,
.stepper .is-complete {
  color: var(--ink);
}

.stepper .is-active span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.stepper .is-complete span {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.screen {
  min-height: 587px;
}

.start-screen,
.question-screen,
.loading-screen,
.result-screen {
  animation: rise-in 0.42s ease both;
}

.start-screen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 587px;
  padding: clamp(42px, 5.4vw, 60px) clamp(44px, 7vw, 78px);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 244, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(230, 127, 124, 0.035) 70px 71px);
}

.start-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #f0d0c9;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.start-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(230, 127, 124, 0.14);
}

.section-kicker {
  margin-top: 24px;
  color: var(--teal-dark);
}

.start-screen h2,
.question-screen h2,
.loading-screen h2,
.result-screen h2 {
  font-family: var(--serif);
}

.start-screen h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.start-screen > p:not(.section-kicker) {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.site-url-form {
  width: min(100%, 470px);
  margin-top: 22px;
}

.site-url-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-url-field {
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 54px;
  border: 1px solid #d9cfca;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(67, 48, 39, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-url-field:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(230, 127, 124, 0.12);
}

.site-url-field > span {
  flex: 0 0 auto;
  padding-left: 16px;
  color: var(--soft);
  font-size: 0.82rem;
}

.site-url-field input {
  min-width: 0;
  flex: 1;
  padding: 14px 16px 14px 3px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.86rem;
}

.site-url-field input::placeholder {
  color: #aaa19b;
}

.site-url-form small {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.66rem;
}

.site-url-error {
  display: block;
  min-height: 1.4em;
  margin-top: 5px;
  color: var(--coral-dark);
  font-size: 0.7rem;
}

.site-url-form .primary-button {
  width: 100%;
  margin-top: 13px;
}

.manual-start-button {
  margin-top: 8px;
}

.primary-button,
.secondary-button,
.text-button,
.option-button,
.line-button,
.meeting-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 360px);
  min-height: 62px;
  padding: 0 22px 0 26px;
  margin-top: 26px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 13px 28px rgba(201, 96, 95, 0.24);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  background: var(--coral-dark);
  box-shadow: 0 16px 34px rgba(201, 96, 95, 0.31);
  transform: translateY(-2px);
}

.primary-button:disabled {
  background: #d8cfca;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.primary-button span {
  font-size: 1.35rem;
  font-weight: 400;
}

.start-facts {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.74rem;
}

.start-facts span {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.start-facts span:last-child {
  padding-right: 0;
  border: 0;
}

.start-facts strong {
  margin-right: 3px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.question-screen {
  min-height: 587px;
  padding: clamp(34px, 5vw, 56px) clamp(28px, 5.5vw, 64px) 36px;
}

.question-progress {
  height: 4px;
  overflow: hidden;
  margin-bottom: 38px;
  border-radius: 999px;
  background: #eee7e2;
}

.crawl-context {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  margin-bottom: 18px;
  border: 1px solid #dce9e7;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.7rem;
}

.crawl-context span {
  overflow: hidden;
  color: #5f7b79;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.question-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), #f0a996);
  transition: width 0.4s ease;
}

.question-count {
  color: var(--teal-dark);
}

.question-screen h2 {
  margin: 12px 0 9px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.question-help {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.options {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
}

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

.option-button {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 58px;
  padding: 13px 46px 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.option-button:hover {
  border-color: #dcaaa1;
  background: #fffafa;
  transform: translateY(-1px);
}

.option-button.is-selected {
  border-color: var(--coral);
  background: var(--coral-soft);
  box-shadow: inset 0 0 0 1px rgba(230, 127, 124, 0.18);
}

.option-index {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--ivory);
  color: var(--soft);
  font-family: Georgia, serif;
  font-size: 0.72rem;
}

.option-button.is-selected .option-index {
  background: var(--coral);
  color: #fff;
}

.option-label {
  font-size: 0.87rem;
  font-weight: 650;
  line-height: 1.5;
}

.option-mark {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  border: 1px solid #cfc7c2;
  border-radius: 50%;
  transform: translateY(-50%);
}

.options[data-type="multi"] .option-mark {
  border-radius: 6px;
}

.option-button.is-selected .option-mark {
  border-color: var(--coral);
  background: var(--coral);
}

.option-button.is-selected .option-mark::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.question-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.question-footer .primary-button {
  width: 190px;
  min-height: 54px;
  margin: 0;
  padding-left: 20px;
}

.text-button {
  padding: 10px 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: underline;
  text-decoration-color: #cbc1bb;
  text-underline-offset: 5px;
}

.text-button:hover {
  color: var(--ink);
}

.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 587px;
  padding: 56px;
  text-align: center;
}

.analysis-visual {
  position: relative;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  margin-bottom: 34px;
}

.analysis-visual::before,
.analysis-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.analysis-visual::before {
  inset: 0;
  border: 1px solid rgba(230, 127, 124, 0.28);
  border-top-color: var(--coral);
  animation: spin 1.8s linear infinite;
}

.analysis-visual::after {
  inset: 17px;
  border: 1px solid rgba(143, 201, 198, 0.35);
  border-bottom-color: var(--teal-dark);
  animation: spin 1.2s linear infinite reverse;
}

.analysis-visual span {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--coral-soft), var(--teal-soft));
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.loading-screen h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.loading-message {
  min-height: 2em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.loading-bar {
  width: min(100%, 360px);
  height: 7px;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 999px;
  background: #eee7e2;
}

.loading-bar span {
  display: block;
  width: 12%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  transition: width 0.55s ease;
}

.loading-bar.is-indeterminate span {
  width: 42%;
  animation: crawl-progress 1.4s ease-in-out infinite;
}

.crawl-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-top: 22px;
}

.crawl-steps span {
  padding: 5px 9px;
  border: 1px solid #e4ddd8;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.66rem;
}

.crawl-error-screen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 587px;
  padding: clamp(42px, 5.4vw, 60px) clamp(38px, 7vw, 70px);
}

.crawl-error-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.crawl-error-screen h2 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.45;
}

.crawl-error-screen > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.crawl-error-screen .crawl-error-help {
  margin-top: 10px !important;
  font-size: 0.74rem !important;
}

.loading-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: min(100%, 430px);
  padding: 16px 18px;
  margin-top: 34px;
  border: 1px solid #e5ece9;
  border-radius: 12px;
  background: #fbfefd;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
  text-align: left;
}

.loading-tip strong {
  flex: 0 0 auto;
  color: var(--teal-dark);
}

.result-screen {
  min-height: 587px;
  padding: clamp(30px, 4.5vw, 52px) clamp(24px, 5vw, 58px) 48px;
}

.result-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.result-label {
  color: var(--teal-dark);
}

.result-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.confidence-chip {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #dce9e7;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.score-summary {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px 0;
}

.score-ring {
  --score: 0;
  position: relative;
  display: grid;
  width: 174px;
  height: 174px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--coral) calc(var(--score) * 1%), #eee8e3 0);
}

.score-ring::before {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.score-value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
}

.score-value strong {
  font-family: Georgia, serif;
  font-size: 3.85rem;
  font-weight: 400;
  line-height: 1;
}

.score-value span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.score-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.score-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.metric-note {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  margin-top: 14px;
  border-radius: 8px;
  background: var(--ivory);
  color: #716253;
  font-size: 0.72rem;
}

.metric-note strong {
  color: var(--ink);
}

.category-block {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}

.crawl-summary-block {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}

.crawl-summary-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid #dce9e7;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbfefd, var(--teal-soft));
}

.crawl-summary-head > div {
  min-width: 0;
}

.crawl-summary-head strong,
.crawl-summary-head span {
  display: block;
}

.crawl-summary-head strong {
  overflow: hidden;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crawl-summary-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.crawl-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #dff3e7;
  color: #2f7b4d;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
}

.crawl-status.is-partial {
  background: var(--ivory);
  color: #8d6847;
}

.crawl-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.crawl-metrics div {
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.crawl-metrics strong,
.crawl-metrics span {
  display: block;
}

.crawl-metrics strong {
  font-family: Georgia, serif;
  font-size: 1.12rem;
  font-weight: 400;
}

.crawl-metrics span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
}

.crawl-summary-block > p {
  margin: 10px 2px 0;
  color: var(--soft);
  font-size: 0.67rem;
  line-height: 1.65;
}

.block-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.block-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.22rem;
}

.block-heading span {
  color: var(--soft);
  font-family: Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.category-layout {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 30px;
  align-items: center;
}

.radar-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar-ring {
  fill: none;
  stroke: #e9e1dc;
  stroke-width: 1;
}

.radar-axis {
  stroke: #eee7e2;
  stroke-width: 1;
}

.radar-result {
  fill: rgba(230, 127, 124, 0.2);
  stroke: var(--coral);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

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

.category-row {
  display: grid;
  grid-template-columns: 100px 1fr 34px;
  gap: 12px;
  align-items: center;
  font-size: 0.76rem;
}

.category-row > span:first-child {
  color: var(--muted);
}

.category-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee8e3;
}

.category-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.category-row strong {
  font-family: Georgia, serif;
  font-size: 0.88rem;
  font-weight: 400;
  text-align: right;
}

.issues-block,
.recommendation-block,
.locked-block,
.conversion-block {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.issue-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: issue;
}

.issue-card {
  position: relative;
  padding: 17px 18px 17px 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  counter-increment: issue;
}

.issue-card::before {
  position: absolute;
  top: 16px;
  left: 17px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: var(--coral-soft);
  color: var(--coral-dark);
  content: counter(issue, decimal-leading-zero);
  font-family: Georgia, serif;
  font-size: 0.7rem;
}

.issue-card h4 {
  margin: 0;
  font-size: 0.86rem;
}

.issue-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.quick-win {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  margin-top: 12px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: #3f7775;
  font-size: 0.76rem;
  line-height: 1.65;
}

.quick-win strong {
  flex: 0 0 auto;
  color: var(--teal-dark);
}

.strategy-card {
  position: relative;
  overflow: hidden;
  padding: 25px 26px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}

.strategy-card::after {
  position: absolute;
  right: -58px;
  bottom: -82px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 26px rgba(255, 255, 255, 0.025);
  content: "";
}

.strategy-rank {
  color: #d7e8a3;
  font-family: Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.strategy-card h3 {
  position: relative;
  z-index: 1;
  margin: 9px 0 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.strategy-card p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0;
  color: #d5cfcb;
  font-size: 0.78rem;
  line-height: 1.75;
}

.support-strategy {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 11px;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 0.7rem;
}

.locked-preview {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.locked-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 8px 0;
  border-bottom: 1px solid #eee7e2;
  filter: blur(2.7px);
  opacity: 0.48;
  user-select: none;
}

.locked-row span:first-child {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  background: var(--ivory);
  font-family: Georgia, serif;
  font-size: 0.7rem;
}

.locked-row strong {
  font-size: 0.78rem;
}

.locked-row em {
  color: var(--soft);
  font-size: 0.7rem;
  font-style: normal;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 253, 251, 0.25), rgba(255, 253, 251, 0.92));
}

.lock-overlay span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
  box-shadow: 0 8px 22px rgba(41, 39, 38, 0.08);
}

.conversion-block {
  padding: 34px 30px;
  margin: 4px -30px -18px;
  border-top: 0;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff0eb, #f3fbfa 70%);
  text-align: center;
}

.conversion-block h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.5;
}

.conversion-block > p {
  max-width: 520px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.line-button,
.meeting-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 58px;
  margin-right: auto;
  margin-left: auto;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.line-button {
  margin-top: 22px;
  background: #06c755;
  color: #fff;
  box-shadow: 0 13px 28px rgba(6, 199, 85, 0.2);
}

.line-delivery {
  width: min(100%, 460px);
  margin: 22px auto 0;
}

.line-delivery .line-button {
  width: 100%;
  margin-top: 0;
}

.line-button--add {
  border: 1px solid rgba(6, 168, 72, 0.3);
  background: rgba(255, 255, 255, 0.82);
  color: #078b41;
  box-shadow: none;
}

.line-button--add::before {
  background: #06c755;
  color: #fff;
}

.line-delivery-divider {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  color: var(--soft);
  font-size: 0.66rem;
}

.line-delivery-divider::before,
.line-delivery-divider::after {
  flex: 1;
  height: 1px;
  background: rgba(97, 91, 87, 0.16);
  content: "";
}

.line-button::before {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff;
  color: #06a848;
  content: "LINE";
  font-size: 0.42rem;
  font-weight: 900;
}

.line-button:hover,
.meeting-button:hover {
  transform: translateY(-2px);
}

.line-send-note {
  margin: 10px auto 0 !important;
  color: #4f6356 !important;
  font-size: 0.7rem !important;
  line-height: 1.65;
}

.line-copy-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.copy-result-button {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(97, 91, 87, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
}

.line-copy-row span {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.4;
  text-align: left;
}

.meeting-button {
  min-height: 52px;
  margin-top: 10px;
  border: 1px solid #d7cfc9;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.82rem;
}

.diagnosis-id {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.7rem;
}

.diagnosis-id code {
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.copy-button {
  padding: 4px 7px;
  border: 0;
  background: transparent;
  color: var(--coral-dark);
  cursor: pointer;
  font-size: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.funnel-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.funnel-steps li {
  position: relative;
  padding: 12px 8px;
  border: 1px solid rgba(230, 127, 124, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.45;
}

.funnel-steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.72rem;
}

.result-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
}

.result-note {
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 0.68rem;
  line-height: 1.65;
  text-align: center;
}

.line-button.is-preparing,
.line-button[aria-disabled="true"] {
  background: #aeb8b3;
  box-shadow: none;
  cursor: wait;
  opacity: 0.78;
  pointer-events: auto;
}

.copy-result-button:disabled {
  cursor: wait;
  opacity: 0.48;
}

.inline-retry-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--coral-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.is-hidden {
  display: none !important;
}

.precision-block {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.precision-intro,
.google-connect-panel {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.precision-intro {
  padding: 22px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, #eff9f7, #fff8f4);
}

.precision-intro strong,
.google-connect-panel strong {
  display: block;
  font-size: 0.92rem;
}

.precision-intro p,
.google-connect-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.7;
}

.precision-badge {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
}

.precision-badge.is-connected {
  background: var(--teal);
  color: #fff;
}

.precision-badge.is-pending {
  background: #eee9e5;
  color: var(--muted);
}

.google-connect-panel {
  padding: 18px 22px;
  border: 1px solid #dceae7;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #fff;
}

.google-connect-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
}

.secondary-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--teal) !important;
  border-radius: 10px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.secondary-button:disabled {
  border-color: var(--line) !important;
  color: var(--soft);
  cursor: not-allowed;
}

.precision-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.precision-fieldset {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.precision-fieldset:disabled {
  opacity: 0.56;
}

.precision-fieldset legend {
  padding: 0 7px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.precision-help {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

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

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

.precision-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.precision-grid label > span {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--soft);
  font-size: 0.64rem;
}

.precision-grid input,
.precision-grid select,
.competitor-inputs input {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
}

.precision-grid label > span input {
  flex: 1 1 auto;
}

.precision-grid input:focus,
.precision-grid select:focus,
.competitor-inputs input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 153, 151, 0.12);
}

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

.precision-submit {
  width: 100%;
  max-width: none;
  margin-top: 2px;
}

.precision-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.65;
  text-align: center;
}

body.report-mode .page-shell {
  display: block;
  width: min(940px, calc(100% - 48px));
  padding-top: 52px;
}

body.report-mode .intro-panel,
body.report-mode .stepper {
  display: none;
}

body.report-mode .diagnosis-card {
  min-height: 0;
  overflow: hidden;
}

.report-loading,
.report-error {
  display: grid;
  min-height: 520px;
  place-items: center;
  align-content: center;
  padding: 48px;
  text-align: center;
}

.report-loading h2,
.report-error h2 {
  margin: 20px 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.report-loading p,
.report-error p {
  margin: 0;
  color: var(--muted);
}

.report-error > span:first-child {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-family: Georgia, serif;
  font-size: 1.6rem;
}

.report-error .primary-button {
  margin-top: 24px;
  text-decoration: none;
}

.detailed-report {
  padding: clamp(30px, 5vw, 64px);
}

.detailed-report-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding-bottom: 38px;
}

.detailed-report-heading h2 {
  margin: 6px 0 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.45rem);
  font-weight: 600;
  line-height: 1.22;
}

.detailed-report-heading h2 span {
  color: var(--coral-dark);
}

.detailed-report-heading > div:first-child > p:last-child {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.report-score {
  display: grid;
  width: 150px;
  height: 150px;
  place-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 58%, transparent 59%),
    conic-gradient(var(--coral) calc(var(--score) * 1%), #eee7e2 0);
  text-align: center;
}

.report-score strong {
  font-family: Georgia, serif;
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
}

.report-score > span {
  color: var(--soft);
  font-family: Georgia, serif;
  font-size: 0.76rem;
}

.report-score small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.65rem;
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--muted);
  font-size: 0.72rem;
}

.report-meta strong {
  color: var(--ink);
}

.report-overview,
.report-section,
.simulation-card,
.report-consultation {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.report-overview {
  margin-top: 24px;
  border-top: 0;
}

.report-overview-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.report-source-strip {
  display: flex;
  gap: 10px 18px;
  align-items: center;
  padding: 14px 16px;
  margin-top: 20px;
  border-radius: 11px;
  background: var(--teal-soft);
  color: #3f7775;
  font-size: 0.74rem;
}

.evidence-section .block-heading {
  margin-bottom: 18px;
}

.evidence-metrics,
.simulation-baseline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 16px;
}

.evidence-metrics > div,
.simulation-baseline > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 15px 12px;
  border-radius: 12px;
  background: var(--ivory);
}

.evidence-metrics strong,
.simulation-baseline strong {
  overflow: hidden;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.22rem;
  font-weight: 400;
  text-overflow: ellipsis;
}

.evidence-metrics span,
.simulation-baseline span {
  color: var(--soft);
  font-size: 0.62rem;
}

.evidence-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.evidence-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
  white-space: nowrap;
}

.evidence-table th,
.evidence-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.evidence-table th:first-child,
.evidence-table td:first-child {
  max-width: 320px;
  text-align: left;
  white-space: normal;
}

.evidence-table thead th {
  background: var(--ivory);
  color: var(--soft);
  font-size: 0.61rem;
  font-weight: 700;
}

.evidence-table tbody th {
  color: var(--ink);
  font-weight: 600;
}

.evidence-table tr:last-child th,
.evidence-table tr:last-child td {
  border-bottom: 0;
}

.evidence-note,
.evidence-empty {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 0.64rem;
  line-height: 1.65;
}

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

.keyword-cloud > span {
  display: grid;
  gap: 1px;
  padding: 8px 11px;
  border: 1px solid #d9ebe8;
  border-radius: 10px;
  background: #f7fcfb;
}

.keyword-cloud strong {
  font-size: 0.73rem;
}

.keyword-cloud small {
  color: var(--teal-dark);
  font-size: 0.58rem;
}

.keyword-cloud--gaps {
  margin-top: 14px;
}

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

.competitor-cards article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.competitor-cards h4 {
  overflow: hidden;
  margin: 0;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.competitor-cards p {
  margin: 3px 0 10px;
  color: var(--soft);
  font-size: 0.62rem;
}

.competitor-cards dl {
  display: grid;
  gap: 5px;
  margin: 0;
}

.competitor-cards dl div {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
}

.competitor-cards dt {
  color: var(--muted);
}

.competitor-cards dd {
  margin: 0;
  font-weight: 700;
}

.gap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.gap-list > strong {
  width: 100%;
  font-size: 0.7rem;
}

.gap-list > span {
  display: grid;
  gap: 1px;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-size: 0.7rem;
  font-weight: 700;
}

.gap-list small {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 400;
}

.report-priority-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.report-priority-list > li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.report-priority-list > li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-family: Georgia, serif;
}

.report-priority-list small {
  color: var(--teal-dark);
  font-size: 0.68rem;
}

.report-priority-list h4 {
  margin: 3px 0 7px;
  font-size: 1rem;
}

.report-priority-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.report-priority-list strong {
  display: block;
  margin-top: 12px;
  color: var(--coral-dark);
  font-size: 0.7rem;
}

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

.content-plan-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(155deg, #fff, var(--ivory));
}

.content-plan-grid article > span {
  color: var(--coral-dark);
  font-size: 0.66rem;
  font-weight: 700;
}

.content-plan-grid h4 {
  margin: 7px 0;
  font-size: 0.9rem;
}

.content-plan-grid p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.74rem;
}

.content-plan-grid small {
  color: var(--teal-dark);
  font-size: 0.65rem;
}

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

.roadmap-list > article {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.roadmap-list > article > div {
  display: grid;
  place-content: center;
  padding: 18px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.roadmap-list > article > div span {
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.roadmap-list > article > div strong {
  margin-top: 4px;
  font-size: 0.82rem;
}

.roadmap-list > article > section {
  padding: 18px 22px;
}

.roadmap-list h4 {
  margin: 0 0 7px;
  font-size: 0.9rem;
}

.roadmap-list ul {
  padding-left: 1.2em;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.simulation-card {
  padding: 30px;
  margin-top: 8px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--teal-soft), #fff 62%, var(--coral-soft));
}

.simulation-card h3 {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.simulation-card > p:not(.result-label) {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.simulation-card small {
  display: block;
  margin-top: 13px;
  color: var(--soft);
  font-size: 0.65rem;
}

.simulation-card--exact > p:not(.result-label) {
  margin-bottom: 18px;
}

.simulation-card--exact .evidence-table-wrap {
  background: rgba(255, 255, 255, 0.82);
}

.simulation-warnings {
  padding-left: 1.2em;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
}

.report-consultation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: center;
}

.report-consultation h3 {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.45;
}

.report-consultation p:not(.result-label) {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.report-consultation .meeting-button {
  margin-top: 0;
  background: var(--ink);
  color: #fff;
}

.report-notes {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

.report-notes summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.report-notes ul {
  margin-bottom: 0;
}

.detailed-report .result-actions a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  padding: 25px 0 30px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.7rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(79, 153, 151, 0.42);
  outline-offset: 3px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes crawl-progress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(330%);
  }
}

@media (max-width: 980px) {
  .page-shell {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 40px));
    gap: 34px;
    padding-top: 44px;
  }

  .intro-panel {
    position: static;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: end;
  }

  .intro-panel > .eyebrow,
  .intro-panel > h1,
  .intro-panel > .intro-copy {
    grid-column: 1;
  }

  .intro-panel h1 {
    margin-bottom: 18px;
  }

  .diagnosis-map {
    grid-column: 2;
    grid-row: 1 / span 3;
    grid-template-columns: 1fr;
    justify-items: center;
    margin: 0;
  }

  .privacy-note {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: 4px;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: min(100% - 32px, 640px);
    min-height: 72px;
  }

  .brand img {
    width: min(190px, 50vw);
  }

  .header-meta span:first-child {
    display: none;
  }

  .header-meta {
    gap: 8px;
    font-size: 0.7rem;
  }

  .page-shell {
    display: flex;
    flex-direction: column;
    width: min(100% - 24px, 640px);
    padding: 34px 0 46px;
  }

  .intro-panel {
    order: 2;
    display: block;
    padding: 0 10px;
  }

  .diagnosis-card {
    order: 1;
  }

  .intro-panel h1 {
    margin-top: 12px;
    font-size: clamp(2.5rem, 13vw, 4.1rem);
  }

  .intro-copy {
    font-size: 0.92rem;
  }

  .diagnosis-map {
    display: none;
  }

  .privacy-note {
    padding-top: 18px;
    margin-top: 24px;
  }

  .diagnosis-card {
    min-height: 0;
    border-radius: 20px;
  }

  .stepper li {
    min-height: 60px;
  }

  .stepper em {
    display: none;
  }

  .stepper li + li::before {
    height: 20px;
  }

  .start-screen {
    min-height: 540px;
    padding: 38px 25px;
  }

  .start-screen h2 {
    font-size: 2.15rem;
  }

  .site-url-field > span {
    padding-left: 12px;
    font-size: 0.76rem;
  }

  .site-url-field input {
    padding-right: 10px;
    font-size: 0.8rem;
  }

  .start-facts {
    gap: 18px;
  }

  .start-facts span {
    padding-right: 18px;
  }

  .question-screen {
    min-height: 580px;
    padding: 30px 20px;
  }

  .question-progress {
    margin-bottom: 30px;
  }

  .question-screen h2 {
    font-size: 1.55rem;
  }

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

  .option-button {
    min-height: 56px;
  }

  .question-footer .primary-button {
    width: 160px;
  }

  .loading-screen {
    min-height: 540px;
    padding: 38px 24px;
  }

  .result-screen {
    padding: 30px 20px 38px;
  }

  .result-heading {
    display: block;
  }

  .confidence-chip {
    display: inline-block;
    margin-top: 14px;
  }

  .score-summary {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
    text-align: center;
  }

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

  .crawl-summary-head {
    display: block;
  }

  .crawl-status {
    display: inline-block;
    margin-top: 10px;
  }

  .category-layout {
    grid-template-columns: 124px 1fr;
    gap: 18px;
  }

  .category-row {
    grid-template-columns: 82px 1fr 28px;
    gap: 7px;
  }

  .strategy-card {
    padding: 23px 21px;
  }

  .conversion-block {
    padding: 30px 18px;
    margin-right: -8px;
    margin-left: -8px;
  }

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

  .line-copy-row {
    flex-direction: column;
  }

  .line-copy-row span {
    text-align: center;
  }

  .precision-intro,
  .google-connect-panel {
    display: grid;
    gap: 14px;
  }

  .precision-badge {
    justify-self: start;
  }

  .google-connect-actions {
    justify-content: flex-start;
  }

  .precision-grid,
  .precision-grid--two,
  .competitor-inputs {
    grid-template-columns: 1fr;
  }

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

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

  .site-footer {
    flex-direction: column;
    gap: 8px;
    width: min(100% - 32px, 640px);
    text-align: center;
  }

  body.report-mode .page-shell {
    width: min(100% - 24px, 640px);
    padding-top: 28px;
  }

  .detailed-report {
    padding: 28px 20px 36px;
  }

  .detailed-report-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .report-score {
    width: 126px;
    height: 126px;
  }

  .report-overview-grid {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
  }

  .report-source-strip,
  .report-consultation {
    display: block;
  }

  .report-source-strip span {
    display: block;
    margin-top: 4px;
  }

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

  .roadmap-list > article {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .roadmap-list > article > section {
    padding: 16px;
  }

  .report-consultation .meeting-button {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 410px) {
  .category-layout {
    grid-template-columns: 1fr;
  }

  .radar-chart {
    width: 136px;
    margin: 0 auto;
  }

  .category-row {
    grid-template-columns: 92px 1fr 30px;
  }

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

  .report-overview-grid .radar-chart {
    margin: 0 auto;
  }

  .report-priority-list > li {
    grid-template-columns: 1fr;
  }

  .roadmap-list > article {
    grid-template-columns: 1fr;
  }

  .roadmap-list > article > div {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

  .site-header,
  .intro-panel,
  .stepper,
  .conversion-block,
  .result-actions,
  .site-footer,
  .ambient {
    display: none !important;
  }

  .page-shell {
    display: block;
    width: 100%;
    padding: 0;
  }

  .diagnosis-card {
    border: 0;
    box-shadow: none;
  }

  .result-screen {
    padding: 0;
  }

  .detailed-report {
    padding: 0;
  }

  .report-meta,
  .report-notes {
    border-color: #bbb;
  }
}

/* PC: LINE QR handoff */
.line-qr-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  text-align: center;
}

.line-qr-panel.is-highlighted {
  animation: line-qr-pulse 1.4s ease 1;
}

@keyframes line-qr-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
  30% { box-shadow: 0 0 0 6px rgba(6, 199, 85, 0.35); }
}

.line-qr-lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.line-qr-lead strong {
  display: block;
  color: var(--ink);
}

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

.line-qr {
  margin: 0;
}

.line-qr-code {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}

.line-qr-code svg {
  width: 100%;
  height: 100%;
}

.line-qr-code.is-pending {
  border: 1px dashed var(--line);
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.6;
  padding: 12px;
}

.line-qr figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

@media print {
  .line-qr-panel { display: none; }
}
