/* #data, card "Installed inside your network": concept B "Sealed", ported from data-illus.
   One soft padlock on a faint dotted ground ringed by a dotted boundary captioned "Your servers". What your people add comes in
   on the left, the shackle drops shut, and the same items on the right are checked as kept.
   The boundary encloses both sides, so the right-hand chips read as kept inside, not sent out. Every selector is scoped to
   #data .dia-seal. Green only for secured/done. */
#data .dia-seal{--pad:28px}
#data .dia-seal .stage{position:absolute;left:0;right:0;top:0;height:172px}
#data .dia-seal .stage>svg.wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:1}
#data .dia-seal .wire{fill:none;stroke:#D3D5CF;stroke-width:1.2}
#data .dia-seal .wire.g{stroke:#BFD9C8}
#data .dia-seal .wall{fill:none;stroke:var(--mist);stroke-width:1.4;stroke-linecap:round;stroke-dasharray:0 5;opacity:.85}
#data .dia-seal .pulse{fill:var(--mist)}
#data .dia-seal .ico{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
/* the ground: a faint dot field inside the boundary (the boundary sits 23px outside the chips on both sides) */
#data .dia-seal .ground{position:absolute;left:calc(18% - 38px);right:calc(18% - 38px);top:4px;height:136px;border-radius:18px;background-image:radial-gradient(circle,#D9DAD5 1px,transparent 1.4px);background-size:14px 14px;background-position:center;-webkit-mask-image:radial-gradient(75% 90% at 50% 45%,#000 30%,transparent 95%);mask-image:radial-gradient(75% 90% at 50% 45%,#000 30%,transparent 95%);opacity:.9}
#data .dia-seal .chip{position:absolute;left:var(--x);top:var(--y);width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:0 1px 2px rgba(20,23,22,.05),0 4px 10px rgba(20,23,22,.04);display:grid;place-items:center;color:var(--stone);z-index:3}
#data .dia-seal .chip>svg{width:16px;height:16px}
#data .dia-seal .ok{position:absolute;right:-5px;top:-5px;width:15px;height:15px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 2px var(--paper)}
#data .dia-seal .ok svg{width:10px;height:10px}
#data .dia-seal .chip.c-out .ok{transform:scale(0);transition:transform .5s var(--ease)}
#data .dia-seal .chip.c-out.kept .ok{transform:none}
/* the padlock */
#data .dia-seal .lock{position:absolute;left:50%;top:14px;width:96px;margin-left:-48px;height:112px;z-index:4}
#data .dia-seal .lock .shk{position:absolute;left:50%;top:0;width:58px;height:46px;margin-left:-29px;transition:transform 1s var(--ease)}
#data .dia-seal .lock.open .shk{transform:translateY(-14px)}
#data .dia-seal .lock .body{position:absolute;left:0;right:0;top:32px;height:72px;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#F3F3F1 100%);border:1px solid var(--line);box-shadow:inset 0 1px 0 #fff,0 2px 4px rgba(20,23,22,.04),0 14px 30px rgba(20,23,22,.09);display:grid;place-items:center}
#data .dia-seal .lock .body::after{content:"";position:absolute;left:6px;right:6px;bottom:-16px;height:12px;border-radius:50%;background:radial-gradient(closest-side,rgba(20,23,22,.12),rgba(20,23,22,0));z-index:-1}
#data .dia-seal .lock .hole{width:22px;height:22px;color:var(--ink);opacity:.82}
/* the caption names the boundary: it sits on its lower edge */
#data .dia-seal .cap{position:absolute;left:50%;top:132px;transform:translateX(-50%);padding:0 8px;background:var(--paper);font-family:var(--font);font-size:12px;line-height:16px;color:var(--stone);white-space:nowrap;z-index:3}
@media (max-width:820px){
  #data .dia-seal{--pad:22px}
  #data .dia-seal .chip{width:28px;height:28px;margin:-14px 0 0 -14px}
  #data .dia-seal .chip>svg{width:15px;height:15px}
}
@media (prefers-reduced-motion:reduce){ #data .dia-seal *,#data .dia-seal *::before,#data .dia-seal *::after{transition:none!important} }

/* full width: the items sit at the card's own edges, the dot field runs edge to edge, no outer dotted boundary */
#data .dia-seal .chip.c-in{left:calc(var(--pad) + 15px)}
#data .dia-seal .chip.c-out{left:calc(100% - var(--pad) - 15px)}
#data .dia-seal .ground{left:0;right:0;border-radius:0;-webkit-mask-image:radial-gradient(60% 95% at 50% 45%,#000 35%,transparent 100%);mask-image:radial-gradient(60% 95% at 50% 45%,#000 35%,transparent 100%)}
#data .dia-seal .cap{background:transparent}
