/* New layout of /tools/what-a-website-can-learn-about-you/ (1.0.238, owner choice "Option A: summary first with a jump bar"). Loaded only on that page and only while
   HTS Content > Exposure page layout is ON. Every rule is scoped under .hts-xp.xp2. Colour is never the only signal; text is AA on its background. */
.hts-xp.xp2{--x2-navy:#0b1f33;--x2-teal:#0a7482;--x2-ring:#ffb27d}
.hts-xp.xp2 .xp2-banner{background:linear-gradient(135deg,var(--x2-navy) 0%,#0b3f56 55%,var(--x2-teal) 100%);color:#fff;padding:12px 16px 16px}
.hts-xp.xp2 .xp2-b-in{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center}
.hts-xp.xp2 .xp2-banner .hts-st-crumbs{font-size:12px;margin:0 0 6px;color:#d3e0ea}
.hts-xp.xp2 .xp2-banner .hts-st-kicker{margin:0 0 4px;color:#ffb27d}
body.hts-ch-tools .hts-xp.xp2 .xp2-banner .hts-st-kicker{display:block!important}
.hts-xp.xp2 .xp2-banner h1{margin:0 0 6px;font-size:24px;line-height:1.15;color:#fff}
.hts-xp.xp2 .xp2-lead{margin:0 0 10px;font-size:15px;line-height:1.4;color:#eef4f8;max-width:640px}
.hts-xp.xp2 .xp2-sum{display:flex;gap:12px;align-items:center;background:rgba(11,31,51,.38);border:1px solid rgba(255,255,255,.3);border-radius:14px;padding:10px 12px;min-height:80px;max-width:520px}
.hts-xp.xp2 .xp2-ring{flex:0 0 58px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--x2-ring) calc(var(--p,0) * 1%),rgba(255,255,255,.28) 0)}
.hts-xp.xp2 .xp2-ring i{width:42px;height:42px;border-radius:50%;background:#0b1f33;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:15px;color:#fff}
.hts-xp.xp2 .xp2-sum-t{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:14px;line-height:1.3;color:#eef4f8}
.hts-xp.xp2 .xp2-sum-t b{font-size:16px;color:#fff;line-height:1.25}
.hts-xp.xp2 .xp2-nojs{display:none}
html:not(.xp-js) .hts-xp.xp2 .xp2-pre{display:none}
html:not(.xp-js) .hts-xp.xp2 .xp2-nojs{display:inline}
.hts-xp.xp2 .xp2-act{margin:10px 0 0}
.hts-xp.xp2 .xp2-act .hts-st-btn{width:100%;max-width:520px;min-height:50px;font-size:17px}
.hts-xp.xp2 .xp2-banner .xp-trust{margin:12px 0 0;padding:0;background:none;border:0;border-radius:0;gap:10px;align-items:flex-start;max-width:640px}
.hts-xp.xp2 .xp2-banner .xp-trust-i{width:30px;height:30px;background:rgba(255,255,255,.2)}
.hts-xp.xp2 .xp2-banner .xp-trust-i .xi{width:18px;height:18px}
.hts-xp.xp2 .xp2-banner .xp-trust b{display:block;font-size:14px;color:#fff}
.hts-xp.xp2 .xp2-banner .xp-trust span{font-size:13.5px;line-height:1.35;color:#eef4f8}
.hts-xp.xp2 .xp2-banner .xp-trust>div{min-width:0}
.hts-xp.xp2 .xp2-calls{margin:8px 0 0;font-size:13px;color:#d3e0ea}
.hts-xp.xp2 .xp2-calls a{color:#fff;font-weight:700;text-decoration:underline}
.hts-xp.xp2 .xp2-b-art{display:none}
.hts-xp.xp2 .xp2-b-art svg{width:100%;max-width:300px;height:auto;max-height:210px}

/* jump bar: sticky under the site header (66 px on phones, 76 px from 761 px up), plain anchor links, scrolls sideways on a phone */
.hts-xp.xp2 .xp2-jump{position:sticky;top:66px;z-index:20;background:#fff;border-bottom:1px solid var(--s-line);box-shadow:0 2px 6px rgba(11,31,51,.06)}
.hts-xp.xp2 .xp2-jump ul{list-style:none;margin:0 auto;padding:8px 12px;display:flex;gap:8px;overflow-x:auto;max-width:1120px;scrollbar-width:thin}
.hts-xp.xp2 .xp2-jump li{flex:0 0 auto}
.hts-xp.xp2 .xp2-jump a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 13px;border-radius:999px;background:#e1f0f2;color:#064e59;font:700 14px/1.2 "Segoe UI",system-ui,Arial,sans-serif;text-decoration:none;white-space:nowrap}
.hts-xp.xp2 .xp2-jump a:hover{background:#cfe7ea}
.hts-xp.xp2 .xp2-jump .xi{width:18px;height:18px}
.hts-xp.xp2 [id]{scroll-margin-top:132px}
.hts-xp.xp2 .xp2-anchor{margin:0}
.hts-xp.xp2 .xp-body{padding-top:6px}
.hts-xp.xp2 .xp-sec{margin:24px 0}
@media (prefers-reduced-motion:no-preference){html:has(.xp2){scroll-behavior:smooth}}

/* misuse pictures: tap-to-open rows (native details; the content is in the page and printable) */
.hts-xp.xp2 .xp2-acc{grid-template-columns:1fr;gap:8px}
.hts-xp.xp2 .xp2-sc{border-radius:12px}
.hts-xp.xp2 .xp2-d>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 14px}
.hts-xp.xp2 .xp2-d>summary::-webkit-details-marker{display:none}
.hts-xp.xp2 .xp2-d>summary h3{margin:0;font-size:16.5px;line-height:1.25}
.hts-xp.xp2 .xp2-chev{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--s-light);color:var(--s-navy);transition:transform .15s}
.hts-xp.xp2 .xp2-d[open]>summary .xp2-chev{transform:rotate(180deg)}
.hts-xp.xp2 .xp2-d[open]>summary{border-bottom:1px solid var(--s-line)}
.hts-xp.xp2 .xp2-d-b .xp-sc-art{border-bottom:0}
.hts-xp.xp2 .xp2-d-b p{margin:0 14px 10px;font-size:15.5px}
.hts-xp.xp2 .xp2-d-b .xp-sc-do{margin:4px 14px 14px!important}
@media (prefers-reduced-motion:reduce){.hts-xp.xp2 .xp2-chev{transition:none}}

@media (min-width:761px){
  .hts-xp.xp2 .xp2-jump{top:76px}
  .hts-xp.xp2 [id]{scroll-margin-top:142px}
  .hts-xp.xp2 .xp2-banner{padding:18px 4vw 20px}
  .hts-xp.xp2 .xp2-b-in{grid-template-columns:minmax(0,1fr) 300px;gap:28px}
  .hts-xp.xp2 .xp2-banner h1{font-size:32px}
  .hts-xp.xp2 .xp2-lead{font-size:16px}
  .hts-xp.xp2 .xp2-b-art{display:block}
  .hts-xp.xp2 .xp2-act .hts-st-btn{width:auto;min-width:240px}
  .hts-xp.xp2 .xp2-jump ul{padding:8px 4vw}
  .hts-xp.xp2 .xp2-acc{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}
@media (min-width:1100px){
  .hts-xp.xp2 .xp2-jump ul{padding:8px 0}
  .hts-xp.xp2 .xp2-acc{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media print{
  .hts-xp.xp2 .xp2-jump{display:none}
  .hts-xp.xp2 .xp2-banner{background:#fff;color:#000;padding:0}
  .hts-xp.xp2 .xp2-banner *{color:#000!important;background:none!important}
  .hts-xp.xp2 .xp2-chev{display:none}
}
@media (forced-colors:active){.hts-xp.xp2 .xp2-jump a,.hts-xp.xp2 .xp2-sum{border:1px solid CanvasText}}

/* the Read button's row is always reserved (the button itself appears when the script has started), so nothing below it moves */
.hts-xp.xp2 .xp2-act.xp-jsonly{display:block;min-height:50px}
html:not(.xp-js) .hts-xp.xp2 .xp2-act>button{visibility:hidden}
.hts-xp.xp2 .xp2-d>summary::after,.hts-xp.xp2 .xp2-d>summary::before{content:none!important}

/* 1.0.239: an OPEN misuse row spans the whole row of the grid (the closed rows stay in their columns); inside it, from 700 px, the picture is on the left and the text with the green "What to do" box on the right. */
.hts-xp.xp2 .xp2-sc.xp2-open,.hts-xp.xp2 .xp2-sc:has(>details[open]){grid-column:1/-1}
@media (min-width:700px){
  .hts-xp.xp2 .xp2-d-b{display:grid;grid-template-columns:minmax(140px,160px) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:16px;padding:12px 14px 14px;align-items:start}
  .hts-xp.xp2 .xp2-d-b .xp-sc-art{grid-column:1;grid-row:1/span 2;border:0;border-radius:12px;background:var(--s-bg);padding:8px}
  .hts-xp.xp2 .xp2-d-b .xp-sc-art svg{width:100%;max-width:none;height:auto}
  .hts-xp.xp2 .xp2-d-b>p{grid-column:2;margin:0 0 10px}
  .hts-xp.xp2 .xp2-d-b>.xp-sc-do{grid-column:2;margin:0!important;align-self:start}
}
