/* Motion enhances already-visible content; forms remain usable without JS. */
.dialog[data-motion-active], .annotation-viewer[data-motion-active] { animation: none; }
.button:active:not(:disabled), .filter:active, .object-button:active { translate: 0 1px; }
.button svg { flex-shrink: 0; }
.document-card { transition: border-color 180ms ease; }
.document-card:focus-within { border-color: var(--line-strong); }
.account-settings-dialog { border-radius: 18px; }
.account-settings-shell input { border-radius: 8px; }
.dropzone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--spotlight-opacity, 0);
  background: radial-gradient(260px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), #c6d0c817, transparent 75%);
  transition: opacity 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .document-card:hover { border-color: #505b53; }
  .button.primary:hover { box-shadow: 0 3px 14px #0002; }
}
@media (prefers-reduced-motion: reduce) {
  .dropzone::before { display: none; }
  .button:active:not(:disabled), .filter:active, .object-button:active { translate: none; }
}
