/* Existing localized g84 markup retains its own content and native technical table. */
@media(max-width:600px){
 body[data-locale-layout-review="20261023"] #hub-grade-comparison .gv-comparison-scroll{display:none}
 body[data-locale-layout-review="20261023"] .mobile-grade-matrix-cards dl{display:grid;gap:12px;margin:0}
 body[data-locale-layout-review="20261023"] .mobile-grade-matrix-cards dl>div{display:grid;gap:4px;min-width:0}
 body[data-locale-layout-review="20261023"] .mobile-grade-matrix-cards dt{font-size:12px;line-height:1.5;color:var(--jotain-muted,#5b6e7d)}
 body[data-locale-layout-review="20261023"] .mobile-grade-matrix-cards dd{margin:0;font-size:15px;line-height:1.55;overflow-wrap:anywhere}
 body[data-locale-layout-review="20261023"] .mobile-grade-matrix-card__detail{min-width:0}
}

/* Keep all six real grade choices clear of the existing fixed contact controls. */
@media(max-width:600px){
 body[data-locale-layout-review="20261023"][data-mobile-composition="grades"] #grade-v2-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0 10px!important}
 body[data-locale-layout-review="20261023"][data-mobile-composition="grades"] #grade-v2-list>a{justify-content:center!important;text-align:center;font-size:16px!important;min-height:44px!important;padding:10px 0!important;gap:0!important}
 body[data-locale-layout-review="20261023"][data-mobile-composition="grades"] #grade-v2-list>a>[aria-hidden="true"]{display:none}
}

/* Give the unchanged scientific figure a compact caption; retain full image and scale. */
@media(max-width:600px){
 body[data-locale-layout-review="20261023"][data-mobile-composition="grades"] .g84-hero-art .research-card__caption{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:12px!important;align-items:center;direction:ltr}
 body[data-locale-layout-review="20261023"][data-mobile-composition="grades"] .g84-hero-art .research-card__source-trigger{grid-column:1!important;grid-row:1 / span 2!important;justify-self:start!important;min-height:44px}
 body[data-locale-layout-review="20261023"][data-mobile-composition="grades"] .g84-hero-art .research-card__title{grid-column:2!important;grid-row:1!important;justify-self:end!important;text-align:end}
 body[data-locale-layout-review="20261023"][data-mobile-composition="grades"] .g84-hero-art .research-card__reference{grid-column:2!important;grid-row:2!important;justify-self:end!important;text-align:end}
 html[dir="rtl"] body[data-locale-layout-review="20261023"] .g84-hero-art .research-card__caption>*{direction:rtl}
}

/* The native heading is the disclosure title; do not display it twice. */
body[data-locale-layout-review="20261023"] .gv-comparison{padding-block:20px}
body[data-locale-layout-review="20261023"] .hub-comparison-details>summary>h2{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;letter-spacing:inherit;margin:0!important}

body[data-locale-layout-review="20261023"] .hub-comparison-details>summary{font:600 16px/1.5 system-ui!important;min-height:44px;cursor:pointer}
body[data-locale-layout-review="20261023"] .hub-comparison-details>summary>h2{display:inline}

/* Match the existing native #main-content grade-heading specificity. */
body[data-locale-layout-review="20261023"] #main-content .hub-comparison-details>summary{font:600 16px/1.5 system-ui!important}
body[data-locale-layout-review="20261023"] #main-content .hub-comparison-details>summary>h2{display:inline!important;font:600 16px/1.5 system-ui!important;letter-spacing:0!important;margin:0!important}
