/* Generic identity decoration, using the same spacing and footer as personnel cards. */
.ax-redaction{
  --ax-redaction-pad-x:var(--ax-card-pad-x,19px);
  --ax-redaction-pad-y:var(--ax-card-pad-y,18px);
  position:relative;isolation:isolate;container-type:inline-size;
  display:grid;grid-template-rows:auto minmax(82px,1fr) auto;width:100%;height:100%;min-height:166px;
  box-sizing:border-box;overflow:hidden;padding:var(--ax-redaction-pad-y) var(--ax-redaction-pad-x);
  background:var(--ax-card-bg,#111112);border:1px solid var(--ax-card-border,#343438);
  font-family:inherit;color:var(--ax-card-muted,#aaa7aa);
}
.ax-redaction:before{position:absolute;z-index:0;content:"";inset:0;background:repeating-linear-gradient(0deg,transparent 0,transparent 3px,#ffffff05 3px,#ffffff05 4px);pointer-events:none}
.ax-redaction-label{position:relative;font-size:10px;font-weight:500;line-height:1.4;letter-spacing:.06em;color:var(--ax-card-muted,#aaa7aa)}
.ax-redaction-band{position:relative;z-index:1;display:grid;place-items:center;align-self:center;height:64px;min-height:56px;max-height:80px;margin:0 calc(-1 * var(--ax-redaction-pad-x));overflow:hidden;background:repeating-linear-gradient(0deg,#4b080e33 0,#4b080e33 1px,transparent 1px,transparent 3px),linear-gradient(90deg,#481017,#6b141e 22%,#59121a 78%,#3f0e14);border-top:1px solid #8a2937;border-bottom:1px solid #702430}
.ax-redaction-band:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,transparent 24%,#f56e7a12 24%,#f56e7a12 25%,transparent 25%,transparent 71%,#f56e7a0e 71%,#f56e7a0e 73%,transparent 73%);pointer-events:none}
.ax-redaction-band:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0,transparent 22%,#f5838a0c 22%,#f5838a0c 25%,transparent 25%,transparent 68%,#f5838a08 68%,#f5838a08 72%,transparent 72%);opacity:.55;transform:translateX(-4%);pointer-events:none}
.ax-redaction-word{position:relative;z-index:2;white-space:nowrap;font-family:"Arial Narrow","Helvetica Neue",Arial,sans-serif;font-size:clamp(24px,9cqw,40px);font-weight:600;line-height:1;letter-spacing:.11em;color:#ed6675;text-shadow:0 0 8px #ed3d5133}
.ax-redaction-word:before,.ax-redaction-word:after{position:absolute;inset:0;content:attr(data-word);pointer-events:none}
.ax-redaction-word:before{clip-path:inset(34% 0 56% 0);transform:translateX(1px);color:#f1959d;opacity:.45}
.ax-redaction-word:after{clip-path:inset(71% 0 19% 0);transform:translateX(-2px);color:#cd4759;opacity:.45}
.ax-redaction-footer{position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:8px;min-height:30px;border-top:1px solid var(--ax-card-rule,#343438);padding-top:14px;font-size:11px;font-weight:400;line-height:1.4;color:var(--ax-card-muted,#aaa7aa)}
.ax-redaction-footer span:last-child{font-size:9px;font-weight:500;line-height:1.7;letter-spacing:.07em;color:#8b8387}
.ax-redaction-corner{position:absolute;z-index:4;width:7px;height:7px;border-color:#76505a;border-style:solid;opacity:.55;pointer-events:none}
.ax-redaction-corner.tl{top:7px;left:7px;border-width:1px 0 0 1px}.ax-redaction-corner.tr{top:7px;right:7px;border-width:1px 1px 0 0}.ax-redaction-corner.bl{bottom:7px;left:7px;border-width:0 0 1px 1px}.ax-redaction-corner.br{bottom:7px;right:7px;border-width:0 1px 1px 0}
.ax-redaction-tick{position:absolute;z-index:4;right:var(--ax-redaction-pad-x);top:48%;width:8px;height:1px;background:#c37680;opacity:.4;box-shadow:-2px 6px 0 #bb5e6c55;pointer-events:none}
.ax-redaction:hover .ax-redaction-word{animation:ax-redaction-fault .64s steps(1,end) 1}
.ax-redaction:hover .ax-redaction-band:after{animation:ax-redaction-noise .7s steps(3,end) 1}
@keyframes ax-redaction-fault{0%,19%,25%,55%,61%,100%{transform:translateX(0)}20%,24%{transform:translateX(-2px)}56%,60%{transform:translateX(1px)}}
@keyframes ax-redaction-noise{0%{transform:translateX(-4%);opacity:.55}35%{transform:translateX(3%);opacity:.7}70%{transform:translateX(-2%);opacity:.5}100%{transform:translateX(-4%);opacity:.55}}
.ax-redaction--compact{--ax-redaction-pad-x:14px;--ax-redaction-pad-y:14px;grid-template-rows:auto minmax(62px,1fr) auto;min-height:142px}
.ax-redaction--compact .ax-redaction-label{font-size:9px}
.ax-redaction--compact .ax-redaction-band{height:42px;min-height:42px}
.ax-redaction--compact .ax-redaction-word{font-size:clamp(22px,9cqw,31px)}
.ax-redaction--compact .ax-redaction-footer{font-size:10px;padding-top:10px;min-height:25px}
.ax-redaction--compact .ax-redaction-footer span:last-child{display:none}
@container(max-width:215px){.ax-redaction-footer span:last-child{display:none}.ax-redaction-label{font-size:9px;letter-spacing:.025em}}
@media(prefers-reduced-motion:reduce){.ax-redaction:hover .ax-redaction-word,.ax-redaction:hover .ax-redaction-band:after{animation:none}}
