/* previews-v1: first-page PDF and static 3D CAD thumbs on file cards */
.att-cad .att-thumb.is-loading::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
  animation:nc-prev1-shimmer 1.1s linear infinite;
  pointer-events:none;
}
@keyframes nc-prev1-shimmer{
  from{transform:translateX(-100%)}
  to{transform:translateX(100%)}
}
.att-cad-still,.att-cad-canvas{
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  display:block;background:#e8eef3;
}
.att-thumb.is-loading{position:relative;overflow:hidden}

/* prev2-v1: quote line file lists use the same att-cards as a message,
   so first-page PDF and 3D stills show in the thread without opening
   the sub-thread. The paperclip name chip is the fallback only. */
.ly-linefiles{
  cursor:default;
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  gap:6px;
  align-items:stretch;
  margin:8px 0 2px;
}
.ly-linefiles .att{margin:0}
.ly-linefiles .att-card{margin-top:0;max-width:min(360px,100%)}
