/* PDF proportions, scoped to this page; existing header/footer styles stay intact. */
body.acme-legal-library-page { overflow-x: clip; }
.acme-legal-library-page #wrapper { padding-top: 0; overflow: visible; width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
.legal-library {
    --legal-blue: #0b5aef;
    --legal-ink: #242532;
    --legal-header-offset: 100px;
    --legal-start: max(var(--legal-header-offset), 9.75vw);
    --legal-cap-top: 2.25vw;
    color: var(--legal-ink);
    background: #fff;
    padding-top: var(--legal-start);
    font-family: "Kantumruy Pro", Arial, sans-serif;
}
.legal-library *, .legal-library *::before, .legal-library *::after { box-sizing: border-box; }
.legal-library [hidden] { display: none !important; }
.legal-library__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.legal-library__layout {
    display: grid;
    grid-template-columns: 17.5% minmax(0, 58.5%);
    column-gap: 7.35%;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0 0 90px;
}
.legal-library__sidebar {
    position: sticky;
    top: var(--legal-header-offset);
    align-self: start;
    isolation: isolate;
    color: #fff;
    height: min(calc(61.4vw - var(--legal-start)), calc(100vh - var(--legal-header-offset) - 20px));
    min-height: min(530px, calc(100vh - var(--legal-header-offset) - 20px));
}
.legal-library__sidebar::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    left: 0;
    right: 0;
    top: calc(var(--legal-cap-top) - var(--legal-start));
    bottom: 0;
    background: var(--legal-blue);
    border-radius: 0 7.5vw 7.5vw 0;
}
.legal-library__tabs { display: flex; flex-direction: column; height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c8dcff transparent; }
.legal-library .legal-library__tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 0 0 auto;
    width: 100%;
    min-height: 8.58vw;
    padding: 1.2vw 1.34vw 1.1vw;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    font-family: inherit;
    font-weight: 400;
    font-size: inherit;
    line-height: 1.2;
    cursor: pointer;
    white-space: normal;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}
.legal-library .legal-library__tab:hover { background: #ffffff0f; }
.legal-library .legal-library__tab[aria-selected="true"] { color: #fff; background: #ffffff12; box-shadow: none; }
.legal-library__tab::before { content: ""; position: absolute; top: 1.2vw; bottom: 1.2vw; left: 0; width: 3px; background: transparent; border-radius: 0 2px 2px 0; }
.legal-library__tab[aria-selected="true"]::before { background: #fff; }
.legal-library__tab-label { display: block; font-size: clamp(12px, 1.263vw, 22px); line-height: 1.2; font-weight: 600; text-transform: uppercase; }
.legal-library__tab-copy { display: block; width: 100%; }
.legal-library__tab[data-document="section-889"] .legal-library__tab-label { text-transform: none; }
.legal-library__tab-detail { display: block; margin-top: 1.5vw; font-size: clamp(10px, .884vw, 15px); line-height: 1.25; font-weight: 400; text-align: center; color: #fff; }
.legal-library__fallback { display: grid; gap: 26px; padding: 20px; }
.legal-library__fallback a { color: #fff; text-transform: uppercase; text-decoration: underline; }
.legal-library__reading { min-width: 0; }
.legal-library__panel { min-width: 0; margin: 0 0 60px; scroll-margin-top: var(--legal-header-offset); }
.legal-library--enhanced .legal-library__panel { margin-bottom: 0; }
.legal-library__document { font-size: clamp(15px, 1.095vw, 18px); line-height: 1.3; font-weight: 400; overflow-wrap: anywhere; text-align: justify; }
.legal-library__document > :first-child { margin-top: 0; }
.legal-library__document #acme-terms { width: 100%; max-width: none; }
.legal-library .legal-library__document h2,
.legal-library .legal-library__document-title,
.legal-library .legal-library__document [data-custom-class="title"] {
    display: block;
    font-family: inherit;
    font-size: clamp(24px, 2.1048vw, 40px);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--legal-ink);
    text-align: center;
    margin: 0 0 3.4vw;
}
.legal-library .legal-library__document h3,
.legal-library .legal-library__document [data-custom-class="heading_1"] {
    display: block;
    font-family: inherit;
    font-size: clamp(21px, 1.9785vw, 32px);
    line-height: 1.25;
    font-weight: 400;
    color: var(--legal-ink);
    text-align: left;
    margin: 3.4vw 0 2.3vw;
}
.legal-library .legal-library__document p { font-family: inherit; font-size: inherit; line-height: inherit; margin: 0 0 18px; color: inherit; }
.legal-library__document [data-custom-class="body"] > div { margin-bottom: 14px; }
.legal-library__document [data-custom-class="subtitle"] { color: #576478; }
.legal-library__document [data-custom-class="body_text"] { font-size: inherit; color: inherit; }
.legal-library .legal-library__document a { color: #064acb; text-decoration: underline; text-underline-offset: 3px; }
.legal-library__document ul, .legal-library__document ol { margin: 16px 0 22px; padding-left: 28px; }
.legal-library__document ul { list-style-type: square; }
.legal-library__document ul ul { list-style-type: circle; }
.legal-library__document ul ul ul { list-style-type: square; }
.legal-library__document li { margin: 8px 0; }
.legal-library__document table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 13px; text-align: left; }
.legal-library__document th, .legal-library__document td { border: 1px solid #d9dee7; padding: 10px; vertical-align: top; }
.legal-library__document img { display: block; max-width: 100%; height: auto; margin: 30px auto 0; float: none; }
.legal-library__document img.wp-image-184474,
.legal-library__document img.wp-image-152103 { width: 220px; max-width: 100%; margin-right: 0; }
.legal-library__document [id] { scroll-margin-top: var(--legal-header-offset); }
.legal-library__skip { position: absolute; left: 16px; top: -200px; z-index: 10001; padding: 12px 18px; background: #fff; color: #064acb; }
.legal-library__skip:focus { position: fixed; top: 12px; }
.legal-library button:focus-visible, .legal-library a:focus-visible, .legal-library__panel:focus-visible,
.legal-library__reading:focus-visible { outline: 3px solid #102748; outline-offset: 4px; }
.legal-library__sidebar button:focus-visible { outline-color: #fff; outline-offset: -4px; }
.legal-library__sidebar a:focus-visible { outline-color: #fff; }
.legal-library__return { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid #d9dee7; }
.legal-library .legal-library__back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    background: #fff;
    color: #064acb;
    border: 1px solid #9ab3de;
    border-radius: 3px;
    font: 500 15px/1.4 "Kantumruy Pro", Arial, sans-serif;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    box-shadow: none;
}
.legal-library .legal-library__back:hover { background: #f4f7fc; }
.legal-library__document h2[tabindex]:focus-visible,
.legal-library__document [data-custom-class="title"][tabindex]:focus-visible,
.legal-library__document-title[tabindex]:focus-visible { outline: 2px solid #064acb; outline-offset: 5px; }
@media (max-width: 899px) {
    .legal-library { --legal-start: var(--legal-header-offset); padding-top: var(--legal-start); }
    .legal-library__layout { display: block; padding: 0 0 60px; }
    .legal-library__sidebar { position: static; height: auto; min-height: 0; background: #fff; color: #064acb; border-radius: 0; margin: 0 24px; padding: 0 0 16px; border-bottom: 1px solid #d9e2ef; }
    .legal-library__sidebar::before { display: none; }
    .legal-library__tabs { flex-direction: column; height: auto; overflow: visible; }
    .legal-library .legal-library__tab { flex: 0 0 auto; width: 100%; min-height: 48px; padding: 12px 16px; color: #064acb; background: #fff; overflow-wrap: anywhere; }
    .legal-library .legal-library__tab:hover { background: #f4f7fc; }
    .legal-library .legal-library__tab[aria-selected="true"] { color: #064acb; background: #fff; }
    .legal-library__tab::before { top: 10px; bottom: 10px; }
    .legal-library__tab[aria-selected="true"]::before { background: #0b5aef; }
    .legal-library__tab-label { font-size: 15px; line-height: 1.4; font-weight: 400; text-transform: none; }
    .legal-library__tab[aria-selected="true"] .legal-library__tab-label { font-weight: 700; }
    .legal-library__tab-detail { margin-top: 4px; font-size: 11px; line-height: 1.35; text-align: left; color: #466494; }
    .legal-library__sidebar button:focus-visible, .legal-library__sidebar a:focus-visible { outline: 2px solid #064acb; outline-offset: -3px; }
    .legal-library__fallback { padding: 0 16px; gap: 0; scroll-margin-top: var(--legal-header-offset); }
    .legal-library__fallback a { display: block; min-height: 48px; padding: 12px 0; color: #064acb; text-transform: none; }
    .legal-library__reading { padding: 24px 24px 0; }
    .legal-library__document { font-size: 16px; line-height: 1.55; text-align: left; }
    .legal-library .legal-library__document h2,
    .legal-library .legal-library__document-title,
    .legal-library .legal-library__document [data-custom-class="title"] { font-size: 24px; margin-bottom: 32px; }
    .legal-library .legal-library__document h3,
    .legal-library .legal-library__document [data-custom-class="heading_1"] { font-size: 21px; margin: 32px 0 20px; }
}
@media (forced-colors: active) {
    .legal-library__tab[aria-selected="true"] { border: 1px solid ButtonText; }
    .legal-library__tab[aria-selected="true"]::before { background: Highlight; }
}
@media print {
    .legal-library { padding-top: 0; }
    .legal-library__layout { display: block; max-width: none; padding: 0; }
    .legal-library__sidebar, .legal-library__skip { display: none; }
    .legal-library__reading { padding: 0; }
    .legal-library__document { font-size: 11pt; line-height: 1.5; }
    .legal-library__document a { color: inherit; }
}
