/* K4 (ENG-1052): the ONE legal template (legalPage in website/pages/terms.mjs; /legal/, /privacy-policy/, /terms-and-conditions/, /refund-policy/, /shipping-delivery-policy/, /disclaimers/) at >= 1024 px with desktop_r4 ON (G-legal.jpg, layout only). CSS first on the EXISTING markup (main .ct > .ct-top, .ct-chips, .ct-body > .doc): the LEGAL TEXT is byte for byte unchanged. Every rule is html[data-dr4] inside the media query; this sheet loads after policy.css. */
@media (min-width: 1024px) {
  /* the cosmic band: the title block keeps its box, its dark ground bleeds to both screen edges */
  html[data-dr4] main .ct-top { padding-block: 40px; background: var(--r4-cos); box-shadow: 0 0 0 100vmax var(--r4-cos); clip-path: inset(0 -100vmax); }
  html[data-dr4] main .ct-top { max-width: none; margin: 0; padding-inline: 0; }
  html[data-dr4] main .ct-top .d2 { color: var(--r4-white); font: 400 var(--r4-fs-hero) / var(--r4-lh-hero) var(--r4-font-display); letter-spacing: 0; }
  html[data-dr4] main .ct-top .ct-lead, html[data-dr4] main .ct-top .ct-upd { color: var(--r4-line); }
  /* "On this page" = the left card, the document to its right (two columns on the container; the band spans both). Only a doc that has the band (.ct-top): /disclaimers/ is a plain .ct column and keeps its own layout. */
  html[data-dr4] main .ct:has(.ct-top) { display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: "top top" "chips body"; column-gap: var(--r4-gap-lg); align-items: start; max-width: calc(var(--r4-container) + 2 * var(--r4-gutter)); margin: 0 auto; padding-inline: var(--r4-gutter); }
  html[data-dr4] main .ct .ct-top { grid-area: top; }
  html[data-dr4] main .ct .ct-chips { grid-area: chips; position: sticky; top: 132px; margin-top: 32px; padding: 8px; border: 1px solid var(--r4-line); border-radius: var(--r4-radius-card); background: var(--r4-card); box-shadow: var(--r4-shadow); }
  html[data-dr4] main .ct .ct-chips .wrap { display: block; padding: 0; }
  html[data-dr4] main .ct .ct-chips a { display: block; margin: 2px 0; padding: 10px 14px; border-radius: 10px; color: var(--r4-ink); text-decoration: none; }
  html[data-dr4] main .ct .ct-body { grid-area: body; min-width: 0; max-width: none; margin: 32px 0 0; padding: 0; }
  html[data-dr4] main .ct .ct-body .doc { max-width: none; margin: 0; }
}
