.wheat-guide { --wheat-green: #56a559; --wheat-dark: #173d27; }
.wheat-guide a { color: #356335; text-decoration: underline; text-underline-offset: .2em; }
.wheat-guide a:focus-visible { outline: 3px solid #56a559; outline-offset: 5px; }
.wheat-guide h2 { color: #173d27; }
.wheat-guide .wheat-toc { border-block: 1px solid #d7e7d5; padding: 1.4rem 0; }
.wheat-toc p { margin: 0 0 .75rem; color: #173d27; font-weight: 800; }
.wheat-toc ul { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; padding: 0; list-style: none; font-size: .95rem; }
.wheat-guide .wheat-note { padding: 1.25rem 1.5rem; background: #f3f7f1; border-left: 4px solid #56a559; line-height: 1.9; }
.wheat-guide .wheat-figure { margin: 0; border: 1px solid #e4ece2; border-radius: 1rem; overflow: hidden; background: #f3f7f1; }
.wheat-figure > a { display: block; cursor: zoom-in; }
.wheat-figure img { width: 100%; height: auto; display: block; }
.wheat-figure figcaption { background: white; padding: 1rem 1.25rem; font-size: .88rem; line-height: 1.8; color: #475569; }
.wheat-figure figcaption strong { color: #173d27; }
.wheat-figure .wheat-zoom { display: block; margin-top: .5rem; font-weight: 700; }
.wheat-figure > .wheat-map-frame { position: relative; aspect-ratio: 1399 / 744; overflow: hidden; }
.wheat-map-frame img { position: absolute; width: 136.669%; max-width: none; left: -34.954%; top: -25.269%; height: auto; }
.wheat-figure > .wheat-map-frame--comparison { aspect-ratio: 1760 / 802; }
.wheat-map-frame--comparison img { width: 108.636%; left: -4.318%; top: -8.853%; }
.wheat-ndvi-scale { padding: 1.5rem; border: 1px solid #d7e7d5; border-radius: 1rem; background: #f3f7f1; }
.wheat-ndvi-scale-bar { height: 1.25rem; border-radius: .4rem; background: linear-gradient(to right, #2166ac, #5e4f8c 25%, #d7191c 50%, #fee08b 75%, #149447); }
.wheat-ndvi-scale-values { display: flex; justify-content: space-between; margin-top: .5rem; color: #173d27; font-weight: 800; }
.wheat-ndvi-scale p { margin: 1rem 0 0; line-height: 1.8; color: #173d27; }
.wheat-guide .wheat-stage-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.wheat-stage-flow li { position: relative; display: flex; align-items: center; justify-content: center; min-height: 6rem; padding: .85rem .65rem; border: 1px solid #cfe7cd; border-radius: .6rem; background: #f3f7f1; color: #173d27; text-align: center; font-size: .9rem; font-weight: 700; line-height: 1.5; }
.wheat-stage-flow li:not(:last-child)::after { content: '→'; position: absolute; left: calc(100% + .25rem); top: 50%; transform: translateY(-50%); width: .85rem; color: #56a559; font-size: 1.15rem; }
.wheat-stage-note { margin: 1.25rem 0 0; color: #475569; font-size: .88rem; line-height: 1.8; }
.wheat-feature-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.wheat-feature-gallery figure { margin: 0; min-width: 0; overflow: hidden; border: 1px solid #d7e7d5; border-radius: .85rem; background: white; }
.wheat-feature-gallery a { display: block; aspect-ratio: 16 / 10; background: #f3f7f1; cursor: zoom-in; }
.wheat-feature-gallery img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wheat-feature-gallery figcaption { padding: 1.2rem; }
.wheat-feature-gallery h3 { margin: 0 0 .65rem; color: #173d27; font-size: 1.2rem; font-weight: 800; line-height: 1.4; }
.wheat-feature-gallery p { margin: 0; color: #475569; font-size: .95rem; line-height: 1.8; }
.wheat-feature-note { margin: 1rem 0 0; color: #475569; font-size: .85rem; line-height: 1.8; }
@media (max-width: 700px) {
  .wheat-feature-gallery { grid-template-columns: 1fr; }
  .wheat-guide .wheat-stage-flow { grid-template-columns: 1fr; gap: 1.25rem; }
  .wheat-stage-flow li { min-height: 0; padding: .85rem 1rem; text-align: left; justify-content: flex-start; }
  .wheat-stage-flow li:not(:last-child)::after { content: '↓'; left: 50%; top: 100%; transform: translateX(-50%); height: 1.25rem; line-height: 1.25rem; text-align: center; }
}
.wheat-guide .wheat-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; counter-reset: wheat-step; }
.wheat-flow li { flex: 1 1 140px; padding: 1rem; background: #f3f7f1; border-top: 3px solid #56a559; color: #173d27; font-weight: 700; line-height: 1.7; counter-increment: wheat-step; }
.wheat-flow li::before { content: counter(wheat-step, decimal-leading-zero) ' →'; display: block; color: #427d3f; font-size: .8rem; margin-bottom: .5rem; }
.wheat-guide .wheat-process { font-size: .92rem; line-height: 1.9; color: #173d27; padding-block: 1.25rem; border-block: 1px solid #d7e7d5; }
.wheat-guide .wheat-cta { background: #f3f7f1; padding: clamp(1.25rem, 4vw, 2rem); border-radius: 1rem; border: 1px solid #d7e7d5; }
.wheat-guide .wheat-cta--mid { text-align: left; }
.wheat-guide .wheat-cta--final { padding: clamp(1.5rem, 5vw, 3rem); border-top: 4px solid #56a559; }
.wheat-cta h2, .wheat-cta h3 { margin: 0 0 1rem; color: #173d27; font-size: 1.65rem; line-height: 1.3; font-weight: 800; }
.wheat-cta--final h2 { font-size: clamp(1.8rem, 3.8vw, 2.25rem); }
.wheat-cta p { line-height: 1.9; margin: 0 0 1.2rem; }
.wheat-cta .wheat-cta-eyebrow { margin-bottom: .85rem; font-size: .73rem; font-weight: 800; letter-spacing: .14em; line-height: 1.6; color: #427d3f; }
.wheat-cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; }
.wheat-cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.35rem; border-radius: .4rem; background: #56a559; color: white; font-weight: 800; text-decoration: none; }
.wheat-cta a:hover { background: #427d3f; }
.wheat-guide .wheat-cta-secondary { padding: .65rem .25rem; background: transparent; color: #173d27; text-decoration: underline; text-underline-offset: .25em; }
.wheat-guide .wheat-cta-secondary:hover { background: transparent; color: #427d3f; }
.wheat-cta small { display: block; margin-top: 1rem; line-height: 1.8; color: #475569; }
.wheat-guide th { font-size: .75rem; letter-spacing: .04em; }
.wheat-guide td { font-size: .94rem; line-height: 1.8; vertical-align: top; }
.wheat-guide .wheat-reference-list { font-size: .9rem; line-height: 1.9; padding-left: 1.25rem; }
.wheat-reference-list li { margin-bottom: .75rem; }
@media (max-width: 600px) {
  .wheat-cta-actions a { width: 100%; }
  .wheat-guide h2 { font-size: 1.8rem; line-height: 1.25; }
  .wheat-guide h3 { font-size: 1.3rem; line-height: 1.4; }
  .wheat-guide th, .wheat-guide td { padding: .75rem; min-width: 145px; }
  .wheat-flow { flex-direction: column; }
  .wheat-flow li { flex-basis: auto; }
  .wheat-flow li::before { display: inline; margin-right: .75rem; }
}
