/* Public investigation story. The community keeps its existing visual system. */
.hero h1 { font-size: clamp(48px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -2.4px; }
.hero-story { padding: 24px; transform: none; }
.hero-story .figure-topline { padding: 0; gap: 14px; flex-wrap: wrap; }
.hero-story .figure-topline .micro-label { font-size: 8px; }
.hero-story .concept-tag { font-size: 8px; }
.hero-context { margin-top: 22px; padding: 20px; background: #fffefa; border: 1px solid #c2cebb; border-radius: 7px; }
.hero-context h3 { font: 25px/1.27 var(--serif); letter-spacing: -.5px; margin: 11px 0 16px; }
.hero-context dl { margin: 0; }
.hero-context dl > div { display: grid; grid-template-columns: 66px 1fr; gap: 9px; font-size: 10px; line-height: 1.8; margin-top: 5px; }
.hero-context dt { font-weight: 500; color: var(--green); }.hero-context dd { margin: 0; color: var(--muted); }
.hero-work-cycle { display: grid; grid-template-columns: 1fr 16px 1fr 16px 1fr; align-items: center; gap: 10px; margin: 20px 0 14px; }
.hero-work-cycle > div { border: 1px solid #b4c6b2; background: #f9fbf3; padding: 12px 8px; border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; }
.cycle-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }.cycle-dot-open { background: none; border: 1px solid var(--amber-ink); }
.cycle-arrow { font-size: 14px; color: #6c8b71; text-align: center; }
.cycle-return { grid-column: 1 / -1; margin: 0 10px; border: 1px dashed #aa8c58; border-top: 0; border-radius: 0 0 7px 7px; padding: 7px 5px 9px; text-align: center; font-size: 9px; color: var(--amber-ink); }
.cycle-return > span { margin-right: 5px; }
.hero-plan-history { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 11px; font-size: 9px; color: var(--muted); margin-block: 16px; }
.hero-plan-history strong { font-weight: 500; color: var(--green); margin-left: 4px; }.hero-plan-history > span:last-child strong { color: var(--amber-ink); }
.hero-trace-card { border: 1px solid #8eaa8b; background: #fffefa; border-radius: 7px; padding: 17px 20px 14px; }
.hero-trace-card > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.hero-observation-label { font-size: 10px; color: var(--muted); }
.hero-trace-card > p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.hero-role-key { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-block: 20px 17px; }
.hero-role-key strong { display: block; font-weight: 500; font-size: 10px; margin-bottom: 6px; }
.hero-role-key span { display: block; font-size: 9px; line-height: 1.75; color: var(--muted); }
.hero-story figcaption { padding: 13px 0 0; border-top: 1px solid #ccd6c5; font-size: 9px; }
.hero-principles { gap: 30px; margin-top: 44px; padding-block: 25px 28px; }
.hero-principles > div { flex: 1; }
.hero-principles strong { display: block; font-size: 12px; font-weight: 500; color: var(--green); margin-bottom: 8px; }
.hero-principles span { display: block; border: 0; padding: 0; margin: 0; font-size: 10px; line-height: 1.75; }
.scenario-context { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; border-top: 1px solid #dbe1d5; margin-top: 20px; padding-top: 17px; }
.scenario-context strong { display: block; color: var(--green); font-size: 10px; font-weight: 500; margin-bottom: 5px; }
.scenario-context span { display: block; font-size: 10px; line-height: 1.8; color: var(--muted); }
.context-samples { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 15px; }
.trace-value { min-height: 44px; background: #fffefa; border: 1px solid #b9cbb2; border-radius: 6px; color: var(--green); padding: 12px 15px; display: grid; grid-template-columns: 1fr 16px; gap: 8px 12px; text-align: left; transition: background .15s, border-color .15s; }
.trace-value:hover { border-color: var(--green); background: #e7eedf; }
.trace-value-label { font-size: 10px; color: var(--muted); grid-column: 1 / -1; line-height: 1.5; }
.trace-value-number { font: 29px/1.2 var(--serif); letter-spacing: -.5px; }
.trace-value-number small { font: 10px var(--sans); letter-spacing: 0; margin-left: 3px; }
.trace-value-arrow { font: 15px var(--sans); align-self: center; text-align: right; }
.hero-trace-card .trace-value { width: 100%; padding: 10px 0 0; background: transparent; border: 0; }
.hero-trace-card .trace-value:hover { color: #112e24; }.hero-trace-card .trace-value-number { font-size: 39px; }
.hero-trace-card .trace-value-arrow { border: 1px solid #bdcbb8; border-radius: 50%; display: grid; place-items: center; width: 28px; height: 28px; justify-self: end; }
.context-samples .trace-value { display: flex; align-items: center; gap: 10px; padding: 7px 12px; min-height: 35px; }
.context-samples .trace-value-number { font: 12px var(--sans); letter-spacing: 0; }.context-samples .trace-value-number small { font-size: 9px; }
.context-samples .trace-value-label { font-size: 10px; }
.context-samples .trace-value-arrow { font-size: 11px; }
.concept-content { grid-template-columns: 1.55fr 1fr; }
.concept-explanation { padding: 27px; }
#step-copy h3 { font: 31px/1.15 var(--serif); letter-spacing: -.6px; font-weight: 400; margin: 15px 0; }
#step-copy > p:not(.micro-label) { font-size: 12px; line-height: 1.9; color: var(--muted); margin-bottom: 18px; }
.desktop-concept { min-height: 300px; }
.quantity-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 12px; }
.quantity-hint { font-size: 10px; line-height: 1.8; color: var(--muted); margin: 12px 0 20px; }
.compute-illustration { width: 100%; padding: 17px; background: #fffefa; border: 1px solid #c2cebb; border-radius: 7px; }
.measurement-plot { width: 100%; height: auto; display: block; margin-top: 10px; }
.measurement-plot text { font: 13px var(--sans); fill: var(--green); }.measurement-plot .plot-unit { font-size: 10px; fill: var(--muted); }
.plot-guide { fill: none; stroke: #d9e0d2; stroke-width: 1; }.plot-a { fill: #6b8e6b; }.plot-b { fill: #235c4f; }
.compute-method-chain { display: flex; gap: 7px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 17px; border-top: 1px solid var(--line); font-size: 9px; color: var(--green); }
.compute-method-chain i { font-style: normal; }
.compute-illustration > p { font-size: 10px; line-height: 1.8; color: var(--muted); margin: 16px 0 0; }
.investigation-record { border-top: 1px solid #d1dacb; margin-top: 26px; padding-top: 21px; }
.investigation-record h4 { margin: 0 0 18px; font-weight: 500; }
.investigation-record ol { list-style: none; margin: 0; padding: 0; }
.investigation-record li { display: flex; gap: 11px; position: relative; padding-bottom: 18px; }
.investigation-record li::before { content: ''; position: absolute; width: 1px; background: #c2cfb8; top: 12px; bottom: 0; left: 3px; }
.investigation-record li:last-child { padding-bottom: 0; }.investigation-record li:last-child::before { display: none; }
.record-dot { display: block; flex: 0 0 7px; height: 7px; border: 1px solid #a9b99f; border-radius: 50%; margin-top: 5px; position: relative; z-index: 1; background: #fbfbf5; }
.record-retained .record-dot { background: #8ba780; border-color: #8ba780; }.record-current .record-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 3px #dce6d4; }
.investigation-record li strong { display: block; font-size: 11px; font-weight: 500; color: var(--green); margin-bottom: 4px; }
.investigation-record li div > span { display: block; color: var(--muted); font-size: 10px; line-height: 1.7; }
.record-future strong { color: #76856f !important; }.record-future div > span { font-size: 9px !important; color: #6b7a64 !important; }
.checkpoint-bar { display: flex; gap: 20px; align-items: center; border-top: 1px solid #d1dacb; background: #f4f2e8; padding: 13px 26px; }
.checkpoint-button { display: inline-flex; align-items: center; gap: 12px; border: 1px solid #b8c6ac; background: #fffefa; border-radius: 4px; min-height: 40px; padding: 8px 12px; font-size: 11px; color: var(--green); flex-shrink: 0; }
.checkpoint-button:hover { background: #e8eedf; }
#checkpoint-status { margin: 0; font-size: 10px; line-height: 1.8; color: var(--muted); }
.basis-dialog { width: min(730px, calc(100% - 40px)); }
.trace-result { display: flex; gap: 12px; align-items: baseline; padding: 19px 0 13px; color: var(--green); }
.trace-result strong { font: 53px var(--serif); letter-spacing: -1.4px; }.trace-result > span { font-size: 14px; }
.trace-precision { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 0; }
.basis-dialog code { font: 11px/1.9 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.basis-dialog .basis-records dt { font-size: 12px; }.basis-dialog .basis-records dd { font-size: 13px; }
.basis-records .trace-limits { background: #f9f1e1; padding-inline: 14px; border: 1px dashed #bc9d6b; border-radius: 5px; margin-top: 8px; color: #775326; }
.basis-records .trace-limits dd { color: #775326; }
.source-values { margin-top: 22px; border-block: 1px solid var(--line); padding-block: 17px; }
.source-values summary { color: var(--green); font-size: 12px; cursor: pointer; }
.source-values p, .trace-bottom-note { color: var(--muted); font-size: 10px; line-height: 1.9; margin-top: 15px; }
.source-values table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 12px; font-variant-numeric: tabular-nums; }
.source-values caption { text-align: left; color: var(--muted); font-size: 10px; margin-bottom: 14px; }
.source-values th, .source-values td { border-bottom: 1px solid var(--line); padding: 10px; text-align: right; }.source-values th:first-child { text-align: left; }
.source-values thead th { background: #e8eee1; font-weight: 500; }
.trace-bottom-note { margin-bottom: 0; }
.mobile-concept .mobile-checked { background: #e7eedf; border-color: #8fa887; }
@media (max-width: 1150px) {
  .hero { column-gap: 32px; }.hero h1 { font-size: 56px; }
  .hero-story { padding: 20px; }.hero-context { padding: 16px; }.hero-context h3 { font-size: 23px; }
  .hero-work-cycle { gap: 6px; }.hero-work-cycle > div { font-size: 10px; padding-inline: 5px; }
  .hero-role-key { gap: 12px; }.hero-plan-history { gap: 7px; font-size: 8px; }
  .concept-content { grid-template-columns: 1.35fr 1fr; }
}
@media (max-width: 850px) {
  .hero h1 { font-size: clamp(49px, 7.5vw, 65px); }.hero h1 br:first-child { display: none; }
  .hero-story { padding: 26px; }.hero-context h3 { font-size: 29px; }.hero-context dl > div { font-size: 12px; grid-template-columns: 85px 1fr; }
  .hero-work-cycle > div { font-size: 12px; padding-block: 15px; }.cycle-return { font-size: 11px; }
  .hero-plan-history { font-size: 10px; margin-block: 20px; }.hero-role-key strong { font-size: 12px; }.hero-role-key span { font-size: 11px; }
  .hero-principles { gap: 20px; }.hero-principles strong { font-size: 11px; }
  .concept-content { grid-template-columns: 1fr; }.concept-explanation { padding: 27px; }
  .desktop-concept { min-height: 0; }.investigation-record ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 25px; }
  .investigation-record li { padding: 0; }.investigation-record li::before { display: none; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(42px, 10.5vw, 58px); letter-spacing: -1.7px; }.hero h1 br:first-child { display: block; }
  .hero-story { padding: 19px; }.hero-context { padding: 17px; }.hero-context h3 { font-size: 25px; }.hero-context h3 br { display: none; }
  .hero-context dl > div { font-size: 10px; grid-template-columns: 65px 1fr; }.hero-work-cycle > div { font-size: 10px; padding-block: 12px; }
  .hero-work-cycle { gap: 5px; grid-template-columns: 1fr 10px 1fr 10px 1fr; }.cycle-dot { display: none; }.cycle-return { font-size: 9px; margin-inline: 0; }
  .hero-plan-history { font-size: 8px; gap: 6px; }.hero-plan-history strong { margin-left: 2px; }
  .hero-trace-card { padding: 16px; }.hero-trace-card .trace-value-number { font-size: 36px; }.hero-trace-card > p { font-size: 10px; }
  .hero-role-key { gap: 15px; }.hero-role-key strong { font-size: 10px; }.hero-role-key span { font-size: 10px; }
  .hero-story figcaption { font-size: 9px; }.hero-principles { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 0; padding-top: 0; }
  .hero-principles strong { font-size: 12px; margin-bottom: 5px; }.hero-principles span { font-size: 11px; }
  .scenario-context { grid-template-columns: 1fr; gap: 10px; }.scenario-context > div { display: grid; grid-template-columns: 85px 1fr; gap: 8px; }
  .scenario-context strong { margin-bottom: 0; }.scenario-context span { font-size: 10px; }
  .context-samples { gap: 8px; }.context-samples .trace-value { padding: 7px 9px; gap: 7px; }.context-samples .trace-value-label { font-size: 9px; }
  .context-samples .trace-value-number { font-size: 11px; }.context-samples .trace-value-number small { font-size: 8px; }
  .quantity-panel { gap: 9px; }.quantity-panel .trace-value { padding: 12px; gap: 8px; }.quantity-panel .trace-value-number { font-size: 25px; }.quantity-panel .trace-value-label { font-size: 9px; }
  .quantity-panel .trace-value-number small { font-size: 9px; }.quantity-panel .trace-value-arrow { font-size: 12px; }
  .concept-explanation { padding: 23px 18px; }#step-copy h3 { font-size: 30px; }
  .investigation-record ol { grid-template-columns: 1fr; gap: 14px; }.investigation-record li strong { font-size: 12px; }.investigation-record li div > span { font-size: 11px; }
  .checkpoint-bar { align-items: start; flex-direction: column; padding: 16px 18px; gap: 10px; }.checkpoint-button { min-height: 44px; }
  .basis-dialog { width: calc(100% - 28px); }.trace-result strong { font-size: 47px; }
  .source-values th, .source-values td { padding: 9px 6px; }
}
