/* Article-only diagrams; loaded by the privacy-by-design post. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Geist-Variable.woff2") format("woff2");
}
.post-body .privacy-flow p {
  font: inherit;
  color: inherit;
}
.post-body .privacy-flow pre {
  border: 0;
  padding: 0;
  background: none;
}
.post-body .privacy-flow {
  container-type: inline-size;
  --accent: #ff7133;
  --panel: oklch(1 0 0);
  --base: oklch(0.985 0 0);
  --wash: oklch(0.97 0 0);
  --text: oklch(0.145 0 0);
  --sub: oklch(0.48 0 0);
  --edge: oklch(0.922 0 0);
  --tint: color-mix(in srgb, var(--accent) 8%, var(--panel));
  margin: 40px 0;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: var(--panel);
  color: var(--text);
  overflow: hidden;
  font:
    14px/1.5 "Geist",
    system-ui,
    sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  .post-body .privacy-flow {
    --panel: oklch(0.245 0.016 255);
    --base: oklch(0.205 0.018 255);
    --wash: oklch(0.305 0.016 255);
    --text: oklch(0.985 0 0);
    --sub: oklch(0.74 0.02 255);
    --edge: oklch(1 0 0 / 14%);
    color-scheme: dark;
  }
}
.post-body .privacy-flow * {
  box-sizing: border-box;
}
.post-body .privacy-flow p {
  margin: 0;
}
.post-body .privacy-flow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.post-body .privacy-flow .flow-top {
  padding: 22px 26px 20px;
  border-bottom: 1px solid var(--edge);
}
.post-body .privacy-flow .flow-title {
  font:
    500 23px/1.2 "Roobert",
    sans-serif;
  letter-spacing: -0.02em;
}
.post-body .privacy-flow .flow-stage {
  background: var(--base);
  padding: 28px 24px 20px;
}
.post-body .privacy-flow .sync-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
}
.post-body .privacy-flow .cloud-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 146px minmax(0, 1.25fr);
  align-items: center;
  max-width: 850px;
  margin: auto;
}
.post-body .privacy-flow .flow-node {
  position: relative;
  min-width: 0;
  border: 1px solid var(--edge);
  background: var(--panel);
  border-radius: 14px;
  padding: 17px;
}
.post-body .privacy-flow .flow-node::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent);
  border-radius: inherit;
  box-shadow: 0 0 0 3px var(--tint);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(0.32, 0.72, 0, 1);
}
.post-body .privacy-flow .flow-node.active::after {
  opacity: 1;
}
.post-body .privacy-flow .node-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 550;
  font-size: 13px;
  margin-bottom: 15px !important;
  padding-right: 20px;
  min-height: 29px;
}
.post-body .privacy-flow .node-label > svg {
  width: 26px;
  height: 26px;
}
.post-body .privacy-flow .node-foot {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--sub);
  margin-top: 14px !important;
  min-height: 33px;
}
.post-body .privacy-flow .node-foot svg {
  width: 15px;
  height: 15px;
}
.post-body .privacy-flow .paper {
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--base);
  padding: 13px;
  min-height: 147px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.post-body .privacy-flow .paper-head {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--sub);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.post-body .privacy-flow .paper-head svg {
  width: 17px;
  height: 17px;
}
.post-body .privacy-flow .sample {
  font:
    11px/1.85 ui-monospace,
    SFMono-Regular,
    monospace;
  white-space: pre;
  margin: 0;
  letter-spacing: -0.025em;
  color: var(--text);
  min-height: 61px;
}
.post-body .privacy-flow .paper.sealed .sample {
  color: var(--sub);
}
.post-body .privacy-flow .paper-state {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--sub);
}
.post-body .privacy-flow .paper-state svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.post-body .privacy-flow .flow-link {
  height: 44px;
  position: relative;
  margin: 0 5px;
  color: var(--sub);
}
.post-body .privacy-flow .flow-link::before {
  content: "";
  height: 1px;
  background: var(--edge);
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
}
.post-body .privacy-flow .flow-link::after {
  content: "";
  position: absolute;
  right: 1px;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--sub);
  border-right: 1px solid var(--sub);
  transform: rotate(45deg);
}
.post-body .privacy-flow .flow-link.reverse::after {
  right: auto;
  left: 1px;
  transform: rotate(-135deg);
}
.post-body .privacy-flow .flow-packet {
  position: absolute;
  top: calc(50% - 10px);
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent);
  color: #191919;
  opacity: 0;
}
.post-body .privacy-flow .flow-packet svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}
.post-body .privacy-flow .flow-link.active::before {
  background: var(--accent);
}
.post-body .privacy-flow .link-label {
  position: absolute;
  bottom: 38px;
  left: -4px;
  right: -4px;
  text-align: center;
  font-size: 10px;
  line-height: 1.4;
  color: var(--sub);
}
.post-body .privacy-flow .link-sub {
  top: 37px;
  bottom: auto;
  font-size: 9px;
}
.post-body .privacy-flow .protected-node {
  background: var(--tint);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--edge));
}
.post-body .privacy-flow .boundary-label {
  font-size: 10px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px !important;
  padding-right: 20px;
}
.post-body .privacy-flow .boundary-label svg {
  width: 14px;
  height: 14px;
}
.post-body .privacy-flow .node-check {
  font-size: 11px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px !important;
  min-height: 33px;
}
.post-body .privacy-flow .node-check svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.post-body .privacy-flow .replay {
  display: none;
  position: absolute;
  right: 7px;
  top: 7px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: var(--sub);
  padding: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}
.post-body .privacy-flow.ready .replay {
  display: grid;
  place-items: center;
}
.post-body .privacy-flow .replay svg {
  width: 17px;
  height: 17px;
}
@media (hover: hover) and (pointer: fine) {
  .post-body .privacy-flow .replay:hover {
    background: var(--wash);
    color: var(--text);
  }
}
.post-body .privacy-flow .replay:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}
.post-body .privacy-flow .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@container (max-width:880px) {
  .post-body .privacy-flow .flow-top {
    padding: 18px;
  }
  .post-body .privacy-flow .flow-title {
    font-size: 21px;
  }
  .post-body .privacy-flow .flow-stage {
    padding: 20px 18px;
  }
  .post-body .privacy-flow .sync-grid,
  .post-body .privacy-flow .cloud-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: auto;
  }
  .post-body .privacy-flow .flow-link {
    height: 36px;
    width: 1px;
    margin: 0 auto;
  }
  .post-body .privacy-flow .flow-link::before {
    height: auto;
    width: 1px;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
  }
  .post-body .privacy-flow .flow-link::after {
    right: auto;
    top: auto;
    bottom: 0;
    left: -3px;
    transform: rotate(135deg);
  }
  .post-body .privacy-flow .flow-link.reverse::after {
    bottom: auto;
    top: 0;
    left: -3px;
    transform: rotate(-45deg);
  }
  .post-body .privacy-flow .flow-link .flow-packet {
    left: -9px;
    top: 0;
  }
  .post-body .privacy-flow .sync-grid .flow-node {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 0 9px;
    padding: 12px;
  }
  .post-body .privacy-flow .sync-grid .node-label {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 0;
    margin: 0 !important;
    align-self: end;
    font-size: 12px;
  }
  .post-body .privacy-flow .sync-grid .paper {
    grid-column: 2;
    grid-row: 1/3;
    min-height: 136px;
    padding: 9px;
  }
  .post-body .privacy-flow .sync-grid .sample {
    font-size: 10px;
  }
  .post-body .privacy-flow .sync-grid .node-foot {
    grid-column: 1;
    grid-row: 2;
    font-size: 10px;
    margin-top: 7px !important;
    align-items: flex-start;
  }
  .post-body .privacy-flow .sync-grid .node-foot svg {
    display: none;
  }
  .post-body .privacy-flow .sync-grid .flow-node:has(.replay) .paper {
    padding-top: 28px;
  }
  .post-body .privacy-flow .replay {
    right: 0;
    top: 0;
    width: 36px;
    height: 36px;
    padding: 9px;
    background: var(--panel);
  }
  .post-body .privacy-flow .cloud-grid .flow-link {
    height: 64px;
  }
  .post-body .privacy-flow .cloud-grid .link-label {
    left: 16px;
    right: auto;
    top: 15px;
    bottom: auto;
    width: 120px;
    text-align: left;
  }
  .post-body .privacy-flow .cloud-grid .link-sub {
    top: 33px;
  }
  .post-body .privacy-flow .boundary-label {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .post-body .privacy-flow *,
  .post-body .privacy-flow *::after {
    animation: none !important;
    transition: none !important;
  }
  .post-body .privacy-flow .flow-packet {
    opacity: 0 !important;
  }
}
@media print {
  .post-body .privacy-flow {
    break-inside: avoid;
    print-color-adjust: exact;
  }
}
.post-body .privacy-flow .flow-top {
  position: relative;
  padding-right: 76px;
}
.post-body .privacy-flow .replay {
  right: 17px;
  top: 20px;
  width: 42px;
  height: 42px;
  padding: 12px;
  background: transparent;
}
.post-body .privacy-flow .paper {
  height: 176px;
  min-height: 176px;
  display: grid;
  grid-template-rows: 24px 76px 22px;
  gap: 7px;
  align-content: center;
}
.post-body .privacy-flow .paper-head {
  height: 24px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.post-body .privacy-flow .sample {
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  overflow: hidden;
  white-space: pre;
  font-size: 11px;
  line-height: 24px;
}
.post-body .privacy-flow .paper-state {
  height: 22px;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}
.post-body .privacy-flow .node-foot,
.post-body .privacy-flow .node-check {
  height: 36px;
  min-height: 36px;
}
.post-body .privacy-flow .cloud-grid {
  grid-template-columns: minmax(0, 1fr) 134px minmax(0, 1.12fr);
  max-width: 900px;
}
.post-body .privacy-flow .cloud-grid > .flow-node {
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.post-body .privacy-flow .cloud-grid .node-label {
  margin-bottom: 13px !important;
}
.post-body .privacy-flow .cloud-paper {
  flex-shrink: 0;
}
.post-body .privacy-flow .cloud-grid .sample {
  font-size: 12px;
  line-height: 24px;
}
.post-body .privacy-flow .cloud-grid .node-foot,
.post-body .privacy-flow .cloud-grid .node-check {
  margin-top: 11px !important;
  font-size: 10px;
}
.post-body .privacy-flow .chapter {
  min-height: 92px;
  height: 92px;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 16px 26px;
  border-bottom: 1px solid var(--edge);
}
.post-body .privacy-flow .chapter-count {
  font:
    500 13px/1 "Geist",
    sans-serif;
  flex-shrink: 0;
  min-width: 45px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--text);
}
.post-body .privacy-flow .chapter-title {
  font-size: 15px;
  display: block;
  font-weight: 550;
  margin-bottom: 4px;
}
.post-body .privacy-flow .chapter-description {
  font-size: 12px;
  line-height: 1.5;
  color: var(--sub);
}
.post-body
  .privacy-flow[data-activity="verify"]
  [data-node="client"]
  .paper-head
  svg {
  animation: privacy-verify-pulse var(--motion-duration, 1.25s) ease-in-out
    infinite;
  color: var(--accent);
}
.post-body
  .privacy-flow[data-activity="generate"]
  .protected-node
  .node-label
  svg {
  animation: privacy-verify-pulse calc(var(--motion-duration, 1.25s) * 0.9)
    ease-in-out infinite;
  color: var(--accent);
}
.post-body .privacy-flow .flow-link:not(.active) {
  opacity: 0.45;
}
.post-body .privacy-flow .flow-link.active {
  opacity: 1;
}
.post-body .privacy-flow:not(.playing) * {
  animation-play-state: paused !important;
}
.post-body .privacy-flow:not(.playing) .flow-node::after {
  transition: none;
}
@keyframes privacy-verify-pulse {
  50% {
    opacity: 0.5;
    transform: scale(0.96);
  }
}
@container (max-width:880px) {
  .post-body .privacy-flow .flow-top {
    padding-right: 64px;
  }
  .post-body .privacy-flow .replay {
    top: 12px;
    right: 10px;
  }
  .post-body .privacy-flow .sync-grid .paper {
    height: 170px;
    min-height: 170px;
    grid-template-rows: 24px 76px 22px;
    padding: 8px;
    gap: 5px;
  }
  .post-body .privacy-flow .sync-grid .flow-node:has(.replay) .paper {
    padding-top: 8px;
  }
  .post-body .privacy-flow .sync-grid .sample {
    font-size: 9px;
    line-height: 24px;
  }
  .post-body .privacy-flow .sync-grid .paper-head {
    font-size: 8px;
    gap: 4px;
  }
  .post-body .privacy-flow .sync-grid .paper-head svg {
    width: 13px;
    height: 13px;
  }
  .post-body .privacy-flow .sync-grid .paper-state {
    font-size: 8px;
    gap: 3px;
  }
  .post-body .privacy-flow .sync-grid .node-foot {
    height: 52px;
    min-height: 52px;
  }
  .post-body .privacy-flow .cloud-grid {
    grid-template-columns: 1fr;
  }
  .post-body .privacy-flow .cloud-grid > .flow-node {
    height: 340px;
  }
  .post-body .privacy-flow .cloud-grid .sample {
    font-size: 11px;
  }
  .post-body .privacy-flow .chapter {
    height: 122px;
    min-height: 122px;
    padding: 15px 18px;
    align-items: flex-start;
  }
  .post-body .privacy-flow .chapter-title {
    font-size: 14px;
  }
  .post-body .privacy-flow .chapter-description {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .post-body .privacy-flow *,
  .post-body .privacy-flow *::after {
    animation: none !important;
    transition: none !important;
  }
  .post-body .privacy-flow .flow-packet {
    opacity: 0 !important;
  }
}
@media print {
  .post-body .privacy-flow .replay {
    display: none !important;
  }
}
.post-body .privacy-flow .flow-node {
  text-align: center;
}
.post-body .privacy-flow .paper {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
}
.post-body .privacy-flow .paper-head,
.post-body .privacy-flow .paper-state,
.post-body .privacy-flow .node-label,
.post-body .privacy-flow .node-foot,
.post-body .privacy-flow .node-check,
.post-body .privacy-flow .boundary-label {
  justify-content: center;
  text-align: center;
  padding-right: 0;
}
.post-body .privacy-flow .sample {
  width: 100%;
  min-width: 0;
  text-align: center;
  font-variant-ligatures: none;
}
@container (max-width:880px) {
  .post-body .privacy-flow .sync-grid .node-label {
    align-items: center;
  }
  .post-body .privacy-flow .sync-grid .node-foot {
    justify-content: center;
    text-align: center;
  }
}
.post-body .privacy-flow .flow-top {
  min-height: 78px;
  display: flex;
  align-items: center;
}
.post-body .privacy-flow .flow-stage {
  padding-bottom: 28px;
}
.post-body .privacy-flow .replay {
  width: 44px;
  height: 44px;
}
@container (max-width:880px) {
  .post-body .privacy-flow .flow-link {
    margin: 12px auto;
  }
  .post-body .privacy-flow .flow-stage {
    padding: 20px 12px 24px;
  }
  .post-body .privacy-flow .sync-grid,
  .post-body .privacy-flow .cloud-grid {
    max-width: 460px;
  }
  .post-body .privacy-flow .sync-grid .flow-node {
    grid-template-columns: minmax(70px, 0.7fr) minmax(0, 1.3fr);
    padding: 12px;
    gap: 0 10px;
  }
  .post-body .privacy-flow .sync-grid .paper {
    height: 166px;
    min-height: 166px;
    grid-template-rows: 32px 72px 32px;
    padding: 8px;
    gap: 2px;
  }
  .post-body .privacy-flow .sync-grid .sample {
    font-size: 11px;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
  }
  .post-body .privacy-flow .sync-grid .paper-head {
    font-size: 9px;
    gap: 4px;
  }
  .post-body .privacy-flow .sync-grid .paper-state {
    font-size: 10px;
    gap: 4px;
  }
  .post-body .privacy-flow .paper-head,
  .post-body .privacy-flow .paper-state {
    white-space: normal;
    overflow: visible;
    line-height: 1.35;
    height: 32px;
  }
  .post-body .privacy-flow .paper-head > span,
  .post-body .privacy-flow .paper-state > span {
    min-width: 0;
  }
  .post-body .privacy-flow .paper-head svg,
  .post-body .privacy-flow .paper-state svg {
    flex-shrink: 0;
  }
  .post-body .privacy-flow .cloud-grid > .flow-node {
    height: 300px;
    padding: 14px;
    justify-content: center;
  }
  .post-body .privacy-flow .cloud-grid .paper {
    height: 168px;
    min-height: 168px;
    grid-template-rows: 32px 72px 32px;
    gap: 2px;
    padding: 10px;
  }
  .post-body .privacy-flow .cloud-grid .sample {
    font-size: 11px;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
  }
  .post-body .privacy-flow .cloud-grid .node-label {
    font-size: 13px;
    margin-bottom: 10px !important;
  }
  .post-body .privacy-flow .cloud-grid .boundary-label {
    margin-bottom: 8px !important;
    font-size: 9px;
  }
  .post-body .privacy-flow .cloud-grid .node-foot,
  .post-body .privacy-flow .cloud-grid .node-check {
    height: 30px;
    min-height: 30px;
    margin-top: 8px !important;
  }
  .post-body .privacy-flow .cloud-grid .flow-link {
    height: 60px;
  }
  .post-body .privacy-flow .cloud-grid .link-label {
    width: 105px;
    font-size: 10px;
  }
  .post-body .privacy-flow .cloud-grid .link-sub {
    font-size: 9px;
  }
  .post-body .privacy-flow .chapter {
    height: 126px;
    min-height: 126px;
    padding: 16px;
    gap: 10px;
  }
  .post-body .privacy-flow .chapter-description {
    font-size: 12px;
  }
}
@container (max-width:340px) {
  .post-body .privacy-flow .flow-stage {
    padding-inline: 10px;
  }
  .post-body .privacy-flow .sync-grid .flow-node {
    padding: 10px;
    column-gap: 8px;
  }
  .post-body .privacy-flow .sync-grid .sample {
    font-size: 10px;
  }
  .post-body .privacy-flow .sync-grid .node-label {
    font-size: 11px;
  }
  .post-body .privacy-flow .sync-grid .node-foot {
    font-size: 10px;
    height: 60px;
    min-height: 60px;
  }
  .post-body .privacy-flow .chapter {
    height: 146px;
    min-height: 146px;
    padding-inline: 14px;
  }
  .post-body .privacy-flow .chapter-count {
    min-width: 40px;
  }
  .post-body .privacy-flow .cloud-grid > .flow-node {
    padding-inline: 10px;
  }
  .post-body .privacy-flow .cloud-grid .node-label {
    font-size: 12px;
    gap: 6px;
  }
  .post-body .privacy-flow .cloud-grid .node-label > svg {
    width: 23px;
    height: 23px;
  }
  .post-body .privacy-flow .cloud-grid .paper-head {
    font-size: 9px;
  }
}
/* Let the diagrams use a wider canvas than the article's reading measure. */
.post-body .privacy-flow {
  width: min(1000px, calc(100vw - 2 * var(--pad)));
  margin-inline: calc(50% - min(500px, calc(50vw - var(--pad))));
}
.post-body .privacy-flow .sample {
  color: var(--text);
}
.post-body .privacy-flow .chapter-title {
  font-size: 15px;
  color: var(--text);
}
@container (max-width:880px) {
  .post-body .privacy-flow .chapter-title {
    font-size: 14px;
  }
}
.post-body .download-cta {
  margin-top: 36px;
  margin-bottom: 0;
  text-align: center;
}
.post-body .download-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  max-width: 100%;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--gm-accent);
  color: var(--gm-ink);
  font: 500 18px/1.4 var(--font-sans);
  text-decoration: none;
  overflow-wrap: normal;
}
.post-body .download-cta-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover) {
  .post-body .download-cta-button:hover {
    background: var(--gm-accent-hover);
    color: var(--gm-ink);
  }
}
.post-body .download-cta-button:focus-visible {
  outline: 3px solid var(--gm-ink);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .post-body .download-cta-button {
    width: 100%;
    padding-inline: 18px;
    font-size: 17px;
  }
}
@media print {
  .post-body .download-cta-button {
    print-color-adjust: exact;
  }
}
