/* ==========================================================================
   Tijori Save · DS-017 · TheLayoutLoft Parts Line — .tj- prefixed
   ========================================================================== */
.tj {
  display: inline-flex; align-items: center; gap: 9px;
  cursor: pointer; padding: 12px 18px;
  font: 600 13px/1 ui-sans-serif, system-ui, sans-serif; color: #E8E6F0;
  background: linear-gradient(180deg, #1E2330, #171C28);
  border: 1px solid #3A4152; border-radius: 10px;
  transition: border-color .15s, filter .15s;
  -webkit-user-select: none; user-select: none;
}
.tj:hover { border-color: #8B84EA; }
.tj:focus-visible { outline: 2px solid #A5B4FC; outline-offset: 2px; }
.tj-vault {
  position: relative; width: 20px; height: 22px; flex: none;
  border: 1.5px solid #6D64F0; border-radius: 4px;
  overflow: hidden; display: block;
}
.tj-file { position: absolute; inset: 2px auto auto 4px;
  width: 11px; height: 14px; opacity: 0; }
.tj-busy .tj-file { opacity: 1; }
.tj-seal { position: absolute; inset: 3px; width: 14px; height: 14px; }
.tj-door {
  position: absolute; inset: -1px;
  background: linear-gradient(180deg, #3A4152, #2A3142);
  border-right: 1px solid #8B84EA;
  transform-origin: left center; transform: scaleX(1);
  transition: transform .3s cubic-bezier(.5,0,.8,.4);
}
.tj-door.tj-shut { transform: scaleX(0); }
.tj-saved { border-color: #34D399; }
.tj-saved .tj-vault { border-color: #34D399; }
.tj-bad { border-color: #D97706; border-style: dashed; }
.tj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .tj, .tj-door { transition: none; }
}
