/* Layout for source-specific figures in Cardstop's review documents. No external requests. */
:where(.review-editorial-body) { min-width:0; overflow-wrap:break-word; }
:where(.review-editorial-body) img { max-width:100%; height:auto; }
:where(.review-editorial-body) :is(aside, section, figure, div, article) { min-width:0; }
:where(.review-editorial-body) :is(h2,h3,h4,[id]) { scroll-margin-top:96px; }
:where(.review-editorial-body) :is(th,td) { white-space:normal; }
:where(.review-editorial-body) :is(.sources,.oripa-sources,.report-sources,.op18-sources) { overflow-wrap:anywhere; }
:where(.review-editorial-body) :is(.word-tcbody,.word-enbody,.word-tcqa,.word-enqa) { text-wrap:pretty; }
:where(.table-scroll,.report-table-wrap,.oripa-table,.museum-card-table,.collector-matrix-v65) { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
:where(.table-scroll,.report-table-wrap,.oripa-table) table { width:100%; min-width:min(35rem,100%); border-collapse:collapse; font-variant-numeric:tabular-nums; }
:where(.table-scroll,.report-table-wrap,.oripa-table) :is(th,td) { padding:.7rem .55rem; white-space:normal; word-break:normal; border-bottom:1px solid #d3d5d0; vertical-align:top; }
:where(.table-scroll,.report-table-wrap,.oripa-table) th { background:#22282a; color:white; text-align:start; }
:where(.report-chart,.data-visual,.section-visual-v65) { max-width:100%; margin:2rem 0; background:#f3f2ee; color:#202625; padding:clamp(.95rem,3vw,1.7rem); }
:where(.report-chart,.data-visual) > figcaption { display:grid; justify-items:start; gap:.25rem; margin:0 0 1.05rem; }
:where(.report-chart,.data-visual) > figcaption > span { color:#963644; letter-spacing:.12em; font-size:.65rem; font-weight:700; }
:where(.report-chart,.data-visual) > figcaption > strong { font-size:clamp(.98rem,2vw,1.3rem); line-height:1.4; }
:where(.report-chart,.data-visual) > figcaption > small { font-size:.82rem; line-height:1.5; color:#515855; }
.hbar-list,.bar-chart { display:grid; gap:.6rem; }
.hbar-row,.bar-chart > div { display:grid; grid-template-columns:minmax(6rem,28%) minmax(1.7rem,1fr) minmax(3.1rem,max-content); align-items:center; gap:.65rem; font-size:.82rem; line-height:1.3; }
.hbar-row > b,.bar-chart > div > span { text-align:end; font-variant-numeric:tabular-nums; }
.hbar-track,.bar-chart > div > i { height:.55rem; display:block; background:#d9dbd5; }
.hbar-fill,.bar-chart i b { display:block; width:var(--w); height:100%; background:#a6283c; }
.vbar-chart { height:12rem; display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:clamp(3px,1.3vw,13px); align-items:end; padding:1rem .2rem 0; }
.vbar { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:.12rem; position:relative; }
.vbar > i { width:62%; height:calc(var(--h) * .77); min-height:1rem; position:relative; background:#a6283c; }
.vbar > i::before { position:absolute; bottom:100%; left:50%; transform:translateX(-50%); content:attr(data-value); font:600 clamp(.61rem,2vw,.78rem)/1.3 Arial,sans-serif; }
.vbar > span { margin-top:.36rem; line-height:1.4; font-size:.71rem; font-variant-numeric:tabular-nums; }
.stacked-bar { width:100%; display:flex; gap:0; height:1.15rem; }
.stacked-bar i { flex:0 0 var(--w); background:var(--c); height:100%; }
.composition-key { margin:.55rem 0 1.1rem; display:flex; flex-wrap:wrap; gap:.25rem .85rem; font-size:.77rem; }
.composition-key span::before { content:""; display:inline-block; background:var(--c); width:.55rem; height:.55rem; margin-inline-end:.32rem; }
.report-summary,.driver-grid,.signal-grid,.risk-matrix,.report-subvisual,.v79-grid,.v79-visual-pair,.about-responsibility-grid,.collector-matrix-v65 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.report-kpis,.stat-grid,.set-facts-v65,.leader-map-v65,.about-flow-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr)); gap:.65rem; }
:where(.report-panel,.driver-card,.signal-card,.risk-card,.report-kpi,.v79-stat,.stat-grid>div,.set-facts-v65>div,.collector-matrix-v65>div) { border-top:1px solid #bfc5c0; padding:.8rem .08rem; }
:where(.report-kpi,.stat-grid>div,.set-facts-v65>div,.collector-matrix-v65>div) > :is(strong,b,small,span) { display:block; }
:where(.report-kpi,.stat-grid>div,.set-facts-v65>div) > :is(b,strong) { font-size:clamp(1.25rem,3vw,2rem); line-height:1.12; margin-bottom:.42rem; font-variant-numeric:tabular-nums; }
:where(.report-kpi,.stat-grid>div) > small { font-size:.74rem; color:#59615b; }
:where(.report-panel,.driver-card,.signal-card,.risk-card,.v79-stat,.collector-matrix-v65>div) > :is(p,span) { font-size:.86rem; line-height:1.55; }
.leader-map-v65 { margin:1rem 0; grid-template-columns:repeat(3,minmax(0,1fr)); }
.leader-map-v65 > div { padding:.65rem; color:#fff; }
.leader-map-v65 :is(b,small) { display:block; font-size:.8rem; }
.tier-ladder { display:grid; gap:.25rem; }
.tier-ladder > div { display:flex; justify-content:space-between; gap:.2rem; color:#fff; background:#763447; padding:.22rem .45rem; font-size:.72rem; }
:where(.article-gallery,.op18-gallery,.report-card-gallery,.hit-grid-v65,.museum-gallery) { --columns:3; display:grid; align-items:start; grid-template-columns:repeat(var(--columns),minmax(0,1fr)); gap:clamp(.5rem,1.5vw,1rem); margin:1.4rem 0; }
:where(.gallery-1,.op18-gallery-1) { --columns:1; }
:where(.gallery-2,.op18-gallery-2,.hit-grid-v65) { --columns:2; }
:where(.gallery-4,.op18-gallery-4,.report-card-gallery) { --columns:4; }
:where(.article-gallery,.op18-gallery,.report-card-gallery,.hit-grid-v65,.museum-gallery) figure { margin:0; max-width:100%; }
:where(.article-gallery,.op18-gallery,.report-card-gallery,.hit-grid-v65,.museum-gallery) img { display:block; width:100%; height:auto; max-width:100%; object-fit:contain; }
:where(.article-gallery,.op18-gallery,.report-card-gallery,.hit-grid-v65,.museum-gallery) figcaption { margin-top:.44rem; line-height:1.5; font-size:.78rem; color:#53605c; }
:where(.gallery-1,.op18-gallery-1) figure { max-width:min(100%,28rem); justify-self:center; }
:where(.oripa-figure,.pokemon30-visual,.m7-visual,.m7-video-visual,.v79-source-panel) { margin:1.2rem 0; min-width:0; max-width:100%; }
:where(.oripa-figure,.pokemon30-visual,.m7-visual,.m7-video-visual) img { display:block; max-width:100%; height:auto; margin:auto; object-fit:contain; }
.v79-source-panel header { position:static; min-height:0; }
.v79-source-panel header img { max-width:10rem; height:auto; }
:where(.article-trust-v59,.about-flow-list,.market-method-steps,.report-kpis,.driver-grid,.signal-grid,.risk-matrix) { margin-block:1rem; }
.article-trust-v59 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.6rem; padding-block:.8rem; border-block:1px solid #d5d8d3; }
.article-trust-v59 > div { display:grid; align-content:start; font-size:.76rem; line-height:1.5; }
.article-trust-v59 > div > span { color:#59635e; }
:where(.timeline-item,.about-flow-list>article,.market-method-steps>article) { border-top:1px solid #d5d8d3; padding-block:.65rem; }
:where(.timeline-item > time,.section-number,.report-section-number,.oripa-section-number) { display:block; font-variant-numeric:tabular-nums; font-size:.76rem; font-weight:650; color:#863245; }
:where(.op18-toc,.oripa-toc,.report-toc,.toc,.sources,.report-sources,.op18-sources,.oripa-sources) { overflow-wrap:anywhere; }
:where(.op18-toc,.report-toc,.oripa-toc,.faq-block,.report-faq,.toc) :is(summary,a) { min-height:2.75rem; }
:where(.op18-toc,.report-toc,.oripa-toc) li { list-style-position:inside; }
:where(.hit-card-v65) { border-top:1px solid #c9cdca; padding-top:1rem; }
:where(.hit-card-v65) h3 { font-size:1.02rem; }
:where(.hit-rank-v65,.hit-code-v65,.source-stamp-v65) { display:inline-block; margin:.22rem 0; font-size:.74rem; color:#59615d; }
:where(.report-source-note,.oripa-source-note,.m7-source-note,.op18-caption) { font-size:.8rem; line-height:1.6; color:#4b5450; }
@media (max-width:680px) {
  .report-summary,.driver-grid,.signal-grid,.risk-matrix { grid-template-columns:1fr; gap:.48rem; }
  .report-subvisual,.about-flow-list,.report-kpis,.article-trust-v59 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  :where(.article-gallery,.op18-gallery,.report-card-gallery,.hit-grid-v65,.museum-gallery) { --columns:2; }
  :where(.gallery-1,.op18-gallery-1) { --columns:1; }
  .op18-toc,.report-toc,.oripa-toc { overflow-wrap:anywhere; }
  .hbar-row,.bar-chart > div { grid-template-columns:minmax(4.3rem,30%) minmax(1.1rem,1fr) minmax(2.55rem,max-content); gap:.4rem; font-size:.76rem; }
  .vbar-chart { height:9.2rem; }
  :where(.table-scroll,.report-table-wrap,.oripa-table) table { min-width:29rem; }
  .leader-map-v65 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
