/* Approved AGB reading experience. Scoped to the four contractual pages. */
html:has(.tp-agb-view){scroll-padding-top:16px}
.tp-agb-view .tp-legal-intro{padding-bottom:28px}
.tp-agb-view .tp-legal-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:0 10px;margin-bottom:20px!important}
.tp-agb-view .tp-legal-breadcrumb span{margin:0}.tp-agb-view .tp-legal-content h1{overflow-wrap:anywhere;hyphens:auto}
.tp-agb-view .tp-legal-lead{max-width:720px}.tp-agb-view .tp-legal-version{margin-top:14px!important}
.tp-agb-view .tp-legal-document{max-width:72ch;font-size:1.0625rem;line-height:1.7}
.tp-agb-view .tp-legal-document p{color:var(--tp-color-ink);hyphens:auto;overflow-wrap:break-word}
.tp-agb-view .tp-legal-document a{color:var(--tp-color-blue);text-decoration:underline;text-underline-offset:3px;font-weight:550;overflow-wrap:anywhere}
.tp-agb-view .tp-legal-section h2{scroll-margin-top:24px}.tp-agb-view .tp-legal-section h2:focus-visible{outline:3px solid var(--tp-color-blue);outline-offset:6px;border-radius:3px}
.tp-agb-view .tp-legal-section p{margin-bottom:20px}.tp-agb-view .tp-legal-section+.tp-legal-section{padding-top:32px}
.tp-agb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px!important}
.tp-agb-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;max-width:100%;box-sizing:border-box;padding:10px 16px;border:1px solid #b4c3d5;border-radius:8px;background:#fff;color:var(--tp-color-blue);font:inherit;font-size:.9375rem;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;white-space:normal;cursor:pointer;overflow-wrap:break-word}
.tp-agb-actions .tp-agb-download{border-color:var(--tp-color-blue)}.tp-agb-actions .tp-agb-form-jump{border-color:transparent;padding-inline:8px}
.tp-agb-actions :is(button,a):hover{background:#edf3fb;color:#153f77;text-decoration:none}.tp-agb-actions :is(button,a):active{background:#dce8f7}
.tp-agb-actions [hidden]{display:none!important}.tp-agb-view :is(a,button,summary):focus-visible{outline:3px solid var(--tp-color-blue);outline-offset:4px}
.tp-agb-document-page .tp-legal-layout{grid-template-columns:250px minmax(0,1fr);gap:64px}
.tp-agb-sidebar{position:sticky;top:24px;min-width:0;max-height:calc(100dvh - 48px);overflow:auto;scrollbar-width:thin;scroll-margin-top:24px;overscroll-behavior:contain}
.tp-agb-toc{margin:0!important;background:var(--tp-color-surface);border:1px solid var(--tp-color-line);border-radius:14px;overflow:hidden}
.tp-agb-toc>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:12px 18px;box-sizing:border-box;font-size:.9375rem;font-weight:650;line-height:1.5;cursor:pointer;color:var(--tp-color-ink)}
.tp-agb-toc>summary::-webkit-details-marker{display:none}.tp-agb-toc>summary::after{content:'';width:8px;height:8px;flex-shrink:0;border-right:2px solid var(--tp-color-blue);border-bottom:2px solid var(--tp-color-blue);transform:rotate(45deg);margin:0 4px 4px}
.tp-agb-toc[open]>summary::after{transform:rotate(225deg);margin-top:6px}
.tp-agb-toc-nav{padding:12px!important;margin:0!important}.tp-agb-toc-nav ul{list-style:none;margin:0;padding:0}
.tp-agb-toc-nav li{margin:0;padding:0}.tp-agb-toc-nav a{display:flex;align-items:center;min-height:44px;box-sizing:border-box;padding:9px 10px;border-left:3px solid transparent;border-radius:5px;color:var(--tp-color-blue);font-size:.9375rem;font-weight:500;line-height:1.5;text-decoration:none;overflow-wrap:anywhere;hyphens:auto}
.tp-agb-toc-nav a:hover{background:var(--tp-color-surface-hover);text-decoration:underline}.tp-agb-toc-nav a[aria-current=location]{border-left-color:var(--tp-color-blue);background:#e3edf9;color:var(--tp-color-ink);font-weight:650}
.tp-agb-toc-title{padding:18px 22px 0;margin:0!important;color:var(--tp-color-ink);font-size:.9375rem;font-weight:650}
.tp-agb-toc .tp-agb-toc-title{display:none}.tp-agb-js .tp-agb-toc .tp-agb-toc-title{display:block}
.tp-agb-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:22px;padding-bottom:40px}
.tp-agb-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:28px;background:var(--tp-color-surface);border:1px solid var(--tp-color-line);border-radius:18px;box-sizing:border-box}
.tp-agb-card>*{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;hyphens:auto}
.tp-agb-card .tp-agb-card-type{color:var(--tp-color-blue);font-size:.8125rem;font-weight:650;letter-spacing:.07em;margin:0 0 16px;text-transform:uppercase}
.tp-agb-card h2{font-size:var(--tp-text-section);line-height:1.15;font-weight:var(--tp-weight-heading);letter-spacing:-.03em;margin:0 0 16px;overflow-wrap:anywhere}
.tp-agb-card .tp-agb-card-description{font-size:1rem;line-height:1.65;color:var(--tp-color-muted);margin:0 0 20px}
.tp-agb-card .tp-agb-card-action{margin:auto 0 0!important}.tp-agb-card-action a{display:inline-flex;align-items:center;min-height:48px;max-width:100%;gap:10px;font-size:1rem;font-weight:650;color:var(--tp-color-blue);text-decoration:none;overflow-wrap:anywhere;hyphens:auto}
.tp-agb-card-action a:hover{text-decoration:underline;text-underline-offset:4px}.tp-agb-card:has(a:focus-visible){outline:3px solid var(--tp-color-blue);outline-offset:4px}
.tp-agb-overview-note{max-width:72ch;padding-block:28px 44px;border-top:1px solid var(--tp-color-line);font-size:1rem;line-height:1.7}
.tp-agb-overview-note h2{font-size:1.5rem;line-height:1.3;margin:0 0 16px}.tp-agb-overview-note p{color:var(--tp-color-muted);margin-bottom:18px}
.tp-agb-document-end{border-top:1px solid var(--tp-color-line);padding-top:24px;margin-top:8px!important}
.tp-agb-back{margin:20px 0 0!important}.tp-agb-back a{display:inline-flex;align-items:center;min-height:44px}
.tp-agb-other-documents{display:flex;align-items:center;flex-wrap:wrap;gap:4px 24px;margin-top:22px!important;padding-top:18px;border-top:1px solid var(--tp-color-line)}
.tp-agb-other-documents p{margin:0!important;font-size:.9375rem}.tp-agb-other-documents a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-weight:550}
.tp-agb-other-documents a[aria-current=page]{color:var(--tp-color-ink);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
.tp-agb-form{border:1px solid #b4c3d5!important;border-radius:14px;padding:26px!important;background:#fff;scroll-margin-top:24px}
.tp-agb-form p{line-height:1.8}.tp-agb-form .tp-agb-actions{margin:0 0 24px!important}
.tp-agb-write-line{display:block;width:100%;border-bottom:1px solid #7c8f9e;min-height:28px;margin-block:8px 16px}
.tp-agb-form-fields br{display:none}
.tp-agb-form-print-meta{display:none}.tp-agb-mobile-tools[hidden]{display:none!important}
.tp-agb-mobile-tools{display:none}
@media(min-width:1001px){.tp-agb-js .tp-agb-toc>summary{display:none}}
@media(max-width:1100px){.tp-agb-document-page .tp-legal-layout{grid-template-columns:220px minmax(0,1fr);gap:32px}.tp-agb-cards{grid-template-columns:minmax(0,1fr)}.tp-agb-card{padding:24px}}
@media(max-width:1000px){.tp-agb-document-page .tp-legal-layout{grid-template-columns:minmax(0,1fr);gap:24px}.tp-agb-sidebar{position:static;max-height:none;overflow:visible}.tp-agb-toc-title,.tp-agb-js .tp-agb-toc .tp-agb-toc-title{display:none}.tp-agb-toc-nav{padding-top:0!important}.tp-agb-document-page .tp-legal-content{padding-bottom:78px}.tp-agb-mobile-tools{position:fixed;z-index:25;left:16px;right:16px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;align-items:stretch;justify-content:space-between;gap:10px;padding:7px 10px;background:#fff;border:1px solid #b4c3d5;border-radius:12px;box-shadow:0 5px 24px #142f421c}.tp-agb-mobile-tools :is(button,a){display:inline-flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:6px 10px;border:0;border-radius:6px;font:inherit;font-size:.9375rem;font-weight:600;line-height:1.4;background:#fff;color:var(--tp-color-blue);text-decoration:none;cursor:pointer}.tp-agb-current{font-size:.8125rem;font-weight:400;max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--tp-color-muted)}.tp-agb-mobile-tools :is(button,a):hover{background:#edf3fb}}
@media(max-width:800px){.tp-agb-view .tp-legal-intro{padding-bottom:24px}.tp-agb-view .tp-legal-content h1{font-size:var(--tp-text-title)}.tp-agb-view .tp-legal-breadcrumb{margin-bottom:16px!important}.tp-agb-view .tp-legal-lead{font-size:var(--tp-text-lead);line-height:1.55}.tp-agb-view .tp-legal-version{font-size:.8125rem}.tp-agb-actions{gap:8px;margin-top:18px!important}.tp-agb-actions :is(button,a){padding:10px 13px}.tp-agb-cards{grid-template-columns:minmax(0,1fr);gap:14px;padding-bottom:28px}.tp-agb-card{padding:22px 24px}.tp-agb-card h2{font-size:1.625rem;margin-bottom:12px}.tp-agb-card .tp-agb-card-type{margin-bottom:12px}.tp-agb-card .tp-agb-card-description{margin-bottom:10px}.tp-agb-overview-note{padding-block:24px 32px}.tp-agb-form{padding:20px!important}}
@media(max-width:370px){.tp-agb-card{padding:20px}.tp-agb-current{max-width:75px}.tp-agb-form{padding:16px!important}.tp-agb-form .tp-agb-download{font-size:.875rem}}
@media print{
 @page{margin:17mm}
 .tp-agb-view .wp-site-blocks,.tp-agb-view .tp-legal-page{padding:0!important;margin:0!important;max-width:none!important}
 .tp-agb-view .tp-legal-content .tp-selected-frame{width:auto!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
 .tp-agb-view .tp-legal-content{padding:0!important;font-size:10.5pt!important;line-height:1.45!important}
 .tp-agb-view .tp-legal-intro{padding-bottom:18pt!important}.tp-agb-view .tp-legal-document{max-width:none!important;font-size:10.5pt!important;line-height:1.45!important}
 .tp-agb-view .tp-legal-document p{color:#000!important;hyphens:none}.tp-agb-view .tp-legal-content a{color:#000!important}
 .tp-agb-view .tp-legal-layout{display:block!important;padding:0!important}
 .tp-agb-view .tp-agb-actions,.tp-agb-view .tp-agb-sidebar,.tp-agb-view .tp-agb-mobile-tools,.tp-agb-view .tp-agb-document-end,.tp-agb-view .tp-agb-other-documents{display:none!important}
 .tp-agb-view .tp-legal-section h2{font-size:14pt!important;break-after:avoid-page}.tp-agb-view .tp-legal-section p{orphans:3;widows:3}
 .tp-agb-view .tp-agb-form{break-before:page;border:0!important;padding:0!important;border-radius:0}
 .tp-agb-print-form .tp-legal-intro,.tp-agb-print-form .tp-legal-document>.tp-legal-section:not(.tp-agb-form){display:none!important}
 .tp-agb-print-form .tp-agb-form{break-before:auto}.tp-agb-print-form .tp-agb-form h2{font-size:18pt!important}.tp-agb-print-form .tp-agb-form-print-meta{display:block;font-size:10pt;color:#000}
 .tp-agb-write-line{min-height:20pt;margin-block:6pt 12pt;border-color:#555}
}
