.report-guide {
  --rg-ink: #142e26;
  --rg-text: #39564b;
  --rg-green: #155e48;
  --rg-edge: #d9e6df;
  --rg-mint: #e5f4ec;
  --rg-red: #a6262c;
  box-sizing: border-box;
  width: min(100%, 1060px);
  margin-inline: auto;
  padding: clamp(14px, 3vw, 32px) clamp(12px, 2vw, 24px) 72px;
  color: var(--rg-ink);
  font-size: 1rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.report-guide *, .report-guide *::before, .report-guide *::after { box-sizing: inherit; }
.report-guide :is(h1, h2, h3, p, figure, dl, dd, fieldset) { margin: 0; }
.report-guide [hidden] { display: none !important; }
.report-guide:not(.rg-interactive) :is(.rg-app-choice, .rg-demo-controls, [data-rg-copy], .rg-check-status) { display: none; }
.report-guide :is(a, button, summary, input):focus-visible { outline: 3px solid #b35515; outline-offset: 4px; }
.rg-hero {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  overflow: hidden;
  min-height: 365px;
  border: 1px solid #d5e8de;
  border-radius: 28px;
  background: #e3f3eb;
}
.rg-hero-copy { z-index: 1; padding: clamp(25px, 4.5vw, 58px); padding-right: 4px; }
.rg-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--rg-green);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}
.rg-back:hover { text-decoration: underline; }
.rg-eyebrow { color: var(--rg-green); font-size: .875rem; font-weight: 800; letter-spacing: .015em; }
.rg-hero h1 { margin-top: .35rem; font-size: clamp(2.1rem, 4.7vw, 3.8rem); line-height: 1.18; font-weight: 850; letter-spacing: -.065em; }
.rg-hero .rg-lead { max-width: 430px; margin-top: 18px; color: var(--rg-text); font-size: clamp(1rem, 1.7vw, 1.13rem); }
.rg-lead strong { color: var(--rg-red); }
.rg-hero-image { display: block; width: 100%; height: auto; border-radius: 22px; }
.rg-button {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: .65rem .95rem;
  font: inherit;
  font-weight: 780;
  font-size: .9rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.rg-button-primary { margin-top: 24px; background: #145b45; color: #fff; }
.rg-button-primary:hover { background: #0c4735; color: #fff; }
.rg-button-light { background: #fff; border-color: #c7dbd0; color: #165740; }
.rg-button-light:hover { background: #eaf7ef; color: #154b38; }
.rg-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--rg-edge);
  border-radius: 15px;
  background: var(--rg-edge);
  overflow: hidden;
}
.rg-nav a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px; color: var(--rg-ink); background: #fff; font-size: .92rem; font-weight: 750; text-decoration: none; }
.rg-nav a:hover { background: var(--rg-mint); }
.rg-nav a:focus-visible { outline-offset: -4px; }
.rg-nav span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--rg-green); background: var(--rg-mint); font-size: .8rem; }
.rg-section {
  padding: clamp(32px, 6vw, 62px) 0;
  border-bottom: 1px solid var(--rg-edge);
  scroll-margin-top: calc(var(--navbar-height, 64px) + 16px);
}
.rg-section:last-child { border-bottom: 0; }
.rg-section-head { max-width: 680px; margin-bottom: 23px; }
.rg-section-head h2 { margin: 3px 0 8px; font-size: clamp(1.65rem, 3.35vw, 2.55rem); font-weight: 830; letter-spacing: -.048em; line-height: 1.25; }
.rg-section-head > p:last-child, .rg-app-directions li, .rg-details p { color: var(--rg-text); }
.report-guide fieldset { min-width: 0; border: 0; padding: 0; }
.report-guide legend { width: auto; padding: 0; }
.rg-app-choice legend { margin-bottom: 8px; font-size: .9rem; font-weight: 750; }
.rg-app-choice label { display: inline-flex; position: relative; margin: 0 5px 10px 0; cursor: pointer; }
.rg-app-choice input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.rg-app-choice span { display: block; border: 1px solid var(--rg-edge); padding: 8px 12px; border-radius: 9px; background: #fff; color: var(--rg-ink); font-weight: 730; }
.rg-app-choice input:checked + span { color: #fff; background: var(--rg-green); border-color: var(--rg-green); }
.rg-app-choice input:focus-visible + span { outline: 3px solid #b35515; outline-offset: 3px; }
.rg-app-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; margin-top: 12px; padding: clamp(16px, 3vw, 26px); background: #f2f8f4; border-radius: 19px; }
.rg-capture { min-width: 0; }
.rg-capture a { display: block; overflow: hidden; border: 1px solid var(--rg-edge); border-radius: 12px; background: #fff; }
.rg-capture img { display: block; width: 100%; height: auto; }
.rg-claude-capture a { display: grid; min-height: 170px; place-items: center; background: #f9f9f7; }
.rg-claude-capture img { width: min(156px, 80%); }
.rg-capture figcaption { margin-top: 8px; color: var(--rg-text); font-size: .85rem; }
.rg-app-directions h3, .rg-prompt h3, .rg-demo h3 { font-size: 1.18rem; font-weight: 830; line-height: 1.4; }
.rg-app-directions ol { margin: 10px 0 13px; padding-inline-start: 1.25rem; }
.rg-app-directions li + li { margin-top: .35rem; }
.rg-app-directions .rg-app-plan { margin-bottom: 8px; color: var(--rg-text); font-size: .9rem; }
.rg-text-link, .rg-sources a { color: var(--rg-green); font-weight: 750; text-underline-offset: .18em; text-decoration: underline; }
.rg-prompt { margin-top: 22px; padding: clamp(15px, 3vw, 24px); border: 1px solid #cfe1d6; border-radius: 17px; background: #f0f7f3; }
.rg-prompt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rg-prompt-head .rg-button { flex: 0 0 auto; }
.rg-prompt .rg-prompt-hint { margin: 4px 0 13px; color: var(--rg-text); font-size: .92rem; }
.rg-prompt pre { margin: 0; padding: clamp(14px, 2.5vw, 22px); border: 1px solid var(--rg-edge); border-radius: 11px; background: #fff; color: #263e34; font: inherit; font-size: .95rem; line-height: 1.75; white-space: pre-wrap; }
.rg-practice { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 17px 0; padding: 14px 0; }
.rg-practice p { color: var(--rg-text); }
.rg-practice .rg-button { flex: 0 0 auto; }
.rg-details { border: 1px solid var(--rg-edge); border-radius: 12px; padding: 0 15px; background: #fff; }
.rg-details + .rg-details { margin-top: 8px; }
.rg-details summary { padding: 12px 0; cursor: pointer; font-weight: 770; }
.rg-details summary::marker { color: var(--rg-green); }
.rg-details p { padding-bottom: 14px; }
.rg-details .rg-text-link { display: inline-block; padding-bottom: 13px; }
.rg-materials { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.rg-materials div { padding: 13px; border: 1px solid var(--rg-edge); border-radius: 12px; background: #fff; }
.rg-materials dt { display: flex; align-items: center; gap: 6px; color: var(--rg-ink); font-weight: 800; }
.rg-materials dt i { color: var(--rg-green); }
.rg-materials dd { color: var(--rg-text); font-size: .88rem; margin-top: 2px; }
.rg-demo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: center; margin-top: 20px; padding: clamp(14px, 3.6vw, 30px); border-radius: 19px; background: #163f32; color: #fff; }
.rg-demo .rg-eyebrow { color: #b5e7cd; }
.rg-demo h3 { margin: 4px 0 6px; font-size: clamp(1.25rem, 2.3vw, 1.7rem); }
.rg-demo-intro > p:not(.rg-eyebrow) { color: #daeee3; }
.rg-demo-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rg-demo-controls button { min-height: 44px; border: 1px solid #74a48b; border-radius: 8px; padding: 6px 9px; background: #214f3f; color: #fff; font: inherit; font-size: .88rem; cursor: pointer; }
.rg-demo-controls button:is(:hover, [aria-pressed=true]) { background: #d8f3e4; color: #174c37; }
.rg-demo-controls button:focus-visible { outline-color: #ffc58c; }
.rg-demo-stage { display: grid; align-items: center; min-height: 220px; border: 1px solid #81a798; border-radius: 14px; padding: 14px; background: #e7f3ec; color: var(--rg-ink); }
.rg-scene { display: grid; gap: 12px; align-items: center; }
.rg-scene[data-rg-scene="0"] { grid-template-columns: minmax(0,1fr) minmax(0,.95fr); }
.rg-scene + .rg-scene { margin-top: 10px; }
.rg-scene[hidden] + .rg-scene { margin-top: 0; }
.rg-scene.rg-enter { animation: rg-appear .42s ease-out both; }
.rg-enter .rg-missing-row { animation: rg-appear .48s .11s ease-out both; }
@keyframes rg-appear { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.rg-activity-image { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 9px; }
.rg-note p { margin: 3px 0; font-size: .91rem; }
.rg-note small { color: var(--rg-text); font-size: .8rem; }
.rg-demo-paper { border-radius: 8px; padding: 11px; background: #fff; box-shadow: 0 3px 12px #143e2f1a; }
.rg-demo-paper dl { margin-top: 8px; }
.rg-demo-paper dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0,2.25fr); border-top: 1px solid var(--rg-edge); font-size: .9rem; padding: 5px 3px; }
.rg-demo-paper dt { font-weight: 750; }
.rg-missing-row dd { color: var(--rg-red); font-weight: 800; }
.rg-privacy { display: flex; align-items: baseline; gap: 10px; margin-top: 15px; color: #55452f; background: #fcf4e7; border-radius: 11px; padding: 12px 14px; }
.rg-privacy i { color: #754e20; }
.rg-review-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(16px, 3vw, 30px); align-items: start; }
.rg-report-capture img { max-height: 420px; object-fit: contain; }
.report-guide .rg-checklist { border: 1px solid #cfe1d6; border-radius: 14px; padding: 11px 15px 15px; background: #f2f8f4; }
.rg-checklist legend { padding-inline: 6px; font-size: 1.12rem; font-weight: 820; }
.rg-checklist label { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; cursor: pointer; }
.rg-checklist label + label { border-top: 1px solid var(--rg-edge); }
.rg-checklist input { flex: 0 0 auto; width: 18px; height: 18px; margin: 5px 0 0; accent-color: var(--rg-green); }
.rg-checklist small { display: block; color: var(--rg-text); font-size: .87rem; }
.rg-checklist .rg-check-status { margin-top: 8px; color: var(--rg-green); font-weight: 800; }
.rg-sources { display: flex; flex-wrap: wrap; gap: 8px 17px; padding-top: 18px; font-size: .88rem; }
@media (max-width: 767px) {
  .rg-hero { grid-template-columns: 1fr; }
  .rg-hero-copy { padding: 21px clamp(17px, 5vw, 32px) 0; }
  .rg-back { margin-bottom: 18px; }
  .rg-hero-image { width: min(100%, 430px); justify-self: center; }
  .rg-app-panel, .rg-demo, .rg-review-grid { grid-template-columns: 1fr; }
  .rg-materials { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rg-practice { flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .rg-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rg-hero .rg-lead { margin-top: 13px; }
  .rg-demo-stage { min-height: 165px; padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .rg-scene.rg-enter, .rg-enter .rg-missing-row { animation: none; }
}
