/* Print layout for the legal pages (terms, dpa, privacy). Loaded with media="print" only, so the screen view is untouched. */
@page{size:A4;margin:18mm 17mm 20mm;
  @bottom-left{content:"www.ansard.co.uk";font:400 7.5pt Inter,'Helvetica Neue',sans-serif;color:#6b6b6b;}
  @bottom-right{content:"Page " counter(page) " of " counter(pages);font:400 7.5pt Inter,'Helvetica Neue',sans-serif;color:#6b6b6b;}
}
html,body{background:#fff !important;color:#0B0B0B !important;}
html{scroll-behavior:auto;}
body{font:400 9.5pt/1.5 Inter,'Helvetica Neue',sans-serif;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
*,*::before,*::after{box-shadow:none !important;text-shadow:none !important;animation:none !important;transition:none !important;}

/* what does not belong on paper */
.sheet,.nav__links,.nav__right,.fend,.foot__base,.doc__count,iframe,script{display:none !important;}

/* the mark, once, at the top of page one */
header.nav{position:static !important;display:block !important;height:auto !important;padding:0 0 9mm !important;margin:0 !important;background:none !important;border:0 !important;transform:none !important;backdrop-filter:none !important;}
header.nav .mark{position:static;font-size:15pt;color:#0B0B0B !important;}
header.nav .mark span:not(.mk){color:#0B0B0B !important;}
header.nav .mark span.mk{color:#9FFF00 !important;}

main,.page,.page__in{display:block !important;max-width:none !important;width:auto !important;margin:0 !important;padding:0 !important;background:none !important;min-height:0 !important;}
.page__kicker{font:500 7.5pt/1 Inter,sans-serif !important;letter-spacing:.16em;text-transform:uppercase;color:#555 !important;margin:0 0 3mm !important;opacity:1 !important;}
.page h1{font-family:'Host Grotesk',Inter,sans-serif !important;font-size:22pt !important;line-height:1.08 !important;letter-spacing:-.03em;color:#0B0B0B !important;margin:0 0 4mm !important;max-width:none !important;opacity:1 !important;transform:none !important;}
.page__lede{font-size:10.5pt !important;line-height:1.5 !important;color:#2a2a2a !important;margin:0 0 7mm !important;max-width:150mm !important;opacity:1 !important;transform:none !important;}

/* contents: the full list, two columns, no window */
.doc,.doc--win{display:block !important;}
.doc__toc,.doc__toc--win{display:block !important;position:static !important;max-height:none !important;overflow:visible !important;margin:0 0 8mm !important;padding:3mm 0 0 !important;border-top:.6pt solid #0B0B0B !important;opacity:1 !important;}
.doc__toc::before{content:"Contents";display:block;font:500 7.5pt/1 Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#555;margin:0 0 3mm;}
.doc__win{height:auto !important;overflow:visible !important;}
.doc__list{transform:none !important;column-count:2;column-gap:10mm;}
.doc__toc a,.doc__toc--win a{display:flex !important;gap:3mm;min-height:0 !important;padding:.9mm 0 !important;font:400 8.5pt/1.35 Inter,sans-serif !important;color:#0B0B0B !important;opacity:1 !important;break-inside:avoid;text-decoration:none;}
.doc__toc i{color:#6b6b6b !important;min-width:5mm;}

/* the sections */
.doc__body{display:block !important;}
.page--doc .slab,.slab{margin:0 !important;padding:6mm 0 0 !important;border:0 !important;border-top:.6pt solid #0B0B0B !important;opacity:1 !important;transform:none !important;}
.slab + .slab{margin-top:5mm !important;}
.slab > h2{font-family:'Host Grotesk',Inter,sans-serif !important;font-size:13pt !important;line-height:1.2 !important;letter-spacing:-.02em;color:#0B0B0B !important;margin:0 0 3mm !important;break-after:avoid;page-break-after:avoid;opacity:1 !important;transform:none !important;}
.slab > h2 .no{display:block;font:500 7.5pt/1 Inter,sans-serif !important;letter-spacing:.18em;color:#6b6b6b !important;margin:0 0 2mm !important;}
.slab__lede,.slab p{color:#1a1a1a !important;font-size:9.5pt !important;line-height:1.5 !important;}

.spec{margin:0 !important;padding:0 !important;}
.page--doc .spec li,.spec li{display:grid !important;grid-template-columns:40mm minmax(0,1fr) !important;gap:5mm !important;padding:2.4mm 0 !important;border:0 !important;border-bottom:.4pt solid #cfcfcf !important;break-inside:avoid;page-break-inside:avoid;background:none !important;opacity:1 !important;transform:none !important;}
.spec li:first-child{border-top:0 !important;}
.spec li:last-child{border-bottom:0 !important;}
.page--doc .spec strong,.spec strong{font:600 9pt/1.4 Inter,sans-serif !important;color:#0B0B0B !important;}
.page--doc .spec span,.spec span{font-size:9.5pt !important;line-height:1.5 !important;color:#1a1a1a !important;}
.spec span a,.slab a,.page__lede a{color:#0B0B0B !important;border-bottom:0 !important;text-decoration:underline;text-underline-offset:1.5pt;text-decoration-thickness:.4pt;}

/* print the address of every link that leaves the page */
.doc__body a[href]:not([href^="#"]):not([href^="mailto:"]):not([href^="tel:"]):not([href^="http"])::after,
.page__lede a[href]:not([href^="#"]):not([href^="mailto:"]):not([href^="tel:"]):not([href^="http"])::after{content:" (www.ansard.co.uk/" attr(href) ")";font-size:8pt;color:#555;text-decoration:none;}
.doc__body a[href^="http"]::after,.page__lede a[href^="http"]::after{content:" (" attr(href) ")";font-size:8pt;color:#555;word-break:break-all;}

/* the sub-processor table, in full, with hairlines */
.cmp__wrap{overflow:visible !important;margin-top:4mm !important;}
.cmp{min-width:0 !important;width:calc(100% - 1pt) !important;margin-left:.5pt;border-collapse:collapse;}
.cmp th,.cmp td{padding:1.8mm 2mm !important;border:.4pt solid #bdbdbd !important;font-size:8.5pt !important;line-height:1.35 !important;color:#0B0B0B !important;text-align:left !important;vertical-align:top;}
.cmp thead th{font-weight:600 !important;background:#f1f1f1 !important;font-size:8pt !important;letter-spacing:0 !important;text-transform:none !important;}
.cmp tr{break-inside:avoid;page-break-inside:avoid;}
.cmp thead{display:table-header-group;}

.page__updated{margin:8mm 0 0 !important;font-size:8.5pt !important;color:#555 !important;}

/* the company line closes the document */
.foot{display:block !important;padding:0 !important;margin:5mm 0 0 !important;background:none !important;border:0 !important;}
.foot__legal{display:block !important;margin:0 !important;padding:3mm 0 0 !important;border-top:.6pt solid #0B0B0B !important;font-size:7.5pt !important;line-height:1.45 !important;color:#555 !important;text-align:left !important;}
.foot__legal span{color:#555 !important;}
/* the company line sits under the mark on page one, where a solicitor looks for the party, so it can never be stranded on a last page */
body{display:flex !important;flex-direction:column !important;}
body > header.nav{order:0;}
body > .foot{order:1;margin:0 0 9mm !important;}
body > main{order:2;}
.foot__legal{border-top:0 !important;padding:0 !important;font-size:8pt !important;}
header.nav{padding-bottom:3mm !important;}
/* the date closes the document and keeps the last row with it */
.page__updated{break-before:avoid;page-break-before:avoid;}
/* a section number never sits alone at the foot of a page */
.slab > h2{break-inside:avoid;page-break-inside:avoid;}
.slab > h2 .no{break-after:avoid;page-break-after:avoid;}

/* the print link itself never prints */
.docprint{display:none !important;}
