/* Measurement guide: animated tape on the mannequin. */
.rg-svg{display:block;width:100%;height:auto;max-height:340px}
.rg-tape{fill:none;stroke:#FFB627;stroke-width:6.5;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;animation:rg-draw 3s ease-in-out infinite}
.rg-tape.back{stroke-width:4.5;opacity:.55;stroke-dasharray:4 4;animation:rg-fade 3s ease-in-out infinite}
.rg-pt{fill:#c0392b;stroke:#fff;stroke-width:2}
.is-bad .rg-tape{stroke:#D93025}
.is-bad .rg-pt{fill:#D93025}
.rg-ok circle{fill:#1F7A45}.rg-ok path{fill:none;stroke:#fff;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.rg-x circle{fill:#D93025}.rg-x path{fill:none;stroke:#fff;stroke-width:3.5;stroke-linecap:round}
@keyframes rg-draw{0%,10%{stroke-dashoffset:100}55%,90%{stroke-dashoffset:0}100%{stroke-dashoffset:0;opacity:0}}
@keyframes rg-fade{0%,20%{opacity:0}60%,90%{opacity:.55}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.rg-tape{animation:none;stroke-dashoffset:0}.rg-tape.back{animation:none;opacity:.55}}

/* Guide page */
.rgp{max-width:1000px;margin:0 auto 48px}
.rgp-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px}
.rgp-tabs button{min-height:48px;padding:0 20px;border:1.5px solid var(--c-brass,#E8971A);border-radius:999px;background:transparent;font:600 1rem var(--f-fa,"Vazirmatn",sans-serif);color:var(--c-ink,#16161A);cursor:pointer}
.rgp-tabs button[aria-selected=true]{background:var(--g-gold,#F2A51C);border-color:transparent}
.rgp-intro{background:#f1ebde;border-radius:12px;padding:12px 16px}
.rgp-grid{display:grid;gap:14px;grid-template-columns:1fr;list-style:none;padding:0;margin:0}
@media (min-width:700px){.rgp-grid{grid-template-columns:1fr 1fr}}
.rgp-card{display:grid;grid-template-columns:120px 1fr;gap:12px;background:#fff;border:1px solid var(--c-line,#E3DCCD);border-radius:14px;padding:12px;align-items:start}
.rgp-anim{background:#f8f4ec;border-radius:10px;padding:6px}
.rgp-card h3{margin:0 0 2px;font:700 1.15rem var(--f-fa,"Vazirmatn",sans-serif)}
.rgp-card h3 small{display:block;font:500 .78rem var(--f-body,system-ui);color:var(--c-muted,#5F584C)}
.rgp-card p{margin:4px 0;color:var(--c-ink,#16161A)}
.rgp-bad{color:#a12318!important;font-weight:600}
.rgp-toggle{margin-top:6px;min-height:44px;padding:0 14px;border:1.5px solid #D93025;border-radius:999px;background:#fff;color:#a12318;font:600 .9rem var(--f-fa,"Vazirmatn",sans-serif);cursor:pointer}
.rgp-toggle[aria-pressed=true]{background:#fdecea}
.rgp-cta{margin-top:20px;text-align:center}
