/* Branded document shell; literal Word labels remain plain reading lists. */
.terms-document .terms-paper { min-width: 0; display: grid; gap: 20px; }
.terms-document .terms-section { position: relative; margin: 0; }
.terms-document .terms-section h2 { margin: 0 0 20px; }
.terms-document .terms-section p { color: inherit; font-size: inherit; line-height: inherit; }
body.public-page.public-documents.terms-document .terms-section .terms-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
body.public-page.public-documents.terms-document .terms-section .terms-list > li {
  position: relative; display: block; min-height: 1.75em;
  margin: 0 0 14px; padding: 0 0 0 2.4em;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  font-size: inherit; line-height: inherit; color: inherit;
}
body.public-page.public-documents.terms-document .terms-section .terms-list > li::before,
body.public-page.public-documents.terms-document .terms-section .terms-list > li::after { content: none; }
.terms-document .terms-number {
  position: absolute; left: 0; width: 1.9em; text-align: right;
  font-variant-numeric: tabular-nums; color: #294160;
}
.terms-document .terms-text { white-space: pre-wrap; }
body.public-page.public-documents.terms-document .terms-section .terms-list .terms-list { margin-top: 10px; }
body.public-page.public-documents.terms-document .terms-section .terms-list .terms-list > li { margin-bottom: 8px; padding-left: 1.9em; }
body.public-page.public-documents.terms-document .terms-section .terms-list .terms-list .terms-number { width: 1.4em; }
body.public-page.public-documents.terms-document .terms-section .terms-list > li:last-child { margin-bottom: 0; }
.terms-document .terms-anchor { position: absolute; top: 0; scroll-margin-top: calc(var(--doc-header) + 20px); }
.terms-document .terms-form { padding-top: 8px; }
.terms-document .terms-archive { margin-top: 24px; color: #46566c; }
.terms-document .terms-archive > summary {
  min-height: 48px; padding: 12px 0; cursor: pointer; font-weight: 650; line-height: 1.5;
}
.terms-document .terms-archive ul { margin: 0; padding: 0 0 0 24px; }
.terms-document .terms-archive a { display: inline-block; padding: 8px 0; color: #125da6; }
@media (max-width: 600px) {
  body.public-page.public-documents.terms-document .terms-section .terms-list > li { padding-left: 2em; }
  .terms-document .terms-number { width: 1.5em; }
  .terms-document .terms-tools .public-action { flex: 1 1 100%; }
}
@media print {
  @page { size: A4; margin: 18mm; }
  .terms-document :is(.terms-tools, .terms-index, .terms-archive, .legal-eyebrow, .public-hero__note) { display: none !important; }
  body.public-page.public-documents.terms-document .public-hero { display: block !important; margin: 0 0 20pt; }
  body.public-page.public-documents.terms-document .public-hero__inner { display: block; width: 100%; padding: 0; border: 0; background: none !important; }
  body.public-page.public-documents.terms-document .public-hero h1 { max-width: none; color: #000; font-size: 18pt; }
  body.public-page.public-documents.terms-document .terms-layout { display: block; width: 100%; }
  .terms-document .terms-paper { display: block; }
  body.public-page.public-documents.terms-document .terms-section {
    margin: 18pt 0 0; padding: 0; border: 0; border-radius: 0;
    color: #000; font-size: 10.5pt; line-height: 1.55; break-inside: auto;
  }
  body.public-page.public-documents.terms-document .terms-section h2 { margin-bottom: 10pt; color: #000; font-size: 12pt; break-after: avoid; }
  .terms-document .terms-number { color: #000; }
  .terms-document #wzor-odstapienia { break-before: page; }
  .terms-document :is(p, li) { orphans: 3; widows: 3; }
}
