/* page.transfer-pricing.css · Controversy and Audit Defense only: placement and size of the page's own
   w-transfer-pricing- classes (briefs 017, 021). */

/* ---- K6 · K7 · K8: three cells 4 + 4 + 4; heads on one row, bodies on one row, cites on one row, tools on one row ---- */
.w-transfer-pricing-three { row-gap: 0; }
.w-transfer-pricing-b { margin-top: var(--gap-head); }
.w-transfer-pricing-b > p + p { margin-top: var(--gap-16); }
.w-transfer-pricing-c { margin-top: var(--gap-16); }
.w-transfer-pricing-t { margin-top: var(--gap-16); }
@media (min-width: 1200px) {
  .w-transfer-pricing-three .is-a { grid-column: 1 / span 4; }
  .w-transfer-pricing-three .is-b { grid-column: 5 / span 4; }
  .w-transfer-pricing-three .is-c { grid-column: 9 / span 4; }
  .w-transfer-pricing-h { grid-row: 1; } .w-transfer-pricing-b { grid-row: 2; }
  .w-transfer-pricing-c { grid-row: 3; } .w-transfer-pricing-t { grid-row: 4; }
}
@media (max-width: 1199px) {
  .w-transfer-pricing-h.is-b, .w-transfer-pricing-h.is-c { margin-top: var(--gap-ev); }
}

/* ---- the one figure under the three (pass 3, Controversy 01): the strip and the shares on the ground; from 1200 on
   columns 5–12, under "The year under review.", the cell it is the evidence for, its caption on the same edge ---- */
@media (min-width: 1200px) { .w-transfer-pricing-pcol { grid-column: 5 / span 8; } }

/* ---- tool-name lines (cells and K5): system 8 (v1.7, toolnames() at its container's width); K5 takes the whole grid ---- */
@media (min-width: 1200px) { .w-transfer-pricing-tl { grid-column: 1 / -1; } }

/* ---- pass 3 (Controversy 02): Treatment as a site figure, the count: from 1200 on 7–12, 40 under the text ---- */
@media (min-width: 1200px) { .w-transfer-pricing-tcc { grid-column: 7 / span 6; } }
.w-transfer-pricing-tcc { margin-top: calc(40px - var(--gap-ev)); }

/* ---- R24 (043 · 18): the Search and Selection Record under "The search, selections and stated reasons.", 40 under the
   text, 781 wide at every width (28 of paper round the workpapers): from 1200 columns 5 to 12, on the right edge of 12;
   below, as wide as it fits, and it pans where the page is narrower (the candidate's README) ---- */
/* pass 5: the record is not beside a held heading any more; it sits 64 below the end of the text */
.w-plate-fig:has(> .w-transfer-pricing-ssr-plate) { margin-top: calc(64px - var(--gap-ev)); }
.w-transfer-pricing-ssr { width: 781px; box-sizing: border-box; padding: 28px; }
@media (min-width: 1200px) { .w-plate-fig:has(> .w-transfer-pricing-ssr-plate) { margin-left: auto; } }
@media (min-width: 600px) and (max-width: 1199px) { .w-plate-fig:has(> .w-transfer-pricing-ssr-plate) { width: fit-content; max-width: 100%; } }
@media (max-width: 599px) { .w-plate-fig:has(> .w-transfer-pricing-ssr-plate), .w-transfer-pricing-ssr-plate { width: 100%; } }

/* ---- R26 (4): the film from 1200, made for 0% 0% ---- */
.w-transfer-pricing-hero { --film-pos-l: 0% 0%; }
/* R26: with the film from 1200 the hero is no longer plain there; the lede's last line to the first chapter is held at the
   chapter gap, 160, as on Tax Administrations (037 · 8), not the film hero's 96 + 160. Below 1200 the hero is plain. */
@media (min-width: 1200px) { .w-transfer-pricing-hero + .w-ch { padding-top: 64px; } }

/* ---- pass 1 · 3 (system v1.26): the still's focus below 1200 ---- */
.w-transfer-pricing-hero { --film-still-m: 91% 100%; --film-still-s: 89% 100%; }
