.privacy-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.4rem;
  padding: .7rem .3rem;
  margin: 0;
  list-style: none;
}
.policy-origin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: fit-content;
  padding: .28rem .95rem .28rem .55rem;
  margin: 0 auto;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--yellow);
}
.policy-origin img { width: 60px; height: auto; }
.study-figure ol.policy-branches {
  --junction-inset: calc(100% / 6 - 2px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  position: relative;
  max-width: 54rem;
  padding: 38px 0 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}
.study-figure ol.policy-branches-two { --junction-inset: calc(25% - 3px);grid-template-columns: repeat(2, minmax(0, 1fr)); }
.policy-branches::before, .policy-branches::after { content: "";position: absolute; }
.policy-branches::before { inset: 0 auto auto 50%;height: 16px;border-left: 3px solid var(--ink); }
.policy-branches::after {
  inset: 15px var(--junction-inset) auto;
  height: 20px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}
.policy-branches li {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  justify-items: center;
  align-items: start;
  gap: .23rem;
  padding: .48rem .6rem .64rem;
  border-block: 2px solid var(--ink);
  background: var(--mint);
}
.policy-branches-two li { grid-template-rows: auto auto 1fr auto; }
.policy-branches li:first-child { background: var(--pink); }
.policy-branches li::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -11px auto auto 50%;
  width: 12px;
  height: 11px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 92%);
  transform: translateX(-50%);
}
.policy-branches:not(.policy-branches-two) li:nth-child(2)::after {
  content: "";
  position: absolute;
  inset: -24px auto auto 50%;
  height: 16px;
  border-left: 3px solid var(--ink);
}
.policy-type { font-size: .875rem;font-weight: 700; }
.policy-branches img, .policy-compare img { width: 90px;height: auto; }
.policy-aid {
  position: relative;
  width: 59px;
  height: 55px;
  margin-block: 6px;
  border: 2px solid var(--ink);
  border-radius: 10px 10px 8px 8px;
  background: var(--diagram-paper);
  box-shadow: 3px 3px var(--ink);
  transform: rotate(6deg);
}
.policy-aid::after {
  content: "";
  position: absolute;
  inset: 12px 14px;
  background: var(--wine);
  clip-path: polygon(37% 0, 63% 0, 63% 37%, 100% 37%, 100% 63%, 63% 63%, 63% 100%, 37% 100%, 37% 63%, 0 63%, 0 37%, 37% 37%);
}
.policy-compare { display: grid;gap: .5rem;margin-inline: auto;max-width: 56rem; }
.policy-compare > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(0, 1.42fr) minmax(0, 1.25fr);
  align-items: center;
  gap: .55rem;
  padding: .3rem .6rem;
  border-block-end: 2px solid var(--ink);
  background: var(--diagram-paper);
}
.policy-compare > div:first-child { border-block-start: 2px solid var(--ink); }
.policy-compare img { width: 100%; }
.policy-compare strong { padding: .24rem .45rem;background: var(--mint);text-align: center; }
.policy-compare > div:last-child strong { background: var(--pink); }
.policy-gdpr > div { grid-template-columns: 70px minmax(0, 1.08fr) 30px minmax(0, 1.55fr) minmax(0, 1fr); }
.policy-gdpr .flow-arrow { margin-inline: 0; }
.privacy-sensitive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 54rem;
  margin: 1.1rem auto;
  border-block: 2px solid var(--ink);
  background: var(--diagram-paper);
}
.privacy-sensitive-grid > div { display: grid; justify-items: center; gap: .36rem; padding: .45rem .65rem .8rem; text-align: center; }
.privacy-sensitive-grid > div + div { border-inline-start: 2px dashed var(--diagram-rule); background: #fbeaf0; }
.privacy-sensitive-grid img { width: 105px; height: auto; }
.privacy-sensitive-grid p { width: 100%; padding: .26rem .35rem; background: var(--mint); }
.privacy-sensitive-grid > div + div p { background: var(--pink); }
.privacy-sensitive-grid b { align-self: start; }
@media (max-width: 700px) {
  .study-figure ol.policy-branches { padding-top: 20px; }
  .policy-branches::before { height: 20px; }
  .policy-branches::after, .policy-branches li::before, .policy-branches li::after { display: none; }
  .policy-compare > div { grid-template-columns: 58px minmax(0, 1fr); }
  .policy-compare > div > :is(p,span,strong) { grid-column: 1 / -1; }
  .policy-gdpr .flow-arrow { display: none; }
}
@media (max-width: 470px) { .study-figure ol.policy-branches { grid-template-columns: 1fr; } }
