.transform .flow-grid[hidden]{display:none}
.reporting-transform{--rt-old:0;--rt-new:0;background:#fff;border:1px solid #e6e4df;border-radius:24px;max-width:1040px;margin:0 auto 32px;padding:28px 32px 18px;box-shadow:0 12px 40px #30303006}
.rt-heading{text-align:center;font-size:1rem;font-weight:600;margin:0 0 22px;color:#555}
.rt-stage{background:#fff;border-radius:14px}
.rt-stage svg{display:block;width:100%;height:auto;overflow:visible;font-family:var(--font-body, sans-serif)}
.rt-eyebrow{font-size:11px;letter-spacing:1.5px;fill:#686868;font-weight:700}
.rt-label{font-size:14px;fill:#303030;font-weight:700}
.rt-small{font-size:12px;fill:#686868}
.rt-file-label{font-size:11px;fill:#486151}
.rt-number{font-size:24px;fill:#303030;font-weight:700}
.rt-source{fill:#fff;stroke:#d9d7d2}
.rt-hub{fill:#fff;stroke:#d9d7d2}
/* Apply shadows only to card surfaces, keeping text and connectors crisp. */
.rt-source,.rt-hub,.rt-card{filter:url(#rt-card-shadow)}
.rt-hub-icon{fill:#686868}
.rt-wire{fill:none;stroke:#bfc3c0;stroke-width:1.6;stroke-dasharray:5 5}
.rt-wire-clean{stroke:#c5c7ca;stroke-width:2;stroke-dasharray:none}
.rt-old{opacity:var(--rt-old)}
.rt-new{opacity:var(--rt-new)}
.rt-pulse{fill:none;stroke:#777b80;stroke-width:3;stroke-linecap:round;stroke-dasharray:6 32;animation:rt-flow 2.4s linear infinite;animation-play-state:paused}
.rt-visible:not(.rt-paused) .rt-pulse{animation-play-state:running}
.rt-caption{display:flex;justify-content:space-between;gap:20px;font-size:.85rem;line-height:1.5;margin:20px 0 24px;color:#686868}
.rt-caption span:last-child{color:#785000;text-align:right}
.rt-controls{max-width:680px;margin:auto;border-top:1px solid #eee;padding-top:20px}
.rt-control-label{display:block;text-align:center;font-size:.875rem;font-weight:600;color:#555}
.rt-state-buttons{display:flex;align-items:center;gap:18px;justify-content:center;margin:8px 0}
.rt-state-buttons button{background:#f6f5f2;border:1px solid transparent;border-radius:10px;padding:10px 30px;min-height:44px;font:inherit;font-weight:700;color:#555;cursor:pointer}
.rt-state-buttons button[aria-pressed="true"]{background:#fff2d8;border-color:#f0bf68;color:#303030}
.rt-controls :focus-visible{outline:3px solid #805000;outline-offset:4px}
.rt-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#686868;font-size:.75rem}
.rt-motion{background:none;border:0;padding:12px 0 12px 12px;min-height:44px;font:inherit;color:#555;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@keyframes rt-flow{to{stroke-dashoffset:-76}}
@media(max-width:640px){
  .reporting-transform{padding:22px 14px 12px;border-radius:18px}
  .rt-heading{font-size:.95rem;max-width:260px;margin:0 auto 20px}
  .rt-state-buttons{gap:10px}
  .rt-state-buttons button{font-size:.85rem;padding:10px}
  .rt-caption{font-size:.8rem;gap:14px}
  .rt-stage{max-width:390px;margin:auto}
}
@media(prefers-reduced-motion:reduce){.rt-pulse{animation:none}}

/* Supporting information stays outside the data-flow illustration. */
.reporting-transform .rt-info[hidden]{display:none}
.rt-info{border-top:1px solid #eee;padding:20px 0 24px}
.rt-info-hint{margin:0 0 16px;text-align:center;font-size:.85rem;color:#686868}
.rt-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.rt-info-button{display:flex;align-items:center;gap:8px;text-align:left;background:#f6f5f2;border:1px solid #e6e4df;border-radius:10px;padding:10px 12px;min-height:44px;font:inherit;font-size:.8rem;line-height:1.4;color:#444;cursor:pointer}
.rt-info-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px;height:17px;border:1px solid currentColor;border-radius:50%;font-size:11px;font-weight:700}
.rt-info-button:hover,.rt-info-button[aria-expanded="true"]{background:#fff2d8;border-color:#f0bf68;color:#303030}
.rt-info-button:focus-visible,.rt-dialog button:focus-visible{outline:3px solid #805000;outline-offset:4px}
.rt-dialog{box-sizing:border-box;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #e6e4df;border-radius:20px;background:#fff;color:#303030;box-shadow:0 24px 80px #0003;overflow:auto}
.rt-dialog::backdrop{background:#20202080}
.rt-dialog-content{position:relative;padding:32px;text-align:left}
.rt-dialog h3{text-align:left;font-size:1.25rem;line-height:1.35;margin:0 40px 14px 0}
.rt-dialog h4{text-align:left;font-size:.85rem;margin:22px 0 6px;color:#785000}
.rt-dialog p{text-align:left;font-size:.95rem;line-height:1.65;margin:0}
.rt-dialog-close{position:absolute;right:12px;top:12px;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:#f6f5f2;color:#444;font:inherit;font-size:26px;cursor:pointer}
@media(max-width:640px){
  .rt-info-grid{grid-template-columns:1fr;gap:22px}
  .rt-dialog{width:100%;max-width:none;max-height:85dvh;margin:auto 0 0;border-radius:20px 20px 0 0;border-bottom:0}
  .rt-dialog-content{padding:28px 24px max(28px,env(safe-area-inset-bottom))}
}

.rt-info-grid>.rt-info-button{justify-content:center;font-size:.9rem;font-weight:600;padding:14px 12px}
.rt-info-item+.rt-info-item{border-top:1px solid #eee;margin-top:18px}
.rt-method{margin-top:22px;padding-top:24px;border-top:1px solid #eee}
.rt-method>h3{font-size:1.1rem;margin:0 0 20px;color:#303030}
.rt-method-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0}
.rt-method-steps li{display:flex;align-items:flex-start;gap:12px;border:1px solid #e6e4df;border-radius:12px;padding:16px;background:#faf9f7}
.rt-step-number{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#eeece6;color:#555;font-size:.8rem;font-weight:700}
.rt-method-steps h4{font-size:.9rem;line-height:1.45;margin:2px 0 6px;color:#303030}
.rt-method-steps p,.rt-method-note{font-size:.85rem;line-height:1.6;margin:0;color:#686868}
.rt-method-steps .rt-method-iteration{border-color:#e5ba69;background:#fffaf0}
.rt-method-iteration .rt-step-number{background:#ffe3ab;color:#785000}
.rt-method-note{margin-top:14px;padding-left:12px;border-left:3px solid #ffa300}
@media(max-width:640px){.rt-method-steps{grid-template-columns:1fr}.rt-info-grid{gap:10px}}
