/* REN evidence styles. Site tokens only, plus the REN mint for the lead answer. */
/* Bar colours from the REN Adaptation Design System (Figma 78:39). --re-b is Riot Red; --re-a varies by html[data-rs-bar]. */
.rt-page{--re-a:#6460ef;--re-b:#ff0028;--re-none:#e6e6e6}
[data-rs-bar="1"] .rt-page{--re-a:#646464}
[data-rs-bar="2"] .rt-page{--re-a:#c28f2c}
[data-rs-bar="3"] .rt-page{--re-a:#32c8ff}
[data-rs-bar="4"] .rt-page{--re-a:#6460ef}
[data-rs-bar="5"] .rt-page{--re-a:#1da496}
[data-portfolio-theme=dark] .rt-page{--re-none:#303030}
[data-portfolio-theme=dark][data-rs-bar="1"] .rt-page{--re-a:#8d8d8d}
.re-k-a{background:var(--re-a)}.re-k-b{background:var(--re-b)}.re-k-none{background:var(--re-none)}

/* Counts */
.re-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-content-space,32px) var(--ds-block-space,48px);margin-block:var(--ds-block-space,48px)}
.re-stat{min-width:0}
.rt-page .re-stat-title{margin:0 0 var(--yhy-space-3,12px);font-size:var(--yhy-type-label,14px);line-height:1.4;font-weight:var(--yhy-weight-medium,500);color:var(--yhy-ink)}
.re-stat-cap{margin:var(--yhy-space-3,12px) 0 0;font-size:var(--pf-type-caption,13px);line-height:1.5;color:var(--yhy-muted)}
.re-stat-cap b{font-weight:var(--yhy-weight-medium,500);color:var(--yhy-ink)}
.re-stat-note{margin:4px 0 0;font-size:var(--pf-type-caption,13px);line-height:1.5;color:var(--yhy-muted)}
.re-dots{display:flex;gap:6px}
.re-dots i{width:12px;height:12px;border-radius:50%}
.re-stat--num .re-stat-title{margin:var(--yhy-space-3,12px) 0 0}
.rt-page .re-num{margin:0;display:flex;align-items:baseline;gap:0;color:var(--yhy-ink)}
.rt-page .re-num b{font-size:clamp(36px,3vw,44px);line-height:1;font-weight:var(--yhy-weight-medium,500);letter-spacing:-.02em;color:#050505}
[data-portfolio-theme=dark] .rt-page .re-num b{color:#fcfcfc}
.rt-page .re-num span{font-size:16px;line-height:1;color:var(--yhy-muted)}
.rt-page .re-num .re-num-sl{margin:0 3px 0 8px}
.re-line{display:flex;gap:3px;margin-top:var(--yhy-space-3,12px);height:4px}
.re-line i{border-radius:2px}

/* Quotes */
.re-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 var(--ds-block-space,48px);margin-block:var(--ds-block-space,48px)}
.re-q{margin:0;padding:var(--ds-content-space,24px) 0;border-top:1px solid var(--yhy-line,#e0e0e0)}
.re-q blockquote{margin:0}
.rt-page .re-q p{margin:0;font-size:clamp(17px,1.35vw,19px);line-height:1.5;color:var(--yhy-ink)}
.re-q figcaption{margin-top:var(--yhy-space-2,8px);font-size:var(--pf-type-caption,13px);color:var(--yhy-muted)}

/* Findings */
.re-find{margin-block:var(--ds-block-space,48px) 0}
.re-find-label{margin:0;font-size:var(--yhy-type-label,14px);line-height:1.4;font-weight:var(--yhy-weight-medium,500);color:var(--yhy-muted)}
.rt-page .re-find h3{margin:0;color:var(--yhy-ink)}
.re-find p:not(.re-find-label){margin:var(--yhy-space-3,12px) 0 0;font-size:var(--detail-reading,16px);line-height:1.6;color:var(--yhy-muted);max-width:68ch}
.re-find--line{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:var(--ds-content-space,32px);padding-top:var(--ds-content-space,32px);border-top:1px solid var(--yhy-ink)}
.rt-page .re-find--line h3{font-size:var(--yhy-type-heading,24px);line-height:1.3;font-weight:var(--yhy-weight-medium,500)}
.re-find--plain .case-subhead{margin-top:var(--yhy-space-2,8px)!important}

@media(max-width:760px){
 .re-stats{grid-template-columns:1fr}
 .re-quotes{grid-template-columns:1fr}
 .re-find--line{grid-template-columns:1fr;gap:var(--yhy-space-2,8px)}
}

/* Notes · pull */
.re-pull{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--ds-block-space,48px);margin-block:var(--ds-block-space,48px);align-items:start}
.re-pull-lead{margin:0}
.re-pull-lead blockquote{margin:0}
.rt-page .re-pull-lead p{margin:0;font-size:clamp(24px,2.2vw,32px);line-height:1.3;letter-spacing:-.015em;font-weight:var(--yhy-weight-medium,500);color:var(--yhy-ink)}
.re-pull-lead figcaption{margin-top:var(--yhy-space-3,12px);font-size:var(--pf-type-caption,13px);color:var(--yhy-muted)}
.re-pull-rest{margin:0;padding:0;list-style:none}
.re-pull-rest li{padding:var(--yhy-space-4,16px) 0;border-top:1px solid var(--yhy-line,#e0e0e0)}
.re-pull-rest li:first-child{padding-top:0;border-top:0}
.rt-page .re-pull-rest p{margin:0;font-size:var(--detail-reading,16px);line-height:1.5;color:var(--yhy-ink)}
.re-pull-rest span{display:block;margin-top:4px;font-size:var(--pf-type-caption,13px);color:var(--yhy-muted)}
/* Notes · bubbles */
.re-bubbles{display:flex;flex-direction:column;gap:var(--yhy-space-4,16px);max-width:760px;margin:var(--ds-block-space,48px) 0;padding:0;list-style:none}
.re-bubbles li{display:flex;gap:12px;align-items:flex-end}
.re-bubbles li.is-right{flex-direction:row-reverse;align-self:flex-end}
.rt-page .re-bubbles .re-bav{flex:none;width:40px;height:40px;object-fit:contain;border:0!important;border-radius:0!important;background:none!important;outline:0!important}
.re-bubbles li>div{padding:12px 16px;border-radius:20px 20px 20px 6px;background:var(--yhy-surface-subtle,#efefed);max-width:520px}
.re-bubbles li.is-right>div{border-radius:20px 20px 6px 20px}
.rt-page .re-bubbles p{margin:0;font-size:var(--detail-reading,16px);line-height:1.5;color:var(--yhy-ink)}
.re-bubbles li>div span{display:block;margin-top:4px;font-size:12px;color:var(--yhy-muted)}
/* Finding · statement */
.re-find--statement{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--ds-content-space,32px);align-items:start}
.rt-page .re-find .re-find-num{margin:0;font-size:clamp(40px,4vw,56px);line-height:1;font-weight:var(--yhy-weight-medium,500);letter-spacing:-.03em;color:color-mix(in srgb,var(--yhy-muted,#737373) 45%,transparent)}
.rt-page .re-find--statement h3{margin-top:var(--yhy-space-2,8px);font-size:clamp(26px,2.4vw,34px);line-height:1.2;letter-spacing:-.015em;font-weight:var(--yhy-weight-medium,500)}
@media(max-width:760px){.re-pull{grid-template-columns:1fr}.re-find--statement{grid-template-columns:1fr;gap:8px}}
