/* styles/screens/partner-terms-print.css: printable partner terms (Japanese). Layout and print rules only. Colours, the font, the reset and language line breaking
   come from the core (styles/core/ec-fonts.css, ec-tokens.css, ec-base.css). Print hides the controls with a plain rule inside @media print: this file is the last
   stylesheet of the page and nothing else sets display on those elements, so no !important is needed. */
@layer radix, base, components, screens, utilities;
@page { size: A4; margin: 18mm; }
@layer screens {
  /* 868px = the 820px text column + 2 x 24px side padding (the core reset is border-box). */
  body { max-width: 868px; margin: 32px auto; padding: 0 24px; font-size: 15px; line-height: 1.8; }
  button { padding: 10px 18px; font-family: inherit; cursor: pointer; }
  #termsMetadata { border-block: 1px solid var(--ec-line-strong); padding: 16px 0; margin: 24px 0; }
  #termsMetadata p { margin: 4px 0; }
  a { color: inherit; }
  h1 { font-size: 26px; } h2 { font-size: 19px; margin-top: 28px; }
  @media print {
    body { max-width: none; margin: 0; padding: 0; font-size: 10pt; }
    nav, #printStatus, .doc-toc, .skip-link { display: none; }
    h1, h2, h3 { break-after: avoid; }
    p, li { orphans: 3; widows: 3; }
    #termsMetadata { break-inside: avoid; }
    a { text-decoration: none; }
  }
}
