/* ── guide components: lab notes, evidence tags, timeline, diagrams ──
   Ships to site/guides/guides.css. Loads after css/style.css and only
   adds classes, so the shared stylesheet stays untouched. */

.prose { padding-top: 2.5rem; padding-bottom: 5rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { font-size: 1rem; font-weight: 700; margin: 1.4rem 0 0.4rem; }
.prose ol.steps { padding-left: 1.25rem; }
.prose ol.steps li { margin-bottom: 0.7rem; }
.prose .matrix-scroll { margin: 1.5rem 0 2rem; }

/* lab note cards */
.labnote {
  background: var(--kinari-soft);
  border: 1px solid rgba(26, 26, 26, 0.35);
  padding: 1.5rem 1.6rem 1.4rem;
  margin: 1.75rem 0;
  max-width: 34rem;
}
.lb-take {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--sumi);
  margin: 0 0 1.1rem;
  max-width: 28rem;
}
.labnote-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--kuri-text); margin-bottom: 1rem;
}
.labnote p { font-size: 0.93rem; line-height: 1.65; color: var(--sumi-70); margin: 0.75rem 0 0; }
.labnote .src-link {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--sumi-55);
  text-decoration: none; border-bottom: 1px solid rgba(26, 26, 26, 0.25);
}
.labnote .src-link:hover { color: var(--sumi); }

.lb-row { display: grid; grid-template-columns: 8.5rem 1fr 4rem; gap: 0.9rem; align-items: center; margin-bottom: 0.55rem; }
.lb-label { font-size: 0.85rem; color: var(--sumi); }
.lb-bar { height: 20px; background: rgba(26, 26, 26, 0.07); overflow: hidden; }
.lb-bar span { display: block; height: 100%; width: var(--w); background: rgba(26, 26, 26, 0.32); }
.lb-row.is-toshi .lb-bar span { background: var(--kuri); }
.lb-val { font-family: var(--font-mono); font-size: 0.75rem; color: var(--sumi-55); text-align: right; white-space: nowrap; }
@media (max-width: 560px) {
  .lb-row { grid-template-columns: 6.2rem 1fr 3.6rem; gap: 0.5rem; }
}

/* target zone ruler */
.ruler { margin: 1.1rem 0 0.4rem; }
.ruler-track { position: relative; height: 34px; }
.ruler-line { position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: rgba(26, 26, 26, 0.35); }
.ruler-band {
  position: absolute; top: 6px; height: 21px; left: 40%; width: 26.7%;
  background: rgba(139, 111, 71, 0.22);
  border-left: 2px solid var(--kuri); border-right: 2px solid var(--kuri);
}
.ruler-ticks { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.68rem; color: var(--sumi-55); margin-top: 0.2rem; }
.ruler-caption { font-family: var(--font-mono); font-size: 0.7rem; color: var(--kuri-text); letter-spacing: 0.08em; margin-top: 0.55rem; }

/* inline evidence tags */
.ev {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em;
  color: var(--kuri-text); text-decoration: none; white-space: nowrap;
  border: 1px solid rgba(139, 111, 71, 0.45);
  padding: 0.06rem 0.34rem; border-radius: 2px;
  position: relative; top: -0.18em; margin-left: 0.15rem;
}
.ev:hover { background: rgba(139, 111, 71, 0.12); }

/* variety timeline */
.vtl { list-style: none; position: relative; margin: 1.5rem 0 0.5rem; max-width: 36rem; }
.vtl-item { position: relative; padding-left: 2.1rem; padding-bottom: 1.3rem; }
.vtl-item:last-child { padding-bottom: 0; }
.vtl-item::before { content: ""; position: absolute; left: 0.36rem; top: 0.45rem; bottom: -0.45rem; width: 1px; background: rgba(26, 26, 26, 0.25); }
.vtl-item:last-child::before { display: none; }
.vtl-node { position: absolute; left: 0; top: 0.3rem; width: 0.78rem; height: 0.78rem; border-radius: 50%; border: 2px solid var(--sumi); background: var(--kinari); box-sizing: border-box; }
.vtl-item:last-child .vtl-node { background: var(--sumi); }
.vtl-date { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--kuri-text); margin-bottom: 0.15rem; }
.vtl-text { font-size: 0.98rem; line-height: 1.55; color: var(--sumi-70); max-width: 32rem; }

/* anatomy + inline diagrams (reuse .d-line/.d-fill stroke language from site css) */
.gfig { margin: 1.75rem 0; max-width: 34rem; }
.gfig svg { width: 100%; height: auto; display: block; }
.gfig .d-line { fill: none; stroke: var(--sumi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gfig .d-soft { fill: none; stroke: rgba(26, 26, 26, 0.4); stroke-width: 1.5; stroke-linecap: round; }
.gfig .d-lead { fill: none; stroke: rgba(26, 26, 26, 0.35); stroke-width: 1; stroke-dasharray: 3 4; }
.gfig .d-fill { fill: rgba(139, 111, 71, 0.28); stroke: none; }
.gfig .d-label { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.08em; fill: var(--sumi-70); }
.gfig-caption { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--sumi-55); margin-top: 0.5rem; }

/* small icon rows: brew steps, formats, corrections, fold sequence */
.icon-strip { display: flex; gap: 1.25rem; margin: 1.5rem 0 0.5rem; flex-wrap: wrap; }
.icon-strip figure { margin: 0; text-align: center; flex: 0 0 auto; }
.icon-strip svg { width: 74px; height: 74px; display: block; margin: 0 auto; }
.icon-strip .d-line { fill: none; stroke: var(--sumi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-strip .d-fill { fill: rgba(139, 111, 71, 0.28); stroke: none; }
.icon-strip figcaption { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--sumi-55); margin-top: 0.35rem; text-transform: uppercase; }

.h-icon { display: inline-block; vertical-align: -0.35em; margin-right: 0.5rem; }
.h-icon svg { width: 1.5em; height: 1.5em; }
.h-icon .d-line { fill: none; stroke: var(--sumi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* cta + sources */
.callout-cta {
  background: var(--kinari-soft);
  border: 1px solid rgba(26, 26, 26, 0.15);
  padding: 1.75rem;
  margin-top: 3rem;
  max-width: 34rem;
}
.callout-cta p { margin-bottom: 1.25rem; }
.callout-cta .eyebrow { margin-bottom: 0.6rem; }

.sources {
  margin-top: 2.5rem; border-top: 1px solid var(--sumi-line); padding-top: 1.1rem;
  font-family: var(--font-mono); font-size: 0.7rem; line-height: 2; color: var(--sumi-55);
  max-width: 44rem;
}
.sources a { color: inherit; }
