/* ==========================================================================
   서비스 소개 (introduction.html) — body.ls-page.mk.mk-intro
   marketing.css 다음에 로드한다. --ls-* 토큰만 쓴다.
   시그니처: 머리의 '세로셈' 카드 — 필수 5개 항목이 장수체력점수를 거쳐 장수체력나이가 되는 과정
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 머리 — 세로셈 카드
   -------------------------------------------------------------------------- */
/* H1 이 검색어 문장(장수체력나이란? 계산 방법과 노인 체력검사 15개 항목)이라 길다 — 한 단계 작게, 두 줄 안팎으로 */
.in-hero__title { font-size: var(--ls-text-h2); line-height: 1.22; }
.in-sheet {
  position: relative;
  margin: 0;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1.2vw, 2rem);
  background: var(--ls-surface);
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius-xl);
  box-shadow: var(--ls-shadow-lg);
}
.in-sheet__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ls-border);
}
.in-sheet__head img { width: 24px; height: 24px; flex: none; }
.in-sheet__title { flex: 1; font-size: var(--ls-text-sm); font-weight: var(--ls-weight-bold); color: var(--ls-fg); }
.in-sheet__tag {
  flex: none;
  padding: 3px 10px;
  border-radius: var(--ls-radius-pill);
  background: var(--ls-bg-brand-soft);
  color: var(--ls-fg-brand);
  font-size: var(--ls-text-2xs);
  font-weight: var(--ls-weight-semibold);
}

.in-sheet__rows { margin: 0; padding: 0; list-style: none; }
.in-sheet__row,
.in-sheet__sum,
.in-sheet__result {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 64px;
  align-items: center;
  column-gap: 10px;
}
.in-sheet__row {
  min-height: 48px;
  border-bottom: 1px dashed var(--ls-border);
}
.in-sheet__op {
  font-size: 1.25rem;
  font-weight: var(--ls-weight-bold);
  line-height: 1;
  text-align: center;
  color: var(--ls-brand);
  font-variant-numeric: tabular-nums;
}
.in-sheet__name { font-weight: var(--ls-weight-semibold); color: var(--ls-fg); letter-spacing: -0.015em; }
.in-sheet__cat { font-size: var(--ls-text-xs); color: var(--ls-fg-subtle); white-space: nowrap; }
.in-sheet__unit {
  justify-self: end;
  font-size: var(--ls-text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--ls-fg-muted);
  white-space: nowrap;
}
.in-sheet__row--minus .in-sheet__op { color: var(--ls-fg-accent); }

/* 합계 줄: 세로셈의 이중선 */
.in-sheet__sum {
  min-height: 52px;
  margin-top: 6px;
  border-top: 3px double var(--ls-brand);
  transform-origin: left center;
}
.in-sheet__sum .in-sheet__name { grid-column: 2 / -1; color: var(--ls-brand); font-weight: var(--ls-weight-bold); }

.in-sheet__result {
  min-height: 64px;
  margin-top: 4px;
  padding-inline: 0 14px;
  border-radius: var(--ls-radius-md);
  background: linear-gradient(var(--ls-highlight), var(--ls-highlight)) left center / 100% 100% no-repeat;
}
.in-sheet__arrow { display: grid; place-items: center; color: var(--ls-fg); }
.in-sheet__arrow .ls-icon { --ls-icon-size: 18px; }
.in-sheet__result .in-sheet__name { font-weight: var(--ls-weight-bold); color: var(--ls-fg); }
.in-sheet__age {
  grid-column: 3 / -1;
  justify-self: end;
  font-size: 2rem;
  font-weight: var(--ls-weight-bold);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ls-fg);
  font-variant-numeric: tabular-nums;
}
.in-sheet__age small { margin-left: 2px; font-size: 0.5em; font-weight: var(--ls-weight-semibold); letter-spacing: 0; color: var(--ls-fg-muted); }
.in-sheet__age { display: inline-flex; align-items: baseline; }
.in-sheet__blank {
  display: inline-block;
  width: 2.1ch;
  height: 0.82em;
  border-bottom: 2px dashed var(--ls-fg);
}
.in-sheet__note {
  margin-top: 14px;
  font-size: var(--ls-text-xs);
  line-height: 1.6;
  color: var(--ls-fg-muted);
  text-wrap: pretty;
}

@media (max-width: 899px) {
  .in-sheet { max-width: 560px; }
}
@media (max-width: 479px) {
  .in-sheet__row,
  .in-sheet__sum,
  .in-sheet__result { grid-template-columns: 22px minmax(0, 1fr) auto 52px; column-gap: 8px; }
  .in-sheet__cat { display: none; }
}

/* 한 번의 등장: 행이 차례로 쌓이고 → 합계선이 그어지고 → 결과에 형광펜. 감소된 모션이면 처음부터 보인다 */
@media (prefers-reduced-motion: no-preference) {
  .in-sheet__row { animation: in-rise var(--ls-dur-slow) var(--ls-ease-out) both; }
  .in-sheet__row:nth-child(1) { animation-delay: 120ms; }
  .in-sheet__row:nth-child(2) { animation-delay: 190ms; }
  .in-sheet__row:nth-child(3) { animation-delay: 260ms; }
  .in-sheet__row:nth-child(4) { animation-delay: 330ms; }
  .in-sheet__row:nth-child(5) { animation-delay: 400ms; }
  .in-sheet__sum { animation: in-draw var(--ls-dur-slow) var(--ls-ease-out) 560ms both; }
  .in-sheet__result { animation: in-mark 520ms var(--ls-ease-out) 820ms both; }
}
@keyframes in-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes in-draw { from { transform: scaleX(0); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes in-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

/* 예전 섹션 주소 자리 — 섹션 맨 위에 붙는 빈 표식 */
.in-anchor { display: block; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   2. 연구 배경
   -------------------------------------------------------------------------- */
.in-evidence { display: grid; border-top: 2px solid var(--ls-brand); }
.in-evidence__item {
  display: grid;
  gap: var(--ls-space-3);
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-bottom: 1px solid var(--ls-border);
}
.in-evidence__item p { max-width: 38em; color: var(--ls-fg-muted); text-wrap: pretty; }
.in-evidence__src { font-size: var(--ls-text-xs); color: var(--ls-fg-subtle) !important; }

/* 실제 순서(손상 → 제한 → 의존)라서 화살표로 잇는다 */
.in-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.in-chain li { display: flex; align-items: center; gap: 8px; }
.in-chain .ls-icon { --ls-icon-size: 18px; color: var(--ls-fg-subtle); }
.in-chain span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ls-border-strong);
  border-radius: var(--ls-radius-pill);
  background: var(--ls-surface);
  font-size: var(--ls-text-sm);
  font-weight: var(--ls-weight-semibold);
  color: var(--ls-fg);
  white-space: nowrap;
}
.in-chain li:last-child span { border-color: var(--ls-danger-border); background: var(--ls-danger-bg); color: var(--ls-danger-fg); }

.in-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 4px 0 0; }
.in-compare > div {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius-md);
  background: var(--ls-surface);
}
.in-compare dt { font-weight: var(--ls-weight-semibold); color: var(--ls-fg-muted); }
.in-compare dd { margin: 0; font-size: var(--ls-text-sm); color: var(--ls-fg-subtle); }
.in-compare__fit { border-color: var(--ls-brand) !important; }
.in-compare__fit dt { color: var(--ls-brand); }
.in-compare__fit dd { color: var(--ls-fg-muted); }

/* 기대수명·건강수명 눈금자 (60~90세) */
.in-life { margin: 0; padding-top: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.in-life figcaption { display: grid; gap: 4px; }
.in-life__title { font-size: var(--ls-text-h4); font-weight: var(--ls-weight-bold); letter-spacing: -0.02em; color: var(--ls-fg); }
.in-life__sub { max-width: 38em; color: var(--ls-fg-muted); text-wrap: pretty; }
.in-life__ruler { --health: 19.333%; --life: 75.667%; margin-top: var(--ls-space-6); }
.in-life__track {
  position: relative;
  height: 92px;
  border-bottom: 2px solid var(--ls-fg);
  background:
    repeating-linear-gradient(to right, var(--ls-fg-subtle) 0 1px, transparent 1px calc(100% / 30)) left bottom / 100% 8px no-repeat;
}
.in-life__gap {
  position: absolute;
  left: var(--health);
  right: calc(100% - var(--life));
  bottom: 12px;
  height: 26px;
  border-radius: var(--ls-radius-xs);
  background: var(--ls-highlight);
}
.in-life__gaplabel {
  position: absolute;
  left: calc((var(--health) + var(--life)) / 2);
  bottom: 12px;
  height: 26px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  font-size: var(--ls-text-sm);
  font-weight: var(--ls-weight-bold);
  font-variant-numeric: tabular-nums;
  color: var(--ls-fg);
  white-space: nowrap;
}
.in-life__pin {
  position: absolute;
  top: 0;
  bottom: 0;
  display: grid;
  align-content: start;
  font-size: var(--ls-text-xs);
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  color: var(--ls-fg-muted);
  white-space: nowrap;
}
.in-life__pin b { display: block; font-weight: var(--ls-weight-semibold); color: var(--ls-fg); }
.in-life__pin--health { left: var(--health); padding-left: 8px; border-left: 2px solid var(--ls-vital); }
.in-life__pin--health b { color: var(--ls-success-fg); }
.in-life__pin--life { right: calc(100% - var(--life)); padding-right: 8px; border-right: 2px solid var(--ls-fg-muted); text-align: right; }
.in-life__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: var(--ls-text-xs);
  font-variant-numeric: tabular-nums;
  color: var(--ls-fg-subtle);
}
.in-life__scale span { width: 0; display: flex; justify-content: center; white-space: nowrap; }

/* --------------------------------------------------------------------------
   3. 계산 방식
   -------------------------------------------------------------------------- */
.in-formula {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ls-space-8);
}
.in-five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ls-brand);
  border-bottom: 1px solid var(--ls-border);
}
.in-five__item {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px 20px 24px;
}
.in-five__item + .in-five__item { border-left: 1px solid var(--ls-border); }
.in-five__cat { font-size: var(--ls-text-xs); color: var(--ls-fg-subtle); }
.in-five__name { font-size: var(--ls-text-lg); font-weight: var(--ls-weight-bold); letter-spacing: -0.02em; color: var(--ls-fg); }
.in-five__dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: var(--ls-text-sm);
  font-weight: var(--ls-weight-medium);
  color: var(--ls-success-fg);
}
.in-five__dir .ls-icon { --ls-icon-size: 16px; }
.in-five__item--minus .in-five__dir { color: var(--ls-fg-accent); }

.in-formula__notes {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--ls-space-6) clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.in-formula__basis {
  padding-left: var(--ls-space-5);
  border-left: 3px solid var(--ls-accent);
  font-size: var(--ls-text-lg);
  font-weight: var(--ls-weight-semibold);
  line-height: var(--ls-leading-snug);
  letter-spacing: -0.015em;
  color: var(--ls-fg);
  text-wrap: balance;
}

@media (max-width: 1023px) {
  .in-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .in-five__item:nth-child(4) { border-left: 0; }
  .in-five__item:nth-child(n + 4) { border-top: 1px solid var(--ls-border); }
}
@media (max-width: 639px) {
  .in-five { grid-template-columns: minmax(0, 1fr); }
  .in-five__item { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; padding: 14px 4px; }
  .in-five__item + .in-five__item { border-left: 0; border-top: 1px solid var(--ls-border); }
  .in-five__cat { grid-column: 1 / -1; }
  .in-five__dir { margin-top: 0; justify-self: end; }
  .in-formula__notes { grid-template-columns: minmax(0, 1fr); }
}

/* 연구자 의견 + 참고 연구 */
.in-research {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--ls-space-8) clamp(2rem, 1rem + 4vw, 5rem);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--ls-border);
}
.in-quote { margin: 0; display: grid; gap: var(--ls-space-5); }
.in-quote blockquote { margin: 0; }
.in-quote blockquote p {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  font-weight: var(--ls-weight-medium);
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--ls-fg);
  text-wrap: pretty;
}
.in-quote blockquote p::before { content: "“"; }
.in-quote blockquote p::after { content: "”"; }
.in-quote figcaption { display: flex; align-items: center; gap: 12px; }
.in-quote figcaption > span:last-child { display: grid; line-height: 1.35; }
.in-quote figcaption strong { color: var(--ls-fg); }
.in-quote figcaption strong + span { font-size: var(--ls-text-sm); color: var(--ls-fg-subtle); }
.in-refs { display: grid; gap: var(--ls-space-3); }
.in-refs__title { font-size: var(--ls-text-sm); font-weight: var(--ls-weight-semibold); color: var(--ls-fg-muted); }
.in-refs ul { display: grid; gap: var(--ls-space-3); margin: 0; padding: 0; list-style: none; }
.in-refs li { padding-left: 14px; border-left: 2px solid var(--ls-border-strong); font-size: var(--ls-text-sm); color: var(--ls-fg-muted); text-wrap: pretty; }
.in-refs strong { color: var(--ls-fg); font-weight: var(--ls-weight-semibold); }

@media (max-width: 899px) {
  .in-research { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   4. 측정 항목과 방법
   -------------------------------------------------------------------------- */
.in-proto__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.in-proto__intro { display: grid; gap: var(--ls-space-5); justify-items: start; }
.in-proto__intro .ls-lead { max-width: 32em; }
.in-proto__summary { max-width: 34em; color: var(--ls-fg); line-height: var(--ls-leading-relaxed); text-wrap: pretty; }
.in-proto__summary strong { font-weight: var(--ls-weight-bold); }

/* 3-2. 신체나이와 다른 점 (#vs-body-age) — 답(첫 문단)은 왼쪽, 근거 네 줄은 오른쪽 */
.in-vs { display: grid; gap: var(--ls-space-5); align-content: start; }
.in-vs__list { margin: 0; padding: 0; list-style: none; gap: var(--ls-space-4); }
.in-vs__list li { line-height: var(--ls-leading-relaxed); text-wrap: pretty; }
.in-vs__list strong { font-weight: var(--ls-weight-semibold); }
.in-vs__note { padding-top: var(--ls-space-4); border-top: 1px solid var(--ls-border); font-size: var(--ls-text-sm); color: var(--ls-fg-muted); text-wrap: pretty; }
.in-kit {
  display: grid;
  gap: 6px;
  max-width: 36em;
  padding: var(--ls-space-5) var(--ls-space-6);
  background: var(--ls-surface);
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius-lg);
}
.in-kit__title { font-size: var(--ls-text-sm); font-weight: var(--ls-weight-bold); color: var(--ls-fg); }
.in-kit__list { color: var(--ls-fg); line-height: var(--ls-leading-relaxed); text-wrap: pretty; }
.in-kit__note { font-size: var(--ls-text-sm); color: var(--ls-fg-muted); }
.in-proto__toggle[hidden] { display: none; }
.in-proto__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--ls-radius-xl);
  overflow: hidden;
  background: var(--ls-bg-muted);
}
.in-proto__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 899px) {
  .in-proto__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .in-proto__photo { aspect-ratio: 4 / 3; }
  .in-proto__photo img { object-position: center 30%; }
}

.in-spec { border-top: 2px solid var(--ls-brand); }
.in-spec__group {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--ls-space-3) var(--ls-space-8);
  padding-block: 22px;
  border-bottom: 1px solid var(--ls-border);
  scroll-margin-top: calc(var(--ls-header-h) + 16px);
}
.in-spec__cat h3 { font-size: var(--ls-text-h4); font-weight: var(--ls-weight-bold); letter-spacing: -0.02em; color: var(--ls-fg); }
.in-spec__cat p { margin-top: 4px; max-width: 24em; font-size: var(--ls-text-sm); color: var(--ls-fg-muted); }
.in-spec__foot { margin-top: var(--ls-space-5); font-size: var(--ls-text-sm); color: var(--ls-fg-subtle); }

.in-item { border-bottom: 1px dashed var(--ls-border); scroll-margin-top: calc(var(--ls-header-h) + 16px); }
.in-item:last-child { border-bottom: 0; }
.in-item__sum {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding-block: 8px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--ls-radius-xs);
}
.in-item__sum::-webkit-details-marker { display: none; }
.in-item__sum:focus-visible { outline: 2px solid var(--ls-border-focus); outline-offset: 2px; }
.in-item__name {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-weight: var(--ls-weight-semibold);
  color: var(--ls-fg);
}
.in-item__unit {
  flex: none;
  font-size: var(--ls-text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--ls-fg-muted);
  white-space: nowrap;
}
.in-item__chev {
  --ls-icon-size: 18px;
  color: var(--ls-fg-subtle);
  transition: transform var(--ls-dur-base) var(--ls-ease-out), color var(--ls-dur-fast);
}
.in-item[open] .in-item__chev { transform: rotate(180deg); color: var(--ls-fg-brand); }
@media (hover: hover) and (pointer: fine) {
  .in-item__sum:hover .in-item__name { color: var(--ls-fg-brand); }
  .in-item__sum:hover .in-item__chev { color: var(--ls-fg); }
}
.in-item__body { display: grid; gap: var(--ls-space-3); padding: 4px 0 20px; }

/* 측정 순서 — 실제 순서라 번호를 단다 */
.in-item__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: in-step; }
.in-item__steps li {
  counter-increment: in-step;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ls-fg);
  font-size: var(--ls-text-sm);
  line-height: 1.6;
}
.in-item__steps li::before {
  content: counter(in-step);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ls-bg-brand-soft);
  color: var(--ls-fg-brand);
  font-size: var(--ls-text-2xs);
  font-weight: var(--ls-weight-bold);
  font-variant-numeric: tabular-nums;
}
.in-item__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--ls-radius-sm);
  background: var(--ls-warning-bg);
  font-size: var(--ls-text-sm);
  color: var(--ls-fg);
}
.in-item__note .ls-icon { --ls-icon-size: 16px; margin-top: 3px; color: var(--ls-warning-fg); }
.in-item__note strong { margin-right: 4px; color: var(--ls-warning-fg); font-weight: var(--ls-weight-semibold); }

/* 그 항목의 측정 방법 영상 페이지 (tests/<slug>.html) */
.in-item__video { display: flex; flex-wrap: wrap; gap: 4px var(--ls-space-4); margin: var(--ls-space-3) 0 0; font-size: var(--ls-text-sm); }
@media (max-width: 899px) {
  .in-spec__group { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   5. 평가 기준
   -------------------------------------------------------------------------- */
.in-grades { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); justify-items: start; }
.in-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.in-scale__step { display: grid; gap: 10px; }
.in-scale__bar { display: block; height: var(--_h, 96px); border-radius: var(--ls-radius-sm) var(--ls-radius-sm) 2px 2px; background: var(--_c); }
.in-scale__name { font-size: var(--ls-text-sm); font-weight: var(--ls-weight-semibold); color: var(--ls-fg); white-space: nowrap; }
.in-scale__step--1 { --_c: var(--ls-grade-1); --_h: 112px; }
.in-scale__step--2 { --_c: var(--ls-grade-2); --_h: 92px; }
.in-scale__step--3 { --_c: var(--ls-grade-3); --_h: 72px; }
.in-scale__step--4 { --_c: var(--ls-grade-4); --_h: 52px; }
.in-scale__step--5 { --_c: var(--ls-grade-5); --_h: 32px; }

.in-report { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--ls-space-8); width: 100%; margin: 0; border-top: 2px solid var(--ls-brand); }
.in-report > div { display: grid; gap: 4px; padding-block: 18px; border-bottom: 1px solid var(--ls-border); }
.in-report dt { font-weight: var(--ls-weight-bold); color: var(--ls-fg); }
.in-report dd { margin: 0; font-size: var(--ls-text-sm); color: var(--ls-fg-muted); text-wrap: pretty; }

@media (max-width: 639px) {
  .in-scale { gap: 5px; }
  .in-scale__name { font-size: var(--ls-text-xs); white-space: normal; }
  .in-report { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   6. 측정 방식
   -------------------------------------------------------------------------- */
.in-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ls-space-6); }
.in-mode {
  display: grid;
  align-content: start;
  gap: var(--ls-space-3);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem);
  background: var(--ls-surface);
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius-xl);
}
.in-mode__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--ls-space-2);
  border-radius: var(--ls-radius-md);
  background: var(--ls-bg-brand-soft);
  color: var(--ls-fg-brand);
}
.in-mode__icon .ls-icon { --ls-icon-size: 24px; }
.in-mode__who { font-size: var(--ls-text-sm); color: var(--ls-fg-subtle); }
.in-mode__facts { display: grid; margin: var(--ls-space-3) 0 0; border-top: 1px solid var(--ls-border); }
.in-mode__facts > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--ls-border-subtle);
}
.in-mode__facts > div:last-child { border-bottom: 0; }
.in-mode__facts dt { font-size: var(--ls-text-sm); color: var(--ls-fg-subtle); }
.in-mode__facts dd { margin: 0; color: var(--ls-fg); text-wrap: pretty; }

@media (max-width: 767px) {
  .in-modes { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   7. 인쇄
   -------------------------------------------------------------------------- */
@media print {
  .in-sheet { box-shadow: none; }
  .in-sheet__row, .in-sheet__sum, .in-sheet__result { animation: none !important; opacity: 1 !important; transform: none !important; }
  .in-proto__toggle { display: none !important; }
}
